1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_long swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxArrayInt swig_types[12]
2479 #define SWIGTYPE_p_wxArrayString swig_types[13]
2480 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2481 #define SWIGTYPE_p_wxBitmap swig_types[15]
2482 #define SWIGTYPE_p_wxBitmapButton swig_types[16]
2483 #define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
2484 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxBoxSizer swig_types[19]
2486 #define SWIGTYPE_p_wxButton swig_types[20]
2487 #define SWIGTYPE_p_wxCURHandler swig_types[21]
2488 #define SWIGTYPE_p_wxCheckBox swig_types[22]
2489 #define SWIGTYPE_p_wxCheckListBox swig_types[23]
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491 #define SWIGTYPE_p_wxChoice swig_types[25]
2492 #define SWIGTYPE_p_wxChoicebook swig_types[26]
2493 #define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
2494 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[28]
2495 #define SWIGTYPE_p_wxCloseEvent swig_types[29]
2496 #define SWIGTYPE_p_wxCollapsiblePane swig_types[30]
2497 #define SWIGTYPE_p_wxCollapsiblePaneEvent swig_types[31]
2498 #define SWIGTYPE_p_wxColour swig_types[32]
2499 #define SWIGTYPE_p_wxColourPickerCtrl swig_types[33]
2500 #define SWIGTYPE_p_wxColourPickerEvent swig_types[34]
2501 #define SWIGTYPE_p_wxComboBox swig_types[35]
2502 #define SWIGTYPE_p_wxCommandEvent swig_types[36]
2503 #define SWIGTYPE_p_wxContextHelp swig_types[37]
2504 #define SWIGTYPE_p_wxContextHelpButton swig_types[38]
2505 #define SWIGTYPE_p_wxContextMenuEvent swig_types[39]
2506 #define SWIGTYPE_p_wxControl swig_types[40]
2507 #define SWIGTYPE_p_wxControlWithItems swig_types[41]
2508 #define SWIGTYPE_p_wxCursor swig_types[42]
2509 #define SWIGTYPE_p_wxDC swig_types[43]
2510 #define SWIGTYPE_p_wxDateEvent swig_types[44]
2511 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[45]
2512 #define SWIGTYPE_p_wxDateTime swig_types[46]
2513 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[47]
2514 #define SWIGTYPE_p_wxDirPickerCtrl swig_types[48]
2515 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[49]
2516 #define SWIGTYPE_p_wxDropFilesEvent swig_types[50]
2517 #define SWIGTYPE_p_wxDuplexMode swig_types[51]
2518 #define SWIGTYPE_p_wxEraseEvent swig_types[52]
2519 #define SWIGTYPE_p_wxEvent swig_types[53]
2520 #define SWIGTYPE_p_wxEventBlocker swig_types[54]
2521 #define SWIGTYPE_p_wxEvtHandler swig_types[55]
2522 #define SWIGTYPE_p_wxFSFile swig_types[56]
2523 #define SWIGTYPE_p_wxFileDirPickerEvent swig_types[57]
2524 #define SWIGTYPE_p_wxFilePickerCtrl swig_types[58]
2525 #define SWIGTYPE_p_wxFileSystem swig_types[59]
2526 #define SWIGTYPE_p_wxFlexGridSizer swig_types[60]
2527 #define SWIGTYPE_p_wxFocusEvent swig_types[61]
2528 #define SWIGTYPE_p_wxFont swig_types[62]
2529 #define SWIGTYPE_p_wxFontPickerCtrl swig_types[63]
2530 #define SWIGTYPE_p_wxFontPickerEvent swig_types[64]
2531 #define SWIGTYPE_p_wxGBSizerItem swig_types[65]
2532 #define SWIGTYPE_p_wxGIFHandler swig_types[66]
2533 #define SWIGTYPE_p_wxGauge swig_types[67]
2534 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[68]
2535 #define SWIGTYPE_p_wxGenericDragImage swig_types[69]
2536 #define SWIGTYPE_p_wxGridBagSizer swig_types[70]
2537 #define SWIGTYPE_p_wxGridSizer swig_types[71]
2538 #define SWIGTYPE_p_wxHelpEvent swig_types[72]
2539 #define SWIGTYPE_p_wxHelpProvider swig_types[73]
2540 #define SWIGTYPE_p_wxHyperlinkCtrl swig_types[74]
2541 #define SWIGTYPE_p_wxHyperlinkEvent swig_types[75]
2542 #define SWIGTYPE_p_wxICOHandler swig_types[76]
2543 #define SWIGTYPE_p_wxIcon swig_types[77]
2544 #define SWIGTYPE_p_wxIconizeEvent swig_types[78]
2545 #define SWIGTYPE_p_wxIdleEvent swig_types[79]
2546 #define SWIGTYPE_p_wxImage swig_types[80]
2547 #define SWIGTYPE_p_wxImageHandler swig_types[81]
2548 #define SWIGTYPE_p_wxImageList swig_types[82]
2549 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[83]
2550 #define SWIGTYPE_p_wxInitDialogEvent swig_types[84]
2551 #define SWIGTYPE_p_wxItemContainer swig_types[85]
2552 #define SWIGTYPE_p_wxJPEGHandler swig_types[86]
2553 #define SWIGTYPE_p_wxKeyEvent swig_types[87]
2554 #define SWIGTYPE_p_wxLayoutConstraints swig_types[88]
2555 #define SWIGTYPE_p_wxListBox swig_types[89]
2556 #define SWIGTYPE_p_wxListEvent swig_types[90]
2557 #define SWIGTYPE_p_wxListItem swig_types[91]
2558 #define SWIGTYPE_p_wxListItemAttr swig_types[92]
2559 #define SWIGTYPE_p_wxListView swig_types[93]
2560 #define SWIGTYPE_p_wxListbook swig_types[94]
2561 #define SWIGTYPE_p_wxListbookEvent swig_types[95]
2562 #define SWIGTYPE_p_wxMaximizeEvent swig_types[96]
2563 #define SWIGTYPE_p_wxMemoryDC swig_types[97]
2564 #define SWIGTYPE_p_wxMenu swig_types[98]
2565 #define SWIGTYPE_p_wxMenuBar swig_types[99]
2566 #define SWIGTYPE_p_wxMenuEvent swig_types[100]
2567 #define SWIGTYPE_p_wxMenuItem swig_types[101]
2568 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[103]
2570 #define SWIGTYPE_p_wxMouseEvent swig_types[104]
2571 #define SWIGTYPE_p_wxMoveEvent swig_types[105]
2572 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[106]
2573 #define SWIGTYPE_p_wxNcPaintEvent swig_types[107]
2574 #define SWIGTYPE_p_wxNotebook swig_types[108]
2575 #define SWIGTYPE_p_wxNotebookEvent swig_types[109]
2576 #define SWIGTYPE_p_wxNotifyEvent swig_types[110]
2577 #define SWIGTYPE_p_wxObject swig_types[111]
2578 #define SWIGTYPE_p_wxPCXHandler swig_types[112]
2579 #define SWIGTYPE_p_wxPNGHandler swig_types[113]
2580 #define SWIGTYPE_p_wxPNMHandler swig_types[114]
2581 #define SWIGTYPE_p_wxPaintEvent swig_types[115]
2582 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[116]
2583 #define SWIGTYPE_p_wxPaperSize swig_types[117]
2584 #define SWIGTYPE_p_wxPickerBase swig_types[118]
2585 #define SWIGTYPE_p_wxPoint swig_types[119]
2586 #define SWIGTYPE_p_wxPyApp swig_types[120]
2587 #define SWIGTYPE_p_wxPyCommandEvent swig_types[121]
2588 #define SWIGTYPE_p_wxPyControl swig_types[122]
2589 #define SWIGTYPE_p_wxPyEvent swig_types[123]
2590 #define SWIGTYPE_p_wxPyImageHandler swig_types[124]
2591 #define SWIGTYPE_p_wxPyListCtrl swig_types[125]
2592 #define SWIGTYPE_p_wxPySizer swig_types[126]
2593 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[127]
2594 #define SWIGTYPE_p_wxPyTreeItemData swig_types[128]
2595 #define SWIGTYPE_p_wxPyValidator swig_types[129]
2596 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[130]
2597 #define SWIGTYPE_p_wxRadioBox swig_types[131]
2598 #define SWIGTYPE_p_wxRadioButton swig_types[132]
2599 #define SWIGTYPE_p_wxRect swig_types[133]
2600 #define SWIGTYPE_p_wxScrollBar swig_types[134]
2601 #define SWIGTYPE_p_wxScrollEvent swig_types[135]
2602 #define SWIGTYPE_p_wxScrollWinEvent swig_types[136]
2603 #define SWIGTYPE_p_wxSearchCtrl swig_types[137]
2604 #define SWIGTYPE_p_wxSetCursorEvent swig_types[138]
2605 #define SWIGTYPE_p_wxShowEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[140]
2607 #define SWIGTYPE_p_wxSize swig_types[141]
2608 #define SWIGTYPE_p_wxSizeEvent swig_types[142]
2609 #define SWIGTYPE_p_wxSizer swig_types[143]
2610 #define SWIGTYPE_p_wxSizerItem swig_types[144]
2611 #define SWIGTYPE_p_wxSlider swig_types[145]
2612 #define SWIGTYPE_p_wxSpinButton swig_types[146]
2613 #define SWIGTYPE_p_wxSpinCtrl swig_types[147]
2614 #define SWIGTYPE_p_wxSpinEvent swig_types[148]
2615 #define SWIGTYPE_p_wxStaticBitmap swig_types[149]
2616 #define SWIGTYPE_p_wxStaticBox swig_types[150]
2617 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[151]
2618 #define SWIGTYPE_p_wxStaticLine swig_types[152]
2619 #define SWIGTYPE_p_wxStaticText swig_types[153]
2620 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[154]
2621 #define SWIGTYPE_p_wxString swig_types[155]
2622 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[156]
2623 #define SWIGTYPE_p_wxTGAHandler swig_types[157]
2624 #define SWIGTYPE_p_wxTIFFHandler swig_types[158]
2625 #define SWIGTYPE_p_wxTextAttr swig_types[159]
2626 #define SWIGTYPE_p_wxTextCtrl swig_types[160]
2627 #define SWIGTYPE_p_wxTextUrlEvent swig_types[161]
2628 #define SWIGTYPE_p_wxToggleButton swig_types[162]
2629 #define SWIGTYPE_p_wxToolBar swig_types[163]
2630 #define SWIGTYPE_p_wxToolBarBase swig_types[164]
2631 #define SWIGTYPE_p_wxToolBarToolBase swig_types[165]
2632 #define SWIGTYPE_p_wxToolbook swig_types[166]
2633 #define SWIGTYPE_p_wxToolbookEvent swig_types[167]
2634 #define SWIGTYPE_p_wxTreeEvent swig_types[168]
2635 #define SWIGTYPE_p_wxTreeItemId swig_types[169]
2636 #define SWIGTYPE_p_wxTreebook swig_types[170]
2637 #define SWIGTYPE_p_wxTreebookEvent swig_types[171]
2638 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[172]
2639 #define SWIGTYPE_p_wxValidator swig_types[173]
2640 #define SWIGTYPE_p_wxVisualAttributes swig_types[174]
2641 #define SWIGTYPE_p_wxWindow swig_types[175]
2642 #define SWIGTYPE_p_wxWindowBase swig_types[176]
2643 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[177]
2644 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[178]
2645 #define SWIGTYPE_p_wxXPMHandler swig_types[179]
2646 static swig_type_info
*swig_types
[181];
2647 static swig_module_info swig_module
= {swig_types
, 180, 0, 0, 0, 0};
2648 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2649 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2651 /* -------- TYPES TABLE (END) -------- */
2653 #if (PY_VERSION_HEX <= 0x02000000)
2654 # if !defined(SWIG_PYTHON_CLASSIC)
2655 # error "This python version requires to use swig with the '-classic' option"
2658 #if (PY_VERSION_HEX <= 0x02020000)
2659 # error "This python version requires to use swig with the '-nomodern' option"
2661 #if (PY_VERSION_HEX <= 0x02020000)
2662 # error "This python version requires to use swig with the '-nomodernargs' option"
2665 # error "This python version requires to use swig with the '-nofastunpack' option"
2668 /*-----------------------------------------------
2669 @(target):= _controls_.so
2670 ------------------------------------------------*/
2671 #define SWIG_init init_controls_
2673 #define SWIG_name "_controls_"
2675 #define SWIGVERSION 0x010329
2678 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2679 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2682 #include <stdexcept>
2686 class PyObject_ptr
{
2691 PyObject_ptr() :_obj(0)
2695 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2700 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2702 if (initial_ref
) Py_XINCREF(_obj
);
2705 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2707 Py_XINCREF(item
._obj
);
2718 operator PyObject
*() const
2723 PyObject
*operator->() const
2732 struct PyObject_var
: PyObject_ptr
{
2733 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2735 PyObject_var
& operator = (PyObject
* obj
)
2745 #include "wx/wxPython/wxPython.h"
2746 #include "wx/wxPython/pyclasses.h"
2748 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2749 static const wxString
wxPyEmptyString(wxEmptyString
);
2750 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2752 const wxArrayString wxPyEmptyStringArray
;
2754 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
2756 #define SWIG_From_long PyInt_FromLong
2759 SWIGINTERNINLINE PyObject
*
2760 SWIG_From_int (int value
)
2762 return SWIG_From_long (value
);
2768 # define LLONG_MIN LONG_LONG_MIN
2771 # define LLONG_MAX LONG_LONG_MAX
2774 # define ULLONG_MAX ULONG_LONG_MAX
2779 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2781 if (PyNumber_Check(obj
)) {
2782 if (val
) *val
= PyInt_AsLong(obj
);
2785 return SWIG_TypeError
;
2790 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2793 int res
= SWIG_AsVal_long (obj
, &v
);
2794 if (SWIG_IsOK(res
)) {
2795 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2796 return SWIG_OverflowError
;
2798 if (val
) *val
= static_cast< int >(v
);
2804 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
2807 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2809 if (obj
== Py_True
) {
2810 if (val
) *val
= true;
2812 } else if (obj
== Py_False
) {
2813 if (val
) *val
= false;
2817 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2818 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2823 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
2824 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
2825 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
2826 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
2827 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
2828 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
2829 static const wxString
wxPyStaticLineNameStr(wxStaticLineNameStr
);
2831 #include <wx/checklst.h>
2833 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
2834 SWIGINTERN
void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2837 wxPyClientData
* data
= new wxPyClientData(clientData
);
2838 self
->Insert(item
, pos
, data
);
2841 self
->Insert(item
, pos
);
2845 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2848 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2849 return SWIG_TypeError
;
2852 *val
= (unsigned long)v
;
2858 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2861 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2862 if (SWIG_IsOK(res
)) {
2863 if ((v
> UINT_MAX
)) {
2864 return SWIG_OverflowError
;
2866 if (val
) *val
= static_cast< unsigned int >(v
);
2872 SWIGINTERN PyObject
*wxListBox_GetSelections(wxListBox
*self
){
2873 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2875 self
->GetSelections(lst
);
2876 PyObject
*tup
= PyTuple_New(lst
.GetCount());
2877 for (size_t i
=0; i
<lst
.GetCount(); i
++)
2879 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
2881 wxPyEndBlockThreads(blocked
);
2884 SWIGINTERN
void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2886 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2887 self
->GetItem(item
)->SetTextColour(c
);
2890 SWIGINTERN
void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2892 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2893 self
->GetItem(item
)->SetBackgroundColour(c
);
2896 SWIGINTERN
void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
2898 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2899 self
->GetItem(item
)->SetFont(f
);
2902 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
2903 SWIGINTERN
void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
2904 self
->AppendText(text
);
2906 SWIGINTERN wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
2907 return self
->GetValue().Mid(from
, to
- from
);
2909 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
2910 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
2911 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2912 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
2913 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
2915 SWIGINTERNINLINE PyObject
*
2916 SWIG_From_unsigned_SS_long (unsigned long value
)
2918 return (value
> LONG_MAX
) ?
2919 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2923 SWIGINTERNINLINE PyObject
*
2924 SWIG_From_size_t (size_t value
)
2926 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2930 SWIGINTERNINLINE PyObject
*
2931 SWIG_From_unsigned_SS_int (unsigned int value
)
2933 return SWIG_From_unsigned_SS_long (value
);
2937 #include <wx/slider.h>
2940 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
2941 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
2943 #if !wxUSE_TOGGLEBTN
2944 // implement dummy items for platforms that don't have this class
2946 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2948 class wxToggleButton
: public wxControl
2951 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
2952 const wxPoint
&, const wxSize
&, long,
2953 const wxValidator
&, const wxString
&)
2954 { wxPyRaiseNotImplemented(); }
2957 { wxPyRaiseNotImplemented(); }
2961 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
2963 SWIGINTERNINLINE
int
2964 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2967 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2968 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2972 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2973 SWIGINTERN PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2974 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2976 Py_INCREF(udata
->m_obj
);
2977 return udata
->m_obj
;
2983 SWIGINTERN
void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2984 self
->SetClientData(new wxPyUserData(clientData
));
2986 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
){
2987 wxPyUserData
* udata
= NULL
;
2988 if (clientData
&& clientData
!= Py_None
)
2989 udata
= new wxPyUserData(clientData
);
2990 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2991 shortHelp
, longHelp
, udata
);
2993 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
){
2994 wxPyUserData
* udata
= NULL
;
2995 if (clientData
&& clientData
!= Py_None
)
2996 udata
= new wxPyUserData(clientData
);
2997 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2998 shortHelp
, longHelp
, udata
);
3000 SWIGINTERN PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
3001 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
3003 Py_INCREF(udata
->m_obj
);
3004 return udata
->m_obj
;
3010 SWIGINTERN
void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
3011 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
3014 #include <wx/listctrl.h>
3016 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
3017 SWIGINTERN
void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
3018 // Python aware sorting function for wxPyListCtrl
3019 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
3021 PyObject
* func
= (PyObject
*)funcPtr
;
3022 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3024 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
3025 PyObject
* result
= PyEval_CallObject(func
, args
);
3028 retval
= PyInt_AsLong(result
);
3032 wxPyEndBlockThreads(blocked
);
3036 // C++ Version of a Python aware class
3037 class wxPyListCtrl
: public wxListCtrl
{
3038 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
3040 wxPyListCtrl() : wxListCtrl() {}
3041 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
3045 const wxValidator
& validator
,
3046 const wxString
& name
) :
3047 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3049 bool Create(wxWindow
* parent
, wxWindowID id
,
3053 const wxValidator
& validator
,
3054 const wxString
& name
) {
3055 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3058 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
3059 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
3061 // use the virtual version to avoid a confusing assert in the base class
3062 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
3063 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
3068 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
3070 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
3071 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
3072 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
3073 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
3076 SWIGINTERN wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
3078 item
.SetMask( wxLIST_MASK_STATE
|
3086 if (self
->GetColumn(col
, item
))
3087 return new wxListItem(item
);
3091 SWIGINTERN wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
3092 wxListItem
* info
= new wxListItem
;
3093 info
->m_itemId
= itemId
;
3095 info
->m_mask
= 0xFFFF;
3096 self
->GetItem(*info
);
3099 SWIGINTERN wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
3101 self
->GetItemPosition(item
, pos
);
3104 SWIGINTERN wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
3106 self
->GetItemRect(item
, rect
, code
);
3109 SWIGINTERN
bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
3110 if (!PyCallable_Check(func
))
3112 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
3114 SWIGINTERN wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
3122 #include <wx/treectrl.h>
3123 #include "wx/wxPython/pytree.h"
3125 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3126 SWIGINTERN
bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
3127 SWIGINTERN
bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
3128 SWIGINTERN
void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
3130 static wxTreeItemId wxNullTreeItemId
;
3132 // C++ version of Python aware wxTreeCtrl
3133 class wxPyTreeCtrl
: public wxTreeCtrl
{
3134 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3136 wxPyTreeCtrl() : wxTreeCtrl() {}
3137 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3141 const wxValidator
& validator
,
3142 const wxString
& name
) :
3143 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3145 bool Create(wxWindow
*parent
, wxWindowID id
,
3149 const wxValidator
& validator
,
3150 const wxString
& name
) {
3151 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3155 int OnCompareItems(const wxTreeItemId
& item1
,
3156 const wxTreeItemId
& item2
) {
3159 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3160 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3161 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3162 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3163 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3167 wxPyEndBlockThreads(blocked
);
3169 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3175 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
3178 SWIGINTERN wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3179 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3181 data
= new wxPyTreeItemData();
3182 data
->SetId(item
); // set the id
3183 self
->SetItemData(item
, data
);
3187 SWIGINTERN PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3188 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3190 data
= new wxPyTreeItemData();
3191 data
->SetId(item
); // set the id
3192 self
->SetItemData(item
, data
);
3194 return data
->GetData();
3196 SWIGINTERN
void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3197 data
->SetId(item
); // set the id
3198 self
->SetItemData(item
, data
);
3200 SWIGINTERN
void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3201 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3203 data
= new wxPyTreeItemData(obj
);
3204 data
->SetId(item
); // set the id
3205 self
->SetItemData(item
, data
);
3209 SWIGINTERN PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
3210 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3211 PyObject
* rval
= PyList_New(0);
3212 wxArrayTreeItemIds array
;
3214 num
= self
->GetSelections(array
);
3215 for (x
=0; x
< num
; x
++) {
3216 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3217 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3218 PyList_Append(rval
, item
);
3221 wxPyEndBlockThreads(blocked
);
3224 SWIGINTERN PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3226 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3227 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3228 PyObject
* tup
= PyTuple_New(2);
3229 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3230 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3231 wxPyEndBlockThreads(blocked
);
3234 SWIGINTERN PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3235 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3236 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3237 PyObject
* tup
= PyTuple_New(2);
3238 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3239 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3240 wxPyEndBlockThreads(blocked
);
3243 SWIGINTERN PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3245 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3246 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3247 wxRect
* r
= new wxRect(rect
);
3248 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
3249 wxPyEndBlockThreads(blocked
);
3255 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
3257 SWIGINTERNINLINE PyObject
*
3258 SWIG_From_bool (bool value
)
3260 return PyBool_FromLong(value
? 1 : 0);
3263 // C++ version of Python aware wxControl
3264 class wxPyControl
: public wxControl
3266 DECLARE_DYNAMIC_CLASS(wxPyControl
)
3268 wxPyControl() : wxControl() {}
3269 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
3270 const wxPoint
& pos
= wxDefaultPosition
,
3271 const wxSize
& size
= wxDefaultSize
,
3273 const wxValidator
& validator
=wxDefaultValidator
,
3274 const wxString
& name
= wxPyControlNameStr
)
3275 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3278 bool DoEraseBackground(wxDC
* dc
) {
3280 return wxWindow::DoEraseBackground(dc
->GetHDC());
3282 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3288 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3289 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3290 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3291 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3293 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3295 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3297 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3298 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3300 DEC_PYCALLBACK__(InitDialog
);
3301 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3302 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3303 DEC_PYCALLBACK_BOOL_(Validate
);
3305 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3306 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3307 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3309 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3310 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3312 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3313 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3315 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3317 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3322 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
3324 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
3325 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
3326 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
3327 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
3329 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
3330 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
3331 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
3333 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
3334 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
3336 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
3337 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
3338 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
3339 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
3341 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
3342 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
3343 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
3345 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
3346 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
3348 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
3349 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
3351 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
3353 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
3357 SWIGINTERN
void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
3359 #include <wx/generic/dragimgg.h>
3361 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
3362 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
3364 self
->GetRange(&rv
, NULL
);
3367 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
3369 self
->GetRange(NULL
, &rv
);
3372 static const wxString
wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr
);
3373 static const wxString
wxPyColourPickerCtrlNameStr(wxColourPickerCtrlNameStr
);
3374 static const wxString
wxPyFilePickerCtrlNameStr(wxFilePickerCtrlNameStr
);
3375 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3376 static const wxString
wxPyDirPickerCtrlNameStr(wxDirPickerCtrlNameStr
);
3377 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3378 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3379 static const wxString
wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr
);
3380 static const wxString
wxPyCollapsiblePaneNameStr(wxCollapsiblePaneNameStr
);
3381 static const wxString
wxPySearchCtrlNameStr(wxSearchCtrlNameStr
);
3383 #if !defined(wxUSE_SEARCHCTRL) || !wxUSE_SEARCHCTRL
3384 // define a dummy class for builds that don't have wxSearchCtrl
3387 wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN
,
3388 wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN
3391 class wxSearchCtrl
: public wxTextCtrl
3394 wxSearchCtrl() { wxPyRaiseNotImplemented(); }
3395 wxSearchCtrl(wxWindow
*, wxWindowID
,
3401 const wxString
& name
)
3402 { wxPyRaiseNotImplemented(); }
3404 bool Create( wxWindow
*, wxWindowID
,
3410 const wxString
& name
) {}
3412 virtual void SetMenu( wxMenu
* ) {}
3413 virtual wxMenu
* GetMenu() { return NULL
; }
3415 // get/set search options
3416 // ----------------------
3417 virtual void ShowSearchButton( bool ) {}
3418 virtual bool IsSearchButtonVisible() const { return false; }
3420 virtual void ShowCancelButton( bool ) {}
3421 virtual bool IsCancelButtonVisible() const { return false; }
3423 virtual void SetDescriptiveText(const wxString
& text
);
3424 virtual wxString
GetDescriptiveText() const;
3428 SWIGINTERN
void wxSearchCtrl_SetSearchBitmap(wxSearchCtrl
*self
,wxBitmap
const &){}
3429 SWIGINTERN
void wxSearchCtrl_SetSearchMenuBitmap(wxSearchCtrl
*self
,wxBitmap
const &){}
3430 SWIGINTERN
void wxSearchCtrl_SetCancelBitmap(wxSearchCtrl
*self
,wxBitmap
const &){}
3434 SWIGINTERN
int ButtonNameStr_set(PyObject
*) {
3435 SWIG_Error(SWIG_AttributeError
,"Variable ButtonNameStr is read-only.");
3440 SWIGINTERN PyObject
*ButtonNameStr_get(void) {
3441 PyObject
*pyobj
= 0;
3445 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3447 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3454 SWIGINTERN PyObject
*_wrap_new_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3455 PyObject
*resultobj
= 0;
3456 wxWindow
*arg1
= (wxWindow
*) 0 ;
3457 int arg2
= (int) -1 ;
3458 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3459 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3460 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3461 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3462 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3463 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3464 long arg6
= (long) 0 ;
3465 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3466 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3467 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3468 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3469 wxButton
*result
= 0 ;
3474 bool temp3
= false ;
3481 bool temp8
= false ;
3482 PyObject
* obj0
= 0 ;
3483 PyObject
* obj1
= 0 ;
3484 PyObject
* obj2
= 0 ;
3485 PyObject
* obj3
= 0 ;
3486 PyObject
* obj4
= 0 ;
3487 PyObject
* obj5
= 0 ;
3488 PyObject
* obj6
= 0 ;
3489 PyObject
* obj7
= 0 ;
3490 char * kwnames
[] = {
3491 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3496 if (!SWIG_IsOK(res1
)) {
3497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3499 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3501 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3502 if (!SWIG_IsOK(ecode2
)) {
3503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3505 arg2
= static_cast< int >(val2
);
3509 arg3
= wxString_in_helper(obj2
);
3510 if (arg3
== NULL
) SWIG_fail
;
3517 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3523 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3527 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3528 if (!SWIG_IsOK(ecode6
)) {
3529 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3531 arg6
= static_cast< long >(val6
);
3534 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3535 if (!SWIG_IsOK(res7
)) {
3536 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3539 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3541 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3545 arg8
= wxString_in_helper(obj7
);
3546 if (arg8
== NULL
) SWIG_fail
;
3551 if (!wxPyCheckForApp()) SWIG_fail
;
3552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3553 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3554 wxPyEndAllowThreads(__tstate
);
3555 if (PyErr_Occurred()) SWIG_fail
;
3557 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_NEW
| 0 );
3580 SWIGINTERN PyObject
*_wrap_new_PreButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3581 PyObject
*resultobj
= 0;
3582 wxButton
*result
= 0 ;
3584 if (!SWIG_Python_UnpackTuple(args
,"new_PreButton",0,0,0)) SWIG_fail
;
3586 if (!wxPyCheckForApp()) SWIG_fail
;
3587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3588 result
= (wxButton
*)new wxButton();
3589 wxPyEndAllowThreads(__tstate
);
3590 if (PyErr_Occurred()) SWIG_fail
;
3592 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_OWN
| 0 );
3599 SWIGINTERN PyObject
*_wrap_Button_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3600 PyObject
*resultobj
= 0;
3601 wxButton
*arg1
= (wxButton
*) 0 ;
3602 wxWindow
*arg2
= (wxWindow
*) 0 ;
3603 int arg3
= (int) -1 ;
3604 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3605 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3606 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3607 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3608 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3609 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3610 long arg7
= (long) 0 ;
3611 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3612 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3613 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3614 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3622 bool temp4
= false ;
3629 bool temp9
= false ;
3630 PyObject
* obj0
= 0 ;
3631 PyObject
* obj1
= 0 ;
3632 PyObject
* obj2
= 0 ;
3633 PyObject
* obj3
= 0 ;
3634 PyObject
* obj4
= 0 ;
3635 PyObject
* obj5
= 0 ;
3636 PyObject
* obj6
= 0 ;
3637 PyObject
* obj7
= 0 ;
3638 PyObject
* obj8
= 0 ;
3639 char * kwnames
[] = {
3640 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3645 if (!SWIG_IsOK(res1
)) {
3646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3648 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3649 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3650 if (!SWIG_IsOK(res2
)) {
3651 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3653 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3655 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3656 if (!SWIG_IsOK(ecode3
)) {
3657 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3659 arg3
= static_cast< int >(val3
);
3663 arg4
= wxString_in_helper(obj3
);
3664 if (arg4
== NULL
) SWIG_fail
;
3671 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3677 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3681 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3682 if (!SWIG_IsOK(ecode7
)) {
3683 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3685 arg7
= static_cast< long >(val7
);
3688 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3689 if (!SWIG_IsOK(res8
)) {
3690 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3693 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3695 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3699 arg9
= wxString_in_helper(obj8
);
3700 if (arg9
== NULL
) SWIG_fail
;
3705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3706 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3707 wxPyEndAllowThreads(__tstate
);
3708 if (PyErr_Occurred()) SWIG_fail
;
3711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3735 SWIGINTERN PyObject
*_wrap_Button_SetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3736 PyObject
*resultobj
= 0;
3737 wxButton
*arg1
= (wxButton
*) 0 ;
3740 PyObject
*swig_obj
[1] ;
3742 if (!args
) SWIG_fail
;
3744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3745 if (!SWIG_IsOK(res1
)) {
3746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3748 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3751 (arg1
)->SetDefault();
3752 wxPyEndAllowThreads(__tstate
);
3753 if (PyErr_Occurred()) SWIG_fail
;
3755 resultobj
= SWIG_Py_Void();
3762 SWIGINTERN PyObject
*_wrap_Button_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3763 PyObject
*resultobj
= 0;
3766 if (!SWIG_Python_UnpackTuple(args
,"Button_GetDefaultSize",0,0,0)) SWIG_fail
;
3768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3769 result
= wxButton::GetDefaultSize();
3770 wxPyEndAllowThreads(__tstate
);
3771 if (PyErr_Occurred()) SWIG_fail
;
3773 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
3780 SWIGINTERN PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3781 PyObject
*resultobj
= 0;
3782 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3783 SwigValueWrapper
<wxVisualAttributes
> result
;
3786 PyObject
* obj0
= 0 ;
3787 char * kwnames
[] = {
3788 (char *) "variant", NULL
3791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3793 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3794 if (!SWIG_IsOK(ecode1
)) {
3795 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3797 arg1
= static_cast< wxWindowVariant
>(val1
);
3800 if (!wxPyCheckForApp()) SWIG_fail
;
3801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3802 result
= wxButton::GetClassDefaultAttributes(arg1
);
3803 wxPyEndAllowThreads(__tstate
);
3804 if (PyErr_Occurred()) SWIG_fail
;
3806 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3813 SWIGINTERN PyObject
*Button_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3815 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3816 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton
, SWIG_NewClientData(obj
));
3817 return SWIG_Py_Void();
3820 SWIGINTERN PyObject
*Button_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3821 return SWIG_Python_InitShadowInstance(args
);
3824 SWIGINTERN PyObject
*_wrap_new_BitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3825 PyObject
*resultobj
= 0;
3826 wxWindow
*arg1
= (wxWindow
*) 0 ;
3827 int arg2
= (int) -1 ;
3828 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
3829 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
3830 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3831 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3832 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3833 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3834 long arg6
= (long) wxBU_AUTODRAW
;
3835 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3836 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3837 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3838 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3839 wxBitmapButton
*result
= 0 ;
3852 bool temp8
= false ;
3853 PyObject
* obj0
= 0 ;
3854 PyObject
* obj1
= 0 ;
3855 PyObject
* obj2
= 0 ;
3856 PyObject
* obj3
= 0 ;
3857 PyObject
* obj4
= 0 ;
3858 PyObject
* obj5
= 0 ;
3859 PyObject
* obj6
= 0 ;
3860 PyObject
* obj7
= 0 ;
3861 char * kwnames
[] = {
3862 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3867 if (!SWIG_IsOK(res1
)) {
3868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3870 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3872 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3873 if (!SWIG_IsOK(ecode2
)) {
3874 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3876 arg2
= static_cast< int >(val2
);
3879 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3880 if (!SWIG_IsOK(res3
)) {
3881 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3884 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3886 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
3891 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3897 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3901 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3902 if (!SWIG_IsOK(ecode6
)) {
3903 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3905 arg6
= static_cast< long >(val6
);
3908 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3909 if (!SWIG_IsOK(res7
)) {
3910 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3913 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3915 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3919 arg8
= wxString_in_helper(obj7
);
3920 if (arg8
== NULL
) SWIG_fail
;
3925 if (!wxPyCheckForApp()) SWIG_fail
;
3926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3927 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3928 wxPyEndAllowThreads(__tstate
);
3929 if (PyErr_Occurred()) SWIG_fail
;
3931 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_NEW
| 0 );
3946 SWIGINTERN PyObject
*_wrap_new_PreBitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3947 PyObject
*resultobj
= 0;
3948 wxBitmapButton
*result
= 0 ;
3950 if (!SWIG_Python_UnpackTuple(args
,"new_PreBitmapButton",0,0,0)) SWIG_fail
;
3952 if (!wxPyCheckForApp()) SWIG_fail
;
3953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3954 result
= (wxBitmapButton
*)new wxBitmapButton();
3955 wxPyEndAllowThreads(__tstate
);
3956 if (PyErr_Occurred()) SWIG_fail
;
3958 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_OWN
| 0 );
3965 SWIGINTERN PyObject
*_wrap_BitmapButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3966 PyObject
*resultobj
= 0;
3967 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3968 wxWindow
*arg2
= (wxWindow
*) 0 ;
3969 int arg3
= (int) -1 ;
3970 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
3971 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
3972 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3973 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3974 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3975 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3976 long arg7
= (long) wxBU_AUTODRAW
;
3977 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3978 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3979 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3980 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3996 bool temp9
= false ;
3997 PyObject
* obj0
= 0 ;
3998 PyObject
* obj1
= 0 ;
3999 PyObject
* obj2
= 0 ;
4000 PyObject
* obj3
= 0 ;
4001 PyObject
* obj4
= 0 ;
4002 PyObject
* obj5
= 0 ;
4003 PyObject
* obj6
= 0 ;
4004 PyObject
* obj7
= 0 ;
4005 PyObject
* obj8
= 0 ;
4006 char * kwnames
[] = {
4007 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4012 if (!SWIG_IsOK(res1
)) {
4013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4015 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4016 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4017 if (!SWIG_IsOK(res2
)) {
4018 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4020 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4022 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4023 if (!SWIG_IsOK(ecode3
)) {
4024 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
4026 arg3
= static_cast< int >(val3
);
4029 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4030 if (!SWIG_IsOK(res4
)) {
4031 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
4034 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
4036 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
4041 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4047 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4051 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4052 if (!SWIG_IsOK(ecode7
)) {
4053 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
4055 arg7
= static_cast< long >(val7
);
4058 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4059 if (!SWIG_IsOK(res8
)) {
4060 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4063 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4065 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4069 arg9
= wxString_in_helper(obj8
);
4070 if (arg9
== NULL
) SWIG_fail
;
4075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4076 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4077 wxPyEndAllowThreads(__tstate
);
4078 if (PyErr_Occurred()) SWIG_fail
;
4081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4097 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapLabel(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_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4111 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4114 result
= (arg1
)->GetBitmapLabel();
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_GetBitmapDisabled(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_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4139 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4142 result
= (arg1
)->GetBitmapDisabled();
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_GetBitmapFocus(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_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4167 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4170 result
= (arg1
)->GetBitmapFocus();
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_GetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4182 PyObject
*resultobj
= 0;
4183 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4187 PyObject
*swig_obj
[1] ;
4189 if (!args
) SWIG_fail
;
4191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4192 if (!SWIG_IsOK(res1
)) {
4193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4195 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4198 result
= (arg1
)->GetBitmapSelected();
4199 wxPyEndAllowThreads(__tstate
);
4200 if (PyErr_Occurred()) SWIG_fail
;
4202 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4209 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4210 PyObject
*resultobj
= 0;
4211 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4215 PyObject
*swig_obj
[1] ;
4217 if (!args
) SWIG_fail
;
4219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4220 if (!SWIG_IsOK(res1
)) {
4221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4223 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4226 result
= (arg1
)->GetBitmapHover();
4227 wxPyEndAllowThreads(__tstate
);
4228 if (PyErr_Occurred()) SWIG_fail
;
4230 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4237 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4238 PyObject
*resultobj
= 0;
4239 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4240 wxBitmap
*arg2
= 0 ;
4245 PyObject
* obj0
= 0 ;
4246 PyObject
* obj1
= 0 ;
4247 char * kwnames
[] = {
4248 (char *) "self",(char *) "bitmap", NULL
4251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4253 if (!SWIG_IsOK(res1
)) {
4254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4256 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4257 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4258 if (!SWIG_IsOK(res2
)) {
4259 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4262 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4264 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4267 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
4268 wxPyEndAllowThreads(__tstate
);
4269 if (PyErr_Occurred()) SWIG_fail
;
4271 resultobj
= SWIG_Py_Void();
4278 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4279 PyObject
*resultobj
= 0;
4280 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4281 wxBitmap
*arg2
= 0 ;
4286 PyObject
* obj0
= 0 ;
4287 PyObject
* obj1
= 0 ;
4288 char * kwnames
[] = {
4289 (char *) "self",(char *) "bitmap", NULL
4292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4294 if (!SWIG_IsOK(res1
)) {
4295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4297 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4298 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4299 if (!SWIG_IsOK(res2
)) {
4300 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4303 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4305 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4308 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
4309 wxPyEndAllowThreads(__tstate
);
4310 if (PyErr_Occurred()) SWIG_fail
;
4312 resultobj
= SWIG_Py_Void();
4319 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4320 PyObject
*resultobj
= 0;
4321 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4322 wxBitmap
*arg2
= 0 ;
4327 PyObject
* obj0
= 0 ;
4328 PyObject
* obj1
= 0 ;
4329 char * kwnames
[] = {
4330 (char *) "self",(char *) "bitmap", NULL
4333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4335 if (!SWIG_IsOK(res1
)) {
4336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4338 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4339 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4340 if (!SWIG_IsOK(res2
)) {
4341 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4344 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4346 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4349 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
4350 wxPyEndAllowThreads(__tstate
);
4351 if (PyErr_Occurred()) SWIG_fail
;
4353 resultobj
= SWIG_Py_Void();
4360 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4361 PyObject
*resultobj
= 0;
4362 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4363 wxBitmap
*arg2
= 0 ;
4368 PyObject
* obj0
= 0 ;
4369 PyObject
* obj1
= 0 ;
4370 char * kwnames
[] = {
4371 (char *) "self",(char *) "bitmap", NULL
4374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4376 if (!SWIG_IsOK(res1
)) {
4377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4379 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4380 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4381 if (!SWIG_IsOK(res2
)) {
4382 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4385 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4387 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4390 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
4391 wxPyEndAllowThreads(__tstate
);
4392 if (PyErr_Occurred()) SWIG_fail
;
4394 resultobj
= SWIG_Py_Void();
4401 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4402 PyObject
*resultobj
= 0;
4403 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4404 wxBitmap
*arg2
= 0 ;
4409 PyObject
* obj0
= 0 ;
4410 PyObject
* obj1
= 0 ;
4411 char * kwnames
[] = {
4412 (char *) "self",(char *) "hover", NULL
4415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4417 if (!SWIG_IsOK(res1
)) {
4418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4420 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4421 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4422 if (!SWIG_IsOK(res2
)) {
4423 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4426 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4428 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4431 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
4432 wxPyEndAllowThreads(__tstate
);
4433 if (PyErr_Occurred()) SWIG_fail
;
4435 resultobj
= SWIG_Py_Void();
4442 SWIGINTERN PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4443 PyObject
*resultobj
= 0;
4444 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4453 PyObject
* obj0
= 0 ;
4454 PyObject
* obj1
= 0 ;
4455 PyObject
* obj2
= 0 ;
4456 char * kwnames
[] = {
4457 (char *) "self",(char *) "x",(char *) "y", NULL
4460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4462 if (!SWIG_IsOK(res1
)) {
4463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4465 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4466 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4467 if (!SWIG_IsOK(ecode2
)) {
4468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4470 arg2
= static_cast< int >(val2
);
4471 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4472 if (!SWIG_IsOK(ecode3
)) {
4473 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4475 arg3
= static_cast< int >(val3
);
4477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4478 (arg1
)->SetMargins(arg2
,arg3
);
4479 wxPyEndAllowThreads(__tstate
);
4480 if (PyErr_Occurred()) SWIG_fail
;
4482 resultobj
= SWIG_Py_Void();
4489 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4490 PyObject
*resultobj
= 0;
4491 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4495 PyObject
*swig_obj
[1] ;
4497 if (!args
) SWIG_fail
;
4499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4500 if (!SWIG_IsOK(res1
)) {
4501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4503 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4506 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
4507 wxPyEndAllowThreads(__tstate
);
4508 if (PyErr_Occurred()) SWIG_fail
;
4510 resultobj
= SWIG_From_int(static_cast< int >(result
));
4517 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4518 PyObject
*resultobj
= 0;
4519 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4523 PyObject
*swig_obj
[1] ;
4525 if (!args
) SWIG_fail
;
4527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4528 if (!SWIG_IsOK(res1
)) {
4529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4531 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4534 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
4535 wxPyEndAllowThreads(__tstate
);
4536 if (PyErr_Occurred()) SWIG_fail
;
4538 resultobj
= SWIG_From_int(static_cast< int >(result
));
4545 SWIGINTERN PyObject
*BitmapButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4547 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4548 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton
, SWIG_NewClientData(obj
));
4549 return SWIG_Py_Void();
4552 SWIGINTERN PyObject
*BitmapButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4553 return SWIG_Python_InitShadowInstance(args
);
4556 SWIGINTERN
int CheckBoxNameStr_set(PyObject
*) {
4557 SWIG_Error(SWIG_AttributeError
,"Variable CheckBoxNameStr is read-only.");
4562 SWIGINTERN PyObject
*CheckBoxNameStr_get(void) {
4563 PyObject
*pyobj
= 0;
4567 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4569 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4576 SWIGINTERN PyObject
*_wrap_new_CheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4577 PyObject
*resultobj
= 0;
4578 wxWindow
*arg1
= (wxWindow
*) 0 ;
4579 int arg2
= (int) -1 ;
4580 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4581 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4582 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4583 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4584 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4585 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4586 long arg6
= (long) 0 ;
4587 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4588 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4589 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
4590 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4591 wxCheckBox
*result
= 0 ;
4596 bool temp3
= false ;
4603 bool temp8
= false ;
4604 PyObject
* obj0
= 0 ;
4605 PyObject
* obj1
= 0 ;
4606 PyObject
* obj2
= 0 ;
4607 PyObject
* obj3
= 0 ;
4608 PyObject
* obj4
= 0 ;
4609 PyObject
* obj5
= 0 ;
4610 PyObject
* obj6
= 0 ;
4611 PyObject
* obj7
= 0 ;
4612 char * kwnames
[] = {
4613 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4618 if (!SWIG_IsOK(res1
)) {
4619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4621 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4623 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4624 if (!SWIG_IsOK(ecode2
)) {
4625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4627 arg2
= static_cast< int >(val2
);
4631 arg3
= wxString_in_helper(obj2
);
4632 if (arg3
== NULL
) SWIG_fail
;
4639 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4645 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4649 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4650 if (!SWIG_IsOK(ecode6
)) {
4651 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4653 arg6
= static_cast< long >(val6
);
4656 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
4657 if (!SWIG_IsOK(res7
)) {
4658 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4661 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4663 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
4667 arg8
= wxString_in_helper(obj7
);
4668 if (arg8
== NULL
) SWIG_fail
;
4673 if (!wxPyCheckForApp()) SWIG_fail
;
4674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4675 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4676 wxPyEndAllowThreads(__tstate
);
4677 if (PyErr_Occurred()) SWIG_fail
;
4679 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_NEW
| 0 );
4702 SWIGINTERN PyObject
*_wrap_new_PreCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4703 PyObject
*resultobj
= 0;
4704 wxCheckBox
*result
= 0 ;
4706 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckBox",0,0,0)) SWIG_fail
;
4708 if (!wxPyCheckForApp()) SWIG_fail
;
4709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4710 result
= (wxCheckBox
*)new wxCheckBox();
4711 wxPyEndAllowThreads(__tstate
);
4712 if (PyErr_Occurred()) SWIG_fail
;
4714 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_OWN
| 0 );
4721 SWIGINTERN PyObject
*_wrap_CheckBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4722 PyObject
*resultobj
= 0;
4723 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4724 wxWindow
*arg2
= (wxWindow
*) 0 ;
4725 int arg3
= (int) -1 ;
4726 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4727 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4728 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4729 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4730 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4731 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4732 long arg7
= (long) 0 ;
4733 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4734 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4735 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
4736 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4744 bool temp4
= false ;
4751 bool temp9
= false ;
4752 PyObject
* obj0
= 0 ;
4753 PyObject
* obj1
= 0 ;
4754 PyObject
* obj2
= 0 ;
4755 PyObject
* obj3
= 0 ;
4756 PyObject
* obj4
= 0 ;
4757 PyObject
* obj5
= 0 ;
4758 PyObject
* obj6
= 0 ;
4759 PyObject
* obj7
= 0 ;
4760 PyObject
* obj8
= 0 ;
4761 char * kwnames
[] = {
4762 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4767 if (!SWIG_IsOK(res1
)) {
4768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4770 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4771 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4772 if (!SWIG_IsOK(res2
)) {
4773 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4775 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4777 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4778 if (!SWIG_IsOK(ecode3
)) {
4779 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4781 arg3
= static_cast< int >(val3
);
4785 arg4
= wxString_in_helper(obj3
);
4786 if (arg4
== NULL
) SWIG_fail
;
4793 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4799 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4803 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4804 if (!SWIG_IsOK(ecode7
)) {
4805 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4807 arg7
= static_cast< long >(val7
);
4810 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4811 if (!SWIG_IsOK(res8
)) {
4812 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4815 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4817 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4821 arg9
= wxString_in_helper(obj8
);
4822 if (arg9
== NULL
) SWIG_fail
;
4827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4828 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4829 wxPyEndAllowThreads(__tstate
);
4830 if (PyErr_Occurred()) SWIG_fail
;
4833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4857 SWIGINTERN PyObject
*_wrap_CheckBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4858 PyObject
*resultobj
= 0;
4859 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4863 PyObject
*swig_obj
[1] ;
4865 if (!args
) SWIG_fail
;
4867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4868 if (!SWIG_IsOK(res1
)) {
4869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4871 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4874 result
= (bool)(arg1
)->GetValue();
4875 wxPyEndAllowThreads(__tstate
);
4876 if (PyErr_Occurred()) SWIG_fail
;
4879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4887 SWIGINTERN PyObject
*_wrap_CheckBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4888 PyObject
*resultobj
= 0;
4889 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4893 PyObject
*swig_obj
[1] ;
4895 if (!args
) SWIG_fail
;
4897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4898 if (!SWIG_IsOK(res1
)) {
4899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4901 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4904 result
= (bool)(arg1
)->IsChecked();
4905 wxPyEndAllowThreads(__tstate
);
4906 if (PyErr_Occurred()) SWIG_fail
;
4909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4917 SWIGINTERN PyObject
*_wrap_CheckBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4918 PyObject
*resultobj
= 0;
4919 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4925 PyObject
* obj0
= 0 ;
4926 PyObject
* obj1
= 0 ;
4927 char * kwnames
[] = {
4928 (char *) "self",(char *) "state", NULL
4931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4933 if (!SWIG_IsOK(res1
)) {
4934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4936 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4937 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4938 if (!SWIG_IsOK(ecode2
)) {
4939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4941 arg2
= static_cast< bool >(val2
);
4943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4944 (arg1
)->SetValue(arg2
);
4945 wxPyEndAllowThreads(__tstate
);
4946 if (PyErr_Occurred()) SWIG_fail
;
4948 resultobj
= SWIG_Py_Void();
4955 SWIGINTERN PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4956 PyObject
*resultobj
= 0;
4957 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4958 wxCheckBoxState result
;
4961 PyObject
*swig_obj
[1] ;
4963 if (!args
) SWIG_fail
;
4965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4966 if (!SWIG_IsOK(res1
)) {
4967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4969 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4972 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
4973 wxPyEndAllowThreads(__tstate
);
4974 if (PyErr_Occurred()) SWIG_fail
;
4976 resultobj
= SWIG_From_int(static_cast< int >(result
));
4983 SWIGINTERN PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4984 PyObject
*resultobj
= 0;
4985 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4986 wxCheckBoxState arg2
;
4991 PyObject
* obj0
= 0 ;
4992 PyObject
* obj1
= 0 ;
4993 char * kwnames
[] = {
4994 (char *) "self",(char *) "state", NULL
4997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4999 if (!SWIG_IsOK(res1
)) {
5000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
5002 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5003 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5004 if (!SWIG_IsOK(ecode2
)) {
5005 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
5007 arg2
= static_cast< wxCheckBoxState
>(val2
);
5009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5010 (arg1
)->Set3StateValue(arg2
);
5011 wxPyEndAllowThreads(__tstate
);
5012 if (PyErr_Occurred()) SWIG_fail
;
5014 resultobj
= SWIG_Py_Void();
5021 SWIGINTERN PyObject
*_wrap_CheckBox_Is3State(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5022 PyObject
*resultobj
= 0;
5023 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
5027 PyObject
*swig_obj
[1] ;
5029 if (!args
) SWIG_fail
;
5031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5032 if (!SWIG_IsOK(res1
)) {
5033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5035 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5038 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
5039 wxPyEndAllowThreads(__tstate
);
5040 if (PyErr_Occurred()) SWIG_fail
;
5043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5051 SWIGINTERN PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5052 PyObject
*resultobj
= 0;
5053 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
5057 PyObject
*swig_obj
[1] ;
5059 if (!args
) SWIG_fail
;
5061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5062 if (!SWIG_IsOK(res1
)) {
5063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5065 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5068 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
5069 wxPyEndAllowThreads(__tstate
);
5070 if (PyErr_Occurred()) SWIG_fail
;
5073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5081 SWIGINTERN PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5082 PyObject
*resultobj
= 0;
5083 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5084 SwigValueWrapper
<wxVisualAttributes
> result
;
5087 PyObject
* obj0
= 0 ;
5088 char * kwnames
[] = {
5089 (char *) "variant", NULL
5092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5094 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5095 if (!SWIG_IsOK(ecode1
)) {
5096 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5098 arg1
= static_cast< wxWindowVariant
>(val1
);
5101 if (!wxPyCheckForApp()) SWIG_fail
;
5102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5103 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
5104 wxPyEndAllowThreads(__tstate
);
5105 if (PyErr_Occurred()) SWIG_fail
;
5107 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5114 SWIGINTERN PyObject
*CheckBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5116 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5117 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox
, SWIG_NewClientData(obj
));
5118 return SWIG_Py_Void();
5121 SWIGINTERN PyObject
*CheckBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5122 return SWIG_Python_InitShadowInstance(args
);
5125 SWIGINTERN
int ChoiceNameStr_set(PyObject
*) {
5126 SWIG_Error(SWIG_AttributeError
,"Variable ChoiceNameStr is read-only.");
5131 SWIGINTERN PyObject
*ChoiceNameStr_get(void) {
5132 PyObject
*pyobj
= 0;
5136 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5138 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5145 SWIGINTERN PyObject
*_wrap_new_Choice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5146 PyObject
*resultobj
= 0;
5147 wxWindow
*arg1
= (wxWindow
*) 0 ;
5148 int arg2
= (int) -1 ;
5149 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5150 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5151 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5152 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5153 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5154 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5155 long arg6
= (long) 0 ;
5156 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5157 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5158 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
5159 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5160 wxChoice
*result
= 0 ;
5167 bool temp5
= false ;
5172 bool temp8
= false ;
5173 PyObject
* obj0
= 0 ;
5174 PyObject
* obj1
= 0 ;
5175 PyObject
* obj2
= 0 ;
5176 PyObject
* obj3
= 0 ;
5177 PyObject
* obj4
= 0 ;
5178 PyObject
* obj5
= 0 ;
5179 PyObject
* obj6
= 0 ;
5180 PyObject
* obj7
= 0 ;
5181 char * kwnames
[] = {
5182 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5187 if (!SWIG_IsOK(res1
)) {
5188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5190 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5192 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5193 if (!SWIG_IsOK(ecode2
)) {
5194 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5196 arg2
= static_cast< int >(val2
);
5201 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5207 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5212 if (! PySequence_Check(obj4
)) {
5213 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5216 arg5
= new wxArrayString
;
5218 int i
, len
=PySequence_Length(obj4
);
5219 for (i
=0; i
<len
; i
++) {
5220 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5221 wxString
* s
= wxString_in_helper(item
);
5222 if (PyErr_Occurred()) SWIG_fail
;
5230 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5231 if (!SWIG_IsOK(ecode6
)) {
5232 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5234 arg6
= static_cast< long >(val6
);
5237 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5238 if (!SWIG_IsOK(res7
)) {
5239 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5242 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5244 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5248 arg8
= wxString_in_helper(obj7
);
5249 if (arg8
== NULL
) SWIG_fail
;
5254 if (!wxPyCheckForApp()) SWIG_fail
;
5255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5256 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5257 wxPyEndAllowThreads(__tstate
);
5258 if (PyErr_Occurred()) SWIG_fail
;
5260 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_NEW
| 0 );
5262 if (temp5
) delete arg5
;
5271 if (temp5
) delete arg5
;
5281 SWIGINTERN PyObject
*_wrap_new_PreChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5282 PyObject
*resultobj
= 0;
5283 wxChoice
*result
= 0 ;
5285 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoice",0,0,0)) SWIG_fail
;
5287 if (!wxPyCheckForApp()) SWIG_fail
;
5288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5289 result
= (wxChoice
*)new wxChoice();
5290 wxPyEndAllowThreads(__tstate
);
5291 if (PyErr_Occurred()) SWIG_fail
;
5293 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_OWN
| 0 );
5300 SWIGINTERN PyObject
*_wrap_Choice_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5301 PyObject
*resultobj
= 0;
5302 wxChoice
*arg1
= (wxChoice
*) 0 ;
5303 wxWindow
*arg2
= (wxWindow
*) 0 ;
5304 int arg3
= (int) -1 ;
5305 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5306 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5307 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5308 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5309 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5310 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5311 long arg7
= (long) 0 ;
5312 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5313 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5314 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
5315 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5325 bool temp6
= false ;
5330 bool temp9
= false ;
5331 PyObject
* obj0
= 0 ;
5332 PyObject
* obj1
= 0 ;
5333 PyObject
* obj2
= 0 ;
5334 PyObject
* obj3
= 0 ;
5335 PyObject
* obj4
= 0 ;
5336 PyObject
* obj5
= 0 ;
5337 PyObject
* obj6
= 0 ;
5338 PyObject
* obj7
= 0 ;
5339 PyObject
* obj8
= 0 ;
5340 char * kwnames
[] = {
5341 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5346 if (!SWIG_IsOK(res1
)) {
5347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5349 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5350 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5351 if (!SWIG_IsOK(res2
)) {
5352 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5354 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5356 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5357 if (!SWIG_IsOK(ecode3
)) {
5358 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5360 arg3
= static_cast< int >(val3
);
5365 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5371 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5376 if (! PySequence_Check(obj5
)) {
5377 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5380 arg6
= new wxArrayString
;
5382 int i
, len
=PySequence_Length(obj5
);
5383 for (i
=0; i
<len
; i
++) {
5384 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5385 wxString
* s
= wxString_in_helper(item
);
5386 if (PyErr_Occurred()) SWIG_fail
;
5394 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5395 if (!SWIG_IsOK(ecode7
)) {
5396 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5398 arg7
= static_cast< long >(val7
);
5401 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5402 if (!SWIG_IsOK(res8
)) {
5403 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5406 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5408 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5412 arg9
= wxString_in_helper(obj8
);
5413 if (arg9
== NULL
) SWIG_fail
;
5418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5419 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5420 wxPyEndAllowThreads(__tstate
);
5421 if (PyErr_Occurred()) SWIG_fail
;
5424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5427 if (temp6
) delete arg6
;
5436 if (temp6
) delete arg6
;
5446 SWIGINTERN PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5447 PyObject
*resultobj
= 0;
5448 wxChoice
*arg1
= (wxChoice
*) 0 ;
5452 PyObject
*swig_obj
[1] ;
5454 if (!args
) SWIG_fail
;
5456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5457 if (!SWIG_IsOK(res1
)) {
5458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5460 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5463 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
5464 wxPyEndAllowThreads(__tstate
);
5465 if (PyErr_Occurred()) SWIG_fail
;
5467 resultobj
= SWIG_From_int(static_cast< int >(result
));
5474 SWIGINTERN PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5475 PyObject
*resultobj
= 0;
5476 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5477 SwigValueWrapper
<wxVisualAttributes
> result
;
5480 PyObject
* obj0
= 0 ;
5481 char * kwnames
[] = {
5482 (char *) "variant", NULL
5485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5487 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5488 if (!SWIG_IsOK(ecode1
)) {
5489 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5491 arg1
= static_cast< wxWindowVariant
>(val1
);
5494 if (!wxPyCheckForApp()) SWIG_fail
;
5495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5496 result
= wxChoice::GetClassDefaultAttributes(arg1
);
5497 wxPyEndAllowThreads(__tstate
);
5498 if (PyErr_Occurred()) SWIG_fail
;
5500 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5507 SWIGINTERN PyObject
*Choice_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5509 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5510 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice
, SWIG_NewClientData(obj
));
5511 return SWIG_Py_Void();
5514 SWIGINTERN PyObject
*Choice_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5515 return SWIG_Python_InitShadowInstance(args
);
5518 SWIGINTERN
int ComboBoxNameStr_set(PyObject
*) {
5519 SWIG_Error(SWIG_AttributeError
,"Variable ComboBoxNameStr is read-only.");
5524 SWIGINTERN PyObject
*ComboBoxNameStr_get(void) {
5525 PyObject
*pyobj
= 0;
5529 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5531 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5538 SWIGINTERN PyObject
*_wrap_new_ComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5539 PyObject
*resultobj
= 0;
5540 wxWindow
*arg1
= (wxWindow
*) 0 ;
5541 int arg2
= (int) -1 ;
5542 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5543 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5544 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5545 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5546 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5547 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5548 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5549 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5550 long arg7
= (long) 0 ;
5551 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5552 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5553 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
5554 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5555 wxComboBox
*result
= 0 ;
5560 bool temp3
= false ;
5563 bool temp6
= false ;
5568 bool temp9
= false ;
5569 PyObject
* obj0
= 0 ;
5570 PyObject
* obj1
= 0 ;
5571 PyObject
* obj2
= 0 ;
5572 PyObject
* obj3
= 0 ;
5573 PyObject
* obj4
= 0 ;
5574 PyObject
* obj5
= 0 ;
5575 PyObject
* obj6
= 0 ;
5576 PyObject
* obj7
= 0 ;
5577 PyObject
* obj8
= 0 ;
5578 char * kwnames
[] = {
5579 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5584 if (!SWIG_IsOK(res1
)) {
5585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5587 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5589 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5590 if (!SWIG_IsOK(ecode2
)) {
5591 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5593 arg2
= static_cast< int >(val2
);
5597 arg3
= wxString_in_helper(obj2
);
5598 if (arg3
== NULL
) SWIG_fail
;
5605 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5611 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5616 if (! PySequence_Check(obj5
)) {
5617 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5620 arg6
= new wxArrayString
;
5622 int i
, len
=PySequence_Length(obj5
);
5623 for (i
=0; i
<len
; i
++) {
5624 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5625 wxString
* s
= wxString_in_helper(item
);
5626 if (PyErr_Occurred()) SWIG_fail
;
5634 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5635 if (!SWIG_IsOK(ecode7
)) {
5636 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5638 arg7
= static_cast< long >(val7
);
5641 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5642 if (!SWIG_IsOK(res8
)) {
5643 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5646 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5648 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5652 arg9
= wxString_in_helper(obj8
);
5653 if (arg9
== NULL
) SWIG_fail
;
5658 if (!wxPyCheckForApp()) SWIG_fail
;
5659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5660 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
);
5661 wxPyEndAllowThreads(__tstate
);
5662 if (PyErr_Occurred()) SWIG_fail
;
5664 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_NEW
| 0 );
5670 if (temp6
) delete arg6
;
5683 if (temp6
) delete arg6
;
5693 SWIGINTERN PyObject
*_wrap_new_PreComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5694 PyObject
*resultobj
= 0;
5695 wxComboBox
*result
= 0 ;
5697 if (!SWIG_Python_UnpackTuple(args
,"new_PreComboBox",0,0,0)) SWIG_fail
;
5699 if (!wxPyCheckForApp()) SWIG_fail
;
5700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5701 result
= (wxComboBox
*)new wxComboBox();
5702 wxPyEndAllowThreads(__tstate
);
5703 if (PyErr_Occurred()) SWIG_fail
;
5705 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_OWN
| 0 );
5712 SWIGINTERN PyObject
*_wrap_ComboBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5713 PyObject
*resultobj
= 0;
5714 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5715 wxWindow
*arg2
= (wxWindow
*) 0 ;
5716 int arg3
= (int) -1 ;
5717 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5718 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5719 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5720 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5721 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5722 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5723 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
5724 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
5725 long arg8
= (long) 0 ;
5726 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5727 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5728 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
5729 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5737 bool temp4
= false ;
5740 bool temp7
= false ;
5745 bool temp10
= false ;
5746 PyObject
* obj0
= 0 ;
5747 PyObject
* obj1
= 0 ;
5748 PyObject
* obj2
= 0 ;
5749 PyObject
* obj3
= 0 ;
5750 PyObject
* obj4
= 0 ;
5751 PyObject
* obj5
= 0 ;
5752 PyObject
* obj6
= 0 ;
5753 PyObject
* obj7
= 0 ;
5754 PyObject
* obj8
= 0 ;
5755 PyObject
* obj9
= 0 ;
5756 char * kwnames
[] = {
5757 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
5761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5762 if (!SWIG_IsOK(res1
)) {
5763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5765 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5766 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5767 if (!SWIG_IsOK(res2
)) {
5768 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5770 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5772 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5773 if (!SWIG_IsOK(ecode3
)) {
5774 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5776 arg3
= static_cast< int >(val3
);
5780 arg4
= wxString_in_helper(obj3
);
5781 if (arg4
== NULL
) SWIG_fail
;
5788 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5794 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5799 if (! PySequence_Check(obj6
)) {
5800 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5803 arg7
= new wxArrayString
;
5805 int i
, len
=PySequence_Length(obj6
);
5806 for (i
=0; i
<len
; i
++) {
5807 PyObject
* item
= PySequence_GetItem(obj6
, i
);
5808 wxString
* s
= wxString_in_helper(item
);
5809 if (PyErr_Occurred()) SWIG_fail
;
5817 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
5818 if (!SWIG_IsOK(ecode8
)) {
5819 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5821 arg8
= static_cast< long >(val8
);
5824 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
5825 if (!SWIG_IsOK(res9
)) {
5826 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5829 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5831 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
5835 arg10
= wxString_in_helper(obj9
);
5836 if (arg10
== NULL
) SWIG_fail
;
5841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5842 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
);
5843 wxPyEndAllowThreads(__tstate
);
5844 if (PyErr_Occurred()) SWIG_fail
;
5847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5854 if (temp7
) delete arg7
;
5867 if (temp7
) delete arg7
;
5877 SWIGINTERN PyObject
*_wrap_ComboBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5878 PyObject
*resultobj
= 0;
5879 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5883 PyObject
*swig_obj
[1] ;
5885 if (!args
) SWIG_fail
;
5887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5888 if (!SWIG_IsOK(res1
)) {
5889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5891 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5894 result
= ((wxComboBox
const *)arg1
)->GetValue();
5895 wxPyEndAllowThreads(__tstate
);
5896 if (PyErr_Occurred()) SWIG_fail
;
5900 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5902 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5911 SWIGINTERN PyObject
*_wrap_ComboBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5912 PyObject
*resultobj
= 0;
5913 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5914 wxString
*arg2
= 0 ;
5917 bool temp2
= false ;
5918 PyObject
* obj0
= 0 ;
5919 PyObject
* obj1
= 0 ;
5920 char * kwnames
[] = {
5921 (char *) "self",(char *) "value", NULL
5924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5926 if (!SWIG_IsOK(res1
)) {
5927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5929 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5931 arg2
= wxString_in_helper(obj1
);
5932 if (arg2
== NULL
) SWIG_fail
;
5936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5937 (arg1
)->SetValue((wxString
const &)*arg2
);
5938 wxPyEndAllowThreads(__tstate
);
5939 if (PyErr_Occurred()) SWIG_fail
;
5941 resultobj
= SWIG_Py_Void();
5956 SWIGINTERN PyObject
*_wrap_ComboBox_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5957 PyObject
*resultobj
= 0;
5958 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5961 PyObject
*swig_obj
[1] ;
5963 if (!args
) SWIG_fail
;
5965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5966 if (!SWIG_IsOK(res1
)) {
5967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5969 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5973 wxPyEndAllowThreads(__tstate
);
5974 if (PyErr_Occurred()) SWIG_fail
;
5976 resultobj
= SWIG_Py_Void();
5983 SWIGINTERN PyObject
*_wrap_ComboBox_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5984 PyObject
*resultobj
= 0;
5985 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5988 PyObject
*swig_obj
[1] ;
5990 if (!args
) SWIG_fail
;
5992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5993 if (!SWIG_IsOK(res1
)) {
5994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5996 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6000 wxPyEndAllowThreads(__tstate
);
6001 if (PyErr_Occurred()) SWIG_fail
;
6003 resultobj
= SWIG_Py_Void();
6010 SWIGINTERN PyObject
*_wrap_ComboBox_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6011 PyObject
*resultobj
= 0;
6012 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6015 PyObject
*swig_obj
[1] ;
6017 if (!args
) SWIG_fail
;
6019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6020 if (!SWIG_IsOK(res1
)) {
6021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
6023 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6027 wxPyEndAllowThreads(__tstate
);
6028 if (PyErr_Occurred()) SWIG_fail
;
6030 resultobj
= SWIG_Py_Void();
6037 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6038 PyObject
*resultobj
= 0;
6039 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6045 PyObject
* obj0
= 0 ;
6046 PyObject
* obj1
= 0 ;
6047 char * kwnames
[] = {
6048 (char *) "self",(char *) "pos", NULL
6051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6053 if (!SWIG_IsOK(res1
)) {
6054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
6056 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6057 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6058 if (!SWIG_IsOK(ecode2
)) {
6059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6061 arg2
= static_cast< long >(val2
);
6063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6064 (arg1
)->SetInsertionPoint(arg2
);
6065 wxPyEndAllowThreads(__tstate
);
6066 if (PyErr_Occurred()) SWIG_fail
;
6068 resultobj
= SWIG_Py_Void();
6075 SWIGINTERN PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6076 PyObject
*resultobj
= 0;
6077 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6081 PyObject
*swig_obj
[1] ;
6083 if (!args
) SWIG_fail
;
6085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6086 if (!SWIG_IsOK(res1
)) {
6087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6089 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6092 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
6093 wxPyEndAllowThreads(__tstate
);
6094 if (PyErr_Occurred()) SWIG_fail
;
6096 resultobj
= SWIG_From_long(static_cast< long >(result
));
6103 SWIGINTERN PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6104 PyObject
*resultobj
= 0;
6105 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6109 PyObject
*swig_obj
[1] ;
6111 if (!args
) SWIG_fail
;
6113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6114 if (!SWIG_IsOK(res1
)) {
6115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6117 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6120 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
6121 wxPyEndAllowThreads(__tstate
);
6122 if (PyErr_Occurred()) SWIG_fail
;
6124 resultobj
= SWIG_From_long(static_cast< long >(result
));
6131 SWIGINTERN PyObject
*_wrap_ComboBox_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6132 PyObject
*resultobj
= 0;
6133 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6136 wxString
*arg4
= 0 ;
6143 bool temp4
= false ;
6144 PyObject
* obj0
= 0 ;
6145 PyObject
* obj1
= 0 ;
6146 PyObject
* obj2
= 0 ;
6147 PyObject
* obj3
= 0 ;
6148 char * kwnames
[] = {
6149 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6154 if (!SWIG_IsOK(res1
)) {
6155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6157 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6158 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6159 if (!SWIG_IsOK(ecode2
)) {
6160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6162 arg2
= static_cast< long >(val2
);
6163 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6164 if (!SWIG_IsOK(ecode3
)) {
6165 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6167 arg3
= static_cast< long >(val3
);
6169 arg4
= wxString_in_helper(obj3
);
6170 if (arg4
== NULL
) SWIG_fail
;
6174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6175 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6176 wxPyEndAllowThreads(__tstate
);
6177 if (PyErr_Occurred()) SWIG_fail
;
6179 resultobj
= SWIG_Py_Void();
6194 SWIGINTERN PyObject
*_wrap_ComboBox_SetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6195 PyObject
*resultobj
= 0;
6196 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6205 PyObject
* obj0
= 0 ;
6206 PyObject
* obj1
= 0 ;
6207 PyObject
* obj2
= 0 ;
6208 char * kwnames
[] = {
6209 (char *) "self",(char *) "from",(char *) "to", NULL
6212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6214 if (!SWIG_IsOK(res1
)) {
6215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6217 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6218 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6219 if (!SWIG_IsOK(ecode2
)) {
6220 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6222 arg2
= static_cast< long >(val2
);
6223 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6224 if (!SWIG_IsOK(ecode3
)) {
6225 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6227 arg3
= static_cast< long >(val3
);
6229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6230 (arg1
)->SetSelection(arg2
,arg3
);
6231 wxPyEndAllowThreads(__tstate
);
6232 if (PyErr_Occurred()) SWIG_fail
;
6234 resultobj
= SWIG_Py_Void();
6241 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6242 PyObject
*resultobj
= 0;
6243 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6247 PyObject
*swig_obj
[1] ;
6249 if (!args
) SWIG_fail
;
6251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6252 if (!SWIG_IsOK(res1
)) {
6253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6255 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6258 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6259 wxPyEndAllowThreads(__tstate
);
6260 if (PyErr_Occurred()) SWIG_fail
;
6262 resultobj
= SWIG_From_int(static_cast< int >(result
));
6269 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6270 PyObject
*resultobj
= 0;
6271 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6272 wxString
*arg2
= 0 ;
6276 bool temp2
= false ;
6277 PyObject
* obj0
= 0 ;
6278 PyObject
* obj1
= 0 ;
6279 char * kwnames
[] = {
6280 (char *) "self",(char *) "string", NULL
6283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6285 if (!SWIG_IsOK(res1
)) {
6286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6288 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6290 arg2
= wxString_in_helper(obj1
);
6291 if (arg2
== NULL
) SWIG_fail
;
6295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6296 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6297 wxPyEndAllowThreads(__tstate
);
6298 if (PyErr_Occurred()) SWIG_fail
;
6301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6317 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6318 PyObject
*resultobj
= 0;
6319 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6325 PyObject
* obj0
= 0 ;
6326 PyObject
* obj1
= 0 ;
6327 char * kwnames
[] = {
6328 (char *) "self",(char *) "editable", NULL
6331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6333 if (!SWIG_IsOK(res1
)) {
6334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6336 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6337 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6338 if (!SWIG_IsOK(ecode2
)) {
6339 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6341 arg2
= static_cast< bool >(val2
);
6343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6344 (arg1
)->SetEditable(arg2
);
6345 wxPyEndAllowThreads(__tstate
);
6346 if (PyErr_Occurred()) SWIG_fail
;
6348 resultobj
= SWIG_Py_Void();
6355 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6356 PyObject
*resultobj
= 0;
6357 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6360 PyObject
*swig_obj
[1] ;
6362 if (!args
) SWIG_fail
;
6364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6365 if (!SWIG_IsOK(res1
)) {
6366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6368 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6371 (arg1
)->SetInsertionPointEnd();
6372 wxPyEndAllowThreads(__tstate
);
6373 if (PyErr_Occurred()) SWIG_fail
;
6375 resultobj
= SWIG_Py_Void();
6382 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6383 PyObject
*resultobj
= 0;
6384 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6393 PyObject
* obj0
= 0 ;
6394 PyObject
* obj1
= 0 ;
6395 PyObject
* obj2
= 0 ;
6396 char * kwnames
[] = {
6397 (char *) "self",(char *) "from",(char *) "to", NULL
6400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6402 if (!SWIG_IsOK(res1
)) {
6403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6405 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6406 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6407 if (!SWIG_IsOK(ecode2
)) {
6408 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6410 arg2
= static_cast< long >(val2
);
6411 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6412 if (!SWIG_IsOK(ecode3
)) {
6413 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6415 arg3
= static_cast< long >(val3
);
6417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6418 (arg1
)->Remove(arg2
,arg3
);
6419 wxPyEndAllowThreads(__tstate
);
6420 if (PyErr_Occurred()) SWIG_fail
;
6422 resultobj
= SWIG_Py_Void();
6429 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6430 PyObject
*resultobj
= 0;
6431 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6435 PyObject
*swig_obj
[1] ;
6437 if (!args
) SWIG_fail
;
6439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6440 if (!SWIG_IsOK(res1
)) {
6441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6443 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6446 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6447 wxPyEndAllowThreads(__tstate
);
6448 if (PyErr_Occurred()) SWIG_fail
;
6451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6459 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6460 PyObject
*resultobj
= 0;
6461 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6464 PyObject
*swig_obj
[1] ;
6466 if (!args
) SWIG_fail
;
6468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6469 if (!SWIG_IsOK(res1
)) {
6470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6472 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6476 wxPyEndAllowThreads(__tstate
);
6477 if (PyErr_Occurred()) SWIG_fail
;
6479 resultobj
= SWIG_Py_Void();
6486 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6487 PyObject
*resultobj
= 0;
6488 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6491 PyObject
*swig_obj
[1] ;
6493 if (!args
) SWIG_fail
;
6495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6496 if (!SWIG_IsOK(res1
)) {
6497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6499 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6503 wxPyEndAllowThreads(__tstate
);
6504 if (PyErr_Occurred()) SWIG_fail
;
6506 resultobj
= SWIG_Py_Void();
6513 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6514 PyObject
*resultobj
= 0;
6515 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6518 PyObject
*swig_obj
[1] ;
6520 if (!args
) SWIG_fail
;
6522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6523 if (!SWIG_IsOK(res1
)) {
6524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6526 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6529 (arg1
)->SelectAll();
6530 wxPyEndAllowThreads(__tstate
);
6531 if (PyErr_Occurred()) SWIG_fail
;
6533 resultobj
= SWIG_Py_Void();
6540 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6541 PyObject
*resultobj
= 0;
6542 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6546 PyObject
*swig_obj
[1] ;
6548 if (!args
) SWIG_fail
;
6550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6551 if (!SWIG_IsOK(res1
)) {
6552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6554 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6557 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6558 wxPyEndAllowThreads(__tstate
);
6559 if (PyErr_Occurred()) SWIG_fail
;
6562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6570 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6571 PyObject
*resultobj
= 0;
6572 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6576 PyObject
*swig_obj
[1] ;
6578 if (!args
) SWIG_fail
;
6580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6581 if (!SWIG_IsOK(res1
)) {
6582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6584 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6587 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6588 wxPyEndAllowThreads(__tstate
);
6589 if (PyErr_Occurred()) SWIG_fail
;
6592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6600 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6601 PyObject
*resultobj
= 0;
6602 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6606 PyObject
*swig_obj
[1] ;
6608 if (!args
) SWIG_fail
;
6610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6611 if (!SWIG_IsOK(res1
)) {
6612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6614 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6617 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6618 wxPyEndAllowThreads(__tstate
);
6619 if (PyErr_Occurred()) SWIG_fail
;
6622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6630 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6631 PyObject
*resultobj
= 0;
6632 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6636 PyObject
*swig_obj
[1] ;
6638 if (!args
) SWIG_fail
;
6640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6641 if (!SWIG_IsOK(res1
)) {
6642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6644 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6647 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6648 wxPyEndAllowThreads(__tstate
);
6649 if (PyErr_Occurred()) SWIG_fail
;
6652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6660 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6661 PyObject
*resultobj
= 0;
6662 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6666 PyObject
*swig_obj
[1] ;
6668 if (!args
) SWIG_fail
;
6670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6671 if (!SWIG_IsOK(res1
)) {
6672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6674 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6677 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6678 wxPyEndAllowThreads(__tstate
);
6679 if (PyErr_Occurred()) SWIG_fail
;
6682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6690 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6691 PyObject
*resultobj
= 0;
6692 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6693 SwigValueWrapper
<wxVisualAttributes
> result
;
6696 PyObject
* obj0
= 0 ;
6697 char * kwnames
[] = {
6698 (char *) "variant", NULL
6701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6703 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6704 if (!SWIG_IsOK(ecode1
)) {
6705 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6707 arg1
= static_cast< wxWindowVariant
>(val1
);
6710 if (!wxPyCheckForApp()) SWIG_fail
;
6711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6712 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6713 wxPyEndAllowThreads(__tstate
);
6714 if (PyErr_Occurred()) SWIG_fail
;
6716 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6723 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6725 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6726 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6727 return SWIG_Py_Void();
6730 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6731 return SWIG_Python_InitShadowInstance(args
);
6734 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6735 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6740 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6741 PyObject
*pyobj
= 0;
6745 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6747 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6754 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6755 PyObject
*resultobj
= 0;
6756 wxWindow
*arg1
= (wxWindow
*) 0 ;
6757 int arg2
= (int) -1 ;
6758 int arg3
= (int) 100 ;
6759 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6760 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6761 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6762 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6763 long arg6
= (long) wxGA_HORIZONTAL
;
6764 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6765 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6766 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6767 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6768 wxGauge
*result
= 0 ;
6781 bool temp8
= false ;
6782 PyObject
* obj0
= 0 ;
6783 PyObject
* obj1
= 0 ;
6784 PyObject
* obj2
= 0 ;
6785 PyObject
* obj3
= 0 ;
6786 PyObject
* obj4
= 0 ;
6787 PyObject
* obj5
= 0 ;
6788 PyObject
* obj6
= 0 ;
6789 PyObject
* obj7
= 0 ;
6790 char * kwnames
[] = {
6791 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6796 if (!SWIG_IsOK(res1
)) {
6797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6799 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6801 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6802 if (!SWIG_IsOK(ecode2
)) {
6803 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6805 arg2
= static_cast< int >(val2
);
6808 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6809 if (!SWIG_IsOK(ecode3
)) {
6810 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6812 arg3
= static_cast< int >(val3
);
6817 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6823 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6827 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6828 if (!SWIG_IsOK(ecode6
)) {
6829 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6831 arg6
= static_cast< long >(val6
);
6834 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6835 if (!SWIG_IsOK(res7
)) {
6836 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6839 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6841 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6845 arg8
= wxString_in_helper(obj7
);
6846 if (arg8
== NULL
) SWIG_fail
;
6851 if (!wxPyCheckForApp()) SWIG_fail
;
6852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6853 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6854 wxPyEndAllowThreads(__tstate
);
6855 if (PyErr_Occurred()) SWIG_fail
;
6857 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6872 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6873 PyObject
*resultobj
= 0;
6874 wxGauge
*result
= 0 ;
6876 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6878 if (!wxPyCheckForApp()) SWIG_fail
;
6879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6880 result
= (wxGauge
*)new wxGauge();
6881 wxPyEndAllowThreads(__tstate
);
6882 if (PyErr_Occurred()) SWIG_fail
;
6884 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6891 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6892 PyObject
*resultobj
= 0;
6893 wxGauge
*arg1
= (wxGauge
*) 0 ;
6894 wxWindow
*arg2
= (wxWindow
*) 0 ;
6895 int arg3
= (int) -1 ;
6896 int arg4
= (int) 100 ;
6897 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6898 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6899 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6900 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6901 long arg7
= (long) wxGA_HORIZONTAL
;
6902 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6903 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6904 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6905 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6921 bool temp9
= false ;
6922 PyObject
* obj0
= 0 ;
6923 PyObject
* obj1
= 0 ;
6924 PyObject
* obj2
= 0 ;
6925 PyObject
* obj3
= 0 ;
6926 PyObject
* obj4
= 0 ;
6927 PyObject
* obj5
= 0 ;
6928 PyObject
* obj6
= 0 ;
6929 PyObject
* obj7
= 0 ;
6930 PyObject
* obj8
= 0 ;
6931 char * kwnames
[] = {
6932 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6937 if (!SWIG_IsOK(res1
)) {
6938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6940 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6941 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6942 if (!SWIG_IsOK(res2
)) {
6943 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6945 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6947 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6948 if (!SWIG_IsOK(ecode3
)) {
6949 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6951 arg3
= static_cast< int >(val3
);
6954 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6955 if (!SWIG_IsOK(ecode4
)) {
6956 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
6958 arg4
= static_cast< int >(val4
);
6963 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6969 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6973 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6974 if (!SWIG_IsOK(ecode7
)) {
6975 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
6977 arg7
= static_cast< long >(val7
);
6980 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
6981 if (!SWIG_IsOK(res8
)) {
6982 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6985 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6987 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
6991 arg9
= wxString_in_helper(obj8
);
6992 if (arg9
== NULL
) SWIG_fail
;
6997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6998 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6999 wxPyEndAllowThreads(__tstate
);
7000 if (PyErr_Occurred()) SWIG_fail
;
7003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7019 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7020 PyObject
*resultobj
= 0;
7021 wxGauge
*arg1
= (wxGauge
*) 0 ;
7027 PyObject
* obj0
= 0 ;
7028 PyObject
* obj1
= 0 ;
7029 char * kwnames
[] = {
7030 (char *) "self",(char *) "range", NULL
7033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7035 if (!SWIG_IsOK(res1
)) {
7036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7038 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7039 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7040 if (!SWIG_IsOK(ecode2
)) {
7041 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7043 arg2
= static_cast< int >(val2
);
7045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7046 (arg1
)->SetRange(arg2
);
7047 wxPyEndAllowThreads(__tstate
);
7048 if (PyErr_Occurred()) SWIG_fail
;
7050 resultobj
= SWIG_Py_Void();
7057 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7058 PyObject
*resultobj
= 0;
7059 wxGauge
*arg1
= (wxGauge
*) 0 ;
7063 PyObject
*swig_obj
[1] ;
7065 if (!args
) SWIG_fail
;
7067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7068 if (!SWIG_IsOK(res1
)) {
7069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7071 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7074 result
= (int)((wxGauge
const *)arg1
)->GetRange();
7075 wxPyEndAllowThreads(__tstate
);
7076 if (PyErr_Occurred()) SWIG_fail
;
7078 resultobj
= SWIG_From_int(static_cast< int >(result
));
7085 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7086 PyObject
*resultobj
= 0;
7087 wxGauge
*arg1
= (wxGauge
*) 0 ;
7093 PyObject
* obj0
= 0 ;
7094 PyObject
* obj1
= 0 ;
7095 char * kwnames
[] = {
7096 (char *) "self",(char *) "pos", NULL
7099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7101 if (!SWIG_IsOK(res1
)) {
7102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7104 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7105 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7106 if (!SWIG_IsOK(ecode2
)) {
7107 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7109 arg2
= static_cast< int >(val2
);
7111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7112 (arg1
)->SetValue(arg2
);
7113 wxPyEndAllowThreads(__tstate
);
7114 if (PyErr_Occurred()) SWIG_fail
;
7116 resultobj
= SWIG_Py_Void();
7123 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7124 PyObject
*resultobj
= 0;
7125 wxGauge
*arg1
= (wxGauge
*) 0 ;
7129 PyObject
*swig_obj
[1] ;
7131 if (!args
) SWIG_fail
;
7133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7134 if (!SWIG_IsOK(res1
)) {
7135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7137 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7140 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7141 wxPyEndAllowThreads(__tstate
);
7142 if (PyErr_Occurred()) SWIG_fail
;
7144 resultobj
= SWIG_From_int(static_cast< int >(result
));
7151 SWIGINTERN PyObject
*_wrap_Gauge_Pulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7152 PyObject
*resultobj
= 0;
7153 wxGauge
*arg1
= (wxGauge
*) 0 ;
7156 PyObject
*swig_obj
[1] ;
7158 if (!args
) SWIG_fail
;
7160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7161 if (!SWIG_IsOK(res1
)) {
7162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Pulse" "', expected argument " "1"" of type '" "wxGauge *""'");
7164 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7168 wxPyEndAllowThreads(__tstate
);
7169 if (PyErr_Occurred()) SWIG_fail
;
7171 resultobj
= SWIG_Py_Void();
7178 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7179 PyObject
*resultobj
= 0;
7180 wxGauge
*arg1
= (wxGauge
*) 0 ;
7184 PyObject
*swig_obj
[1] ;
7186 if (!args
) SWIG_fail
;
7188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7189 if (!SWIG_IsOK(res1
)) {
7190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7192 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7195 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7196 wxPyEndAllowThreads(__tstate
);
7197 if (PyErr_Occurred()) SWIG_fail
;
7200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7208 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7209 PyObject
*resultobj
= 0;
7210 wxGauge
*arg1
= (wxGauge
*) 0 ;
7216 PyObject
* obj0
= 0 ;
7217 PyObject
* obj1
= 0 ;
7218 char * kwnames
[] = {
7219 (char *) "self",(char *) "w", NULL
7222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7224 if (!SWIG_IsOK(res1
)) {
7225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7227 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7228 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7229 if (!SWIG_IsOK(ecode2
)) {
7230 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7232 arg2
= static_cast< int >(val2
);
7234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7235 (arg1
)->SetShadowWidth(arg2
);
7236 wxPyEndAllowThreads(__tstate
);
7237 if (PyErr_Occurred()) SWIG_fail
;
7239 resultobj
= SWIG_Py_Void();
7246 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7247 PyObject
*resultobj
= 0;
7248 wxGauge
*arg1
= (wxGauge
*) 0 ;
7252 PyObject
*swig_obj
[1] ;
7254 if (!args
) SWIG_fail
;
7256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7257 if (!SWIG_IsOK(res1
)) {
7258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7260 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7263 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7264 wxPyEndAllowThreads(__tstate
);
7265 if (PyErr_Occurred()) SWIG_fail
;
7267 resultobj
= SWIG_From_int(static_cast< int >(result
));
7274 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7275 PyObject
*resultobj
= 0;
7276 wxGauge
*arg1
= (wxGauge
*) 0 ;
7282 PyObject
* obj0
= 0 ;
7283 PyObject
* obj1
= 0 ;
7284 char * kwnames
[] = {
7285 (char *) "self",(char *) "w", NULL
7288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7290 if (!SWIG_IsOK(res1
)) {
7291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7293 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7294 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7295 if (!SWIG_IsOK(ecode2
)) {
7296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7298 arg2
= static_cast< int >(val2
);
7300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7301 (arg1
)->SetBezelFace(arg2
);
7302 wxPyEndAllowThreads(__tstate
);
7303 if (PyErr_Occurred()) SWIG_fail
;
7305 resultobj
= SWIG_Py_Void();
7312 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7313 PyObject
*resultobj
= 0;
7314 wxGauge
*arg1
= (wxGauge
*) 0 ;
7318 PyObject
*swig_obj
[1] ;
7320 if (!args
) SWIG_fail
;
7322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7323 if (!SWIG_IsOK(res1
)) {
7324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7326 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7329 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7330 wxPyEndAllowThreads(__tstate
);
7331 if (PyErr_Occurred()) SWIG_fail
;
7333 resultobj
= SWIG_From_int(static_cast< int >(result
));
7340 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7341 PyObject
*resultobj
= 0;
7342 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7343 SwigValueWrapper
<wxVisualAttributes
> result
;
7346 PyObject
* obj0
= 0 ;
7347 char * kwnames
[] = {
7348 (char *) "variant", NULL
7351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7353 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7354 if (!SWIG_IsOK(ecode1
)) {
7355 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7357 arg1
= static_cast< wxWindowVariant
>(val1
);
7360 if (!wxPyCheckForApp()) SWIG_fail
;
7361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7362 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7363 wxPyEndAllowThreads(__tstate
);
7364 if (PyErr_Occurred()) SWIG_fail
;
7366 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7373 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7375 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7376 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7377 return SWIG_Py_Void();
7380 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7381 return SWIG_Python_InitShadowInstance(args
);
7384 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7385 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7390 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7391 PyObject
*pyobj
= 0;
7395 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7397 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7404 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7405 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7410 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7411 PyObject
*pyobj
= 0;
7415 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7417 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7424 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7425 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7430 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7431 PyObject
*pyobj
= 0;
7435 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7437 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7444 SWIGINTERN
int StaticLineNameStr_set(PyObject
*) {
7445 SWIG_Error(SWIG_AttributeError
,"Variable StaticLineNameStr is read-only.");
7450 SWIGINTERN PyObject
*StaticLineNameStr_get(void) {
7451 PyObject
*pyobj
= 0;
7455 pyobj
= PyUnicode_FromWideChar((&wxPyStaticLineNameStr
)->c_str(), (&wxPyStaticLineNameStr
)->Len());
7457 pyobj
= PyString_FromStringAndSize((&wxPyStaticLineNameStr
)->c_str(), (&wxPyStaticLineNameStr
)->Len());
7464 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7465 PyObject
*resultobj
= 0;
7466 wxWindow
*arg1
= (wxWindow
*) 0 ;
7467 int arg2
= (int) -1 ;
7468 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7469 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7470 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7471 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7472 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7473 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7474 long arg6
= (long) 0 ;
7475 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7476 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7477 wxStaticBox
*result
= 0 ;
7482 bool temp3
= false ;
7487 bool temp7
= false ;
7488 PyObject
* obj0
= 0 ;
7489 PyObject
* obj1
= 0 ;
7490 PyObject
* obj2
= 0 ;
7491 PyObject
* obj3
= 0 ;
7492 PyObject
* obj4
= 0 ;
7493 PyObject
* obj5
= 0 ;
7494 PyObject
* obj6
= 0 ;
7495 char * kwnames
[] = {
7496 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7501 if (!SWIG_IsOK(res1
)) {
7502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7504 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7506 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7507 if (!SWIG_IsOK(ecode2
)) {
7508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7510 arg2
= static_cast< int >(val2
);
7514 arg3
= wxString_in_helper(obj2
);
7515 if (arg3
== NULL
) SWIG_fail
;
7522 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7528 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7532 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7533 if (!SWIG_IsOK(ecode6
)) {
7534 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7536 arg6
= static_cast< long >(val6
);
7540 arg7
= wxString_in_helper(obj6
);
7541 if (arg7
== NULL
) SWIG_fail
;
7546 if (!wxPyCheckForApp()) SWIG_fail
;
7547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7548 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7549 wxPyEndAllowThreads(__tstate
);
7550 if (PyErr_Occurred()) SWIG_fail
;
7552 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7575 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7576 PyObject
*resultobj
= 0;
7577 wxStaticBox
*result
= 0 ;
7579 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7581 if (!wxPyCheckForApp()) SWIG_fail
;
7582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7583 result
= (wxStaticBox
*)new wxStaticBox();
7584 wxPyEndAllowThreads(__tstate
);
7585 if (PyErr_Occurred()) SWIG_fail
;
7587 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7594 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7595 PyObject
*resultobj
= 0;
7596 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7597 wxWindow
*arg2
= (wxWindow
*) 0 ;
7598 int arg3
= (int) -1 ;
7599 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7600 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7601 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7602 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7603 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7604 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7605 long arg7
= (long) 0 ;
7606 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7607 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7615 bool temp4
= false ;
7620 bool temp8
= false ;
7621 PyObject
* obj0
= 0 ;
7622 PyObject
* obj1
= 0 ;
7623 PyObject
* obj2
= 0 ;
7624 PyObject
* obj3
= 0 ;
7625 PyObject
* obj4
= 0 ;
7626 PyObject
* obj5
= 0 ;
7627 PyObject
* obj6
= 0 ;
7628 PyObject
* obj7
= 0 ;
7629 char * kwnames
[] = {
7630 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7635 if (!SWIG_IsOK(res1
)) {
7636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7638 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7639 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7640 if (!SWIG_IsOK(res2
)) {
7641 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7643 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7645 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7646 if (!SWIG_IsOK(ecode3
)) {
7647 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7649 arg3
= static_cast< int >(val3
);
7653 arg4
= wxString_in_helper(obj3
);
7654 if (arg4
== NULL
) SWIG_fail
;
7661 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7667 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7671 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7672 if (!SWIG_IsOK(ecode7
)) {
7673 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7675 arg7
= static_cast< long >(val7
);
7679 arg8
= wxString_in_helper(obj7
);
7680 if (arg8
== NULL
) SWIG_fail
;
7685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7686 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7687 wxPyEndAllowThreads(__tstate
);
7688 if (PyErr_Occurred()) SWIG_fail
;
7691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7715 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7716 PyObject
*resultobj
= 0;
7717 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7718 SwigValueWrapper
<wxVisualAttributes
> result
;
7721 PyObject
* obj0
= 0 ;
7722 char * kwnames
[] = {
7723 (char *) "variant", NULL
7726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7728 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7729 if (!SWIG_IsOK(ecode1
)) {
7730 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7732 arg1
= static_cast< wxWindowVariant
>(val1
);
7735 if (!wxPyCheckForApp()) SWIG_fail
;
7736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7737 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7738 wxPyEndAllowThreads(__tstate
);
7739 if (PyErr_Occurred()) SWIG_fail
;
7741 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7748 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7750 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7751 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7752 return SWIG_Py_Void();
7755 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7756 return SWIG_Python_InitShadowInstance(args
);
7759 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7760 PyObject
*resultobj
= 0;
7761 wxWindow
*arg1
= (wxWindow
*) 0 ;
7762 int arg2
= (int) -1 ;
7763 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7764 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7765 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7766 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7767 long arg5
= (long) wxLI_HORIZONTAL
;
7768 wxString
const &arg6_defvalue
= wxPyStaticLineNameStr
;
7769 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7770 wxStaticLine
*result
= 0 ;
7779 bool temp6
= false ;
7780 PyObject
* obj0
= 0 ;
7781 PyObject
* obj1
= 0 ;
7782 PyObject
* obj2
= 0 ;
7783 PyObject
* obj3
= 0 ;
7784 PyObject
* obj4
= 0 ;
7785 PyObject
* obj5
= 0 ;
7786 char * kwnames
[] = {
7787 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7792 if (!SWIG_IsOK(res1
)) {
7793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7795 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7797 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7798 if (!SWIG_IsOK(ecode2
)) {
7799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7801 arg2
= static_cast< int >(val2
);
7806 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7812 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7816 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7817 if (!SWIG_IsOK(ecode5
)) {
7818 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7820 arg5
= static_cast< long >(val5
);
7824 arg6
= wxString_in_helper(obj5
);
7825 if (arg6
== NULL
) SWIG_fail
;
7830 if (!wxPyCheckForApp()) SWIG_fail
;
7831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7832 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7833 wxPyEndAllowThreads(__tstate
);
7834 if (PyErr_Occurred()) SWIG_fail
;
7836 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7851 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7852 PyObject
*resultobj
= 0;
7853 wxStaticLine
*result
= 0 ;
7855 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7857 if (!wxPyCheckForApp()) SWIG_fail
;
7858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7859 result
= (wxStaticLine
*)new wxStaticLine();
7860 wxPyEndAllowThreads(__tstate
);
7861 if (PyErr_Occurred()) SWIG_fail
;
7863 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7870 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7871 PyObject
*resultobj
= 0;
7872 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7873 wxWindow
*arg2
= (wxWindow
*) 0 ;
7874 int arg3
= (int) -1 ;
7875 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7876 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7877 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7878 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7879 long arg6
= (long) wxLI_HORIZONTAL
;
7880 wxString
const &arg7_defvalue
= wxPyStaticLineNameStr
;
7881 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7893 bool temp7
= false ;
7894 PyObject
* obj0
= 0 ;
7895 PyObject
* obj1
= 0 ;
7896 PyObject
* obj2
= 0 ;
7897 PyObject
* obj3
= 0 ;
7898 PyObject
* obj4
= 0 ;
7899 PyObject
* obj5
= 0 ;
7900 PyObject
* obj6
= 0 ;
7901 char * kwnames
[] = {
7902 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7907 if (!SWIG_IsOK(res1
)) {
7908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7910 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7911 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7912 if (!SWIG_IsOK(res2
)) {
7913 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7915 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7917 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7918 if (!SWIG_IsOK(ecode3
)) {
7919 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7921 arg3
= static_cast< int >(val3
);
7926 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7932 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7936 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7937 if (!SWIG_IsOK(ecode6
)) {
7938 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7940 arg6
= static_cast< long >(val6
);
7944 arg7
= wxString_in_helper(obj6
);
7945 if (arg7
== NULL
) SWIG_fail
;
7950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7951 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7952 wxPyEndAllowThreads(__tstate
);
7953 if (PyErr_Occurred()) SWIG_fail
;
7956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7972 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7973 PyObject
*resultobj
= 0;
7974 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7978 PyObject
*swig_obj
[1] ;
7980 if (!args
) SWIG_fail
;
7982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7983 if (!SWIG_IsOK(res1
)) {
7984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7986 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7989 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
7990 wxPyEndAllowThreads(__tstate
);
7991 if (PyErr_Occurred()) SWIG_fail
;
7994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8002 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8003 PyObject
*resultobj
= 0;
8006 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
8008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8009 result
= (int)wxStaticLine::GetDefaultSize();
8010 wxPyEndAllowThreads(__tstate
);
8011 if (PyErr_Occurred()) SWIG_fail
;
8013 resultobj
= SWIG_From_int(static_cast< int >(result
));
8020 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8021 PyObject
*resultobj
= 0;
8022 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8023 SwigValueWrapper
<wxVisualAttributes
> result
;
8026 PyObject
* obj0
= 0 ;
8027 char * kwnames
[] = {
8028 (char *) "variant", NULL
8031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8033 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8034 if (!SWIG_IsOK(ecode1
)) {
8035 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8037 arg1
= static_cast< wxWindowVariant
>(val1
);
8040 if (!wxPyCheckForApp()) SWIG_fail
;
8041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8042 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
8043 wxPyEndAllowThreads(__tstate
);
8044 if (PyErr_Occurred()) SWIG_fail
;
8046 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8053 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8055 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8056 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
8057 return SWIG_Py_Void();
8060 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8061 return SWIG_Python_InitShadowInstance(args
);
8064 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8065 PyObject
*resultobj
= 0;
8066 wxWindow
*arg1
= (wxWindow
*) 0 ;
8067 int arg2
= (int) -1 ;
8068 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8069 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8070 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8071 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8072 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8073 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8074 long arg6
= (long) 0 ;
8075 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8076 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8077 wxStaticText
*result
= 0 ;
8082 bool temp3
= false ;
8087 bool temp7
= false ;
8088 PyObject
* obj0
= 0 ;
8089 PyObject
* obj1
= 0 ;
8090 PyObject
* obj2
= 0 ;
8091 PyObject
* obj3
= 0 ;
8092 PyObject
* obj4
= 0 ;
8093 PyObject
* obj5
= 0 ;
8094 PyObject
* obj6
= 0 ;
8095 char * kwnames
[] = {
8096 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8101 if (!SWIG_IsOK(res1
)) {
8102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8104 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8106 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8107 if (!SWIG_IsOK(ecode2
)) {
8108 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8110 arg2
= static_cast< int >(val2
);
8114 arg3
= wxString_in_helper(obj2
);
8115 if (arg3
== NULL
) SWIG_fail
;
8122 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8128 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8132 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8133 if (!SWIG_IsOK(ecode6
)) {
8134 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8136 arg6
= static_cast< long >(val6
);
8140 arg7
= wxString_in_helper(obj6
);
8141 if (arg7
== NULL
) SWIG_fail
;
8146 if (!wxPyCheckForApp()) SWIG_fail
;
8147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8148 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8149 wxPyEndAllowThreads(__tstate
);
8150 if (PyErr_Occurred()) SWIG_fail
;
8152 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8175 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8176 PyObject
*resultobj
= 0;
8177 wxStaticText
*result
= 0 ;
8179 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8181 if (!wxPyCheckForApp()) SWIG_fail
;
8182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8183 result
= (wxStaticText
*)new wxStaticText();
8184 wxPyEndAllowThreads(__tstate
);
8185 if (PyErr_Occurred()) SWIG_fail
;
8187 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8194 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8195 PyObject
*resultobj
= 0;
8196 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8197 wxWindow
*arg2
= (wxWindow
*) 0 ;
8198 int arg3
= (int) -1 ;
8199 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8200 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8201 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8202 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8203 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8204 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8205 long arg7
= (long) 0 ;
8206 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8207 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8215 bool temp4
= false ;
8220 bool temp8
= false ;
8221 PyObject
* obj0
= 0 ;
8222 PyObject
* obj1
= 0 ;
8223 PyObject
* obj2
= 0 ;
8224 PyObject
* obj3
= 0 ;
8225 PyObject
* obj4
= 0 ;
8226 PyObject
* obj5
= 0 ;
8227 PyObject
* obj6
= 0 ;
8228 PyObject
* obj7
= 0 ;
8229 char * kwnames
[] = {
8230 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8235 if (!SWIG_IsOK(res1
)) {
8236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8238 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8239 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8240 if (!SWIG_IsOK(res2
)) {
8241 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8243 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8245 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8246 if (!SWIG_IsOK(ecode3
)) {
8247 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8249 arg3
= static_cast< int >(val3
);
8253 arg4
= wxString_in_helper(obj3
);
8254 if (arg4
== NULL
) SWIG_fail
;
8261 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8267 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8271 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8272 if (!SWIG_IsOK(ecode7
)) {
8273 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8275 arg7
= static_cast< long >(val7
);
8279 arg8
= wxString_in_helper(obj7
);
8280 if (arg8
== NULL
) SWIG_fail
;
8285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8286 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8287 wxPyEndAllowThreads(__tstate
);
8288 if (PyErr_Occurred()) SWIG_fail
;
8291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8315 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8316 PyObject
*resultobj
= 0;
8317 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8323 PyObject
* obj0
= 0 ;
8324 PyObject
* obj1
= 0 ;
8325 char * kwnames
[] = {
8326 (char *) "self",(char *) "width", NULL
8329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8331 if (!SWIG_IsOK(res1
)) {
8332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8334 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8335 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8336 if (!SWIG_IsOK(ecode2
)) {
8337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8339 arg2
= static_cast< int >(val2
);
8341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8343 wxPyEndAllowThreads(__tstate
);
8344 if (PyErr_Occurred()) SWIG_fail
;
8346 resultobj
= SWIG_Py_Void();
8353 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8354 PyObject
*resultobj
= 0;
8355 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8356 SwigValueWrapper
<wxVisualAttributes
> result
;
8359 PyObject
* obj0
= 0 ;
8360 char * kwnames
[] = {
8361 (char *) "variant", NULL
8364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8366 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8367 if (!SWIG_IsOK(ecode1
)) {
8368 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8370 arg1
= static_cast< wxWindowVariant
>(val1
);
8373 if (!wxPyCheckForApp()) SWIG_fail
;
8374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8375 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8376 wxPyEndAllowThreads(__tstate
);
8377 if (PyErr_Occurred()) SWIG_fail
;
8379 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8386 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8388 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8389 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8390 return SWIG_Py_Void();
8393 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8394 return SWIG_Python_InitShadowInstance(args
);
8397 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8398 PyObject
*resultobj
= 0;
8399 wxWindow
*arg1
= (wxWindow
*) 0 ;
8400 int arg2
= (int) -1 ;
8401 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8402 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8403 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8404 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8405 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8406 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8407 long arg6
= (long) 0 ;
8408 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8409 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8410 wxStaticBitmap
*result
= 0 ;
8421 bool temp7
= false ;
8422 PyObject
* obj0
= 0 ;
8423 PyObject
* obj1
= 0 ;
8424 PyObject
* obj2
= 0 ;
8425 PyObject
* obj3
= 0 ;
8426 PyObject
* obj4
= 0 ;
8427 PyObject
* obj5
= 0 ;
8428 PyObject
* obj6
= 0 ;
8429 char * kwnames
[] = {
8430 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8435 if (!SWIG_IsOK(res1
)) {
8436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8438 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8440 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8441 if (!SWIG_IsOK(ecode2
)) {
8442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8444 arg2
= static_cast< int >(val2
);
8447 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8448 if (!SWIG_IsOK(res3
)) {
8449 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8452 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8454 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8459 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8465 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8469 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8470 if (!SWIG_IsOK(ecode6
)) {
8471 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8473 arg6
= static_cast< long >(val6
);
8477 arg7
= wxString_in_helper(obj6
);
8478 if (arg7
== NULL
) SWIG_fail
;
8483 if (!wxPyCheckForApp()) SWIG_fail
;
8484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8485 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8486 wxPyEndAllowThreads(__tstate
);
8487 if (PyErr_Occurred()) SWIG_fail
;
8489 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8504 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8505 PyObject
*resultobj
= 0;
8506 wxStaticBitmap
*result
= 0 ;
8508 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8510 if (!wxPyCheckForApp()) SWIG_fail
;
8511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8512 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8513 wxPyEndAllowThreads(__tstate
);
8514 if (PyErr_Occurred()) SWIG_fail
;
8516 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8523 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8524 PyObject
*resultobj
= 0;
8525 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8526 wxWindow
*arg2
= (wxWindow
*) 0 ;
8527 int arg3
= (int) -1 ;
8528 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8529 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8530 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8531 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8532 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8533 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8534 long arg7
= (long) 0 ;
8535 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8536 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8550 bool temp8
= false ;
8551 PyObject
* obj0
= 0 ;
8552 PyObject
* obj1
= 0 ;
8553 PyObject
* obj2
= 0 ;
8554 PyObject
* obj3
= 0 ;
8555 PyObject
* obj4
= 0 ;
8556 PyObject
* obj5
= 0 ;
8557 PyObject
* obj6
= 0 ;
8558 PyObject
* obj7
= 0 ;
8559 char * kwnames
[] = {
8560 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8565 if (!SWIG_IsOK(res1
)) {
8566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8568 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8569 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8570 if (!SWIG_IsOK(res2
)) {
8571 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8573 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8575 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8576 if (!SWIG_IsOK(ecode3
)) {
8577 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8579 arg3
= static_cast< int >(val3
);
8582 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8583 if (!SWIG_IsOK(res4
)) {
8584 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8587 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8589 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8594 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8600 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8604 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8605 if (!SWIG_IsOK(ecode7
)) {
8606 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8608 arg7
= static_cast< long >(val7
);
8612 arg8
= wxString_in_helper(obj7
);
8613 if (arg8
== NULL
) SWIG_fail
;
8618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8619 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8620 wxPyEndAllowThreads(__tstate
);
8621 if (PyErr_Occurred()) SWIG_fail
;
8624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8640 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8641 PyObject
*resultobj
= 0;
8642 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8646 PyObject
*swig_obj
[1] ;
8648 if (!args
) SWIG_fail
;
8650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8651 if (!SWIG_IsOK(res1
)) {
8652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8654 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8657 result
= (arg1
)->GetBitmap();
8658 wxPyEndAllowThreads(__tstate
);
8659 if (PyErr_Occurred()) SWIG_fail
;
8661 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8668 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8669 PyObject
*resultobj
= 0;
8670 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8671 wxBitmap
*arg2
= 0 ;
8676 PyObject
* obj0
= 0 ;
8677 PyObject
* obj1
= 0 ;
8678 char * kwnames
[] = {
8679 (char *) "self",(char *) "bitmap", NULL
8682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8684 if (!SWIG_IsOK(res1
)) {
8685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8687 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8688 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8689 if (!SWIG_IsOK(res2
)) {
8690 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8693 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8695 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8698 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8699 wxPyEndAllowThreads(__tstate
);
8700 if (PyErr_Occurred()) SWIG_fail
;
8702 resultobj
= SWIG_Py_Void();
8709 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8710 PyObject
*resultobj
= 0;
8711 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8717 PyObject
* obj0
= 0 ;
8718 PyObject
* obj1
= 0 ;
8719 char * kwnames
[] = {
8720 (char *) "self",(char *) "icon", NULL
8723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8725 if (!SWIG_IsOK(res1
)) {
8726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8728 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8729 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8730 if (!SWIG_IsOK(res2
)) {
8731 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8734 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8736 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8739 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8740 wxPyEndAllowThreads(__tstate
);
8741 if (PyErr_Occurred()) SWIG_fail
;
8743 resultobj
= SWIG_Py_Void();
8750 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8751 PyObject
*resultobj
= 0;
8752 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8753 SwigValueWrapper
<wxVisualAttributes
> result
;
8756 PyObject
* obj0
= 0 ;
8757 char * kwnames
[] = {
8758 (char *) "variant", NULL
8761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8763 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8764 if (!SWIG_IsOK(ecode1
)) {
8765 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8767 arg1
= static_cast< wxWindowVariant
>(val1
);
8770 if (!wxPyCheckForApp()) SWIG_fail
;
8771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8772 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8773 wxPyEndAllowThreads(__tstate
);
8774 if (PyErr_Occurred()) SWIG_fail
;
8776 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8783 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8785 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8786 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8787 return SWIG_Py_Void();
8790 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8791 return SWIG_Python_InitShadowInstance(args
);
8794 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8795 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8800 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8801 PyObject
*pyobj
= 0;
8805 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8807 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8814 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8815 PyObject
*resultobj
= 0;
8816 wxWindow
*arg1
= (wxWindow
*) 0 ;
8817 int arg2
= (int) -1 ;
8818 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8819 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8820 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8821 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8822 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8823 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8824 long arg6
= (long) 0 ;
8825 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8826 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8827 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8828 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8829 wxListBox
*result
= 0 ;
8836 bool temp5
= false ;
8841 bool temp8
= false ;
8842 PyObject
* obj0
= 0 ;
8843 PyObject
* obj1
= 0 ;
8844 PyObject
* obj2
= 0 ;
8845 PyObject
* obj3
= 0 ;
8846 PyObject
* obj4
= 0 ;
8847 PyObject
* obj5
= 0 ;
8848 PyObject
* obj6
= 0 ;
8849 PyObject
* obj7
= 0 ;
8850 char * kwnames
[] = {
8851 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8856 if (!SWIG_IsOK(res1
)) {
8857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8859 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8861 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8862 if (!SWIG_IsOK(ecode2
)) {
8863 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8865 arg2
= static_cast< int >(val2
);
8870 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8876 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8881 if (! PySequence_Check(obj4
)) {
8882 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8885 arg5
= new wxArrayString
;
8887 int i
, len
=PySequence_Length(obj4
);
8888 for (i
=0; i
<len
; i
++) {
8889 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8890 wxString
* s
= wxString_in_helper(item
);
8891 if (PyErr_Occurred()) SWIG_fail
;
8899 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8900 if (!SWIG_IsOK(ecode6
)) {
8901 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8903 arg6
= static_cast< long >(val6
);
8906 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
8907 if (!SWIG_IsOK(res7
)) {
8908 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8911 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8913 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
8917 arg8
= wxString_in_helper(obj7
);
8918 if (arg8
== NULL
) SWIG_fail
;
8923 if (!wxPyCheckForApp()) SWIG_fail
;
8924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8925 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8926 wxPyEndAllowThreads(__tstate
);
8927 if (PyErr_Occurred()) SWIG_fail
;
8929 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
8931 if (temp5
) delete arg5
;
8940 if (temp5
) delete arg5
;
8950 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8951 PyObject
*resultobj
= 0;
8952 wxListBox
*result
= 0 ;
8954 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
8956 if (!wxPyCheckForApp()) SWIG_fail
;
8957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8958 result
= (wxListBox
*)new wxListBox();
8959 wxPyEndAllowThreads(__tstate
);
8960 if (PyErr_Occurred()) SWIG_fail
;
8962 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
8969 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8970 PyObject
*resultobj
= 0;
8971 wxListBox
*arg1
= (wxListBox
*) 0 ;
8972 wxWindow
*arg2
= (wxWindow
*) 0 ;
8973 int arg3
= (int) -1 ;
8974 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8975 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8976 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8977 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8978 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8979 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8980 long arg7
= (long) 0 ;
8981 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8982 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8983 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8984 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8994 bool temp6
= false ;
8999 bool temp9
= false ;
9000 PyObject
* obj0
= 0 ;
9001 PyObject
* obj1
= 0 ;
9002 PyObject
* obj2
= 0 ;
9003 PyObject
* obj3
= 0 ;
9004 PyObject
* obj4
= 0 ;
9005 PyObject
* obj5
= 0 ;
9006 PyObject
* obj6
= 0 ;
9007 PyObject
* obj7
= 0 ;
9008 PyObject
* obj8
= 0 ;
9009 char * kwnames
[] = {
9010 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
9014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9015 if (!SWIG_IsOK(res1
)) {
9016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
9018 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9019 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9020 if (!SWIG_IsOK(res2
)) {
9021 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9023 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9025 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9026 if (!SWIG_IsOK(ecode3
)) {
9027 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9029 arg3
= static_cast< int >(val3
);
9034 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9040 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9045 if (! PySequence_Check(obj5
)) {
9046 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9049 arg6
= new wxArrayString
;
9051 int i
, len
=PySequence_Length(obj5
);
9052 for (i
=0; i
<len
; i
++) {
9053 PyObject
* item
= PySequence_GetItem(obj5
, i
);
9054 wxString
* s
= wxString_in_helper(item
);
9055 if (PyErr_Occurred()) SWIG_fail
;
9063 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
9064 if (!SWIG_IsOK(ecode7
)) {
9065 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9067 arg7
= static_cast< long >(val7
);
9070 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
9071 if (!SWIG_IsOK(res8
)) {
9072 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9075 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9077 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9081 arg9
= wxString_in_helper(obj8
);
9082 if (arg9
== NULL
) SWIG_fail
;
9087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9088 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9089 wxPyEndAllowThreads(__tstate
);
9090 if (PyErr_Occurred()) SWIG_fail
;
9093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9096 if (temp6
) delete arg6
;
9105 if (temp6
) delete arg6
;
9115 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9116 PyObject
*resultobj
= 0;
9117 wxListBox
*arg1
= (wxListBox
*) 0 ;
9118 wxString
*arg2
= 0 ;
9120 PyObject
*arg4
= (PyObject
*) NULL
;
9123 bool temp2
= false ;
9126 PyObject
* obj0
= 0 ;
9127 PyObject
* obj1
= 0 ;
9128 PyObject
* obj2
= 0 ;
9129 PyObject
* obj3
= 0 ;
9130 char * kwnames
[] = {
9131 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9136 if (!SWIG_IsOK(res1
)) {
9137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9139 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9141 arg2
= wxString_in_helper(obj1
);
9142 if (arg2
== NULL
) SWIG_fail
;
9145 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9146 if (!SWIG_IsOK(ecode3
)) {
9147 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9149 arg3
= static_cast< int >(val3
);
9154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9155 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9156 wxPyEndAllowThreads(__tstate
);
9157 if (PyErr_Occurred()) SWIG_fail
;
9159 resultobj
= SWIG_Py_Void();
9174 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9175 PyObject
*resultobj
= 0;
9176 wxListBox
*arg1
= (wxListBox
*) 0 ;
9177 wxArrayString
*arg2
= 0 ;
9181 bool temp2
= false ;
9184 PyObject
* obj0
= 0 ;
9185 PyObject
* obj1
= 0 ;
9186 PyObject
* obj2
= 0 ;
9187 char * kwnames
[] = {
9188 (char *) "self",(char *) "items",(char *) "pos", NULL
9191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9193 if (!SWIG_IsOK(res1
)) {
9194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9196 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9198 if (! PySequence_Check(obj1
)) {
9199 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9202 arg2
= new wxArrayString
;
9204 int i
, len
=PySequence_Length(obj1
);
9205 for (i
=0; i
<len
; i
++) {
9206 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9207 wxString
* s
= wxString_in_helper(item
);
9208 if (PyErr_Occurred()) SWIG_fail
;
9214 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9215 if (!SWIG_IsOK(ecode3
)) {
9216 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9218 arg3
= static_cast< unsigned int >(val3
);
9220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9221 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9222 wxPyEndAllowThreads(__tstate
);
9223 if (PyErr_Occurred()) SWIG_fail
;
9225 resultobj
= SWIG_Py_Void();
9227 if (temp2
) delete arg2
;
9232 if (temp2
) delete arg2
;
9238 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9239 PyObject
*resultobj
= 0;
9240 wxListBox
*arg1
= (wxListBox
*) 0 ;
9241 wxArrayString
*arg2
= 0 ;
9244 bool temp2
= false ;
9245 PyObject
* obj0
= 0 ;
9246 PyObject
* obj1
= 0 ;
9247 char * kwnames
[] = {
9248 (char *) "self",(char *) "items", NULL
9251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9253 if (!SWIG_IsOK(res1
)) {
9254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9256 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9258 if (! PySequence_Check(obj1
)) {
9259 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9262 arg2
= new wxArrayString
;
9264 int i
, len
=PySequence_Length(obj1
);
9265 for (i
=0; i
<len
; i
++) {
9266 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9267 wxString
* s
= wxString_in_helper(item
);
9268 if (PyErr_Occurred()) SWIG_fail
;
9275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9276 (arg1
)->Set((wxArrayString
const &)*arg2
);
9277 wxPyEndAllowThreads(__tstate
);
9278 if (PyErr_Occurred()) SWIG_fail
;
9280 resultobj
= SWIG_Py_Void();
9282 if (temp2
) delete arg2
;
9287 if (temp2
) delete arg2
;
9293 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9294 PyObject
*resultobj
= 0;
9295 wxListBox
*arg1
= (wxListBox
*) 0 ;
9302 PyObject
* obj0
= 0 ;
9303 PyObject
* obj1
= 0 ;
9304 char * kwnames
[] = {
9305 (char *) "self",(char *) "n", NULL
9308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9310 if (!SWIG_IsOK(res1
)) {
9311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9313 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9314 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9315 if (!SWIG_IsOK(ecode2
)) {
9316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9318 arg2
= static_cast< int >(val2
);
9320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9321 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9322 wxPyEndAllowThreads(__tstate
);
9323 if (PyErr_Occurred()) SWIG_fail
;
9326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9334 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9335 PyObject
*resultobj
= 0;
9336 wxListBox
*arg1
= (wxListBox
*) 0 ;
9338 bool arg3
= (bool) true ;
9345 PyObject
* obj0
= 0 ;
9346 PyObject
* obj1
= 0 ;
9347 PyObject
* obj2
= 0 ;
9348 char * kwnames
[] = {
9349 (char *) "self",(char *) "n",(char *) "select", NULL
9352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9354 if (!SWIG_IsOK(res1
)) {
9355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9357 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9358 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9359 if (!SWIG_IsOK(ecode2
)) {
9360 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9362 arg2
= static_cast< int >(val2
);
9364 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9365 if (!SWIG_IsOK(ecode3
)) {
9366 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9368 arg3
= static_cast< bool >(val3
);
9371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9372 (arg1
)->SetSelection(arg2
,arg3
);
9373 wxPyEndAllowThreads(__tstate
);
9374 if (PyErr_Occurred()) SWIG_fail
;
9376 resultobj
= SWIG_Py_Void();
9383 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9384 PyObject
*resultobj
= 0;
9385 wxListBox
*arg1
= (wxListBox
*) 0 ;
9391 PyObject
* obj0
= 0 ;
9392 PyObject
* obj1
= 0 ;
9393 char * kwnames
[] = {
9394 (char *) "self",(char *) "n", NULL
9397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9399 if (!SWIG_IsOK(res1
)) {
9400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9402 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9403 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9404 if (!SWIG_IsOK(ecode2
)) {
9405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9407 arg2
= static_cast< int >(val2
);
9409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9410 (arg1
)->Select(arg2
);
9411 wxPyEndAllowThreads(__tstate
);
9412 if (PyErr_Occurred()) SWIG_fail
;
9414 resultobj
= SWIG_Py_Void();
9421 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9422 PyObject
*resultobj
= 0;
9423 wxListBox
*arg1
= (wxListBox
*) 0 ;
9429 PyObject
* obj0
= 0 ;
9430 PyObject
* obj1
= 0 ;
9431 char * kwnames
[] = {
9432 (char *) "self",(char *) "n", NULL
9435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9437 if (!SWIG_IsOK(res1
)) {
9438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9440 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9441 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9442 if (!SWIG_IsOK(ecode2
)) {
9443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9445 arg2
= static_cast< int >(val2
);
9447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9448 (arg1
)->Deselect(arg2
);
9449 wxPyEndAllowThreads(__tstate
);
9450 if (PyErr_Occurred()) SWIG_fail
;
9452 resultobj
= SWIG_Py_Void();
9459 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9460 PyObject
*resultobj
= 0;
9461 wxListBox
*arg1
= (wxListBox
*) 0 ;
9462 int arg2
= (int) -1 ;
9467 PyObject
* obj0
= 0 ;
9468 PyObject
* obj1
= 0 ;
9469 char * kwnames
[] = {
9470 (char *) "self",(char *) "itemToLeaveSelected", NULL
9473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9475 if (!SWIG_IsOK(res1
)) {
9476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9478 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9480 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9481 if (!SWIG_IsOK(ecode2
)) {
9482 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9484 arg2
= static_cast< int >(val2
);
9487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9488 (arg1
)->DeselectAll(arg2
);
9489 wxPyEndAllowThreads(__tstate
);
9490 if (PyErr_Occurred()) SWIG_fail
;
9492 resultobj
= SWIG_Py_Void();
9499 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9500 PyObject
*resultobj
= 0;
9501 wxListBox
*arg1
= (wxListBox
*) 0 ;
9502 wxString
*arg2
= 0 ;
9503 bool arg3
= (bool) true ;
9507 bool temp2
= false ;
9510 PyObject
* obj0
= 0 ;
9511 PyObject
* obj1
= 0 ;
9512 PyObject
* obj2
= 0 ;
9513 char * kwnames
[] = {
9514 (char *) "self",(char *) "s",(char *) "select", NULL
9517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9519 if (!SWIG_IsOK(res1
)) {
9520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9522 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9524 arg2
= wxString_in_helper(obj1
);
9525 if (arg2
== NULL
) SWIG_fail
;
9529 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9530 if (!SWIG_IsOK(ecode3
)) {
9531 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9533 arg3
= static_cast< bool >(val3
);
9536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9537 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9538 wxPyEndAllowThreads(__tstate
);
9539 if (PyErr_Occurred()) SWIG_fail
;
9542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9558 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9559 PyObject
*resultobj
= 0;
9560 wxListBox
*arg1
= (wxListBox
*) 0 ;
9561 PyObject
*result
= 0 ;
9564 PyObject
*swig_obj
[1] ;
9566 if (!args
) SWIG_fail
;
9568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9569 if (!SWIG_IsOK(res1
)) {
9570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9572 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9575 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9576 wxPyEndAllowThreads(__tstate
);
9577 if (PyErr_Occurred()) SWIG_fail
;
9586 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9587 PyObject
*resultobj
= 0;
9588 wxListBox
*arg1
= (wxListBox
*) 0 ;
9594 PyObject
* obj0
= 0 ;
9595 PyObject
* obj1
= 0 ;
9596 char * kwnames
[] = {
9597 (char *) "self",(char *) "n", NULL
9600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9602 if (!SWIG_IsOK(res1
)) {
9603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9605 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9606 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9607 if (!SWIG_IsOK(ecode2
)) {
9608 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9610 arg2
= static_cast< int >(val2
);
9612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9613 (arg1
)->SetFirstItem(arg2
);
9614 wxPyEndAllowThreads(__tstate
);
9615 if (PyErr_Occurred()) SWIG_fail
;
9617 resultobj
= SWIG_Py_Void();
9624 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9625 PyObject
*resultobj
= 0;
9626 wxListBox
*arg1
= (wxListBox
*) 0 ;
9627 wxString
*arg2
= 0 ;
9630 bool temp2
= false ;
9631 PyObject
* obj0
= 0 ;
9632 PyObject
* obj1
= 0 ;
9633 char * kwnames
[] = {
9634 (char *) "self",(char *) "s", NULL
9637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9639 if (!SWIG_IsOK(res1
)) {
9640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9642 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9644 arg2
= wxString_in_helper(obj1
);
9645 if (arg2
== NULL
) SWIG_fail
;
9649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9650 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9651 wxPyEndAllowThreads(__tstate
);
9652 if (PyErr_Occurred()) SWIG_fail
;
9654 resultobj
= SWIG_Py_Void();
9669 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9670 PyObject
*resultobj
= 0;
9671 wxListBox
*arg1
= (wxListBox
*) 0 ;
9677 PyObject
* obj0
= 0 ;
9678 PyObject
* obj1
= 0 ;
9679 char * kwnames
[] = {
9680 (char *) "self",(char *) "n", NULL
9683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9685 if (!SWIG_IsOK(res1
)) {
9686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9688 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9689 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9690 if (!SWIG_IsOK(ecode2
)) {
9691 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9693 arg2
= static_cast< int >(val2
);
9695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9696 (arg1
)->EnsureVisible(arg2
);
9697 wxPyEndAllowThreads(__tstate
);
9698 if (PyErr_Occurred()) SWIG_fail
;
9700 resultobj
= SWIG_Py_Void();
9707 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9708 PyObject
*resultobj
= 0;
9709 wxListBox
*arg1
= (wxListBox
*) 0 ;
9710 wxString
*arg2
= 0 ;
9713 bool temp2
= false ;
9714 PyObject
* obj0
= 0 ;
9715 PyObject
* obj1
= 0 ;
9716 char * kwnames
[] = {
9717 (char *) "self",(char *) "s", NULL
9720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9722 if (!SWIG_IsOK(res1
)) {
9723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9725 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9727 arg2
= wxString_in_helper(obj1
);
9728 if (arg2
== NULL
) SWIG_fail
;
9732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9733 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9734 wxPyEndAllowThreads(__tstate
);
9735 if (PyErr_Occurred()) SWIG_fail
;
9737 resultobj
= SWIG_Py_Void();
9752 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9753 PyObject
*resultobj
= 0;
9754 wxListBox
*arg1
= (wxListBox
*) 0 ;
9758 PyObject
*swig_obj
[1] ;
9760 if (!args
) SWIG_fail
;
9762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9763 if (!SWIG_IsOK(res1
)) {
9764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9766 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9769 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9770 wxPyEndAllowThreads(__tstate
);
9771 if (PyErr_Occurred()) SWIG_fail
;
9774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9782 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9783 PyObject
*resultobj
= 0;
9784 wxListBox
*arg1
= (wxListBox
*) 0 ;
9790 PyObject
* obj0
= 0 ;
9791 PyObject
* obj1
= 0 ;
9792 char * kwnames
[] = {
9793 (char *) "self",(char *) "pt", NULL
9796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9798 if (!SWIG_IsOK(res1
)) {
9799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9801 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9804 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9808 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9809 wxPyEndAllowThreads(__tstate
);
9810 if (PyErr_Occurred()) SWIG_fail
;
9812 resultobj
= SWIG_From_int(static_cast< int >(result
));
9819 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9820 PyObject
*resultobj
= 0;
9821 wxListBox
*arg1
= (wxListBox
*) 0 ;
9823 wxColour
*arg3
= 0 ;
9829 PyObject
* obj0
= 0 ;
9830 PyObject
* obj1
= 0 ;
9831 PyObject
* obj2
= 0 ;
9832 char * kwnames
[] = {
9833 (char *) "self",(char *) "item",(char *) "c", NULL
9836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9838 if (!SWIG_IsOK(res1
)) {
9839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9841 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9842 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9843 if (!SWIG_IsOK(ecode2
)) {
9844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9846 arg2
= static_cast< int >(val2
);
9849 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9853 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9854 wxPyEndAllowThreads(__tstate
);
9855 if (PyErr_Occurred()) SWIG_fail
;
9857 resultobj
= SWIG_Py_Void();
9864 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9865 PyObject
*resultobj
= 0;
9866 wxListBox
*arg1
= (wxListBox
*) 0 ;
9868 wxColour
*arg3
= 0 ;
9874 PyObject
* obj0
= 0 ;
9875 PyObject
* obj1
= 0 ;
9876 PyObject
* obj2
= 0 ;
9877 char * kwnames
[] = {
9878 (char *) "self",(char *) "item",(char *) "c", NULL
9881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9883 if (!SWIG_IsOK(res1
)) {
9884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9886 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9887 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9888 if (!SWIG_IsOK(ecode2
)) {
9889 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9891 arg2
= static_cast< int >(val2
);
9894 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9898 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9899 wxPyEndAllowThreads(__tstate
);
9900 if (PyErr_Occurred()) SWIG_fail
;
9902 resultobj
= SWIG_Py_Void();
9909 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9910 PyObject
*resultobj
= 0;
9911 wxListBox
*arg1
= (wxListBox
*) 0 ;
9920 PyObject
* obj0
= 0 ;
9921 PyObject
* obj1
= 0 ;
9922 PyObject
* obj2
= 0 ;
9923 char * kwnames
[] = {
9924 (char *) "self",(char *) "item",(char *) "f", NULL
9927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9929 if (!SWIG_IsOK(res1
)) {
9930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9932 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9933 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9934 if (!SWIG_IsOK(ecode2
)) {
9935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9937 arg2
= static_cast< int >(val2
);
9938 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
9939 if (!SWIG_IsOK(res3
)) {
9940 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9943 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9945 arg3
= reinterpret_cast< wxFont
* >(argp3
);
9947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9948 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
9949 wxPyEndAllowThreads(__tstate
);
9950 if (PyErr_Occurred()) SWIG_fail
;
9952 resultobj
= SWIG_Py_Void();
9959 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9960 PyObject
*resultobj
= 0;
9961 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9962 SwigValueWrapper
<wxVisualAttributes
> result
;
9965 PyObject
* obj0
= 0 ;
9966 char * kwnames
[] = {
9967 (char *) "variant", NULL
9970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9972 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9973 if (!SWIG_IsOK(ecode1
)) {
9974 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9976 arg1
= static_cast< wxWindowVariant
>(val1
);
9979 if (!wxPyCheckForApp()) SWIG_fail
;
9980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9981 result
= wxListBox::GetClassDefaultAttributes(arg1
);
9982 wxPyEndAllowThreads(__tstate
);
9983 if (PyErr_Occurred()) SWIG_fail
;
9985 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9992 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9994 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9995 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
9996 return SWIG_Py_Void();
9999 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10000 return SWIG_Python_InitShadowInstance(args
);
10003 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10004 PyObject
*resultobj
= 0;
10005 wxWindow
*arg1
= (wxWindow
*) 0 ;
10006 int arg2
= (int) -1 ;
10007 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10008 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10009 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10010 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10011 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
10012 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
10013 long arg6
= (long) 0 ;
10014 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10015 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10016 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
10017 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10018 wxCheckListBox
*result
= 0 ;
10025 bool temp5
= false ;
10030 bool temp8
= false ;
10031 PyObject
* obj0
= 0 ;
10032 PyObject
* obj1
= 0 ;
10033 PyObject
* obj2
= 0 ;
10034 PyObject
* obj3
= 0 ;
10035 PyObject
* obj4
= 0 ;
10036 PyObject
* obj5
= 0 ;
10037 PyObject
* obj6
= 0 ;
10038 PyObject
* obj7
= 0 ;
10039 char * kwnames
[] = {
10040 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
10044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10045 if (!SWIG_IsOK(res1
)) {
10046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10048 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10050 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10051 if (!SWIG_IsOK(ecode2
)) {
10052 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10054 arg2
= static_cast< int >(val2
);
10059 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10065 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10070 if (! PySequence_Check(obj4
)) {
10071 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10074 arg5
= new wxArrayString
;
10076 int i
, len
=PySequence_Length(obj4
);
10077 for (i
=0; i
<len
; i
++) {
10078 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10079 wxString
* s
= wxString_in_helper(item
);
10080 if (PyErr_Occurred()) SWIG_fail
;
10088 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10089 if (!SWIG_IsOK(ecode6
)) {
10090 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10092 arg6
= static_cast< long >(val6
);
10095 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10096 if (!SWIG_IsOK(res7
)) {
10097 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10100 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10102 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10106 arg8
= wxString_in_helper(obj7
);
10107 if (arg8
== NULL
) SWIG_fail
;
10112 if (!wxPyCheckForApp()) SWIG_fail
;
10113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10114 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10115 wxPyEndAllowThreads(__tstate
);
10116 if (PyErr_Occurred()) SWIG_fail
;
10118 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10120 if (temp5
) delete arg5
;
10129 if (temp5
) delete arg5
;
10139 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10140 PyObject
*resultobj
= 0;
10141 wxCheckListBox
*result
= 0 ;
10143 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10145 if (!wxPyCheckForApp()) SWIG_fail
;
10146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10147 result
= (wxCheckListBox
*)new wxCheckListBox();
10148 wxPyEndAllowThreads(__tstate
);
10149 if (PyErr_Occurred()) SWIG_fail
;
10151 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10158 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10159 PyObject
*resultobj
= 0;
10160 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10161 wxWindow
*arg2
= (wxWindow
*) 0 ;
10162 int arg3
= (int) -1 ;
10163 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10164 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10165 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10166 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10167 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10168 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10169 long arg7
= (long) 0 ;
10170 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10171 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10172 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10173 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10183 bool temp6
= false ;
10188 bool temp9
= false ;
10189 PyObject
* obj0
= 0 ;
10190 PyObject
* obj1
= 0 ;
10191 PyObject
* obj2
= 0 ;
10192 PyObject
* obj3
= 0 ;
10193 PyObject
* obj4
= 0 ;
10194 PyObject
* obj5
= 0 ;
10195 PyObject
* obj6
= 0 ;
10196 PyObject
* obj7
= 0 ;
10197 PyObject
* obj8
= 0 ;
10198 char * kwnames
[] = {
10199 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10204 if (!SWIG_IsOK(res1
)) {
10205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10207 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10208 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10209 if (!SWIG_IsOK(res2
)) {
10210 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10212 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10214 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10215 if (!SWIG_IsOK(ecode3
)) {
10216 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10218 arg3
= static_cast< int >(val3
);
10223 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10229 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10234 if (! PySequence_Check(obj5
)) {
10235 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10238 arg6
= new wxArrayString
;
10240 int i
, len
=PySequence_Length(obj5
);
10241 for (i
=0; i
<len
; i
++) {
10242 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10243 wxString
* s
= wxString_in_helper(item
);
10244 if (PyErr_Occurred()) SWIG_fail
;
10252 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10253 if (!SWIG_IsOK(ecode7
)) {
10254 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10256 arg7
= static_cast< long >(val7
);
10259 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10260 if (!SWIG_IsOK(res8
)) {
10261 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10264 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10266 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10270 arg9
= wxString_in_helper(obj8
);
10271 if (arg9
== NULL
) SWIG_fail
;
10276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10277 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10278 wxPyEndAllowThreads(__tstate
);
10279 if (PyErr_Occurred()) SWIG_fail
;
10282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10285 if (temp6
) delete arg6
;
10294 if (temp6
) delete arg6
;
10304 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10305 PyObject
*resultobj
= 0;
10306 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10307 unsigned int arg2
;
10311 unsigned int val2
;
10313 PyObject
* obj0
= 0 ;
10314 PyObject
* obj1
= 0 ;
10315 char * kwnames
[] = {
10316 (char *) "self",(char *) "index", NULL
10319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10321 if (!SWIG_IsOK(res1
)) {
10322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10324 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10325 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10326 if (!SWIG_IsOK(ecode2
)) {
10327 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10329 arg2
= static_cast< unsigned int >(val2
);
10331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10332 result
= (bool)(arg1
)->IsChecked(arg2
);
10333 wxPyEndAllowThreads(__tstate
);
10334 if (PyErr_Occurred()) SWIG_fail
;
10337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10345 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10346 PyObject
*resultobj
= 0;
10347 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10348 unsigned int arg2
;
10349 int arg3
= (int) true ;
10352 unsigned int val2
;
10356 PyObject
* obj0
= 0 ;
10357 PyObject
* obj1
= 0 ;
10358 PyObject
* obj2
= 0 ;
10359 char * kwnames
[] = {
10360 (char *) "self",(char *) "index",(char *) "check", NULL
10363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10365 if (!SWIG_IsOK(res1
)) {
10366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10368 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10369 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10370 if (!SWIG_IsOK(ecode2
)) {
10371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10373 arg2
= static_cast< unsigned int >(val2
);
10375 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10376 if (!SWIG_IsOK(ecode3
)) {
10377 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10379 arg3
= static_cast< int >(val3
);
10382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10383 (arg1
)->Check(arg2
,arg3
);
10384 wxPyEndAllowThreads(__tstate
);
10385 if (PyErr_Occurred()) SWIG_fail
;
10387 resultobj
= SWIG_Py_Void();
10394 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10396 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10397 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10398 return SWIG_Py_Void();
10401 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10402 return SWIG_Python_InitShadowInstance(args
);
10405 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10406 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10411 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10412 PyObject
*pyobj
= 0;
10416 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10418 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10425 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10426 PyObject
*resultobj
= 0;
10427 wxColour
const &arg1_defvalue
= wxNullColour
;
10428 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10429 wxColour
const &arg2_defvalue
= wxNullColour
;
10430 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10431 wxFont
const &arg3_defvalue
= wxNullFont
;
10432 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10433 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10434 wxTextAttr
*result
= 0 ;
10441 PyObject
* obj0
= 0 ;
10442 PyObject
* obj1
= 0 ;
10443 PyObject
* obj2
= 0 ;
10444 PyObject
* obj3
= 0 ;
10445 char * kwnames
[] = {
10446 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10453 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10459 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10463 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10464 if (!SWIG_IsOK(res3
)) {
10465 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10468 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10470 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10473 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10474 if (!SWIG_IsOK(ecode4
)) {
10475 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10477 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10481 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10482 wxPyEndAllowThreads(__tstate
);
10483 if (PyErr_Occurred()) SWIG_fail
;
10485 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10492 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10493 PyObject
*resultobj
= 0;
10494 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10497 PyObject
*swig_obj
[1] ;
10499 if (!args
) SWIG_fail
;
10500 swig_obj
[0] = args
;
10501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10502 if (!SWIG_IsOK(res1
)) {
10503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10505 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10510 wxPyEndAllowThreads(__tstate
);
10511 if (PyErr_Occurred()) SWIG_fail
;
10513 resultobj
= SWIG_Py_Void();
10520 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10521 PyObject
*resultobj
= 0;
10522 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10525 PyObject
*swig_obj
[1] ;
10527 if (!args
) SWIG_fail
;
10528 swig_obj
[0] = args
;
10529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10530 if (!SWIG_IsOK(res1
)) {
10531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10533 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10537 wxPyEndAllowThreads(__tstate
);
10538 if (PyErr_Occurred()) SWIG_fail
;
10540 resultobj
= SWIG_Py_Void();
10547 SWIGINTERN PyObject
*_wrap_TextAttr_Merge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10548 PyObject
*resultobj
= 0;
10549 wxTextAttr
*arg1
= 0 ;
10550 wxTextAttr
*arg2
= 0 ;
10556 PyObject
* obj0
= 0 ;
10557 PyObject
* obj1
= 0 ;
10558 char * kwnames
[] = {
10559 (char *) "base",(char *) "overlay", NULL
10562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_Merge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10563 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10564 if (!SWIG_IsOK(res1
)) {
10565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10568 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10570 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10571 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10572 if (!SWIG_IsOK(res2
)) {
10573 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10576 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10578 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
10580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10581 result
= wxTextAttr::Merge((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
);
10582 wxPyEndAllowThreads(__tstate
);
10583 if (PyErr_Occurred()) SWIG_fail
;
10585 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
10592 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10593 PyObject
*resultobj
= 0;
10594 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10595 wxColour
*arg2
= 0 ;
10599 PyObject
* obj0
= 0 ;
10600 PyObject
* obj1
= 0 ;
10601 char * kwnames
[] = {
10602 (char *) "self",(char *) "colText", NULL
10605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10607 if (!SWIG_IsOK(res1
)) {
10608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10610 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10613 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10617 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10618 wxPyEndAllowThreads(__tstate
);
10619 if (PyErr_Occurred()) SWIG_fail
;
10621 resultobj
= SWIG_Py_Void();
10628 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10629 PyObject
*resultobj
= 0;
10630 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10631 wxColour
*arg2
= 0 ;
10635 PyObject
* obj0
= 0 ;
10636 PyObject
* obj1
= 0 ;
10637 char * kwnames
[] = {
10638 (char *) "self",(char *) "colBack", NULL
10641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10643 if (!SWIG_IsOK(res1
)) {
10644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10646 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10649 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10653 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10654 wxPyEndAllowThreads(__tstate
);
10655 if (PyErr_Occurred()) SWIG_fail
;
10657 resultobj
= SWIG_Py_Void();
10664 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10665 PyObject
*resultobj
= 0;
10666 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10668 long arg3
= (long) wxTEXT_ATTR_FONT
;
10675 PyObject
* obj0
= 0 ;
10676 PyObject
* obj1
= 0 ;
10677 PyObject
* obj2
= 0 ;
10678 char * kwnames
[] = {
10679 (char *) "self",(char *) "font",(char *) "flags", NULL
10682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10684 if (!SWIG_IsOK(res1
)) {
10685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10687 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10688 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10689 if (!SWIG_IsOK(res2
)) {
10690 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10693 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10695 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10697 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10698 if (!SWIG_IsOK(ecode3
)) {
10699 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10701 arg3
= static_cast< long >(val3
);
10704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10705 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10706 wxPyEndAllowThreads(__tstate
);
10707 if (PyErr_Occurred()) SWIG_fail
;
10709 resultobj
= SWIG_Py_Void();
10716 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10717 PyObject
*resultobj
= 0;
10718 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10719 wxTextAttrAlignment arg2
;
10724 PyObject
* obj0
= 0 ;
10725 PyObject
* obj1
= 0 ;
10726 char * kwnames
[] = {
10727 (char *) "self",(char *) "alignment", NULL
10730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10732 if (!SWIG_IsOK(res1
)) {
10733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10735 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10736 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10737 if (!SWIG_IsOK(ecode2
)) {
10738 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10740 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10743 (arg1
)->SetAlignment(arg2
);
10744 wxPyEndAllowThreads(__tstate
);
10745 if (PyErr_Occurred()) SWIG_fail
;
10747 resultobj
= SWIG_Py_Void();
10754 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10755 PyObject
*resultobj
= 0;
10756 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10757 wxArrayInt
*arg2
= 0 ;
10760 bool temp2
= false ;
10761 PyObject
* obj0
= 0 ;
10762 PyObject
* obj1
= 0 ;
10763 char * kwnames
[] = {
10764 (char *) "self",(char *) "tabs", NULL
10767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10769 if (!SWIG_IsOK(res1
)) {
10770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10772 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10774 if (! PySequence_Check(obj1
)) {
10775 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10778 arg2
= new wxArrayInt
;
10780 int i
, len
=PySequence_Length(obj1
);
10781 for (i
=0; i
<len
; i
++) {
10782 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10783 PyObject
* number
= PyNumber_Int(item
);
10785 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10788 arg2
->Add(PyInt_AS_LONG(number
));
10794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10795 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10796 wxPyEndAllowThreads(__tstate
);
10797 if (PyErr_Occurred()) SWIG_fail
;
10799 resultobj
= SWIG_Py_Void();
10801 if (temp2
) delete arg2
;
10806 if (temp2
) delete arg2
;
10812 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10813 PyObject
*resultobj
= 0;
10814 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10816 int arg3
= (int) 0 ;
10823 PyObject
* obj0
= 0 ;
10824 PyObject
* obj1
= 0 ;
10825 PyObject
* obj2
= 0 ;
10826 char * kwnames
[] = {
10827 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10832 if (!SWIG_IsOK(res1
)) {
10833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10835 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10836 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10837 if (!SWIG_IsOK(ecode2
)) {
10838 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10840 arg2
= static_cast< int >(val2
);
10842 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10843 if (!SWIG_IsOK(ecode3
)) {
10844 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10846 arg3
= static_cast< int >(val3
);
10849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10850 (arg1
)->SetLeftIndent(arg2
,arg3
);
10851 wxPyEndAllowThreads(__tstate
);
10852 if (PyErr_Occurred()) SWIG_fail
;
10854 resultobj
= SWIG_Py_Void();
10861 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10862 PyObject
*resultobj
= 0;
10863 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10869 PyObject
* obj0
= 0 ;
10870 PyObject
* obj1
= 0 ;
10871 char * kwnames
[] = {
10872 (char *) "self",(char *) "indent", NULL
10875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10877 if (!SWIG_IsOK(res1
)) {
10878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10880 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10881 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10882 if (!SWIG_IsOK(ecode2
)) {
10883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10885 arg2
= static_cast< int >(val2
);
10887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10888 (arg1
)->SetRightIndent(arg2
);
10889 wxPyEndAllowThreads(__tstate
);
10890 if (PyErr_Occurred()) SWIG_fail
;
10892 resultobj
= SWIG_Py_Void();
10899 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10900 PyObject
*resultobj
= 0;
10901 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10907 PyObject
* obj0
= 0 ;
10908 PyObject
* obj1
= 0 ;
10909 char * kwnames
[] = {
10910 (char *) "self",(char *) "flags", NULL
10913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10915 if (!SWIG_IsOK(res1
)) {
10916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10918 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10919 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10920 if (!SWIG_IsOK(ecode2
)) {
10921 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10923 arg2
= static_cast< long >(val2
);
10925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10926 (arg1
)->SetFlags(arg2
);
10927 wxPyEndAllowThreads(__tstate
);
10928 if (PyErr_Occurred()) SWIG_fail
;
10930 resultobj
= SWIG_Py_Void();
10937 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10938 PyObject
*resultobj
= 0;
10939 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10943 PyObject
*swig_obj
[1] ;
10945 if (!args
) SWIG_fail
;
10946 swig_obj
[0] = args
;
10947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10948 if (!SWIG_IsOK(res1
)) {
10949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10951 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10954 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
10955 wxPyEndAllowThreads(__tstate
);
10956 if (PyErr_Occurred()) SWIG_fail
;
10959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10967 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10968 PyObject
*resultobj
= 0;
10969 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10973 PyObject
*swig_obj
[1] ;
10975 if (!args
) SWIG_fail
;
10976 swig_obj
[0] = args
;
10977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10978 if (!SWIG_IsOK(res1
)) {
10979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10981 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10984 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
10985 wxPyEndAllowThreads(__tstate
);
10986 if (PyErr_Occurred()) SWIG_fail
;
10989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10997 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10998 PyObject
*resultobj
= 0;
10999 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11003 PyObject
*swig_obj
[1] ;
11005 if (!args
) SWIG_fail
;
11006 swig_obj
[0] = args
;
11007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11008 if (!SWIG_IsOK(res1
)) {
11009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11011 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11014 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
11015 wxPyEndAllowThreads(__tstate
);
11016 if (PyErr_Occurred()) SWIG_fail
;
11019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11027 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11028 PyObject
*resultobj
= 0;
11029 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11033 PyObject
*swig_obj
[1] ;
11035 if (!args
) SWIG_fail
;
11036 swig_obj
[0] = args
;
11037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11038 if (!SWIG_IsOK(res1
)) {
11039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11041 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11044 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
11045 wxPyEndAllowThreads(__tstate
);
11046 if (PyErr_Occurred()) SWIG_fail
;
11049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11057 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11058 PyObject
*resultobj
= 0;
11059 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11063 PyObject
*swig_obj
[1] ;
11065 if (!args
) SWIG_fail
;
11066 swig_obj
[0] = args
;
11067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11068 if (!SWIG_IsOK(res1
)) {
11069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11071 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11074 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
11075 wxPyEndAllowThreads(__tstate
);
11076 if (PyErr_Occurred()) SWIG_fail
;
11079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11087 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11088 PyObject
*resultobj
= 0;
11089 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11093 PyObject
*swig_obj
[1] ;
11095 if (!args
) SWIG_fail
;
11096 swig_obj
[0] = args
;
11097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11098 if (!SWIG_IsOK(res1
)) {
11099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11101 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11104 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11105 wxPyEndAllowThreads(__tstate
);
11106 if (PyErr_Occurred()) SWIG_fail
;
11109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11117 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11118 PyObject
*resultobj
= 0;
11119 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11123 PyObject
*swig_obj
[1] ;
11125 if (!args
) SWIG_fail
;
11126 swig_obj
[0] = args
;
11127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11128 if (!SWIG_IsOK(res1
)) {
11129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11131 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11134 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11135 wxPyEndAllowThreads(__tstate
);
11136 if (PyErr_Occurred()) SWIG_fail
;
11139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11147 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11148 PyObject
*resultobj
= 0;
11149 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11156 PyObject
* obj0
= 0 ;
11157 PyObject
* obj1
= 0 ;
11158 char * kwnames
[] = {
11159 (char *) "self",(char *) "flag", NULL
11162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11164 if (!SWIG_IsOK(res1
)) {
11165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11167 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11168 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11169 if (!SWIG_IsOK(ecode2
)) {
11170 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11172 arg2
= static_cast< long >(val2
);
11174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11175 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11176 wxPyEndAllowThreads(__tstate
);
11177 if (PyErr_Occurred()) SWIG_fail
;
11180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11188 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11189 PyObject
*resultobj
= 0;
11190 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11191 wxColour
*result
= 0 ;
11194 PyObject
*swig_obj
[1] ;
11196 if (!args
) SWIG_fail
;
11197 swig_obj
[0] = args
;
11198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11199 if (!SWIG_IsOK(res1
)) {
11200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11202 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11206 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11207 result
= (wxColour
*) &_result_ref
;
11209 wxPyEndAllowThreads(__tstate
);
11210 if (PyErr_Occurred()) SWIG_fail
;
11212 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11219 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11220 PyObject
*resultobj
= 0;
11221 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11222 wxColour
*result
= 0 ;
11225 PyObject
*swig_obj
[1] ;
11227 if (!args
) SWIG_fail
;
11228 swig_obj
[0] = args
;
11229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11230 if (!SWIG_IsOK(res1
)) {
11231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11233 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11237 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11238 result
= (wxColour
*) &_result_ref
;
11240 wxPyEndAllowThreads(__tstate
);
11241 if (PyErr_Occurred()) SWIG_fail
;
11243 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11250 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11251 PyObject
*resultobj
= 0;
11252 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11253 wxFont
*result
= 0 ;
11256 PyObject
*swig_obj
[1] ;
11258 if (!args
) SWIG_fail
;
11259 swig_obj
[0] = args
;
11260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11261 if (!SWIG_IsOK(res1
)) {
11262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11264 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11268 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11269 result
= (wxFont
*) &_result_ref
;
11271 wxPyEndAllowThreads(__tstate
);
11272 if (PyErr_Occurred()) SWIG_fail
;
11275 wxFont
* resultptr
= new wxFont(*result
);
11276 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11284 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11285 PyObject
*resultobj
= 0;
11286 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11287 wxTextAttrAlignment result
;
11290 PyObject
*swig_obj
[1] ;
11292 if (!args
) SWIG_fail
;
11293 swig_obj
[0] = args
;
11294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11295 if (!SWIG_IsOK(res1
)) {
11296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11298 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11301 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11302 wxPyEndAllowThreads(__tstate
);
11303 if (PyErr_Occurred()) SWIG_fail
;
11305 resultobj
= SWIG_From_int(static_cast< int >(result
));
11312 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11313 PyObject
*resultobj
= 0;
11314 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11315 wxArrayInt
*result
= 0 ;
11318 PyObject
*swig_obj
[1] ;
11320 if (!args
) SWIG_fail
;
11321 swig_obj
[0] = args
;
11322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11323 if (!SWIG_IsOK(res1
)) {
11324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11326 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11330 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11331 result
= (wxArrayInt
*) &_result_ref
;
11333 wxPyEndAllowThreads(__tstate
);
11334 if (PyErr_Occurred()) SWIG_fail
;
11337 resultobj
= wxArrayInt2PyList_helper(*result
);
11345 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11346 PyObject
*resultobj
= 0;
11347 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11351 PyObject
*swig_obj
[1] ;
11353 if (!args
) SWIG_fail
;
11354 swig_obj
[0] = args
;
11355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11356 if (!SWIG_IsOK(res1
)) {
11357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11359 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11362 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11363 wxPyEndAllowThreads(__tstate
);
11364 if (PyErr_Occurred()) SWIG_fail
;
11366 resultobj
= SWIG_From_long(static_cast< long >(result
));
11373 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11374 PyObject
*resultobj
= 0;
11375 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11379 PyObject
*swig_obj
[1] ;
11381 if (!args
) SWIG_fail
;
11382 swig_obj
[0] = args
;
11383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11384 if (!SWIG_IsOK(res1
)) {
11385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11387 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11390 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11391 wxPyEndAllowThreads(__tstate
);
11392 if (PyErr_Occurred()) SWIG_fail
;
11394 resultobj
= SWIG_From_long(static_cast< long >(result
));
11401 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11402 PyObject
*resultobj
= 0;
11403 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11407 PyObject
*swig_obj
[1] ;
11409 if (!args
) SWIG_fail
;
11410 swig_obj
[0] = args
;
11411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11412 if (!SWIG_IsOK(res1
)) {
11413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11415 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11418 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11419 wxPyEndAllowThreads(__tstate
);
11420 if (PyErr_Occurred()) SWIG_fail
;
11422 resultobj
= SWIG_From_long(static_cast< long >(result
));
11429 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11430 PyObject
*resultobj
= 0;
11431 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11435 PyObject
*swig_obj
[1] ;
11437 if (!args
) SWIG_fail
;
11438 swig_obj
[0] = args
;
11439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11440 if (!SWIG_IsOK(res1
)) {
11441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11443 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11446 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11447 wxPyEndAllowThreads(__tstate
);
11448 if (PyErr_Occurred()) SWIG_fail
;
11450 resultobj
= SWIG_From_long(static_cast< long >(result
));
11457 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11458 PyObject
*resultobj
= 0;
11459 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11463 PyObject
*swig_obj
[1] ;
11465 if (!args
) SWIG_fail
;
11466 swig_obj
[0] = args
;
11467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11468 if (!SWIG_IsOK(res1
)) {
11469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11471 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11474 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11475 wxPyEndAllowThreads(__tstate
);
11476 if (PyErr_Occurred()) SWIG_fail
;
11479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11487 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11488 PyObject
*resultobj
= 0;
11489 wxTextAttr
*arg1
= 0 ;
11490 wxTextAttr
*arg2
= 0 ;
11491 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11499 PyObject
* obj0
= 0 ;
11500 PyObject
* obj1
= 0 ;
11501 PyObject
* obj2
= 0 ;
11502 char * kwnames
[] = {
11503 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11507 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11508 if (!SWIG_IsOK(res1
)) {
11509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11512 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11514 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11515 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11516 if (!SWIG_IsOK(res2
)) {
11517 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11520 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11522 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11523 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11524 if (!SWIG_IsOK(res3
)) {
11525 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11527 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11530 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11531 wxPyEndAllowThreads(__tstate
);
11532 if (PyErr_Occurred()) SWIG_fail
;
11534 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11541 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11543 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11544 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11545 return SWIG_Py_Void();
11548 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11549 return SWIG_Python_InitShadowInstance(args
);
11552 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11553 PyObject
*resultobj
= 0;
11554 wxWindow
*arg1
= (wxWindow
*) 0 ;
11555 int arg2
= (int) -1 ;
11556 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11557 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11558 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11559 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11560 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11561 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11562 long arg6
= (long) 0 ;
11563 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11564 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11565 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11566 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11567 wxTextCtrl
*result
= 0 ;
11572 bool temp3
= false ;
11579 bool temp8
= false ;
11580 PyObject
* obj0
= 0 ;
11581 PyObject
* obj1
= 0 ;
11582 PyObject
* obj2
= 0 ;
11583 PyObject
* obj3
= 0 ;
11584 PyObject
* obj4
= 0 ;
11585 PyObject
* obj5
= 0 ;
11586 PyObject
* obj6
= 0 ;
11587 PyObject
* obj7
= 0 ;
11588 char * kwnames
[] = {
11589 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11594 if (!SWIG_IsOK(res1
)) {
11595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11597 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11599 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11600 if (!SWIG_IsOK(ecode2
)) {
11601 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11603 arg2
= static_cast< int >(val2
);
11607 arg3
= wxString_in_helper(obj2
);
11608 if (arg3
== NULL
) SWIG_fail
;
11615 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11621 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11625 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11626 if (!SWIG_IsOK(ecode6
)) {
11627 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11629 arg6
= static_cast< long >(val6
);
11632 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11633 if (!SWIG_IsOK(res7
)) {
11634 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11637 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11639 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11643 arg8
= wxString_in_helper(obj7
);
11644 if (arg8
== NULL
) SWIG_fail
;
11649 if (!wxPyCheckForApp()) SWIG_fail
;
11650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11651 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11652 wxPyEndAllowThreads(__tstate
);
11653 if (PyErr_Occurred()) SWIG_fail
;
11655 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11678 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11679 PyObject
*resultobj
= 0;
11680 wxTextCtrl
*result
= 0 ;
11682 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11684 if (!wxPyCheckForApp()) SWIG_fail
;
11685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11686 result
= (wxTextCtrl
*)new wxTextCtrl();
11687 wxPyEndAllowThreads(__tstate
);
11688 if (PyErr_Occurred()) SWIG_fail
;
11690 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11697 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11698 PyObject
*resultobj
= 0;
11699 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11700 wxWindow
*arg2
= (wxWindow
*) 0 ;
11701 int arg3
= (int) -1 ;
11702 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11703 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11704 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11705 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11706 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11707 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11708 long arg7
= (long) 0 ;
11709 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11710 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11711 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11712 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11720 bool temp4
= false ;
11727 bool temp9
= false ;
11728 PyObject
* obj0
= 0 ;
11729 PyObject
* obj1
= 0 ;
11730 PyObject
* obj2
= 0 ;
11731 PyObject
* obj3
= 0 ;
11732 PyObject
* obj4
= 0 ;
11733 PyObject
* obj5
= 0 ;
11734 PyObject
* obj6
= 0 ;
11735 PyObject
* obj7
= 0 ;
11736 PyObject
* obj8
= 0 ;
11737 char * kwnames
[] = {
11738 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11743 if (!SWIG_IsOK(res1
)) {
11744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11746 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11747 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11748 if (!SWIG_IsOK(res2
)) {
11749 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11751 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11753 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11754 if (!SWIG_IsOK(ecode3
)) {
11755 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11757 arg3
= static_cast< int >(val3
);
11761 arg4
= wxString_in_helper(obj3
);
11762 if (arg4
== NULL
) SWIG_fail
;
11769 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11775 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11779 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11780 if (!SWIG_IsOK(ecode7
)) {
11781 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11783 arg7
= static_cast< long >(val7
);
11786 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11787 if (!SWIG_IsOK(res8
)) {
11788 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11791 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11793 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11797 arg9
= wxString_in_helper(obj8
);
11798 if (arg9
== NULL
) SWIG_fail
;
11803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11804 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11805 wxPyEndAllowThreads(__tstate
);
11806 if (PyErr_Occurred()) SWIG_fail
;
11809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11833 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11834 PyObject
*resultobj
= 0;
11835 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11839 PyObject
*swig_obj
[1] ;
11841 if (!args
) SWIG_fail
;
11842 swig_obj
[0] = args
;
11843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11844 if (!SWIG_IsOK(res1
)) {
11845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11847 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11850 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11851 wxPyEndAllowThreads(__tstate
);
11852 if (PyErr_Occurred()) SWIG_fail
;
11856 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11858 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11867 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11868 PyObject
*resultobj
= 0;
11869 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11870 wxString
*arg2
= 0 ;
11873 bool temp2
= false ;
11874 PyObject
* obj0
= 0 ;
11875 PyObject
* obj1
= 0 ;
11876 char * kwnames
[] = {
11877 (char *) "self",(char *) "value", NULL
11880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11882 if (!SWIG_IsOK(res1
)) {
11883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11885 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11887 arg2
= wxString_in_helper(obj1
);
11888 if (arg2
== NULL
) SWIG_fail
;
11892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11893 (arg1
)->SetValue((wxString
const &)*arg2
);
11894 wxPyEndAllowThreads(__tstate
);
11895 if (PyErr_Occurred()) SWIG_fail
;
11897 resultobj
= SWIG_Py_Void();
11912 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11913 PyObject
*resultobj
= 0;
11914 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11918 PyObject
*swig_obj
[1] ;
11920 if (!args
) SWIG_fail
;
11921 swig_obj
[0] = args
;
11922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11923 if (!SWIG_IsOK(res1
)) {
11924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11926 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11929 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEmpty();
11930 wxPyEndAllowThreads(__tstate
);
11931 if (PyErr_Occurred()) SWIG_fail
;
11934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11942 SWIGINTERN PyObject
*_wrap_TextCtrl_ChangeValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11943 PyObject
*resultobj
= 0;
11944 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11945 wxString
*arg2
= 0 ;
11948 bool temp2
= false ;
11949 PyObject
* obj0
= 0 ;
11950 PyObject
* obj1
= 0 ;
11951 char * kwnames
[] = {
11952 (char *) "self",(char *) "value", NULL
11955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ChangeValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11957 if (!SWIG_IsOK(res1
)) {
11958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ChangeValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11960 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11962 arg2
= wxString_in_helper(obj1
);
11963 if (arg2
== NULL
) SWIG_fail
;
11967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11968 (arg1
)->ChangeValue((wxString
const &)*arg2
);
11969 wxPyEndAllowThreads(__tstate
);
11970 if (PyErr_Occurred()) SWIG_fail
;
11972 resultobj
= SWIG_Py_Void();
11987 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11988 PyObject
*resultobj
= 0;
11989 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11999 PyObject
* obj0
= 0 ;
12000 PyObject
* obj1
= 0 ;
12001 PyObject
* obj2
= 0 ;
12002 char * kwnames
[] = {
12003 (char *) "self",(char *) "from",(char *) "to", NULL
12006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12008 if (!SWIG_IsOK(res1
)) {
12009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12011 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12012 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12013 if (!SWIG_IsOK(ecode2
)) {
12014 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
12016 arg2
= static_cast< long >(val2
);
12017 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12018 if (!SWIG_IsOK(ecode3
)) {
12019 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
12021 arg3
= static_cast< long >(val3
);
12023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12024 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
12025 wxPyEndAllowThreads(__tstate
);
12026 if (PyErr_Occurred()) SWIG_fail
;
12030 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12032 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12041 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12042 PyObject
*resultobj
= 0;
12043 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12050 PyObject
* obj0
= 0 ;
12051 PyObject
* obj1
= 0 ;
12052 char * kwnames
[] = {
12053 (char *) "self",(char *) "lineNo", NULL
12056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12058 if (!SWIG_IsOK(res1
)) {
12059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12061 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12062 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12063 if (!SWIG_IsOK(ecode2
)) {
12064 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
12066 arg2
= static_cast< long >(val2
);
12068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12069 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
12070 wxPyEndAllowThreads(__tstate
);
12071 if (PyErr_Occurred()) SWIG_fail
;
12073 resultobj
= SWIG_From_int(static_cast< int >(result
));
12080 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12081 PyObject
*resultobj
= 0;
12082 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12089 PyObject
* obj0
= 0 ;
12090 PyObject
* obj1
= 0 ;
12091 char * kwnames
[] = {
12092 (char *) "self",(char *) "lineNo", NULL
12095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12097 if (!SWIG_IsOK(res1
)) {
12098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12100 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12101 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12102 if (!SWIG_IsOK(ecode2
)) {
12103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12105 arg2
= static_cast< long >(val2
);
12107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12108 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
12109 wxPyEndAllowThreads(__tstate
);
12110 if (PyErr_Occurred()) SWIG_fail
;
12114 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12116 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12125 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12126 PyObject
*resultobj
= 0;
12127 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12131 PyObject
*swig_obj
[1] ;
12133 if (!args
) SWIG_fail
;
12134 swig_obj
[0] = args
;
12135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12136 if (!SWIG_IsOK(res1
)) {
12137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12139 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12142 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
12143 wxPyEndAllowThreads(__tstate
);
12144 if (PyErr_Occurred()) SWIG_fail
;
12146 resultobj
= SWIG_From_int(static_cast< int >(result
));
12153 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12154 PyObject
*resultobj
= 0;
12155 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12159 PyObject
*swig_obj
[1] ;
12161 if (!args
) SWIG_fail
;
12162 swig_obj
[0] = args
;
12163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12164 if (!SWIG_IsOK(res1
)) {
12165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12167 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12170 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12171 wxPyEndAllowThreads(__tstate
);
12172 if (PyErr_Occurred()) SWIG_fail
;
12175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12183 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12184 PyObject
*resultobj
= 0;
12185 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12189 PyObject
*swig_obj
[1] ;
12191 if (!args
) SWIG_fail
;
12192 swig_obj
[0] = args
;
12193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12194 if (!SWIG_IsOK(res1
)) {
12195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12197 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12200 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12201 wxPyEndAllowThreads(__tstate
);
12202 if (PyErr_Occurred()) SWIG_fail
;
12205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12213 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12214 PyObject
*resultobj
= 0;
12215 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12219 PyObject
*swig_obj
[1] ;
12221 if (!args
) SWIG_fail
;
12222 swig_obj
[0] = args
;
12223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12224 if (!SWIG_IsOK(res1
)) {
12225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12227 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12230 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12231 wxPyEndAllowThreads(__tstate
);
12232 if (PyErr_Occurred()) SWIG_fail
;
12235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12243 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12244 PyObject
*resultobj
= 0;
12245 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12249 PyObject
*swig_obj
[1] ;
12251 if (!args
) SWIG_fail
;
12252 swig_obj
[0] = args
;
12253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12254 if (!SWIG_IsOK(res1
)) {
12255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12257 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12260 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12261 wxPyEndAllowThreads(__tstate
);
12262 if (PyErr_Occurred()) SWIG_fail
;
12265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12273 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12274 PyObject
*resultobj
= 0;
12275 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12276 long *arg2
= (long *) 0 ;
12277 long *arg3
= (long *) 0 ;
12281 int res2
= SWIG_TMPOBJ
;
12283 int res3
= SWIG_TMPOBJ
;
12284 PyObject
*swig_obj
[1] ;
12288 if (!args
) SWIG_fail
;
12289 swig_obj
[0] = args
;
12290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12291 if (!SWIG_IsOK(res1
)) {
12292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12294 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12297 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12298 wxPyEndAllowThreads(__tstate
);
12299 if (PyErr_Occurred()) SWIG_fail
;
12301 resultobj
= SWIG_Py_Void();
12302 if (SWIG_IsTmpObj(res2
)) {
12303 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12305 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12306 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12308 if (SWIG_IsTmpObj(res3
)) {
12309 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12311 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12312 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12320 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12321 PyObject
*resultobj
= 0;
12322 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12326 PyObject
*swig_obj
[1] ;
12328 if (!args
) SWIG_fail
;
12329 swig_obj
[0] = args
;
12330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12331 if (!SWIG_IsOK(res1
)) {
12332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12334 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12337 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12338 wxPyEndAllowThreads(__tstate
);
12339 if (PyErr_Occurred()) SWIG_fail
;
12343 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12345 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12354 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12355 PyObject
*resultobj
= 0;
12356 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12359 PyObject
*swig_obj
[1] ;
12361 if (!args
) SWIG_fail
;
12362 swig_obj
[0] = args
;
12363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12364 if (!SWIG_IsOK(res1
)) {
12365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12367 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12371 wxPyEndAllowThreads(__tstate
);
12372 if (PyErr_Occurred()) SWIG_fail
;
12374 resultobj
= SWIG_Py_Void();
12381 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12382 PyObject
*resultobj
= 0;
12383 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12386 wxString
*arg4
= 0 ;
12393 bool temp4
= false ;
12394 PyObject
* obj0
= 0 ;
12395 PyObject
* obj1
= 0 ;
12396 PyObject
* obj2
= 0 ;
12397 PyObject
* obj3
= 0 ;
12398 char * kwnames
[] = {
12399 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12404 if (!SWIG_IsOK(res1
)) {
12405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12407 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12408 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12409 if (!SWIG_IsOK(ecode2
)) {
12410 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12412 arg2
= static_cast< long >(val2
);
12413 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12414 if (!SWIG_IsOK(ecode3
)) {
12415 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12417 arg3
= static_cast< long >(val3
);
12419 arg4
= wxString_in_helper(obj3
);
12420 if (arg4
== NULL
) SWIG_fail
;
12424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12425 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12426 wxPyEndAllowThreads(__tstate
);
12427 if (PyErr_Occurred()) SWIG_fail
;
12429 resultobj
= SWIG_Py_Void();
12444 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12445 PyObject
*resultobj
= 0;
12446 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12455 PyObject
* obj0
= 0 ;
12456 PyObject
* obj1
= 0 ;
12457 PyObject
* obj2
= 0 ;
12458 char * kwnames
[] = {
12459 (char *) "self",(char *) "from",(char *) "to", NULL
12462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12464 if (!SWIG_IsOK(res1
)) {
12465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12467 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12468 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12469 if (!SWIG_IsOK(ecode2
)) {
12470 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12472 arg2
= static_cast< long >(val2
);
12473 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12474 if (!SWIG_IsOK(ecode3
)) {
12475 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12477 arg3
= static_cast< long >(val3
);
12479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12480 (arg1
)->Remove(arg2
,arg3
);
12481 wxPyEndAllowThreads(__tstate
);
12482 if (PyErr_Occurred()) SWIG_fail
;
12484 resultobj
= SWIG_Py_Void();
12491 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12492 PyObject
*resultobj
= 0;
12493 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12494 wxString
*arg2
= 0 ;
12495 int arg3
= (int) wxTEXT_TYPE_ANY
;
12499 bool temp2
= false ;
12502 PyObject
* obj0
= 0 ;
12503 PyObject
* obj1
= 0 ;
12504 PyObject
* obj2
= 0 ;
12505 char * kwnames
[] = {
12506 (char *) "self",(char *) "file",(char *) "fileType", NULL
12509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12511 if (!SWIG_IsOK(res1
)) {
12512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12514 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12516 arg2
= wxString_in_helper(obj1
);
12517 if (arg2
== NULL
) SWIG_fail
;
12521 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12522 if (!SWIG_IsOK(ecode3
)) {
12523 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'");
12525 arg3
= static_cast< int >(val3
);
12528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12529 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
12530 wxPyEndAllowThreads(__tstate
);
12531 if (PyErr_Occurred()) SWIG_fail
;
12534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12550 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12551 PyObject
*resultobj
= 0;
12552 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12553 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12554 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12555 int arg3
= (int) wxTEXT_TYPE_ANY
;
12559 bool temp2
= false ;
12562 PyObject
* obj0
= 0 ;
12563 PyObject
* obj1
= 0 ;
12564 PyObject
* obj2
= 0 ;
12565 char * kwnames
[] = {
12566 (char *) "self",(char *) "file",(char *) "fileType", NULL
12569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12571 if (!SWIG_IsOK(res1
)) {
12572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12574 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12577 arg2
= wxString_in_helper(obj1
);
12578 if (arg2
== NULL
) SWIG_fail
;
12583 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12584 if (!SWIG_IsOK(ecode3
)) {
12585 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'");
12587 arg3
= static_cast< int >(val3
);
12590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12591 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
12592 wxPyEndAllowThreads(__tstate
);
12593 if (PyErr_Occurred()) SWIG_fail
;
12596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12612 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12613 PyObject
*resultobj
= 0;
12614 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12617 PyObject
*swig_obj
[1] ;
12619 if (!args
) SWIG_fail
;
12620 swig_obj
[0] = args
;
12621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12622 if (!SWIG_IsOK(res1
)) {
12623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12625 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12628 (arg1
)->MarkDirty();
12629 wxPyEndAllowThreads(__tstate
);
12630 if (PyErr_Occurred()) SWIG_fail
;
12632 resultobj
= SWIG_Py_Void();
12639 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12640 PyObject
*resultobj
= 0;
12641 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12644 PyObject
*swig_obj
[1] ;
12646 if (!args
) SWIG_fail
;
12647 swig_obj
[0] = args
;
12648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12649 if (!SWIG_IsOK(res1
)) {
12650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12652 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12655 (arg1
)->DiscardEdits();
12656 wxPyEndAllowThreads(__tstate
);
12657 if (PyErr_Occurred()) SWIG_fail
;
12659 resultobj
= SWIG_Py_Void();
12666 SWIGINTERN PyObject
*_wrap_TextCtrl_SetModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12667 PyObject
*resultobj
= 0;
12668 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12674 PyObject
* obj0
= 0 ;
12675 PyObject
* obj1
= 0 ;
12676 char * kwnames
[] = {
12677 (char *) "self",(char *) "modified", NULL
12680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetModified",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12682 if (!SWIG_IsOK(res1
)) {
12683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12685 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12686 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12687 if (!SWIG_IsOK(ecode2
)) {
12688 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
12690 arg2
= static_cast< bool >(val2
);
12692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12693 (arg1
)->SetModified(arg2
);
12694 wxPyEndAllowThreads(__tstate
);
12695 if (PyErr_Occurred()) SWIG_fail
;
12697 resultobj
= SWIG_Py_Void();
12704 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12705 PyObject
*resultobj
= 0;
12706 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12707 unsigned long arg2
;
12710 unsigned long val2
;
12712 PyObject
* obj0
= 0 ;
12713 PyObject
* obj1
= 0 ;
12714 char * kwnames
[] = {
12715 (char *) "self",(char *) "len", NULL
12718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12720 if (!SWIG_IsOK(res1
)) {
12721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12723 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12724 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12725 if (!SWIG_IsOK(ecode2
)) {
12726 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12728 arg2
= static_cast< unsigned long >(val2
);
12730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12731 (arg1
)->SetMaxLength(arg2
);
12732 wxPyEndAllowThreads(__tstate
);
12733 if (PyErr_Occurred()) SWIG_fail
;
12735 resultobj
= SWIG_Py_Void();
12742 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12743 PyObject
*resultobj
= 0;
12744 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12745 wxString
*arg2
= 0 ;
12748 bool temp2
= false ;
12749 PyObject
* obj0
= 0 ;
12750 PyObject
* obj1
= 0 ;
12751 char * kwnames
[] = {
12752 (char *) "self",(char *) "text", NULL
12755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12757 if (!SWIG_IsOK(res1
)) {
12758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12760 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12762 arg2
= wxString_in_helper(obj1
);
12763 if (arg2
== NULL
) SWIG_fail
;
12767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12768 (arg1
)->WriteText((wxString
const &)*arg2
);
12769 wxPyEndAllowThreads(__tstate
);
12770 if (PyErr_Occurred()) SWIG_fail
;
12772 resultobj
= SWIG_Py_Void();
12787 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12788 PyObject
*resultobj
= 0;
12789 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12790 wxString
*arg2
= 0 ;
12793 bool temp2
= false ;
12794 PyObject
* obj0
= 0 ;
12795 PyObject
* obj1
= 0 ;
12796 char * kwnames
[] = {
12797 (char *) "self",(char *) "text", NULL
12800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12802 if (!SWIG_IsOK(res1
)) {
12803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12805 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12807 arg2
= wxString_in_helper(obj1
);
12808 if (arg2
== NULL
) SWIG_fail
;
12812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12813 (arg1
)->AppendText((wxString
const &)*arg2
);
12814 wxPyEndAllowThreads(__tstate
);
12815 if (PyErr_Occurred()) SWIG_fail
;
12817 resultobj
= SWIG_Py_Void();
12832 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12833 PyObject
*resultobj
= 0;
12834 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12835 wxKeyEvent
*arg2
= 0 ;
12841 PyObject
* obj0
= 0 ;
12842 PyObject
* obj1
= 0 ;
12843 char * kwnames
[] = {
12844 (char *) "self",(char *) "event", NULL
12847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12849 if (!SWIG_IsOK(res1
)) {
12850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12852 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12853 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12854 if (!SWIG_IsOK(res2
)) {
12855 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12858 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12860 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12863 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12864 wxPyEndAllowThreads(__tstate
);
12865 if (PyErr_Occurred()) SWIG_fail
;
12868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12876 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12877 PyObject
*resultobj
= 0;
12878 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12881 wxTextAttr
*arg4
= 0 ;
12891 PyObject
* obj0
= 0 ;
12892 PyObject
* obj1
= 0 ;
12893 PyObject
* obj2
= 0 ;
12894 PyObject
* obj3
= 0 ;
12895 char * kwnames
[] = {
12896 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12901 if (!SWIG_IsOK(res1
)) {
12902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12904 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12905 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12906 if (!SWIG_IsOK(ecode2
)) {
12907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12909 arg2
= static_cast< long >(val2
);
12910 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12911 if (!SWIG_IsOK(ecode3
)) {
12912 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12914 arg3
= static_cast< long >(val3
);
12915 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12916 if (!SWIG_IsOK(res4
)) {
12917 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12920 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12922 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12925 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12926 wxPyEndAllowThreads(__tstate
);
12927 if (PyErr_Occurred()) SWIG_fail
;
12930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12938 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12939 PyObject
*resultobj
= 0;
12940 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12942 wxTextAttr
*arg3
= 0 ;
12950 PyObject
* obj0
= 0 ;
12951 PyObject
* obj1
= 0 ;
12952 PyObject
* obj2
= 0 ;
12953 char * kwnames
[] = {
12954 (char *) "self",(char *) "position",(char *) "style", NULL
12957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12959 if (!SWIG_IsOK(res1
)) {
12960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12962 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12963 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12964 if (!SWIG_IsOK(ecode2
)) {
12965 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12967 arg2
= static_cast< long >(val2
);
12968 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
12969 if (!SWIG_IsOK(res3
)) {
12970 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12973 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12975 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
12977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12978 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
12979 wxPyEndAllowThreads(__tstate
);
12980 if (PyErr_Occurred()) SWIG_fail
;
12983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12991 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12992 PyObject
*resultobj
= 0;
12993 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12994 wxTextAttr
*arg2
= 0 ;
13000 PyObject
* obj0
= 0 ;
13001 PyObject
* obj1
= 0 ;
13002 char * kwnames
[] = {
13003 (char *) "self",(char *) "style", NULL
13006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) 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_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13011 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13012 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
13013 if (!SWIG_IsOK(res2
)) {
13014 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13017 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13019 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
13021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13022 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
13023 wxPyEndAllowThreads(__tstate
);
13024 if (PyErr_Occurred()) SWIG_fail
;
13027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13035 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13036 PyObject
*resultobj
= 0;
13037 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13038 wxTextAttr
*result
= 0 ;
13041 PyObject
*swig_obj
[1] ;
13043 if (!args
) SWIG_fail
;
13044 swig_obj
[0] = args
;
13045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13046 if (!SWIG_IsOK(res1
)) {
13047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13049 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13053 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
13054 result
= (wxTextAttr
*) &_result_ref
;
13056 wxPyEndAllowThreads(__tstate
);
13057 if (PyErr_Occurred()) SWIG_fail
;
13059 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
13066 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13067 PyObject
*resultobj
= 0;
13068 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13078 PyObject
* obj0
= 0 ;
13079 PyObject
* obj1
= 0 ;
13080 PyObject
* obj2
= 0 ;
13081 char * kwnames
[] = {
13082 (char *) "self",(char *) "x",(char *) "y", NULL
13085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13087 if (!SWIG_IsOK(res1
)) {
13088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13090 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13091 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13092 if (!SWIG_IsOK(ecode2
)) {
13093 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
13095 arg2
= static_cast< long >(val2
);
13096 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13097 if (!SWIG_IsOK(ecode3
)) {
13098 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
13100 arg3
= static_cast< long >(val3
);
13102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13103 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
13104 wxPyEndAllowThreads(__tstate
);
13105 if (PyErr_Occurred()) SWIG_fail
;
13107 resultobj
= SWIG_From_long(static_cast< long >(result
));
13114 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13115 PyObject
*resultobj
= 0;
13116 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13118 long *arg3
= (long *) 0 ;
13119 long *arg4
= (long *) 0 ;
13125 int res3
= SWIG_TMPOBJ
;
13127 int res4
= SWIG_TMPOBJ
;
13128 PyObject
* obj0
= 0 ;
13129 PyObject
* obj1
= 0 ;
13130 char * kwnames
[] = {
13131 (char *) "self",(char *) "pos", NULL
13136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13138 if (!SWIG_IsOK(res1
)) {
13139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13141 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13142 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13143 if (!SWIG_IsOK(ecode2
)) {
13144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13146 arg2
= static_cast< long >(val2
);
13148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13149 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
13150 wxPyEndAllowThreads(__tstate
);
13151 if (PyErr_Occurred()) SWIG_fail
;
13153 resultobj
= SWIG_Py_Void();
13154 if (SWIG_IsTmpObj(res3
)) {
13155 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13157 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13158 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13160 if (SWIG_IsTmpObj(res4
)) {
13161 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13163 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13164 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13172 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13173 PyObject
*resultobj
= 0;
13174 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13180 PyObject
* obj0
= 0 ;
13181 PyObject
* obj1
= 0 ;
13182 char * kwnames
[] = {
13183 (char *) "self",(char *) "pos", NULL
13186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13188 if (!SWIG_IsOK(res1
)) {
13189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13191 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13192 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13193 if (!SWIG_IsOK(ecode2
)) {
13194 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13196 arg2
= static_cast< long >(val2
);
13198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13199 (arg1
)->ShowPosition(arg2
);
13200 wxPyEndAllowThreads(__tstate
);
13201 if (PyErr_Occurred()) SWIG_fail
;
13203 resultobj
= SWIG_Py_Void();
13210 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13211 PyObject
*resultobj
= 0;
13212 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13213 wxPoint
*arg2
= 0 ;
13214 long *arg3
= (long *) 0 ;
13215 long *arg4
= (long *) 0 ;
13216 wxTextCtrlHitTestResult result
;
13221 int res3
= SWIG_TMPOBJ
;
13223 int res4
= SWIG_TMPOBJ
;
13224 PyObject
* obj0
= 0 ;
13225 PyObject
* obj1
= 0 ;
13226 char * kwnames
[] = {
13227 (char *) "self",(char *) "pt", NULL
13232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13234 if (!SWIG_IsOK(res1
)) {
13235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13237 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13240 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13244 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13245 wxPyEndAllowThreads(__tstate
);
13246 if (PyErr_Occurred()) SWIG_fail
;
13248 resultobj
= SWIG_From_int(static_cast< int >(result
));
13249 if (SWIG_IsTmpObj(res3
)) {
13250 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13252 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13253 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13255 if (SWIG_IsTmpObj(res4
)) {
13256 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13258 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13259 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13267 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13268 PyObject
*resultobj
= 0;
13269 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13270 wxPoint
*arg2
= 0 ;
13271 long *arg3
= (long *) 0 ;
13272 wxTextCtrlHitTestResult result
;
13277 int res3
= SWIG_TMPOBJ
;
13278 PyObject
* obj0
= 0 ;
13279 PyObject
* obj1
= 0 ;
13280 char * kwnames
[] = {
13281 (char *) "self",(char *) "pt", NULL
13285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13287 if (!SWIG_IsOK(res1
)) {
13288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13290 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13293 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13297 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13298 wxPyEndAllowThreads(__tstate
);
13299 if (PyErr_Occurred()) SWIG_fail
;
13301 resultobj
= SWIG_From_int(static_cast< int >(result
));
13302 if (SWIG_IsTmpObj(res3
)) {
13303 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13305 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13306 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13314 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13315 PyObject
*resultobj
= 0;
13316 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13319 PyObject
*swig_obj
[1] ;
13321 if (!args
) SWIG_fail
;
13322 swig_obj
[0] = args
;
13323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13324 if (!SWIG_IsOK(res1
)) {
13325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13327 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13331 wxPyEndAllowThreads(__tstate
);
13332 if (PyErr_Occurred()) SWIG_fail
;
13334 resultobj
= SWIG_Py_Void();
13341 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13342 PyObject
*resultobj
= 0;
13343 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13346 PyObject
*swig_obj
[1] ;
13348 if (!args
) SWIG_fail
;
13349 swig_obj
[0] = args
;
13350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13351 if (!SWIG_IsOK(res1
)) {
13352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13354 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13358 wxPyEndAllowThreads(__tstate
);
13359 if (PyErr_Occurred()) SWIG_fail
;
13361 resultobj
= SWIG_Py_Void();
13368 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13369 PyObject
*resultobj
= 0;
13370 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13373 PyObject
*swig_obj
[1] ;
13375 if (!args
) SWIG_fail
;
13376 swig_obj
[0] = args
;
13377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13378 if (!SWIG_IsOK(res1
)) {
13379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13381 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13385 wxPyEndAllowThreads(__tstate
);
13386 if (PyErr_Occurred()) SWIG_fail
;
13388 resultobj
= SWIG_Py_Void();
13395 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13396 PyObject
*resultobj
= 0;
13397 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13401 PyObject
*swig_obj
[1] ;
13403 if (!args
) SWIG_fail
;
13404 swig_obj
[0] = args
;
13405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13406 if (!SWIG_IsOK(res1
)) {
13407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13409 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13412 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13413 wxPyEndAllowThreads(__tstate
);
13414 if (PyErr_Occurred()) SWIG_fail
;
13417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13425 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13426 PyObject
*resultobj
= 0;
13427 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13431 PyObject
*swig_obj
[1] ;
13433 if (!args
) SWIG_fail
;
13434 swig_obj
[0] = args
;
13435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13436 if (!SWIG_IsOK(res1
)) {
13437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13439 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13442 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13443 wxPyEndAllowThreads(__tstate
);
13444 if (PyErr_Occurred()) SWIG_fail
;
13447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13455 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13456 PyObject
*resultobj
= 0;
13457 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13461 PyObject
*swig_obj
[1] ;
13463 if (!args
) SWIG_fail
;
13464 swig_obj
[0] = args
;
13465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13466 if (!SWIG_IsOK(res1
)) {
13467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13469 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13472 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13473 wxPyEndAllowThreads(__tstate
);
13474 if (PyErr_Occurred()) SWIG_fail
;
13477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13485 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13486 PyObject
*resultobj
= 0;
13487 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13490 PyObject
*swig_obj
[1] ;
13492 if (!args
) SWIG_fail
;
13493 swig_obj
[0] = args
;
13494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13495 if (!SWIG_IsOK(res1
)) {
13496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13498 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13502 wxPyEndAllowThreads(__tstate
);
13503 if (PyErr_Occurred()) SWIG_fail
;
13505 resultobj
= SWIG_Py_Void();
13512 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13513 PyObject
*resultobj
= 0;
13514 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13517 PyObject
*swig_obj
[1] ;
13519 if (!args
) SWIG_fail
;
13520 swig_obj
[0] = args
;
13521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13522 if (!SWIG_IsOK(res1
)) {
13523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13525 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13529 wxPyEndAllowThreads(__tstate
);
13530 if (PyErr_Occurred()) SWIG_fail
;
13532 resultobj
= SWIG_Py_Void();
13539 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13540 PyObject
*resultobj
= 0;
13541 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13545 PyObject
*swig_obj
[1] ;
13547 if (!args
) SWIG_fail
;
13548 swig_obj
[0] = args
;
13549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13550 if (!SWIG_IsOK(res1
)) {
13551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13553 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13556 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13557 wxPyEndAllowThreads(__tstate
);
13558 if (PyErr_Occurred()) SWIG_fail
;
13561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13569 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13570 PyObject
*resultobj
= 0;
13571 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13575 PyObject
*swig_obj
[1] ;
13577 if (!args
) SWIG_fail
;
13578 swig_obj
[0] = args
;
13579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13580 if (!SWIG_IsOK(res1
)) {
13581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13583 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13586 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13587 wxPyEndAllowThreads(__tstate
);
13588 if (PyErr_Occurred()) SWIG_fail
;
13591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13599 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13600 PyObject
*resultobj
= 0;
13601 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13607 PyObject
* obj0
= 0 ;
13608 PyObject
* obj1
= 0 ;
13609 char * kwnames
[] = {
13610 (char *) "self",(char *) "pos", NULL
13613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13615 if (!SWIG_IsOK(res1
)) {
13616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13618 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13619 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13620 if (!SWIG_IsOK(ecode2
)) {
13621 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13623 arg2
= static_cast< long >(val2
);
13625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13626 (arg1
)->SetInsertionPoint(arg2
);
13627 wxPyEndAllowThreads(__tstate
);
13628 if (PyErr_Occurred()) SWIG_fail
;
13630 resultobj
= SWIG_Py_Void();
13637 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13638 PyObject
*resultobj
= 0;
13639 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13642 PyObject
*swig_obj
[1] ;
13644 if (!args
) SWIG_fail
;
13645 swig_obj
[0] = args
;
13646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13647 if (!SWIG_IsOK(res1
)) {
13648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13650 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13653 (arg1
)->SetInsertionPointEnd();
13654 wxPyEndAllowThreads(__tstate
);
13655 if (PyErr_Occurred()) SWIG_fail
;
13657 resultobj
= SWIG_Py_Void();
13664 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13665 PyObject
*resultobj
= 0;
13666 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13670 PyObject
*swig_obj
[1] ;
13672 if (!args
) SWIG_fail
;
13673 swig_obj
[0] = args
;
13674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13675 if (!SWIG_IsOK(res1
)) {
13676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13678 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13681 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13682 wxPyEndAllowThreads(__tstate
);
13683 if (PyErr_Occurred()) SWIG_fail
;
13685 resultobj
= SWIG_From_long(static_cast< long >(result
));
13692 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13693 PyObject
*resultobj
= 0;
13694 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13698 PyObject
*swig_obj
[1] ;
13700 if (!args
) SWIG_fail
;
13701 swig_obj
[0] = args
;
13702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13703 if (!SWIG_IsOK(res1
)) {
13704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13706 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13709 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13710 wxPyEndAllowThreads(__tstate
);
13711 if (PyErr_Occurred()) SWIG_fail
;
13713 resultobj
= SWIG_From_long(static_cast< long >(result
));
13720 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13721 PyObject
*resultobj
= 0;
13722 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13731 PyObject
* obj0
= 0 ;
13732 PyObject
* obj1
= 0 ;
13733 PyObject
* obj2
= 0 ;
13734 char * kwnames
[] = {
13735 (char *) "self",(char *) "from",(char *) "to", NULL
13738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13740 if (!SWIG_IsOK(res1
)) {
13741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13743 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13744 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13745 if (!SWIG_IsOK(ecode2
)) {
13746 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13748 arg2
= static_cast< long >(val2
);
13749 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13750 if (!SWIG_IsOK(ecode3
)) {
13751 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13753 arg3
= static_cast< long >(val3
);
13755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13756 (arg1
)->SetSelection(arg2
,arg3
);
13757 wxPyEndAllowThreads(__tstate
);
13758 if (PyErr_Occurred()) SWIG_fail
;
13760 resultobj
= SWIG_Py_Void();
13767 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13768 PyObject
*resultobj
= 0;
13769 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13772 PyObject
*swig_obj
[1] ;
13774 if (!args
) SWIG_fail
;
13775 swig_obj
[0] = args
;
13776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13777 if (!SWIG_IsOK(res1
)) {
13778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13780 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13783 (arg1
)->SelectAll();
13784 wxPyEndAllowThreads(__tstate
);
13785 if (PyErr_Occurred()) SWIG_fail
;
13787 resultobj
= SWIG_Py_Void();
13794 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13795 PyObject
*resultobj
= 0;
13796 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13802 PyObject
* obj0
= 0 ;
13803 PyObject
* obj1
= 0 ;
13804 char * kwnames
[] = {
13805 (char *) "self",(char *) "editable", NULL
13808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13810 if (!SWIG_IsOK(res1
)) {
13811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13813 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13814 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13815 if (!SWIG_IsOK(ecode2
)) {
13816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13818 arg2
= static_cast< bool >(val2
);
13820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13821 (arg1
)->SetEditable(arg2
);
13822 wxPyEndAllowThreads(__tstate
);
13823 if (PyErr_Occurred()) SWIG_fail
;
13825 resultobj
= SWIG_Py_Void();
13832 SWIGINTERN PyObject
*_wrap_TextCtrl_MacCheckSpelling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13833 PyObject
*resultobj
= 0;
13834 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13840 PyObject
* obj0
= 0 ;
13841 PyObject
* obj1
= 0 ;
13842 char * kwnames
[] = {
13843 (char *) "self",(char *) "check", NULL
13846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_MacCheckSpelling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13848 if (!SWIG_IsOK(res1
)) {
13849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13851 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13852 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13853 if (!SWIG_IsOK(ecode2
)) {
13854 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "2"" of type '" "bool""'");
13856 arg2
= static_cast< bool >(val2
);
13858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13859 (arg1
)->MacCheckSpelling(arg2
);
13860 wxPyEndAllowThreads(__tstate
);
13861 if (PyErr_Occurred()) SWIG_fail
;
13863 resultobj
= SWIG_Py_Void();
13870 SWIGINTERN PyObject
*_wrap_TextCtrl_SendTextUpdatedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13871 PyObject
*resultobj
= 0;
13872 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13875 PyObject
*swig_obj
[1] ;
13877 if (!args
) SWIG_fail
;
13878 swig_obj
[0] = args
;
13879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13880 if (!SWIG_IsOK(res1
)) {
13881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SendTextUpdatedEvent" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13883 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13886 (arg1
)->SendTextUpdatedEvent();
13887 wxPyEndAllowThreads(__tstate
);
13888 if (PyErr_Occurred()) SWIG_fail
;
13890 resultobj
= SWIG_Py_Void();
13897 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13898 PyObject
*resultobj
= 0;
13899 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13900 wxString
*arg2
= 0 ;
13903 bool temp2
= false ;
13904 PyObject
* obj0
= 0 ;
13905 PyObject
* obj1
= 0 ;
13906 char * kwnames
[] = {
13907 (char *) "self",(char *) "text", NULL
13910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13912 if (!SWIG_IsOK(res1
)) {
13913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13915 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13917 arg2
= wxString_in_helper(obj1
);
13918 if (arg2
== NULL
) SWIG_fail
;
13922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13923 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
13924 wxPyEndAllowThreads(__tstate
);
13925 if (PyErr_Occurred()) SWIG_fail
;
13927 resultobj
= SWIG_Py_Void();
13942 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13943 PyObject
*resultobj
= 0;
13944 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13954 PyObject
* obj0
= 0 ;
13955 PyObject
* obj1
= 0 ;
13956 PyObject
* obj2
= 0 ;
13957 char * kwnames
[] = {
13958 (char *) "self",(char *) "from",(char *) "to", NULL
13961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13963 if (!SWIG_IsOK(res1
)) {
13964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13966 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13967 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13968 if (!SWIG_IsOK(ecode2
)) {
13969 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13971 arg2
= static_cast< long >(val2
);
13972 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13973 if (!SWIG_IsOK(ecode3
)) {
13974 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
13976 arg3
= static_cast< long >(val3
);
13978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13979 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
13980 wxPyEndAllowThreads(__tstate
);
13981 if (PyErr_Occurred()) SWIG_fail
;
13985 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13987 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13996 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13997 PyObject
*resultobj
= 0;
13998 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13999 SwigValueWrapper
<wxVisualAttributes
> result
;
14002 PyObject
* obj0
= 0 ;
14003 char * kwnames
[] = {
14004 (char *) "variant", NULL
14007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14009 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14010 if (!SWIG_IsOK(ecode1
)) {
14011 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14013 arg1
= static_cast< wxWindowVariant
>(val1
);
14016 if (!wxPyCheckForApp()) SWIG_fail
;
14017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14018 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
14019 wxPyEndAllowThreads(__tstate
);
14020 if (PyErr_Occurred()) SWIG_fail
;
14022 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14029 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14031 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14032 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
14033 return SWIG_Py_Void();
14036 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14037 return SWIG_Python_InitShadowInstance(args
);
14040 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14041 PyObject
*resultobj
= 0;
14043 wxMouseEvent
*arg2
= 0 ;
14046 wxTextUrlEvent
*result
= 0 ;
14055 PyObject
* obj0
= 0 ;
14056 PyObject
* obj1
= 0 ;
14057 PyObject
* obj2
= 0 ;
14058 PyObject
* obj3
= 0 ;
14059 char * kwnames
[] = {
14060 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
14063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14064 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14065 if (!SWIG_IsOK(ecode1
)) {
14066 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
14068 arg1
= static_cast< int >(val1
);
14069 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
14070 if (!SWIG_IsOK(res2
)) {
14071 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14074 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14076 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
14077 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14078 if (!SWIG_IsOK(ecode3
)) {
14079 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
14081 arg3
= static_cast< long >(val3
);
14082 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
14083 if (!SWIG_IsOK(ecode4
)) {
14084 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
14086 arg4
= static_cast< long >(val4
);
14088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14089 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
14090 wxPyEndAllowThreads(__tstate
);
14091 if (PyErr_Occurred()) SWIG_fail
;
14093 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
14100 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14101 PyObject
*resultobj
= 0;
14102 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14103 wxMouseEvent
*result
= 0 ;
14106 PyObject
*swig_obj
[1] ;
14108 if (!args
) SWIG_fail
;
14109 swig_obj
[0] = args
;
14110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14111 if (!SWIG_IsOK(res1
)) {
14112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
14114 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14118 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
14119 result
= (wxMouseEvent
*) &_result_ref
;
14121 wxPyEndAllowThreads(__tstate
);
14122 if (PyErr_Occurred()) SWIG_fail
;
14124 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
14131 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14132 PyObject
*resultobj
= 0;
14133 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14137 PyObject
*swig_obj
[1] ;
14139 if (!args
) SWIG_fail
;
14140 swig_obj
[0] = args
;
14141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14142 if (!SWIG_IsOK(res1
)) {
14143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14145 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14148 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
14149 wxPyEndAllowThreads(__tstate
);
14150 if (PyErr_Occurred()) SWIG_fail
;
14152 resultobj
= SWIG_From_long(static_cast< long >(result
));
14159 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14160 PyObject
*resultobj
= 0;
14161 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14165 PyObject
*swig_obj
[1] ;
14167 if (!args
) SWIG_fail
;
14168 swig_obj
[0] = args
;
14169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14170 if (!SWIG_IsOK(res1
)) {
14171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14173 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14176 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
14177 wxPyEndAllowThreads(__tstate
);
14178 if (PyErr_Occurred()) SWIG_fail
;
14180 resultobj
= SWIG_From_long(static_cast< long >(result
));
14187 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14189 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14190 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
14191 return SWIG_Py_Void();
14194 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14195 return SWIG_Python_InitShadowInstance(args
);
14198 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
14199 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
14204 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
14205 PyObject
*pyobj
= 0;
14209 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14211 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14218 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14219 PyObject
*resultobj
= 0;
14220 wxWindow
*arg1
= (wxWindow
*) 0 ;
14221 int arg2
= (int) -1 ;
14222 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14223 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14224 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14225 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14226 long arg5
= (long) wxSB_HORIZONTAL
;
14227 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
14228 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
14229 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
14230 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14231 wxScrollBar
*result
= 0 ;
14242 bool temp7
= false ;
14243 PyObject
* obj0
= 0 ;
14244 PyObject
* obj1
= 0 ;
14245 PyObject
* obj2
= 0 ;
14246 PyObject
* obj3
= 0 ;
14247 PyObject
* obj4
= 0 ;
14248 PyObject
* obj5
= 0 ;
14249 PyObject
* obj6
= 0 ;
14250 char * kwnames
[] = {
14251 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14256 if (!SWIG_IsOK(res1
)) {
14257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14259 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14261 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14262 if (!SWIG_IsOK(ecode2
)) {
14263 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14265 arg2
= static_cast< int >(val2
);
14270 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14276 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14280 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14281 if (!SWIG_IsOK(ecode5
)) {
14282 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14284 arg5
= static_cast< long >(val5
);
14287 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14288 if (!SWIG_IsOK(res6
)) {
14289 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14292 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14294 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14298 arg7
= wxString_in_helper(obj6
);
14299 if (arg7
== NULL
) SWIG_fail
;
14304 if (!wxPyCheckForApp()) SWIG_fail
;
14305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14306 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14307 wxPyEndAllowThreads(__tstate
);
14308 if (PyErr_Occurred()) SWIG_fail
;
14310 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14325 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14326 PyObject
*resultobj
= 0;
14327 wxScrollBar
*result
= 0 ;
14329 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14331 if (!wxPyCheckForApp()) SWIG_fail
;
14332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14333 result
= (wxScrollBar
*)new wxScrollBar();
14334 wxPyEndAllowThreads(__tstate
);
14335 if (PyErr_Occurred()) SWIG_fail
;
14337 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14344 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14345 PyObject
*resultobj
= 0;
14346 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14347 wxWindow
*arg2
= (wxWindow
*) 0 ;
14348 int arg3
= (int) -1 ;
14349 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14350 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14351 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14352 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14353 long arg6
= (long) wxSB_HORIZONTAL
;
14354 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14355 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14356 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14357 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14371 bool temp8
= false ;
14372 PyObject
* obj0
= 0 ;
14373 PyObject
* obj1
= 0 ;
14374 PyObject
* obj2
= 0 ;
14375 PyObject
* obj3
= 0 ;
14376 PyObject
* obj4
= 0 ;
14377 PyObject
* obj5
= 0 ;
14378 PyObject
* obj6
= 0 ;
14379 PyObject
* obj7
= 0 ;
14380 char * kwnames
[] = {
14381 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14386 if (!SWIG_IsOK(res1
)) {
14387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14389 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14390 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14391 if (!SWIG_IsOK(res2
)) {
14392 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14394 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14396 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14397 if (!SWIG_IsOK(ecode3
)) {
14398 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14400 arg3
= static_cast< int >(val3
);
14405 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14411 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14415 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14416 if (!SWIG_IsOK(ecode6
)) {
14417 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14419 arg6
= static_cast< long >(val6
);
14422 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14423 if (!SWIG_IsOK(res7
)) {
14424 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14427 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14429 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14433 arg8
= wxString_in_helper(obj7
);
14434 if (arg8
== NULL
) SWIG_fail
;
14439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14440 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14441 wxPyEndAllowThreads(__tstate
);
14442 if (PyErr_Occurred()) SWIG_fail
;
14445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14461 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14462 PyObject
*resultobj
= 0;
14463 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14467 PyObject
*swig_obj
[1] ;
14469 if (!args
) SWIG_fail
;
14470 swig_obj
[0] = args
;
14471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14472 if (!SWIG_IsOK(res1
)) {
14473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14475 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14478 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14479 wxPyEndAllowThreads(__tstate
);
14480 if (PyErr_Occurred()) SWIG_fail
;
14482 resultobj
= SWIG_From_int(static_cast< int >(result
));
14489 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14490 PyObject
*resultobj
= 0;
14491 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14495 PyObject
*swig_obj
[1] ;
14497 if (!args
) SWIG_fail
;
14498 swig_obj
[0] = args
;
14499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14500 if (!SWIG_IsOK(res1
)) {
14501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14503 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14506 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14507 wxPyEndAllowThreads(__tstate
);
14508 if (PyErr_Occurred()) SWIG_fail
;
14510 resultobj
= SWIG_From_int(static_cast< int >(result
));
14517 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14518 PyObject
*resultobj
= 0;
14519 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14523 PyObject
*swig_obj
[1] ;
14525 if (!args
) SWIG_fail
;
14526 swig_obj
[0] = args
;
14527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14528 if (!SWIG_IsOK(res1
)) {
14529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14531 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14534 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14535 wxPyEndAllowThreads(__tstate
);
14536 if (PyErr_Occurred()) SWIG_fail
;
14538 resultobj
= SWIG_From_int(static_cast< int >(result
));
14545 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14546 PyObject
*resultobj
= 0;
14547 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14551 PyObject
*swig_obj
[1] ;
14553 if (!args
) SWIG_fail
;
14554 swig_obj
[0] = args
;
14555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14556 if (!SWIG_IsOK(res1
)) {
14557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14559 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14562 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14563 wxPyEndAllowThreads(__tstate
);
14564 if (PyErr_Occurred()) SWIG_fail
;
14566 resultobj
= SWIG_From_int(static_cast< int >(result
));
14573 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14574 PyObject
*resultobj
= 0;
14575 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14579 PyObject
*swig_obj
[1] ;
14581 if (!args
) SWIG_fail
;
14582 swig_obj
[0] = args
;
14583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14584 if (!SWIG_IsOK(res1
)) {
14585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14587 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14590 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14591 wxPyEndAllowThreads(__tstate
);
14592 if (PyErr_Occurred()) SWIG_fail
;
14595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14603 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14604 PyObject
*resultobj
= 0;
14605 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14611 PyObject
* obj0
= 0 ;
14612 PyObject
* obj1
= 0 ;
14613 char * kwnames
[] = {
14614 (char *) "self",(char *) "viewStart", NULL
14617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14619 if (!SWIG_IsOK(res1
)) {
14620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14622 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14623 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14624 if (!SWIG_IsOK(ecode2
)) {
14625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14627 arg2
= static_cast< int >(val2
);
14629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14630 (arg1
)->SetThumbPosition(arg2
);
14631 wxPyEndAllowThreads(__tstate
);
14632 if (PyErr_Occurred()) SWIG_fail
;
14634 resultobj
= SWIG_Py_Void();
14641 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14642 PyObject
*resultobj
= 0;
14643 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14644 SwigValueWrapper
<wxVisualAttributes
> result
;
14647 PyObject
* obj0
= 0 ;
14648 char * kwnames
[] = {
14649 (char *) "variant", NULL
14652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14654 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14655 if (!SWIG_IsOK(ecode1
)) {
14656 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14658 arg1
= static_cast< wxWindowVariant
>(val1
);
14661 if (!wxPyCheckForApp()) SWIG_fail
;
14662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14663 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14664 wxPyEndAllowThreads(__tstate
);
14665 if (PyErr_Occurred()) SWIG_fail
;
14667 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14674 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14676 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14677 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14678 return SWIG_Py_Void();
14681 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14682 return SWIG_Python_InitShadowInstance(args
);
14685 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14686 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14691 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14692 PyObject
*pyobj
= 0;
14696 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14698 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14705 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14706 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14711 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14712 PyObject
*pyobj
= 0;
14716 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14718 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14725 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14726 PyObject
*resultobj
= 0;
14727 wxWindow
*arg1
= (wxWindow
*) 0 ;
14728 int arg2
= (int) -1 ;
14729 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14730 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14731 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14732 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14733 long arg5
= (long) wxSP_HORIZONTAL
;
14734 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14735 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14736 wxSpinButton
*result
= 0 ;
14745 bool temp6
= false ;
14746 PyObject
* obj0
= 0 ;
14747 PyObject
* obj1
= 0 ;
14748 PyObject
* obj2
= 0 ;
14749 PyObject
* obj3
= 0 ;
14750 PyObject
* obj4
= 0 ;
14751 PyObject
* obj5
= 0 ;
14752 char * kwnames
[] = {
14753 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14758 if (!SWIG_IsOK(res1
)) {
14759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14761 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14763 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14764 if (!SWIG_IsOK(ecode2
)) {
14765 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14767 arg2
= static_cast< int >(val2
);
14772 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14778 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14782 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14783 if (!SWIG_IsOK(ecode5
)) {
14784 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14786 arg5
= static_cast< long >(val5
);
14790 arg6
= wxString_in_helper(obj5
);
14791 if (arg6
== NULL
) SWIG_fail
;
14796 if (!wxPyCheckForApp()) SWIG_fail
;
14797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14798 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14799 wxPyEndAllowThreads(__tstate
);
14800 if (PyErr_Occurred()) SWIG_fail
;
14802 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14817 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14818 PyObject
*resultobj
= 0;
14819 wxSpinButton
*result
= 0 ;
14821 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14823 if (!wxPyCheckForApp()) SWIG_fail
;
14824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14825 result
= (wxSpinButton
*)new wxSpinButton();
14826 wxPyEndAllowThreads(__tstate
);
14827 if (PyErr_Occurred()) SWIG_fail
;
14829 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14836 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14837 PyObject
*resultobj
= 0;
14838 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14839 wxWindow
*arg2
= (wxWindow
*) 0 ;
14840 int arg3
= (int) -1 ;
14841 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14842 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14843 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14844 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14845 long arg6
= (long) wxSP_HORIZONTAL
;
14846 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14847 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14859 bool temp7
= false ;
14860 PyObject
* obj0
= 0 ;
14861 PyObject
* obj1
= 0 ;
14862 PyObject
* obj2
= 0 ;
14863 PyObject
* obj3
= 0 ;
14864 PyObject
* obj4
= 0 ;
14865 PyObject
* obj5
= 0 ;
14866 PyObject
* obj6
= 0 ;
14867 char * kwnames
[] = {
14868 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14873 if (!SWIG_IsOK(res1
)) {
14874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14876 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14877 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14878 if (!SWIG_IsOK(res2
)) {
14879 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14881 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14883 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14884 if (!SWIG_IsOK(ecode3
)) {
14885 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14887 arg3
= static_cast< int >(val3
);
14892 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14898 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14902 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14903 if (!SWIG_IsOK(ecode6
)) {
14904 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14906 arg6
= static_cast< long >(val6
);
14910 arg7
= wxString_in_helper(obj6
);
14911 if (arg7
== NULL
) SWIG_fail
;
14916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14917 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14918 wxPyEndAllowThreads(__tstate
);
14919 if (PyErr_Occurred()) SWIG_fail
;
14922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14938 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14939 PyObject
*resultobj
= 0;
14940 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14944 PyObject
*swig_obj
[1] ;
14946 if (!args
) SWIG_fail
;
14947 swig_obj
[0] = args
;
14948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14949 if (!SWIG_IsOK(res1
)) {
14950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14952 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14955 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
14956 wxPyEndAllowThreads(__tstate
);
14957 if (PyErr_Occurred()) SWIG_fail
;
14959 resultobj
= SWIG_From_int(static_cast< int >(result
));
14966 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14967 PyObject
*resultobj
= 0;
14968 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14972 PyObject
*swig_obj
[1] ;
14974 if (!args
) SWIG_fail
;
14975 swig_obj
[0] = args
;
14976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14977 if (!SWIG_IsOK(res1
)) {
14978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14980 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14983 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
14984 wxPyEndAllowThreads(__tstate
);
14985 if (PyErr_Occurred()) SWIG_fail
;
14987 resultobj
= SWIG_From_int(static_cast< int >(result
));
14994 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14995 PyObject
*resultobj
= 0;
14996 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15000 PyObject
*swig_obj
[1] ;
15002 if (!args
) SWIG_fail
;
15003 swig_obj
[0] = args
;
15004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15005 if (!SWIG_IsOK(res1
)) {
15006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15008 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15011 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
15012 wxPyEndAllowThreads(__tstate
);
15013 if (PyErr_Occurred()) SWIG_fail
;
15015 resultobj
= SWIG_From_int(static_cast< int >(result
));
15022 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15023 PyObject
*resultobj
= 0;
15024 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15030 PyObject
* obj0
= 0 ;
15031 PyObject
* obj1
= 0 ;
15032 char * kwnames
[] = {
15033 (char *) "self",(char *) "val", NULL
15036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15038 if (!SWIG_IsOK(res1
)) {
15039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15041 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15042 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15043 if (!SWIG_IsOK(ecode2
)) {
15044 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
15046 arg2
= static_cast< int >(val2
);
15048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15049 (arg1
)->SetValue(arg2
);
15050 wxPyEndAllowThreads(__tstate
);
15051 if (PyErr_Occurred()) SWIG_fail
;
15053 resultobj
= SWIG_Py_Void();
15060 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15061 PyObject
*resultobj
= 0;
15062 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15068 PyObject
* obj0
= 0 ;
15069 PyObject
* obj1
= 0 ;
15070 char * kwnames
[] = {
15071 (char *) "self",(char *) "minVal", NULL
15074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15076 if (!SWIG_IsOK(res1
)) {
15077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15079 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15080 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15081 if (!SWIG_IsOK(ecode2
)) {
15082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
15084 arg2
= static_cast< int >(val2
);
15086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15087 (arg1
)->SetMin(arg2
);
15088 wxPyEndAllowThreads(__tstate
);
15089 if (PyErr_Occurred()) SWIG_fail
;
15091 resultobj
= SWIG_Py_Void();
15098 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15099 PyObject
*resultobj
= 0;
15100 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15106 PyObject
* obj0
= 0 ;
15107 PyObject
* obj1
= 0 ;
15108 char * kwnames
[] = {
15109 (char *) "self",(char *) "maxVal", NULL
15112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15114 if (!SWIG_IsOK(res1
)) {
15115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15117 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15118 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15119 if (!SWIG_IsOK(ecode2
)) {
15120 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
15122 arg2
= static_cast< int >(val2
);
15124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15125 (arg1
)->SetMax(arg2
);
15126 wxPyEndAllowThreads(__tstate
);
15127 if (PyErr_Occurred()) SWIG_fail
;
15129 resultobj
= SWIG_Py_Void();
15136 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15137 PyObject
*resultobj
= 0;
15138 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15147 PyObject
* obj0
= 0 ;
15148 PyObject
* obj1
= 0 ;
15149 PyObject
* obj2
= 0 ;
15150 char * kwnames
[] = {
15151 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15156 if (!SWIG_IsOK(res1
)) {
15157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15159 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15160 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15161 if (!SWIG_IsOK(ecode2
)) {
15162 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15164 arg2
= static_cast< int >(val2
);
15165 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15166 if (!SWIG_IsOK(ecode3
)) {
15167 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15169 arg3
= static_cast< int >(val3
);
15171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15172 (arg1
)->SetRange(arg2
,arg3
);
15173 wxPyEndAllowThreads(__tstate
);
15174 if (PyErr_Occurred()) SWIG_fail
;
15176 resultobj
= SWIG_Py_Void();
15183 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15184 PyObject
*resultobj
= 0;
15185 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15189 PyObject
*swig_obj
[1] ;
15191 if (!args
) SWIG_fail
;
15192 swig_obj
[0] = args
;
15193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15194 if (!SWIG_IsOK(res1
)) {
15195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15197 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15200 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
15201 wxPyEndAllowThreads(__tstate
);
15202 if (PyErr_Occurred()) SWIG_fail
;
15205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15213 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15214 PyObject
*resultobj
= 0;
15215 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15216 SwigValueWrapper
<wxVisualAttributes
> result
;
15219 PyObject
* obj0
= 0 ;
15220 char * kwnames
[] = {
15221 (char *) "variant", NULL
15224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15226 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15227 if (!SWIG_IsOK(ecode1
)) {
15228 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15230 arg1
= static_cast< wxWindowVariant
>(val1
);
15233 if (!wxPyCheckForApp()) SWIG_fail
;
15234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15235 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
15236 wxPyEndAllowThreads(__tstate
);
15237 if (PyErr_Occurred()) SWIG_fail
;
15239 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15246 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15248 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15249 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15250 return SWIG_Py_Void();
15253 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15254 return SWIG_Python_InitShadowInstance(args
);
15257 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15258 PyObject
*resultobj
= 0;
15259 wxWindow
*arg1
= (wxWindow
*) 0 ;
15260 int arg2
= (int) -1 ;
15261 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15262 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15263 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15264 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15265 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15266 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15267 long arg6
= (long) wxSP_ARROW_KEYS
;
15268 int arg7
= (int) 0 ;
15269 int arg8
= (int) 100 ;
15270 int arg9
= (int) 0 ;
15271 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15272 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15273 wxSpinCtrl
*result
= 0 ;
15278 bool temp3
= false ;
15289 bool temp10
= false ;
15290 PyObject
* obj0
= 0 ;
15291 PyObject
* obj1
= 0 ;
15292 PyObject
* obj2
= 0 ;
15293 PyObject
* obj3
= 0 ;
15294 PyObject
* obj4
= 0 ;
15295 PyObject
* obj5
= 0 ;
15296 PyObject
* obj6
= 0 ;
15297 PyObject
* obj7
= 0 ;
15298 PyObject
* obj8
= 0 ;
15299 PyObject
* obj9
= 0 ;
15300 char * kwnames
[] = {
15301 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15306 if (!SWIG_IsOK(res1
)) {
15307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15309 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15311 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15312 if (!SWIG_IsOK(ecode2
)) {
15313 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15315 arg2
= static_cast< int >(val2
);
15319 arg3
= wxString_in_helper(obj2
);
15320 if (arg3
== NULL
) SWIG_fail
;
15327 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15333 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15337 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15338 if (!SWIG_IsOK(ecode6
)) {
15339 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15341 arg6
= static_cast< long >(val6
);
15344 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15345 if (!SWIG_IsOK(ecode7
)) {
15346 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15348 arg7
= static_cast< int >(val7
);
15351 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15352 if (!SWIG_IsOK(ecode8
)) {
15353 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15355 arg8
= static_cast< int >(val8
);
15358 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15359 if (!SWIG_IsOK(ecode9
)) {
15360 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15362 arg9
= static_cast< int >(val9
);
15366 arg10
= wxString_in_helper(obj9
);
15367 if (arg10
== NULL
) SWIG_fail
;
15372 if (!wxPyCheckForApp()) SWIG_fail
;
15373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15374 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15375 wxPyEndAllowThreads(__tstate
);
15376 if (PyErr_Occurred()) SWIG_fail
;
15378 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15401 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15402 PyObject
*resultobj
= 0;
15403 wxSpinCtrl
*result
= 0 ;
15405 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15407 if (!wxPyCheckForApp()) SWIG_fail
;
15408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15409 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15410 wxPyEndAllowThreads(__tstate
);
15411 if (PyErr_Occurred()) SWIG_fail
;
15413 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15420 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15421 PyObject
*resultobj
= 0;
15422 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15423 wxWindow
*arg2
= (wxWindow
*) 0 ;
15424 int arg3
= (int) -1 ;
15425 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15426 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15427 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15428 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15429 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15430 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15431 long arg7
= (long) wxSP_ARROW_KEYS
;
15432 int arg8
= (int) 0 ;
15433 int arg9
= (int) 100 ;
15434 int arg10
= (int) 0 ;
15435 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15436 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15444 bool temp4
= false ;
15455 bool temp11
= false ;
15456 PyObject
* obj0
= 0 ;
15457 PyObject
* obj1
= 0 ;
15458 PyObject
* obj2
= 0 ;
15459 PyObject
* obj3
= 0 ;
15460 PyObject
* obj4
= 0 ;
15461 PyObject
* obj5
= 0 ;
15462 PyObject
* obj6
= 0 ;
15463 PyObject
* obj7
= 0 ;
15464 PyObject
* obj8
= 0 ;
15465 PyObject
* obj9
= 0 ;
15466 PyObject
* obj10
= 0 ;
15467 char * kwnames
[] = {
15468 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15473 if (!SWIG_IsOK(res1
)) {
15474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15476 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15477 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15478 if (!SWIG_IsOK(res2
)) {
15479 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15481 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15483 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15484 if (!SWIG_IsOK(ecode3
)) {
15485 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15487 arg3
= static_cast< int >(val3
);
15491 arg4
= wxString_in_helper(obj3
);
15492 if (arg4
== NULL
) SWIG_fail
;
15499 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15505 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15509 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15510 if (!SWIG_IsOK(ecode7
)) {
15511 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15513 arg7
= static_cast< long >(val7
);
15516 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15517 if (!SWIG_IsOK(ecode8
)) {
15518 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15520 arg8
= static_cast< int >(val8
);
15523 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15524 if (!SWIG_IsOK(ecode9
)) {
15525 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15527 arg9
= static_cast< int >(val9
);
15530 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15531 if (!SWIG_IsOK(ecode10
)) {
15532 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15534 arg10
= static_cast< int >(val10
);
15538 arg11
= wxString_in_helper(obj10
);
15539 if (arg11
== NULL
) SWIG_fail
;
15544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15545 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15546 wxPyEndAllowThreads(__tstate
);
15547 if (PyErr_Occurred()) SWIG_fail
;
15550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15574 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15575 PyObject
*resultobj
= 0;
15576 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15580 PyObject
*swig_obj
[1] ;
15582 if (!args
) SWIG_fail
;
15583 swig_obj
[0] = args
;
15584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15585 if (!SWIG_IsOK(res1
)) {
15586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15588 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15591 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15592 wxPyEndAllowThreads(__tstate
);
15593 if (PyErr_Occurred()) SWIG_fail
;
15595 resultobj
= SWIG_From_int(static_cast< int >(result
));
15602 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15603 PyObject
*resultobj
= 0;
15604 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15610 PyObject
* obj0
= 0 ;
15611 PyObject
* obj1
= 0 ;
15612 char * kwnames
[] = {
15613 (char *) "self",(char *) "value", NULL
15616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15618 if (!SWIG_IsOK(res1
)) {
15619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15621 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15622 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15623 if (!SWIG_IsOK(ecode2
)) {
15624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15626 arg2
= static_cast< int >(val2
);
15628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15629 (arg1
)->SetValue(arg2
);
15630 wxPyEndAllowThreads(__tstate
);
15631 if (PyErr_Occurred()) SWIG_fail
;
15633 resultobj
= SWIG_Py_Void();
15640 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15641 PyObject
*resultobj
= 0;
15642 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15643 wxString
*arg2
= 0 ;
15646 bool temp2
= false ;
15647 PyObject
* obj0
= 0 ;
15648 PyObject
* obj1
= 0 ;
15649 char * kwnames
[] = {
15650 (char *) "self",(char *) "text", NULL
15653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15655 if (!SWIG_IsOK(res1
)) {
15656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15658 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15660 arg2
= wxString_in_helper(obj1
);
15661 if (arg2
== NULL
) SWIG_fail
;
15665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15666 (arg1
)->SetValue((wxString
const &)*arg2
);
15667 wxPyEndAllowThreads(__tstate
);
15668 if (PyErr_Occurred()) SWIG_fail
;
15670 resultobj
= SWIG_Py_Void();
15685 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15686 PyObject
*resultobj
= 0;
15687 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15696 PyObject
* obj0
= 0 ;
15697 PyObject
* obj1
= 0 ;
15698 PyObject
* obj2
= 0 ;
15699 char * kwnames
[] = {
15700 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15705 if (!SWIG_IsOK(res1
)) {
15706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15708 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15709 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15710 if (!SWIG_IsOK(ecode2
)) {
15711 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15713 arg2
= static_cast< int >(val2
);
15714 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15715 if (!SWIG_IsOK(ecode3
)) {
15716 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15718 arg3
= static_cast< int >(val3
);
15720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15721 (arg1
)->SetRange(arg2
,arg3
);
15722 wxPyEndAllowThreads(__tstate
);
15723 if (PyErr_Occurred()) SWIG_fail
;
15725 resultobj
= SWIG_Py_Void();
15732 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15733 PyObject
*resultobj
= 0;
15734 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15738 PyObject
*swig_obj
[1] ;
15740 if (!args
) SWIG_fail
;
15741 swig_obj
[0] = args
;
15742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15743 if (!SWIG_IsOK(res1
)) {
15744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15746 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15749 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15750 wxPyEndAllowThreads(__tstate
);
15751 if (PyErr_Occurred()) SWIG_fail
;
15753 resultobj
= SWIG_From_int(static_cast< int >(result
));
15760 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15761 PyObject
*resultobj
= 0;
15762 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15766 PyObject
*swig_obj
[1] ;
15768 if (!args
) SWIG_fail
;
15769 swig_obj
[0] = args
;
15770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15771 if (!SWIG_IsOK(res1
)) {
15772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15774 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15777 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15778 wxPyEndAllowThreads(__tstate
);
15779 if (PyErr_Occurred()) SWIG_fail
;
15781 resultobj
= SWIG_From_int(static_cast< int >(result
));
15788 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15789 PyObject
*resultobj
= 0;
15790 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15799 PyObject
* obj0
= 0 ;
15800 PyObject
* obj1
= 0 ;
15801 PyObject
* obj2
= 0 ;
15802 char * kwnames
[] = {
15803 (char *) "self",(char *) "from",(char *) "to", NULL
15806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15808 if (!SWIG_IsOK(res1
)) {
15809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15811 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15812 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15813 if (!SWIG_IsOK(ecode2
)) {
15814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15816 arg2
= static_cast< long >(val2
);
15817 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15818 if (!SWIG_IsOK(ecode3
)) {
15819 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15821 arg3
= static_cast< long >(val3
);
15823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15824 (arg1
)->SetSelection(arg2
,arg3
);
15825 wxPyEndAllowThreads(__tstate
);
15826 if (PyErr_Occurred()) SWIG_fail
;
15828 resultobj
= SWIG_Py_Void();
15835 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15836 PyObject
*resultobj
= 0;
15837 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15838 SwigValueWrapper
<wxVisualAttributes
> result
;
15841 PyObject
* obj0
= 0 ;
15842 char * kwnames
[] = {
15843 (char *) "variant", NULL
15846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15848 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15849 if (!SWIG_IsOK(ecode1
)) {
15850 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15852 arg1
= static_cast< wxWindowVariant
>(val1
);
15855 if (!wxPyCheckForApp()) SWIG_fail
;
15856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15857 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15858 wxPyEndAllowThreads(__tstate
);
15859 if (PyErr_Occurred()) SWIG_fail
;
15861 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15868 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15870 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15871 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15872 return SWIG_Py_Void();
15875 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15876 return SWIG_Python_InitShadowInstance(args
);
15879 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15880 PyObject
*resultobj
= 0;
15881 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15882 int arg2
= (int) 0 ;
15883 wxSpinEvent
*result
= 0 ;
15888 PyObject
* obj0
= 0 ;
15889 PyObject
* obj1
= 0 ;
15890 char * kwnames
[] = {
15891 (char *) "commandType",(char *) "winid", NULL
15894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15896 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15897 if (!SWIG_IsOK(ecode1
)) {
15898 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15900 arg1
= static_cast< wxEventType
>(val1
);
15903 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15904 if (!SWIG_IsOK(ecode2
)) {
15905 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15907 arg2
= static_cast< int >(val2
);
15910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15911 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
15912 wxPyEndAllowThreads(__tstate
);
15913 if (PyErr_Occurred()) SWIG_fail
;
15915 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
15922 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15923 PyObject
*resultobj
= 0;
15924 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15928 PyObject
*swig_obj
[1] ;
15930 if (!args
) SWIG_fail
;
15931 swig_obj
[0] = args
;
15932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15933 if (!SWIG_IsOK(res1
)) {
15934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15936 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15939 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
15940 wxPyEndAllowThreads(__tstate
);
15941 if (PyErr_Occurred()) SWIG_fail
;
15943 resultobj
= SWIG_From_int(static_cast< int >(result
));
15950 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15951 PyObject
*resultobj
= 0;
15952 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15958 PyObject
* obj0
= 0 ;
15959 PyObject
* obj1
= 0 ;
15960 char * kwnames
[] = {
15961 (char *) "self",(char *) "pos", NULL
15964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15966 if (!SWIG_IsOK(res1
)) {
15967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15969 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15970 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15971 if (!SWIG_IsOK(ecode2
)) {
15972 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
15974 arg2
= static_cast< int >(val2
);
15976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15977 (arg1
)->SetPosition(arg2
);
15978 wxPyEndAllowThreads(__tstate
);
15979 if (PyErr_Occurred()) SWIG_fail
;
15981 resultobj
= SWIG_Py_Void();
15988 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15990 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15991 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
15992 return SWIG_Py_Void();
15995 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15996 return SWIG_Python_InitShadowInstance(args
);
15999 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
16000 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
16005 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
16006 PyObject
*pyobj
= 0;
16010 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
16012 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
16019 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
16020 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
16025 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
16026 PyObject
*pyobj
= 0;
16030 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
16032 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
16039 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16040 PyObject
*resultobj
= 0;
16041 wxWindow
*arg1
= (wxWindow
*) 0 ;
16042 int arg2
= (int) -1 ;
16043 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16044 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16045 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16046 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16047 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16048 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16049 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
16050 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
16051 int arg7
= (int) 0 ;
16052 long arg8
= (long) wxRA_HORIZONTAL
;
16053 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
16054 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
16055 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
16056 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
16057 wxRadioBox
*result
= 0 ;
16062 bool temp3
= false ;
16065 bool temp6
= false ;
16072 bool temp10
= false ;
16073 PyObject
* obj0
= 0 ;
16074 PyObject
* obj1
= 0 ;
16075 PyObject
* obj2
= 0 ;
16076 PyObject
* obj3
= 0 ;
16077 PyObject
* obj4
= 0 ;
16078 PyObject
* obj5
= 0 ;
16079 PyObject
* obj6
= 0 ;
16080 PyObject
* obj7
= 0 ;
16081 PyObject
* obj8
= 0 ;
16082 PyObject
* obj9
= 0 ;
16083 char * kwnames
[] = {
16084 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
16088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16089 if (!SWIG_IsOK(res1
)) {
16090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16092 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16094 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16095 if (!SWIG_IsOK(ecode2
)) {
16096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
16098 arg2
= static_cast< int >(val2
);
16102 arg3
= wxString_in_helper(obj2
);
16103 if (arg3
== NULL
) SWIG_fail
;
16110 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16116 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16121 if (! PySequence_Check(obj5
)) {
16122 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16125 arg6
= new wxArrayString
;
16127 int i
, len
=PySequence_Length(obj5
);
16128 for (i
=0; i
<len
; i
++) {
16129 PyObject
* item
= PySequence_GetItem(obj5
, i
);
16130 wxString
* s
= wxString_in_helper(item
);
16131 if (PyErr_Occurred()) SWIG_fail
;
16139 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
16140 if (!SWIG_IsOK(ecode7
)) {
16141 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16143 arg7
= static_cast< int >(val7
);
16146 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
16147 if (!SWIG_IsOK(ecode8
)) {
16148 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16150 arg8
= static_cast< long >(val8
);
16153 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
16154 if (!SWIG_IsOK(res9
)) {
16155 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16158 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16160 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
16164 arg10
= wxString_in_helper(obj9
);
16165 if (arg10
== NULL
) SWIG_fail
;
16170 if (!wxPyCheckForApp()) SWIG_fail
;
16171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16172 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
);
16173 wxPyEndAllowThreads(__tstate
);
16174 if (PyErr_Occurred()) SWIG_fail
;
16176 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
16182 if (temp6
) delete arg6
;
16195 if (temp6
) delete arg6
;
16205 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16206 PyObject
*resultobj
= 0;
16207 wxRadioBox
*result
= 0 ;
16209 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
16211 if (!wxPyCheckForApp()) SWIG_fail
;
16212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16213 result
= (wxRadioBox
*)new wxRadioBox();
16214 wxPyEndAllowThreads(__tstate
);
16215 if (PyErr_Occurred()) SWIG_fail
;
16217 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
16224 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16225 PyObject
*resultobj
= 0;
16226 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16227 wxWindow
*arg2
= (wxWindow
*) 0 ;
16228 int arg3
= (int) -1 ;
16229 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16230 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16231 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16232 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16233 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16234 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16235 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
16236 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
16237 int arg8
= (int) 0 ;
16238 long arg9
= (long) wxRA_HORIZONTAL
;
16239 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
16240 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
16241 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
16242 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16250 bool temp4
= false ;
16253 bool temp7
= false ;
16260 bool temp11
= false ;
16261 PyObject
* obj0
= 0 ;
16262 PyObject
* obj1
= 0 ;
16263 PyObject
* obj2
= 0 ;
16264 PyObject
* obj3
= 0 ;
16265 PyObject
* obj4
= 0 ;
16266 PyObject
* obj5
= 0 ;
16267 PyObject
* obj6
= 0 ;
16268 PyObject
* obj7
= 0 ;
16269 PyObject
* obj8
= 0 ;
16270 PyObject
* obj9
= 0 ;
16271 PyObject
* obj10
= 0 ;
16272 char * kwnames
[] = {
16273 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16278 if (!SWIG_IsOK(res1
)) {
16279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16281 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16282 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16283 if (!SWIG_IsOK(res2
)) {
16284 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16286 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16288 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16289 if (!SWIG_IsOK(ecode3
)) {
16290 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16292 arg3
= static_cast< int >(val3
);
16296 arg4
= wxString_in_helper(obj3
);
16297 if (arg4
== NULL
) SWIG_fail
;
16304 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16310 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16315 if (! PySequence_Check(obj6
)) {
16316 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16319 arg7
= new wxArrayString
;
16321 int i
, len
=PySequence_Length(obj6
);
16322 for (i
=0; i
<len
; i
++) {
16323 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16324 wxString
* s
= wxString_in_helper(item
);
16325 if (PyErr_Occurred()) SWIG_fail
;
16333 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16334 if (!SWIG_IsOK(ecode8
)) {
16335 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16337 arg8
= static_cast< int >(val8
);
16340 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16341 if (!SWIG_IsOK(ecode9
)) {
16342 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16344 arg9
= static_cast< long >(val9
);
16347 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16348 if (!SWIG_IsOK(res10
)) {
16349 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16352 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16354 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16358 arg11
= wxString_in_helper(obj10
);
16359 if (arg11
== NULL
) SWIG_fail
;
16364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16365 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
);
16366 wxPyEndAllowThreads(__tstate
);
16367 if (PyErr_Occurred()) SWIG_fail
;
16370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16377 if (temp7
) delete arg7
;
16390 if (temp7
) delete arg7
;
16400 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16401 PyObject
*resultobj
= 0;
16402 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16408 PyObject
* obj0
= 0 ;
16409 PyObject
* obj1
= 0 ;
16410 char * kwnames
[] = {
16411 (char *) "self",(char *) "n", NULL
16414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16416 if (!SWIG_IsOK(res1
)) {
16417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16419 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16420 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16421 if (!SWIG_IsOK(ecode2
)) {
16422 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16424 arg2
= static_cast< int >(val2
);
16426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16427 (arg1
)->SetSelection(arg2
);
16428 wxPyEndAllowThreads(__tstate
);
16429 if (PyErr_Occurred()) SWIG_fail
;
16431 resultobj
= SWIG_Py_Void();
16438 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16439 PyObject
*resultobj
= 0;
16440 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16444 PyObject
*swig_obj
[1] ;
16446 if (!args
) SWIG_fail
;
16447 swig_obj
[0] = args
;
16448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16449 if (!SWIG_IsOK(res1
)) {
16450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16452 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16455 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16456 wxPyEndAllowThreads(__tstate
);
16457 if (PyErr_Occurred()) SWIG_fail
;
16459 resultobj
= SWIG_From_int(static_cast< int >(result
));
16466 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16467 PyObject
*resultobj
= 0;
16468 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16472 PyObject
*swig_obj
[1] ;
16474 if (!args
) SWIG_fail
;
16475 swig_obj
[0] = args
;
16476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16477 if (!SWIG_IsOK(res1
)) {
16478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16480 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16483 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16484 wxPyEndAllowThreads(__tstate
);
16485 if (PyErr_Occurred()) SWIG_fail
;
16489 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16491 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16500 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16501 PyObject
*resultobj
= 0;
16502 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16503 wxString
*arg2
= 0 ;
16507 bool temp2
= false ;
16508 PyObject
* obj0
= 0 ;
16509 PyObject
* obj1
= 0 ;
16510 char * kwnames
[] = {
16511 (char *) "self",(char *) "s", NULL
16514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16516 if (!SWIG_IsOK(res1
)) {
16517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16519 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16521 arg2
= wxString_in_helper(obj1
);
16522 if (arg2
== NULL
) SWIG_fail
;
16526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16527 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16528 wxPyEndAllowThreads(__tstate
);
16529 if (PyErr_Occurred()) SWIG_fail
;
16532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16548 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16549 PyObject
*resultobj
= 0;
16550 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16554 PyObject
*swig_obj
[1] ;
16556 if (!args
) SWIG_fail
;
16557 swig_obj
[0] = args
;
16558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16559 if (!SWIG_IsOK(res1
)) {
16560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16562 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16565 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16566 wxPyEndAllowThreads(__tstate
);
16567 if (PyErr_Occurred()) SWIG_fail
;
16569 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16576 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16577 PyObject
*resultobj
= 0;
16578 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16579 wxString
*arg2
= 0 ;
16583 bool temp2
= false ;
16584 PyObject
* obj0
= 0 ;
16585 PyObject
* obj1
= 0 ;
16586 char * kwnames
[] = {
16587 (char *) "self",(char *) "s", NULL
16590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16592 if (!SWIG_IsOK(res1
)) {
16593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16595 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16597 arg2
= wxString_in_helper(obj1
);
16598 if (arg2
== NULL
) SWIG_fail
;
16602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16603 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16604 wxPyEndAllowThreads(__tstate
);
16605 if (PyErr_Occurred()) SWIG_fail
;
16607 resultobj
= SWIG_From_int(static_cast< int >(result
));
16622 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16623 PyObject
*resultobj
= 0;
16624 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16631 PyObject
* obj0
= 0 ;
16632 PyObject
* obj1
= 0 ;
16633 char * kwnames
[] = {
16634 (char *) "self",(char *) "n", NULL
16637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16639 if (!SWIG_IsOK(res1
)) {
16640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16642 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16643 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16644 if (!SWIG_IsOK(ecode2
)) {
16645 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16647 arg2
= static_cast< int >(val2
);
16649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16650 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16651 wxPyEndAllowThreads(__tstate
);
16652 if (PyErr_Occurred()) SWIG_fail
;
16656 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16658 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16667 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16668 PyObject
*resultobj
= 0;
16669 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16671 wxString
*arg3
= 0 ;
16676 bool temp3
= false ;
16677 PyObject
* obj0
= 0 ;
16678 PyObject
* obj1
= 0 ;
16679 PyObject
* obj2
= 0 ;
16680 char * kwnames
[] = {
16681 (char *) "self",(char *) "n",(char *) "label", NULL
16684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16686 if (!SWIG_IsOK(res1
)) {
16687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16689 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16690 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16691 if (!SWIG_IsOK(ecode2
)) {
16692 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16694 arg2
= static_cast< int >(val2
);
16696 arg3
= wxString_in_helper(obj2
);
16697 if (arg3
== NULL
) SWIG_fail
;
16701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16702 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16703 wxPyEndAllowThreads(__tstate
);
16704 if (PyErr_Occurred()) SWIG_fail
;
16706 resultobj
= SWIG_Py_Void();
16721 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16722 PyObject
*resultobj
= 0;
16723 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16724 unsigned int arg2
;
16725 bool arg3
= (bool) true ;
16728 unsigned int val2
;
16732 PyObject
* obj0
= 0 ;
16733 PyObject
* obj1
= 0 ;
16734 PyObject
* obj2
= 0 ;
16735 char * kwnames
[] = {
16736 (char *) "self",(char *) "n",(char *) "enable", NULL
16739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16741 if (!SWIG_IsOK(res1
)) {
16742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16744 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16745 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16746 if (!SWIG_IsOK(ecode2
)) {
16747 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16749 arg2
= static_cast< unsigned int >(val2
);
16751 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16752 if (!SWIG_IsOK(ecode3
)) {
16753 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16755 arg3
= static_cast< bool >(val3
);
16758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16759 (arg1
)->Enable(arg2
,arg3
);
16760 wxPyEndAllowThreads(__tstate
);
16761 if (PyErr_Occurred()) SWIG_fail
;
16763 resultobj
= SWIG_Py_Void();
16770 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16771 PyObject
*resultobj
= 0;
16772 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16773 unsigned int arg2
;
16774 bool arg3
= (bool) true ;
16777 unsigned int val2
;
16781 PyObject
* obj0
= 0 ;
16782 PyObject
* obj1
= 0 ;
16783 PyObject
* obj2
= 0 ;
16784 char * kwnames
[] = {
16785 (char *) "self",(char *) "n",(char *) "show", NULL
16788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16790 if (!SWIG_IsOK(res1
)) {
16791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16793 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16794 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16795 if (!SWIG_IsOK(ecode2
)) {
16796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16798 arg2
= static_cast< unsigned int >(val2
);
16800 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16801 if (!SWIG_IsOK(ecode3
)) {
16802 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16804 arg3
= static_cast< bool >(val3
);
16807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16808 (arg1
)->Show(arg2
,arg3
);
16809 wxPyEndAllowThreads(__tstate
);
16810 if (PyErr_Occurred()) SWIG_fail
;
16812 resultobj
= SWIG_Py_Void();
16819 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16820 PyObject
*resultobj
= 0;
16821 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16822 unsigned int arg2
;
16826 unsigned int val2
;
16828 PyObject
* obj0
= 0 ;
16829 PyObject
* obj1
= 0 ;
16830 char * kwnames
[] = {
16831 (char *) "self",(char *) "n", NULL
16834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16836 if (!SWIG_IsOK(res1
)) {
16837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16839 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16840 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16841 if (!SWIG_IsOK(ecode2
)) {
16842 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16844 arg2
= static_cast< unsigned int >(val2
);
16846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16847 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16848 wxPyEndAllowThreads(__tstate
);
16849 if (PyErr_Occurred()) SWIG_fail
;
16852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16860 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16861 PyObject
*resultobj
= 0;
16862 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16863 unsigned int arg2
;
16867 unsigned int val2
;
16869 PyObject
* obj0
= 0 ;
16870 PyObject
* obj1
= 0 ;
16871 char * kwnames
[] = {
16872 (char *) "self",(char *) "n", NULL
16875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16877 if (!SWIG_IsOK(res1
)) {
16878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16880 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16881 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16882 if (!SWIG_IsOK(ecode2
)) {
16883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16885 arg2
= static_cast< unsigned int >(val2
);
16887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16888 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
16889 wxPyEndAllowThreads(__tstate
);
16890 if (PyErr_Occurred()) SWIG_fail
;
16893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16901 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16902 PyObject
*resultobj
= 0;
16903 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16904 unsigned int result
;
16907 PyObject
*swig_obj
[1] ;
16909 if (!args
) SWIG_fail
;
16910 swig_obj
[0] = args
;
16911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16912 if (!SWIG_IsOK(res1
)) {
16913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16915 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16918 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
16919 wxPyEndAllowThreads(__tstate
);
16920 if (PyErr_Occurred()) SWIG_fail
;
16922 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16929 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16930 PyObject
*resultobj
= 0;
16931 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16932 unsigned int result
;
16935 PyObject
*swig_obj
[1] ;
16937 if (!args
) SWIG_fail
;
16938 swig_obj
[0] = args
;
16939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16940 if (!SWIG_IsOK(res1
)) {
16941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16943 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16946 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
16947 wxPyEndAllowThreads(__tstate
);
16948 if (PyErr_Occurred()) SWIG_fail
;
16950 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16957 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16958 PyObject
*resultobj
= 0;
16959 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16972 PyObject
* obj0
= 0 ;
16973 PyObject
* obj1
= 0 ;
16974 PyObject
* obj2
= 0 ;
16975 PyObject
* obj3
= 0 ;
16976 char * kwnames
[] = {
16977 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
16980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16982 if (!SWIG_IsOK(res1
)) {
16983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16985 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16986 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16987 if (!SWIG_IsOK(ecode2
)) {
16988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
16990 arg2
= static_cast< int >(val2
);
16991 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16992 if (!SWIG_IsOK(ecode3
)) {
16993 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
16995 arg3
= static_cast< wxDirection
>(val3
);
16996 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16997 if (!SWIG_IsOK(ecode4
)) {
16998 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
17000 arg4
= static_cast< long >(val4
);
17002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17003 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
17004 wxPyEndAllowThreads(__tstate
);
17005 if (PyErr_Occurred()) SWIG_fail
;
17007 resultobj
= SWIG_From_int(static_cast< int >(result
));
17014 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17015 PyObject
*resultobj
= 0;
17016 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17017 unsigned int arg2
;
17018 wxString
*arg3
= 0 ;
17021 unsigned int val2
;
17023 bool temp3
= false ;
17024 PyObject
* obj0
= 0 ;
17025 PyObject
* obj1
= 0 ;
17026 PyObject
* obj2
= 0 ;
17027 char * kwnames
[] = {
17028 (char *) "self",(char *) "item",(char *) "text", NULL
17031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemToolTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17033 if (!SWIG_IsOK(res1
)) {
17034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17036 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17037 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17038 if (!SWIG_IsOK(ecode2
)) {
17039 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17041 arg2
= static_cast< unsigned int >(val2
);
17043 arg3
= wxString_in_helper(obj2
);
17044 if (arg3
== NULL
) SWIG_fail
;
17048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17049 (arg1
)->SetItemToolTip(arg2
,(wxString
const &)*arg3
);
17050 wxPyEndAllowThreads(__tstate
);
17051 if (PyErr_Occurred()) SWIG_fail
;
17053 resultobj
= SWIG_Py_Void();
17068 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17069 PyObject
*resultobj
= 0;
17070 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17071 unsigned int arg2
;
17072 wxToolTip
*result
= 0 ;
17075 unsigned int val2
;
17077 PyObject
* obj0
= 0 ;
17078 PyObject
* obj1
= 0 ;
17079 char * kwnames
[] = {
17080 (char *) "self",(char *) "item", NULL
17083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17085 if (!SWIG_IsOK(res1
)) {
17086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17088 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17089 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17090 if (!SWIG_IsOK(ecode2
)) {
17091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17093 arg2
= static_cast< unsigned int >(val2
);
17095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17096 result
= (wxToolTip
*)((wxRadioBox
const *)arg1
)->GetItemToolTip(arg2
);
17097 wxPyEndAllowThreads(__tstate
);
17098 if (PyErr_Occurred()) SWIG_fail
;
17101 resultobj
= wxPyMake_wxObject(result
, (bool)0);
17109 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17110 PyObject
*resultobj
= 0;
17111 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17112 unsigned int arg2
;
17113 wxString
*arg3
= 0 ;
17116 unsigned int val2
;
17118 bool temp3
= false ;
17119 PyObject
* obj0
= 0 ;
17120 PyObject
* obj1
= 0 ;
17121 PyObject
* obj2
= 0 ;
17122 char * kwnames
[] = {
17123 (char *) "self",(char *) "n",(char *) "helpText", NULL
17126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemHelpText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17128 if (!SWIG_IsOK(res1
)) {
17129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17131 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17132 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17133 if (!SWIG_IsOK(ecode2
)) {
17134 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17136 arg2
= static_cast< unsigned int >(val2
);
17138 arg3
= wxString_in_helper(obj2
);
17139 if (arg3
== NULL
) SWIG_fail
;
17143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17144 (arg1
)->SetItemHelpText(arg2
,(wxString
const &)*arg3
);
17145 wxPyEndAllowThreads(__tstate
);
17146 if (PyErr_Occurred()) SWIG_fail
;
17148 resultobj
= SWIG_Py_Void();
17163 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17164 PyObject
*resultobj
= 0;
17165 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17166 unsigned int arg2
;
17170 unsigned int val2
;
17172 PyObject
* obj0
= 0 ;
17173 PyObject
* obj1
= 0 ;
17174 char * kwnames
[] = {
17175 (char *) "self",(char *) "n", NULL
17178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemHelpText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17180 if (!SWIG_IsOK(res1
)) {
17181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17183 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17184 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17185 if (!SWIG_IsOK(ecode2
)) {
17186 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17188 arg2
= static_cast< unsigned int >(val2
);
17190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17191 result
= ((wxRadioBox
const *)arg1
)->GetItemHelpText(arg2
);
17192 wxPyEndAllowThreads(__tstate
);
17193 if (PyErr_Occurred()) SWIG_fail
;
17197 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17199 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17208 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17209 PyObject
*resultobj
= 0;
17210 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17211 SwigValueWrapper
<wxVisualAttributes
> result
;
17214 PyObject
* obj0
= 0 ;
17215 char * kwnames
[] = {
17216 (char *) "variant", NULL
17219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17221 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17222 if (!SWIG_IsOK(ecode1
)) {
17223 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17225 arg1
= static_cast< wxWindowVariant
>(val1
);
17228 if (!wxPyCheckForApp()) SWIG_fail
;
17229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17230 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
17231 wxPyEndAllowThreads(__tstate
);
17232 if (PyErr_Occurred()) SWIG_fail
;
17234 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17241 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17243 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17244 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
17245 return SWIG_Py_Void();
17248 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17249 return SWIG_Python_InitShadowInstance(args
);
17252 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17253 PyObject
*resultobj
= 0;
17254 wxWindow
*arg1
= (wxWindow
*) 0 ;
17255 int arg2
= (int) -1 ;
17256 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17257 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17258 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17259 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17260 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17261 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17262 long arg6
= (long) 0 ;
17263 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17264 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17265 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
17266 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17267 wxRadioButton
*result
= 0 ;
17272 bool temp3
= false ;
17279 bool temp8
= false ;
17280 PyObject
* obj0
= 0 ;
17281 PyObject
* obj1
= 0 ;
17282 PyObject
* obj2
= 0 ;
17283 PyObject
* obj3
= 0 ;
17284 PyObject
* obj4
= 0 ;
17285 PyObject
* obj5
= 0 ;
17286 PyObject
* obj6
= 0 ;
17287 PyObject
* obj7
= 0 ;
17288 char * kwnames
[] = {
17289 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17294 if (!SWIG_IsOK(res1
)) {
17295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17297 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17299 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17300 if (!SWIG_IsOK(ecode2
)) {
17301 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17303 arg2
= static_cast< int >(val2
);
17307 arg3
= wxString_in_helper(obj2
);
17308 if (arg3
== NULL
) SWIG_fail
;
17315 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17321 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17325 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17326 if (!SWIG_IsOK(ecode6
)) {
17327 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17329 arg6
= static_cast< long >(val6
);
17332 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
17333 if (!SWIG_IsOK(res7
)) {
17334 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17337 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17339 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
17343 arg8
= wxString_in_helper(obj7
);
17344 if (arg8
== NULL
) SWIG_fail
;
17349 if (!wxPyCheckForApp()) SWIG_fail
;
17350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17351 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17352 wxPyEndAllowThreads(__tstate
);
17353 if (PyErr_Occurred()) SWIG_fail
;
17355 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17378 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17379 PyObject
*resultobj
= 0;
17380 wxRadioButton
*result
= 0 ;
17382 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17384 if (!wxPyCheckForApp()) SWIG_fail
;
17385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17386 result
= (wxRadioButton
*)new wxRadioButton();
17387 wxPyEndAllowThreads(__tstate
);
17388 if (PyErr_Occurred()) SWIG_fail
;
17390 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17397 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17398 PyObject
*resultobj
= 0;
17399 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17400 wxWindow
*arg2
= (wxWindow
*) 0 ;
17401 int arg3
= (int) -1 ;
17402 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17403 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17404 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17405 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17406 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17407 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17408 long arg7
= (long) 0 ;
17409 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17410 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17411 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17412 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17420 bool temp4
= false ;
17427 bool temp9
= false ;
17428 PyObject
* obj0
= 0 ;
17429 PyObject
* obj1
= 0 ;
17430 PyObject
* obj2
= 0 ;
17431 PyObject
* obj3
= 0 ;
17432 PyObject
* obj4
= 0 ;
17433 PyObject
* obj5
= 0 ;
17434 PyObject
* obj6
= 0 ;
17435 PyObject
* obj7
= 0 ;
17436 PyObject
* obj8
= 0 ;
17437 char * kwnames
[] = {
17438 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17443 if (!SWIG_IsOK(res1
)) {
17444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17446 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17447 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17448 if (!SWIG_IsOK(res2
)) {
17449 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17451 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17453 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17454 if (!SWIG_IsOK(ecode3
)) {
17455 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17457 arg3
= static_cast< int >(val3
);
17461 arg4
= wxString_in_helper(obj3
);
17462 if (arg4
== NULL
) SWIG_fail
;
17469 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17475 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17479 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17480 if (!SWIG_IsOK(ecode7
)) {
17481 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17483 arg7
= static_cast< long >(val7
);
17486 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17487 if (!SWIG_IsOK(res8
)) {
17488 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17491 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17493 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17497 arg9
= wxString_in_helper(obj8
);
17498 if (arg9
== NULL
) SWIG_fail
;
17503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17504 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17505 wxPyEndAllowThreads(__tstate
);
17506 if (PyErr_Occurred()) SWIG_fail
;
17509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17533 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17534 PyObject
*resultobj
= 0;
17535 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17539 PyObject
*swig_obj
[1] ;
17541 if (!args
) SWIG_fail
;
17542 swig_obj
[0] = args
;
17543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17544 if (!SWIG_IsOK(res1
)) {
17545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17547 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17550 result
= (bool)(arg1
)->GetValue();
17551 wxPyEndAllowThreads(__tstate
);
17552 if (PyErr_Occurred()) SWIG_fail
;
17555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17563 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17564 PyObject
*resultobj
= 0;
17565 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17571 PyObject
* obj0
= 0 ;
17572 PyObject
* obj1
= 0 ;
17573 char * kwnames
[] = {
17574 (char *) "self",(char *) "value", NULL
17577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17579 if (!SWIG_IsOK(res1
)) {
17580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17582 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17583 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17584 if (!SWIG_IsOK(ecode2
)) {
17585 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17587 arg2
= static_cast< bool >(val2
);
17589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17590 (arg1
)->SetValue(arg2
);
17591 wxPyEndAllowThreads(__tstate
);
17592 if (PyErr_Occurred()) SWIG_fail
;
17594 resultobj
= SWIG_Py_Void();
17601 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17602 PyObject
*resultobj
= 0;
17603 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17604 SwigValueWrapper
<wxVisualAttributes
> result
;
17607 PyObject
* obj0
= 0 ;
17608 char * kwnames
[] = {
17609 (char *) "variant", NULL
17612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17614 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17615 if (!SWIG_IsOK(ecode1
)) {
17616 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17618 arg1
= static_cast< wxWindowVariant
>(val1
);
17621 if (!wxPyCheckForApp()) SWIG_fail
;
17622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17623 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17624 wxPyEndAllowThreads(__tstate
);
17625 if (PyErr_Occurred()) SWIG_fail
;
17627 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17634 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17636 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17637 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17638 return SWIG_Py_Void();
17641 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17642 return SWIG_Python_InitShadowInstance(args
);
17645 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17646 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17651 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17652 PyObject
*pyobj
= 0;
17656 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17658 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17665 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17666 PyObject
*resultobj
= 0;
17667 wxWindow
*arg1
= (wxWindow
*) 0 ;
17668 int arg2
= (int) -1 ;
17669 int arg3
= (int) 0 ;
17670 int arg4
= (int) 0 ;
17671 int arg5
= (int) 100 ;
17672 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17673 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17674 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17675 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17676 long arg8
= (long) wxSL_HORIZONTAL
;
17677 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17678 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17679 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17680 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17681 wxSlider
*result
= 0 ;
17698 bool temp10
= false ;
17699 PyObject
* obj0
= 0 ;
17700 PyObject
* obj1
= 0 ;
17701 PyObject
* obj2
= 0 ;
17702 PyObject
* obj3
= 0 ;
17703 PyObject
* obj4
= 0 ;
17704 PyObject
* obj5
= 0 ;
17705 PyObject
* obj6
= 0 ;
17706 PyObject
* obj7
= 0 ;
17707 PyObject
* obj8
= 0 ;
17708 PyObject
* obj9
= 0 ;
17709 char * kwnames
[] = {
17710 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17715 if (!SWIG_IsOK(res1
)) {
17716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17718 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17720 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17721 if (!SWIG_IsOK(ecode2
)) {
17722 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17724 arg2
= static_cast< int >(val2
);
17727 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17728 if (!SWIG_IsOK(ecode3
)) {
17729 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17731 arg3
= static_cast< int >(val3
);
17734 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17735 if (!SWIG_IsOK(ecode4
)) {
17736 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17738 arg4
= static_cast< int >(val4
);
17741 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17742 if (!SWIG_IsOK(ecode5
)) {
17743 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17745 arg5
= static_cast< int >(val5
);
17750 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17756 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17760 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17761 if (!SWIG_IsOK(ecode8
)) {
17762 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17764 arg8
= static_cast< long >(val8
);
17767 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17768 if (!SWIG_IsOK(res9
)) {
17769 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17772 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17774 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17778 arg10
= wxString_in_helper(obj9
);
17779 if (arg10
== NULL
) SWIG_fail
;
17784 if (!wxPyCheckForApp()) SWIG_fail
;
17785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17786 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17787 wxPyEndAllowThreads(__tstate
);
17788 if (PyErr_Occurred()) SWIG_fail
;
17790 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17805 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17806 PyObject
*resultobj
= 0;
17807 wxSlider
*result
= 0 ;
17809 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17811 if (!wxPyCheckForApp()) SWIG_fail
;
17812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17813 result
= (wxSlider
*)new wxSlider();
17814 wxPyEndAllowThreads(__tstate
);
17815 if (PyErr_Occurred()) SWIG_fail
;
17817 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17824 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17825 PyObject
*resultobj
= 0;
17826 wxSlider
*arg1
= (wxSlider
*) 0 ;
17827 wxWindow
*arg2
= (wxWindow
*) 0 ;
17828 int arg3
= (int) -1 ;
17829 int arg4
= (int) 0 ;
17830 int arg5
= (int) 0 ;
17831 int arg6
= (int) 100 ;
17832 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17833 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17834 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17835 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17836 long arg9
= (long) wxSL_HORIZONTAL
;
17837 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17838 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17839 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17840 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17860 bool temp11
= false ;
17861 PyObject
* obj0
= 0 ;
17862 PyObject
* obj1
= 0 ;
17863 PyObject
* obj2
= 0 ;
17864 PyObject
* obj3
= 0 ;
17865 PyObject
* obj4
= 0 ;
17866 PyObject
* obj5
= 0 ;
17867 PyObject
* obj6
= 0 ;
17868 PyObject
* obj7
= 0 ;
17869 PyObject
* obj8
= 0 ;
17870 PyObject
* obj9
= 0 ;
17871 PyObject
* obj10
= 0 ;
17872 char * kwnames
[] = {
17873 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17878 if (!SWIG_IsOK(res1
)) {
17879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17881 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17882 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17883 if (!SWIG_IsOK(res2
)) {
17884 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17886 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17888 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17889 if (!SWIG_IsOK(ecode3
)) {
17890 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17892 arg3
= static_cast< int >(val3
);
17895 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17896 if (!SWIG_IsOK(ecode4
)) {
17897 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17899 arg4
= static_cast< int >(val4
);
17902 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17903 if (!SWIG_IsOK(ecode5
)) {
17904 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17906 arg5
= static_cast< int >(val5
);
17909 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17910 if (!SWIG_IsOK(ecode6
)) {
17911 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17913 arg6
= static_cast< int >(val6
);
17918 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17924 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
17928 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
17929 if (!SWIG_IsOK(ecode9
)) {
17930 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17932 arg9
= static_cast< long >(val9
);
17935 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
17936 if (!SWIG_IsOK(res10
)) {
17937 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17940 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17942 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
17946 arg11
= wxString_in_helper(obj10
);
17947 if (arg11
== NULL
) SWIG_fail
;
17952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17953 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
17954 wxPyEndAllowThreads(__tstate
);
17955 if (PyErr_Occurred()) SWIG_fail
;
17958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17974 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17975 PyObject
*resultobj
= 0;
17976 wxSlider
*arg1
= (wxSlider
*) 0 ;
17980 PyObject
*swig_obj
[1] ;
17982 if (!args
) SWIG_fail
;
17983 swig_obj
[0] = args
;
17984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17985 if (!SWIG_IsOK(res1
)) {
17986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
17988 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17991 result
= (int)((wxSlider
const *)arg1
)->GetValue();
17992 wxPyEndAllowThreads(__tstate
);
17993 if (PyErr_Occurred()) SWIG_fail
;
17995 resultobj
= SWIG_From_int(static_cast< int >(result
));
18002 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18003 PyObject
*resultobj
= 0;
18004 wxSlider
*arg1
= (wxSlider
*) 0 ;
18010 PyObject
* obj0
= 0 ;
18011 PyObject
* obj1
= 0 ;
18012 char * kwnames
[] = {
18013 (char *) "self",(char *) "value", NULL
18016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18018 if (!SWIG_IsOK(res1
)) {
18019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
18021 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18022 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18023 if (!SWIG_IsOK(ecode2
)) {
18024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
18026 arg2
= static_cast< int >(val2
);
18028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18029 (arg1
)->SetValue(arg2
);
18030 wxPyEndAllowThreads(__tstate
);
18031 if (PyErr_Occurred()) SWIG_fail
;
18033 resultobj
= SWIG_Py_Void();
18040 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18041 PyObject
*resultobj
= 0;
18042 wxSlider
*arg1
= (wxSlider
*) 0 ;
18051 PyObject
* obj0
= 0 ;
18052 PyObject
* obj1
= 0 ;
18053 PyObject
* obj2
= 0 ;
18054 char * kwnames
[] = {
18055 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
18058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18060 if (!SWIG_IsOK(res1
)) {
18061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
18063 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18064 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18065 if (!SWIG_IsOK(ecode2
)) {
18066 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
18068 arg2
= static_cast< int >(val2
);
18069 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18070 if (!SWIG_IsOK(ecode3
)) {
18071 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
18073 arg3
= static_cast< int >(val3
);
18075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18076 (arg1
)->SetRange(arg2
,arg3
);
18077 wxPyEndAllowThreads(__tstate
);
18078 if (PyErr_Occurred()) SWIG_fail
;
18080 resultobj
= SWIG_Py_Void();
18087 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18088 PyObject
*resultobj
= 0;
18089 wxSlider
*arg1
= (wxSlider
*) 0 ;
18093 PyObject
*swig_obj
[1] ;
18095 if (!args
) SWIG_fail
;
18096 swig_obj
[0] = args
;
18097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18098 if (!SWIG_IsOK(res1
)) {
18099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
18101 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18104 result
= (int)((wxSlider
const *)arg1
)->GetMin();
18105 wxPyEndAllowThreads(__tstate
);
18106 if (PyErr_Occurred()) SWIG_fail
;
18108 resultobj
= SWIG_From_int(static_cast< int >(result
));
18115 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18116 PyObject
*resultobj
= 0;
18117 wxSlider
*arg1
= (wxSlider
*) 0 ;
18121 PyObject
*swig_obj
[1] ;
18123 if (!args
) SWIG_fail
;
18124 swig_obj
[0] = args
;
18125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18126 if (!SWIG_IsOK(res1
)) {
18127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
18129 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18132 result
= (int)((wxSlider
const *)arg1
)->GetMax();
18133 wxPyEndAllowThreads(__tstate
);
18134 if (PyErr_Occurred()) SWIG_fail
;
18136 resultobj
= SWIG_From_int(static_cast< int >(result
));
18143 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18144 PyObject
*resultobj
= 0;
18145 wxSlider
*arg1
= (wxSlider
*) 0 ;
18151 PyObject
* obj0
= 0 ;
18152 PyObject
* obj1
= 0 ;
18153 char * kwnames
[] = {
18154 (char *) "self",(char *) "minValue", NULL
18157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18159 if (!SWIG_IsOK(res1
)) {
18160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
18162 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18163 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18164 if (!SWIG_IsOK(ecode2
)) {
18165 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
18167 arg2
= static_cast< int >(val2
);
18169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18170 (arg1
)->SetMin(arg2
);
18171 wxPyEndAllowThreads(__tstate
);
18172 if (PyErr_Occurred()) SWIG_fail
;
18174 resultobj
= SWIG_Py_Void();
18181 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18182 PyObject
*resultobj
= 0;
18183 wxSlider
*arg1
= (wxSlider
*) 0 ;
18189 PyObject
* obj0
= 0 ;
18190 PyObject
* obj1
= 0 ;
18191 char * kwnames
[] = {
18192 (char *) "self",(char *) "maxValue", NULL
18195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18197 if (!SWIG_IsOK(res1
)) {
18198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
18200 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18201 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18202 if (!SWIG_IsOK(ecode2
)) {
18203 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
18205 arg2
= static_cast< int >(val2
);
18207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18208 (arg1
)->SetMax(arg2
);
18209 wxPyEndAllowThreads(__tstate
);
18210 if (PyErr_Occurred()) SWIG_fail
;
18212 resultobj
= SWIG_Py_Void();
18219 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18220 PyObject
*resultobj
= 0;
18221 wxSlider
*arg1
= (wxSlider
*) 0 ;
18227 PyObject
* obj0
= 0 ;
18228 PyObject
* obj1
= 0 ;
18229 char * kwnames
[] = {
18230 (char *) "self",(char *) "lineSize", NULL
18233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18235 if (!SWIG_IsOK(res1
)) {
18236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18238 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18239 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18240 if (!SWIG_IsOK(ecode2
)) {
18241 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18243 arg2
= static_cast< int >(val2
);
18245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18246 (arg1
)->SetLineSize(arg2
);
18247 wxPyEndAllowThreads(__tstate
);
18248 if (PyErr_Occurred()) SWIG_fail
;
18250 resultobj
= SWIG_Py_Void();
18257 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18258 PyObject
*resultobj
= 0;
18259 wxSlider
*arg1
= (wxSlider
*) 0 ;
18265 PyObject
* obj0
= 0 ;
18266 PyObject
* obj1
= 0 ;
18267 char * kwnames
[] = {
18268 (char *) "self",(char *) "pageSize", NULL
18271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18273 if (!SWIG_IsOK(res1
)) {
18274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18276 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18277 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18278 if (!SWIG_IsOK(ecode2
)) {
18279 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18281 arg2
= static_cast< int >(val2
);
18283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18284 (arg1
)->SetPageSize(arg2
);
18285 wxPyEndAllowThreads(__tstate
);
18286 if (PyErr_Occurred()) SWIG_fail
;
18288 resultobj
= SWIG_Py_Void();
18295 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18296 PyObject
*resultobj
= 0;
18297 wxSlider
*arg1
= (wxSlider
*) 0 ;
18301 PyObject
*swig_obj
[1] ;
18303 if (!args
) SWIG_fail
;
18304 swig_obj
[0] = args
;
18305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18306 if (!SWIG_IsOK(res1
)) {
18307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18309 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18312 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
18313 wxPyEndAllowThreads(__tstate
);
18314 if (PyErr_Occurred()) SWIG_fail
;
18316 resultobj
= SWIG_From_int(static_cast< int >(result
));
18323 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18324 PyObject
*resultobj
= 0;
18325 wxSlider
*arg1
= (wxSlider
*) 0 ;
18329 PyObject
*swig_obj
[1] ;
18331 if (!args
) SWIG_fail
;
18332 swig_obj
[0] = args
;
18333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18334 if (!SWIG_IsOK(res1
)) {
18335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18337 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18340 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
18341 wxPyEndAllowThreads(__tstate
);
18342 if (PyErr_Occurred()) SWIG_fail
;
18344 resultobj
= SWIG_From_int(static_cast< int >(result
));
18351 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18352 PyObject
*resultobj
= 0;
18353 wxSlider
*arg1
= (wxSlider
*) 0 ;
18359 PyObject
* obj0
= 0 ;
18360 PyObject
* obj1
= 0 ;
18361 char * kwnames
[] = {
18362 (char *) "self",(char *) "lenPixels", NULL
18365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18367 if (!SWIG_IsOK(res1
)) {
18368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18370 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18371 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18372 if (!SWIG_IsOK(ecode2
)) {
18373 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18375 arg2
= static_cast< int >(val2
);
18377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18378 (arg1
)->SetThumbLength(arg2
);
18379 wxPyEndAllowThreads(__tstate
);
18380 if (PyErr_Occurred()) SWIG_fail
;
18382 resultobj
= SWIG_Py_Void();
18389 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18390 PyObject
*resultobj
= 0;
18391 wxSlider
*arg1
= (wxSlider
*) 0 ;
18395 PyObject
*swig_obj
[1] ;
18397 if (!args
) SWIG_fail
;
18398 swig_obj
[0] = args
;
18399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18400 if (!SWIG_IsOK(res1
)) {
18401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18403 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18406 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18407 wxPyEndAllowThreads(__tstate
);
18408 if (PyErr_Occurred()) SWIG_fail
;
18410 resultobj
= SWIG_From_int(static_cast< int >(result
));
18417 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18418 PyObject
*resultobj
= 0;
18419 wxSlider
*arg1
= (wxSlider
*) 0 ;
18421 int arg3
= (int) 1 ;
18428 PyObject
* obj0
= 0 ;
18429 PyObject
* obj1
= 0 ;
18430 PyObject
* obj2
= 0 ;
18431 char * kwnames
[] = {
18432 (char *) "self",(char *) "n",(char *) "pos", NULL
18435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18437 if (!SWIG_IsOK(res1
)) {
18438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18440 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18441 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18442 if (!SWIG_IsOK(ecode2
)) {
18443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18445 arg2
= static_cast< int >(val2
);
18447 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18448 if (!SWIG_IsOK(ecode3
)) {
18449 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18451 arg3
= static_cast< int >(val3
);
18454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18455 (arg1
)->SetTickFreq(arg2
,arg3
);
18456 wxPyEndAllowThreads(__tstate
);
18457 if (PyErr_Occurred()) SWIG_fail
;
18459 resultobj
= SWIG_Py_Void();
18466 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18467 PyObject
*resultobj
= 0;
18468 wxSlider
*arg1
= (wxSlider
*) 0 ;
18472 PyObject
*swig_obj
[1] ;
18474 if (!args
) SWIG_fail
;
18475 swig_obj
[0] = args
;
18476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18477 if (!SWIG_IsOK(res1
)) {
18478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18480 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18483 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18484 wxPyEndAllowThreads(__tstate
);
18485 if (PyErr_Occurred()) SWIG_fail
;
18487 resultobj
= SWIG_From_int(static_cast< int >(result
));
18494 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18495 PyObject
*resultobj
= 0;
18496 wxSlider
*arg1
= (wxSlider
*) 0 ;
18499 PyObject
*swig_obj
[1] ;
18501 if (!args
) SWIG_fail
;
18502 swig_obj
[0] = args
;
18503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18504 if (!SWIG_IsOK(res1
)) {
18505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18507 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18510 (arg1
)->ClearTicks();
18511 wxPyEndAllowThreads(__tstate
);
18512 if (PyErr_Occurred()) SWIG_fail
;
18514 resultobj
= SWIG_Py_Void();
18521 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18522 PyObject
*resultobj
= 0;
18523 wxSlider
*arg1
= (wxSlider
*) 0 ;
18529 PyObject
* obj0
= 0 ;
18530 PyObject
* obj1
= 0 ;
18531 char * kwnames
[] = {
18532 (char *) "self",(char *) "tickPos", NULL
18535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18537 if (!SWIG_IsOK(res1
)) {
18538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18540 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18541 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18542 if (!SWIG_IsOK(ecode2
)) {
18543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18545 arg2
= static_cast< int >(val2
);
18547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18548 (arg1
)->SetTick(arg2
);
18549 wxPyEndAllowThreads(__tstate
);
18550 if (PyErr_Occurred()) SWIG_fail
;
18552 resultobj
= SWIG_Py_Void();
18559 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18560 PyObject
*resultobj
= 0;
18561 wxSlider
*arg1
= (wxSlider
*) 0 ;
18564 PyObject
*swig_obj
[1] ;
18566 if (!args
) SWIG_fail
;
18567 swig_obj
[0] = args
;
18568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18569 if (!SWIG_IsOK(res1
)) {
18570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18572 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18575 (arg1
)->ClearSel();
18576 wxPyEndAllowThreads(__tstate
);
18577 if (PyErr_Occurred()) SWIG_fail
;
18579 resultobj
= SWIG_Py_Void();
18586 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18587 PyObject
*resultobj
= 0;
18588 wxSlider
*arg1
= (wxSlider
*) 0 ;
18592 PyObject
*swig_obj
[1] ;
18594 if (!args
) SWIG_fail
;
18595 swig_obj
[0] = args
;
18596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18597 if (!SWIG_IsOK(res1
)) {
18598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18600 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18603 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18604 wxPyEndAllowThreads(__tstate
);
18605 if (PyErr_Occurred()) SWIG_fail
;
18607 resultobj
= SWIG_From_int(static_cast< int >(result
));
18614 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18615 PyObject
*resultobj
= 0;
18616 wxSlider
*arg1
= (wxSlider
*) 0 ;
18620 PyObject
*swig_obj
[1] ;
18622 if (!args
) SWIG_fail
;
18623 swig_obj
[0] = args
;
18624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18625 if (!SWIG_IsOK(res1
)) {
18626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18628 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18631 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18632 wxPyEndAllowThreads(__tstate
);
18633 if (PyErr_Occurred()) SWIG_fail
;
18635 resultobj
= SWIG_From_int(static_cast< int >(result
));
18642 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18643 PyObject
*resultobj
= 0;
18644 wxSlider
*arg1
= (wxSlider
*) 0 ;
18653 PyObject
* obj0
= 0 ;
18654 PyObject
* obj1
= 0 ;
18655 PyObject
* obj2
= 0 ;
18656 char * kwnames
[] = {
18657 (char *) "self",(char *) "min",(char *) "max", NULL
18660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18662 if (!SWIG_IsOK(res1
)) {
18663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18665 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18666 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18667 if (!SWIG_IsOK(ecode2
)) {
18668 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18670 arg2
= static_cast< int >(val2
);
18671 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18672 if (!SWIG_IsOK(ecode3
)) {
18673 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18675 arg3
= static_cast< int >(val3
);
18677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18678 (arg1
)->SetSelection(arg2
,arg3
);
18679 wxPyEndAllowThreads(__tstate
);
18680 if (PyErr_Occurred()) SWIG_fail
;
18682 resultobj
= SWIG_Py_Void();
18689 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18690 PyObject
*resultobj
= 0;
18691 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18692 SwigValueWrapper
<wxVisualAttributes
> result
;
18695 PyObject
* obj0
= 0 ;
18696 char * kwnames
[] = {
18697 (char *) "variant", NULL
18700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18702 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18703 if (!SWIG_IsOK(ecode1
)) {
18704 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18706 arg1
= static_cast< wxWindowVariant
>(val1
);
18709 if (!wxPyCheckForApp()) SWIG_fail
;
18710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18711 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18712 wxPyEndAllowThreads(__tstate
);
18713 if (PyErr_Occurred()) SWIG_fail
;
18715 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18722 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18724 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18725 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18726 return SWIG_Py_Void();
18729 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18730 return SWIG_Python_InitShadowInstance(args
);
18733 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18734 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18739 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18740 PyObject
*pyobj
= 0;
18744 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18746 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18753 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18754 PyObject
*resultobj
= 0;
18755 wxWindow
*arg1
= (wxWindow
*) 0 ;
18756 int arg2
= (int) -1 ;
18757 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18758 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18759 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18760 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18761 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18762 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18763 long arg6
= (long) 0 ;
18764 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18765 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18766 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18767 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18768 wxToggleButton
*result
= 0 ;
18773 bool temp3
= false ;
18780 bool temp8
= false ;
18781 PyObject
* obj0
= 0 ;
18782 PyObject
* obj1
= 0 ;
18783 PyObject
* obj2
= 0 ;
18784 PyObject
* obj3
= 0 ;
18785 PyObject
* obj4
= 0 ;
18786 PyObject
* obj5
= 0 ;
18787 PyObject
* obj6
= 0 ;
18788 PyObject
* obj7
= 0 ;
18789 char * kwnames
[] = {
18790 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18795 if (!SWIG_IsOK(res1
)) {
18796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18798 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18800 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18801 if (!SWIG_IsOK(ecode2
)) {
18802 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18804 arg2
= static_cast< int >(val2
);
18808 arg3
= wxString_in_helper(obj2
);
18809 if (arg3
== NULL
) SWIG_fail
;
18816 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18822 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18826 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18827 if (!SWIG_IsOK(ecode6
)) {
18828 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18830 arg6
= static_cast< long >(val6
);
18833 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18834 if (!SWIG_IsOK(res7
)) {
18835 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18838 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18840 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18844 arg8
= wxString_in_helper(obj7
);
18845 if (arg8
== NULL
) SWIG_fail
;
18850 if (!wxPyCheckForApp()) SWIG_fail
;
18851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18852 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18853 wxPyEndAllowThreads(__tstate
);
18854 if (PyErr_Occurred()) SWIG_fail
;
18856 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18879 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18880 PyObject
*resultobj
= 0;
18881 wxToggleButton
*result
= 0 ;
18883 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
18885 if (!wxPyCheckForApp()) SWIG_fail
;
18886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18887 result
= (wxToggleButton
*)new wxToggleButton();
18888 wxPyEndAllowThreads(__tstate
);
18889 if (PyErr_Occurred()) SWIG_fail
;
18891 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
18898 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18899 PyObject
*resultobj
= 0;
18900 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18901 wxWindow
*arg2
= (wxWindow
*) 0 ;
18902 int arg3
= (int) -1 ;
18903 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18904 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18905 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18906 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18907 wxSize
const &arg6_defvalue
= wxDefaultSize
;
18908 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
18909 long arg7
= (long) 0 ;
18910 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18911 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18912 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
18913 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
18921 bool temp4
= false ;
18928 bool temp9
= false ;
18929 PyObject
* obj0
= 0 ;
18930 PyObject
* obj1
= 0 ;
18931 PyObject
* obj2
= 0 ;
18932 PyObject
* obj3
= 0 ;
18933 PyObject
* obj4
= 0 ;
18934 PyObject
* obj5
= 0 ;
18935 PyObject
* obj6
= 0 ;
18936 PyObject
* obj7
= 0 ;
18937 PyObject
* obj8
= 0 ;
18938 char * kwnames
[] = {
18939 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
18943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18944 if (!SWIG_IsOK(res1
)) {
18945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18947 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18948 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18949 if (!SWIG_IsOK(res2
)) {
18950 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18952 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18954 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18955 if (!SWIG_IsOK(ecode3
)) {
18956 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18958 arg3
= static_cast< int >(val3
);
18962 arg4
= wxString_in_helper(obj3
);
18963 if (arg4
== NULL
) SWIG_fail
;
18970 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18976 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
18980 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18981 if (!SWIG_IsOK(ecode7
)) {
18982 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
18984 arg7
= static_cast< long >(val7
);
18987 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
18988 if (!SWIG_IsOK(res8
)) {
18989 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18992 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18994 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
18998 arg9
= wxString_in_helper(obj8
);
18999 if (arg9
== NULL
) SWIG_fail
;
19004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19005 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
19006 wxPyEndAllowThreads(__tstate
);
19007 if (PyErr_Occurred()) SWIG_fail
;
19010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19034 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19035 PyObject
*resultobj
= 0;
19036 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19042 PyObject
* obj0
= 0 ;
19043 PyObject
* obj1
= 0 ;
19044 char * kwnames
[] = {
19045 (char *) "self",(char *) "value", NULL
19048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19050 if (!SWIG_IsOK(res1
)) {
19051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19053 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19054 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19055 if (!SWIG_IsOK(ecode2
)) {
19056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
19058 arg2
= static_cast< bool >(val2
);
19060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19061 (arg1
)->SetValue(arg2
);
19062 wxPyEndAllowThreads(__tstate
);
19063 if (PyErr_Occurred()) SWIG_fail
;
19065 resultobj
= SWIG_Py_Void();
19072 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19073 PyObject
*resultobj
= 0;
19074 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19078 PyObject
*swig_obj
[1] ;
19080 if (!args
) SWIG_fail
;
19081 swig_obj
[0] = args
;
19082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19083 if (!SWIG_IsOK(res1
)) {
19084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
19086 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19089 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
19090 wxPyEndAllowThreads(__tstate
);
19091 if (PyErr_Occurred()) SWIG_fail
;
19094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19102 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19103 PyObject
*resultobj
= 0;
19104 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
19105 SwigValueWrapper
<wxVisualAttributes
> result
;
19108 PyObject
* obj0
= 0 ;
19109 char * kwnames
[] = {
19110 (char *) "variant", NULL
19113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
19115 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19116 if (!SWIG_IsOK(ecode1
)) {
19117 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19119 arg1
= static_cast< wxWindowVariant
>(val1
);
19122 if (!wxPyCheckForApp()) SWIG_fail
;
19123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19124 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
19125 wxPyEndAllowThreads(__tstate
);
19126 if (PyErr_Occurred()) SWIG_fail
;
19128 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
19135 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19137 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19138 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
19139 return SWIG_Py_Void();
19142 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19143 return SWIG_Python_InitShadowInstance(args
);
19146 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
19147 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
19152 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
19153 PyObject
*pyobj
= 0;
19157 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19159 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19166 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19167 PyObject
*resultobj
= 0;
19168 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19172 PyObject
*swig_obj
[1] ;
19174 if (!args
) SWIG_fail
;
19175 swig_obj
[0] = args
;
19176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19177 if (!SWIG_IsOK(res1
)) {
19178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19180 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19183 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
19184 wxPyEndAllowThreads(__tstate
);
19185 if (PyErr_Occurred()) SWIG_fail
;
19187 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19194 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19195 PyObject
*resultobj
= 0;
19196 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19198 wxWindow
*result
= 0 ;
19203 PyObject
* obj0
= 0 ;
19204 PyObject
* obj1
= 0 ;
19205 char * kwnames
[] = {
19206 (char *) "self",(char *) "n", NULL
19209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19211 if (!SWIG_IsOK(res1
)) {
19212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19214 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19215 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19216 if (!SWIG_IsOK(ecode2
)) {
19217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19219 arg2
= static_cast< size_t >(val2
);
19221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19222 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
19223 wxPyEndAllowThreads(__tstate
);
19224 if (PyErr_Occurred()) SWIG_fail
;
19227 resultobj
= wxPyMake_wxObject(result
, 0);
19235 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19236 PyObject
*resultobj
= 0;
19237 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19238 wxWindow
*result
= 0 ;
19241 PyObject
*swig_obj
[1] ;
19243 if (!args
) SWIG_fail
;
19244 swig_obj
[0] = args
;
19245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19246 if (!SWIG_IsOK(res1
)) {
19247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19249 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19252 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
19253 wxPyEndAllowThreads(__tstate
);
19254 if (PyErr_Occurred()) SWIG_fail
;
19257 resultobj
= wxPyMake_wxObject(result
, 0);
19265 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19266 PyObject
*resultobj
= 0;
19267 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19271 PyObject
*swig_obj
[1] ;
19273 if (!args
) SWIG_fail
;
19274 swig_obj
[0] = args
;
19275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19276 if (!SWIG_IsOK(res1
)) {
19277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19279 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19282 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
19283 wxPyEndAllowThreads(__tstate
);
19284 if (PyErr_Occurred()) SWIG_fail
;
19286 resultobj
= SWIG_From_int(static_cast< int >(result
));
19293 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19294 PyObject
*resultobj
= 0;
19295 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19297 wxString
*arg3
= 0 ;
19303 bool temp3
= false ;
19304 PyObject
* obj0
= 0 ;
19305 PyObject
* obj1
= 0 ;
19306 PyObject
* obj2
= 0 ;
19307 char * kwnames
[] = {
19308 (char *) "self",(char *) "n",(char *) "strText", NULL
19311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19313 if (!SWIG_IsOK(res1
)) {
19314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19316 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19317 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19318 if (!SWIG_IsOK(ecode2
)) {
19319 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19321 arg2
= static_cast< size_t >(val2
);
19323 arg3
= wxString_in_helper(obj2
);
19324 if (arg3
== NULL
) SWIG_fail
;
19328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19329 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
19330 wxPyEndAllowThreads(__tstate
);
19331 if (PyErr_Occurred()) SWIG_fail
;
19334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19350 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19351 PyObject
*resultobj
= 0;
19352 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19359 PyObject
* obj0
= 0 ;
19360 PyObject
* obj1
= 0 ;
19361 char * kwnames
[] = {
19362 (char *) "self",(char *) "n", NULL
19365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19367 if (!SWIG_IsOK(res1
)) {
19368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19370 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19371 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19372 if (!SWIG_IsOK(ecode2
)) {
19373 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19375 arg2
= static_cast< size_t >(val2
);
19377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19378 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19379 wxPyEndAllowThreads(__tstate
);
19380 if (PyErr_Occurred()) SWIG_fail
;
19384 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19386 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19395 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19396 PyObject
*resultobj
= 0;
19397 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19398 wxImageList
*arg2
= (wxImageList
*) 0 ;
19403 PyObject
* obj0
= 0 ;
19404 PyObject
* obj1
= 0 ;
19405 char * kwnames
[] = {
19406 (char *) "self",(char *) "imageList", NULL
19409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19411 if (!SWIG_IsOK(res1
)) {
19412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19414 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19415 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19416 if (!SWIG_IsOK(res2
)) {
19417 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19419 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19422 (arg1
)->SetImageList(arg2
);
19423 wxPyEndAllowThreads(__tstate
);
19424 if (PyErr_Occurred()) SWIG_fail
;
19426 resultobj
= SWIG_Py_Void();
19433 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19434 PyObject
*resultobj
= 0;
19435 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19436 wxImageList
*arg2
= (wxImageList
*) 0 ;
19440 PyObject
* obj0
= 0 ;
19441 PyObject
* obj1
= 0 ;
19442 char * kwnames
[] = {
19443 (char *) "self",(char *) "imageList", NULL
19446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19448 if (!SWIG_IsOK(res1
)) {
19449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19451 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19452 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19453 if (!SWIG_IsOK(res2
)) {
19454 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19458 (arg1
)->AssignImageList(arg2
);
19459 wxPyEndAllowThreads(__tstate
);
19460 if (PyErr_Occurred()) SWIG_fail
;
19462 resultobj
= SWIG_Py_Void();
19469 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19470 PyObject
*resultobj
= 0;
19471 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19472 wxImageList
*result
= 0 ;
19475 PyObject
*swig_obj
[1] ;
19477 if (!args
) SWIG_fail
;
19478 swig_obj
[0] = args
;
19479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19480 if (!SWIG_IsOK(res1
)) {
19481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19483 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19486 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19487 wxPyEndAllowThreads(__tstate
);
19488 if (PyErr_Occurred()) SWIG_fail
;
19491 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19499 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19500 PyObject
*resultobj
= 0;
19501 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19508 PyObject
* obj0
= 0 ;
19509 PyObject
* obj1
= 0 ;
19510 char * kwnames
[] = {
19511 (char *) "self",(char *) "n", NULL
19514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19516 if (!SWIG_IsOK(res1
)) {
19517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19519 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19520 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19521 if (!SWIG_IsOK(ecode2
)) {
19522 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19524 arg2
= static_cast< size_t >(val2
);
19526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19527 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19528 wxPyEndAllowThreads(__tstate
);
19529 if (PyErr_Occurred()) SWIG_fail
;
19531 resultobj
= SWIG_From_int(static_cast< int >(result
));
19538 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19539 PyObject
*resultobj
= 0;
19540 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19550 PyObject
* obj0
= 0 ;
19551 PyObject
* obj1
= 0 ;
19552 PyObject
* obj2
= 0 ;
19553 char * kwnames
[] = {
19554 (char *) "self",(char *) "n",(char *) "imageId", NULL
19557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19559 if (!SWIG_IsOK(res1
)) {
19560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19562 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19563 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19564 if (!SWIG_IsOK(ecode2
)) {
19565 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19567 arg2
= static_cast< size_t >(val2
);
19568 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19569 if (!SWIG_IsOK(ecode3
)) {
19570 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19572 arg3
= static_cast< int >(val3
);
19574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19575 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19576 wxPyEndAllowThreads(__tstate
);
19577 if (PyErr_Occurred()) SWIG_fail
;
19580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19588 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19589 PyObject
*resultobj
= 0;
19590 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19595 PyObject
* obj0
= 0 ;
19596 PyObject
* obj1
= 0 ;
19597 char * kwnames
[] = {
19598 (char *) "self",(char *) "size", NULL
19601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19603 if (!SWIG_IsOK(res1
)) {
19604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19606 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19609 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19613 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19614 wxPyEndAllowThreads(__tstate
);
19615 if (PyErr_Occurred()) SWIG_fail
;
19617 resultobj
= SWIG_Py_Void();
19624 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19625 PyObject
*resultobj
= 0;
19626 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19632 PyObject
* obj0
= 0 ;
19633 PyObject
* obj1
= 0 ;
19634 char * kwnames
[] = {
19635 (char *) "self",(char *) "sizePage", NULL
19638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19640 if (!SWIG_IsOK(res1
)) {
19641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19643 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19646 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19650 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19651 wxPyEndAllowThreads(__tstate
);
19652 if (PyErr_Occurred()) SWIG_fail
;
19654 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19661 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19662 PyObject
*resultobj
= 0;
19663 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19664 unsigned int result
;
19667 PyObject
*swig_obj
[1] ;
19669 if (!args
) SWIG_fail
;
19670 swig_obj
[0] = args
;
19671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19672 if (!SWIG_IsOK(res1
)) {
19673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19675 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19678 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19679 wxPyEndAllowThreads(__tstate
);
19680 if (PyErr_Occurred()) SWIG_fail
;
19682 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19689 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19690 PyObject
*resultobj
= 0;
19691 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19692 unsigned int arg2
;
19695 unsigned int val2
;
19697 PyObject
* obj0
= 0 ;
19698 PyObject
* obj1
= 0 ;
19699 char * kwnames
[] = {
19700 (char *) "self",(char *) "internalBorder", NULL
19703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19705 if (!SWIG_IsOK(res1
)) {
19706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19708 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19709 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19710 if (!SWIG_IsOK(ecode2
)) {
19711 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19713 arg2
= static_cast< unsigned int >(val2
);
19715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19716 (arg1
)->SetInternalBorder(arg2
);
19717 wxPyEndAllowThreads(__tstate
);
19718 if (PyErr_Occurred()) SWIG_fail
;
19720 resultobj
= SWIG_Py_Void();
19727 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19728 PyObject
*resultobj
= 0;
19729 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19733 PyObject
*swig_obj
[1] ;
19735 if (!args
) SWIG_fail
;
19736 swig_obj
[0] = args
;
19737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19738 if (!SWIG_IsOK(res1
)) {
19739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19741 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19744 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19745 wxPyEndAllowThreads(__tstate
);
19746 if (PyErr_Occurred()) SWIG_fail
;
19749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19757 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19758 PyObject
*resultobj
= 0;
19759 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19765 PyObject
* obj0
= 0 ;
19766 PyObject
* obj1
= 0 ;
19767 char * kwnames
[] = {
19768 (char *) "self",(char *) "margin", NULL
19771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19773 if (!SWIG_IsOK(res1
)) {
19774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19776 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19777 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19778 if (!SWIG_IsOK(ecode2
)) {
19779 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19781 arg2
= static_cast< int >(val2
);
19783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19784 (arg1
)->SetControlMargin(arg2
);
19785 wxPyEndAllowThreads(__tstate
);
19786 if (PyErr_Occurred()) SWIG_fail
;
19788 resultobj
= SWIG_Py_Void();
19795 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19796 PyObject
*resultobj
= 0;
19797 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19801 PyObject
*swig_obj
[1] ;
19803 if (!args
) SWIG_fail
;
19804 swig_obj
[0] = args
;
19805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19806 if (!SWIG_IsOK(res1
)) {
19807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19809 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19812 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
19813 wxPyEndAllowThreads(__tstate
);
19814 if (PyErr_Occurred()) SWIG_fail
;
19816 resultobj
= SWIG_From_int(static_cast< int >(result
));
19823 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19824 PyObject
*resultobj
= 0;
19825 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19831 PyObject
* obj0
= 0 ;
19832 PyObject
* obj1
= 0 ;
19833 char * kwnames
[] = {
19834 (char *) "self",(char *) "fit", NULL
19837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19839 if (!SWIG_IsOK(res1
)) {
19840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19842 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19843 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19844 if (!SWIG_IsOK(ecode2
)) {
19845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19847 arg2
= static_cast< bool >(val2
);
19849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19850 (arg1
)->SetFitToCurrentPage(arg2
);
19851 wxPyEndAllowThreads(__tstate
);
19852 if (PyErr_Occurred()) SWIG_fail
;
19854 resultobj
= SWIG_Py_Void();
19861 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19862 PyObject
*resultobj
= 0;
19863 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19867 PyObject
*swig_obj
[1] ;
19869 if (!args
) SWIG_fail
;
19870 swig_obj
[0] = args
;
19871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19872 if (!SWIG_IsOK(res1
)) {
19873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19875 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19878 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19879 wxPyEndAllowThreads(__tstate
);
19880 if (PyErr_Occurred()) SWIG_fail
;
19883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19891 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19892 PyObject
*resultobj
= 0;
19893 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19894 wxSizer
*result
= 0 ;
19897 PyObject
*swig_obj
[1] ;
19899 if (!args
) SWIG_fail
;
19900 swig_obj
[0] = args
;
19901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19902 if (!SWIG_IsOK(res1
)) {
19903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19905 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19908 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
19909 wxPyEndAllowThreads(__tstate
);
19910 if (PyErr_Occurred()) SWIG_fail
;
19913 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19921 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19922 PyObject
*resultobj
= 0;
19923 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19930 PyObject
* obj0
= 0 ;
19931 PyObject
* obj1
= 0 ;
19932 char * kwnames
[] = {
19933 (char *) "self",(char *) "n", NULL
19936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19938 if (!SWIG_IsOK(res1
)) {
19939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19941 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19942 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19943 if (!SWIG_IsOK(ecode2
)) {
19944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19946 arg2
= static_cast< size_t >(val2
);
19948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19949 result
= (bool)(arg1
)->DeletePage(arg2
);
19950 wxPyEndAllowThreads(__tstate
);
19951 if (PyErr_Occurred()) SWIG_fail
;
19954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19962 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19963 PyObject
*resultobj
= 0;
19964 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19971 PyObject
* obj0
= 0 ;
19972 PyObject
* obj1
= 0 ;
19973 char * kwnames
[] = {
19974 (char *) "self",(char *) "n", NULL
19977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19979 if (!SWIG_IsOK(res1
)) {
19980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19982 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19983 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19984 if (!SWIG_IsOK(ecode2
)) {
19985 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
19987 arg2
= static_cast< size_t >(val2
);
19989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19990 result
= (bool)(arg1
)->RemovePage(arg2
);
19991 wxPyEndAllowThreads(__tstate
);
19992 if (PyErr_Occurred()) SWIG_fail
;
19995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20003 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20004 PyObject
*resultobj
= 0;
20005 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20009 PyObject
*swig_obj
[1] ;
20011 if (!args
) SWIG_fail
;
20012 swig_obj
[0] = args
;
20013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20014 if (!SWIG_IsOK(res1
)) {
20015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20017 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20020 result
= (bool)(arg1
)->DeleteAllPages();
20021 wxPyEndAllowThreads(__tstate
);
20022 if (PyErr_Occurred()) SWIG_fail
;
20025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20033 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20034 PyObject
*resultobj
= 0;
20035 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20036 wxWindow
*arg2
= (wxWindow
*) 0 ;
20037 wxString
*arg3
= 0 ;
20038 bool arg4
= (bool) false ;
20039 int arg5
= (int) -1 ;
20045 bool temp3
= false ;
20050 PyObject
* obj0
= 0 ;
20051 PyObject
* obj1
= 0 ;
20052 PyObject
* obj2
= 0 ;
20053 PyObject
* obj3
= 0 ;
20054 PyObject
* obj4
= 0 ;
20055 char * kwnames
[] = {
20056 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20061 if (!SWIG_IsOK(res1
)) {
20062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20064 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20065 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20066 if (!SWIG_IsOK(res2
)) {
20067 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
20069 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20071 arg3
= wxString_in_helper(obj2
);
20072 if (arg3
== NULL
) SWIG_fail
;
20076 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
20077 if (!SWIG_IsOK(ecode4
)) {
20078 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
20080 arg4
= static_cast< bool >(val4
);
20083 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20084 if (!SWIG_IsOK(ecode5
)) {
20085 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
20087 arg5
= static_cast< int >(val5
);
20090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20091 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
20092 wxPyEndAllowThreads(__tstate
);
20093 if (PyErr_Occurred()) SWIG_fail
;
20096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20112 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20113 PyObject
*resultobj
= 0;
20114 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20116 wxWindow
*arg3
= (wxWindow
*) 0 ;
20117 wxString
*arg4
= 0 ;
20118 bool arg5
= (bool) false ;
20119 int arg6
= (int) -1 ;
20127 bool temp4
= false ;
20132 PyObject
* obj0
= 0 ;
20133 PyObject
* obj1
= 0 ;
20134 PyObject
* obj2
= 0 ;
20135 PyObject
* obj3
= 0 ;
20136 PyObject
* obj4
= 0 ;
20137 PyObject
* obj5
= 0 ;
20138 char * kwnames
[] = {
20139 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20144 if (!SWIG_IsOK(res1
)) {
20145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20147 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20148 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20149 if (!SWIG_IsOK(ecode2
)) {
20150 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
20152 arg2
= static_cast< size_t >(val2
);
20153 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20154 if (!SWIG_IsOK(res3
)) {
20155 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
20157 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
20159 arg4
= wxString_in_helper(obj3
);
20160 if (arg4
== NULL
) SWIG_fail
;
20164 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
20165 if (!SWIG_IsOK(ecode5
)) {
20166 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
20168 arg5
= static_cast< bool >(val5
);
20171 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20172 if (!SWIG_IsOK(ecode6
)) {
20173 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
20175 arg6
= static_cast< int >(val6
);
20178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20179 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
20180 wxPyEndAllowThreads(__tstate
);
20181 if (PyErr_Occurred()) SWIG_fail
;
20184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20200 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20201 PyObject
*resultobj
= 0;
20202 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20209 PyObject
* obj0
= 0 ;
20210 PyObject
* obj1
= 0 ;
20211 char * kwnames
[] = {
20212 (char *) "self",(char *) "n", NULL
20215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20217 if (!SWIG_IsOK(res1
)) {
20218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20220 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20221 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20222 if (!SWIG_IsOK(ecode2
)) {
20223 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20225 arg2
= static_cast< size_t >(val2
);
20227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20228 result
= (int)(arg1
)->SetSelection(arg2
);
20229 wxPyEndAllowThreads(__tstate
);
20230 if (PyErr_Occurred()) SWIG_fail
;
20232 resultobj
= SWIG_From_int(static_cast< int >(result
));
20239 SWIGINTERN PyObject
*_wrap_BookCtrlBase_ChangeSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20240 PyObject
*resultobj
= 0;
20241 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20248 PyObject
* obj0
= 0 ;
20249 PyObject
* obj1
= 0 ;
20250 char * kwnames
[] = {
20251 (char *) "self",(char *) "n", NULL
20254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_ChangeSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20256 if (!SWIG_IsOK(res1
)) {
20257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20259 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20260 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20261 if (!SWIG_IsOK(ecode2
)) {
20262 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "2"" of type '" "size_t""'");
20264 arg2
= static_cast< size_t >(val2
);
20266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20267 result
= (int)(arg1
)->ChangeSelection(arg2
);
20268 wxPyEndAllowThreads(__tstate
);
20269 if (PyErr_Occurred()) SWIG_fail
;
20271 resultobj
= SWIG_From_int(static_cast< int >(result
));
20278 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20279 PyObject
*resultobj
= 0;
20280 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20281 bool arg2
= (bool) true ;
20286 PyObject
* obj0
= 0 ;
20287 PyObject
* obj1
= 0 ;
20288 char * kwnames
[] = {
20289 (char *) "self",(char *) "forward", NULL
20292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20294 if (!SWIG_IsOK(res1
)) {
20295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20297 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20299 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20300 if (!SWIG_IsOK(ecode2
)) {
20301 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20303 arg2
= static_cast< bool >(val2
);
20306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20307 (arg1
)->AdvanceSelection(arg2
);
20308 wxPyEndAllowThreads(__tstate
);
20309 if (PyErr_Occurred()) SWIG_fail
;
20311 resultobj
= SWIG_Py_Void();
20318 SWIGINTERN PyObject
*_wrap_BookCtrlBase_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20319 PyObject
*resultobj
= 0;
20320 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20321 wxPoint
*arg2
= 0 ;
20322 long *arg3
= (long *) 0 ;
20328 int res3
= SWIG_TMPOBJ
;
20329 PyObject
* obj0
= 0 ;
20330 PyObject
* obj1
= 0 ;
20331 char * kwnames
[] = {
20332 (char *) "self",(char *) "pt", NULL
20336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20338 if (!SWIG_IsOK(res1
)) {
20339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20341 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20344 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20348 result
= (int)((wxBookCtrlBase
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20349 wxPyEndAllowThreads(__tstate
);
20350 if (PyErr_Occurred()) SWIG_fail
;
20352 resultobj
= SWIG_From_int(static_cast< int >(result
));
20353 if (SWIG_IsTmpObj(res3
)) {
20354 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20356 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20357 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20365 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20366 PyObject
*resultobj
= 0;
20367 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20368 SwigValueWrapper
<wxVisualAttributes
> result
;
20371 PyObject
* obj0
= 0 ;
20372 char * kwnames
[] = {
20373 (char *) "variant", NULL
20376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20378 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20379 if (!SWIG_IsOK(ecode1
)) {
20380 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20382 arg1
= static_cast< wxWindowVariant
>(val1
);
20385 if (!wxPyCheckForApp()) SWIG_fail
;
20386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20387 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
20388 wxPyEndAllowThreads(__tstate
);
20389 if (PyErr_Occurred()) SWIG_fail
;
20391 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20398 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20400 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20401 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
20402 return SWIG_Py_Void();
20405 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20406 PyObject
*resultobj
= 0;
20407 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20408 int arg2
= (int) 0 ;
20409 int arg3
= (int) -1 ;
20410 int arg4
= (int) -1 ;
20411 wxBookCtrlBaseEvent
*result
= 0 ;
20420 PyObject
* obj0
= 0 ;
20421 PyObject
* obj1
= 0 ;
20422 PyObject
* obj2
= 0 ;
20423 PyObject
* obj3
= 0 ;
20424 char * kwnames
[] = {
20425 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20430 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20431 if (!SWIG_IsOK(ecode1
)) {
20432 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20434 arg1
= static_cast< wxEventType
>(val1
);
20437 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20438 if (!SWIG_IsOK(ecode2
)) {
20439 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20441 arg2
= static_cast< int >(val2
);
20444 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20445 if (!SWIG_IsOK(ecode3
)) {
20446 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20448 arg3
= static_cast< int >(val3
);
20451 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20452 if (!SWIG_IsOK(ecode4
)) {
20453 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20455 arg4
= static_cast< int >(val4
);
20458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20459 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
20460 wxPyEndAllowThreads(__tstate
);
20461 if (PyErr_Occurred()) SWIG_fail
;
20463 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
20470 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20471 PyObject
*resultobj
= 0;
20472 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20476 PyObject
*swig_obj
[1] ;
20478 if (!args
) SWIG_fail
;
20479 swig_obj
[0] = args
;
20480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20481 if (!SWIG_IsOK(res1
)) {
20482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20484 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20487 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
20488 wxPyEndAllowThreads(__tstate
);
20489 if (PyErr_Occurred()) SWIG_fail
;
20491 resultobj
= SWIG_From_int(static_cast< int >(result
));
20498 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20499 PyObject
*resultobj
= 0;
20500 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20506 PyObject
* obj0
= 0 ;
20507 PyObject
* obj1
= 0 ;
20508 char * kwnames
[] = {
20509 (char *) "self",(char *) "nSel", NULL
20512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20514 if (!SWIG_IsOK(res1
)) {
20515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20517 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20518 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20519 if (!SWIG_IsOK(ecode2
)) {
20520 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20522 arg2
= static_cast< int >(val2
);
20524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20525 (arg1
)->SetSelection(arg2
);
20526 wxPyEndAllowThreads(__tstate
);
20527 if (PyErr_Occurred()) SWIG_fail
;
20529 resultobj
= SWIG_Py_Void();
20536 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20537 PyObject
*resultobj
= 0;
20538 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20542 PyObject
*swig_obj
[1] ;
20544 if (!args
) SWIG_fail
;
20545 swig_obj
[0] = args
;
20546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20547 if (!SWIG_IsOK(res1
)) {
20548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20550 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20553 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20554 wxPyEndAllowThreads(__tstate
);
20555 if (PyErr_Occurred()) SWIG_fail
;
20557 resultobj
= SWIG_From_int(static_cast< int >(result
));
20564 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20565 PyObject
*resultobj
= 0;
20566 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20572 PyObject
* obj0
= 0 ;
20573 PyObject
* obj1
= 0 ;
20574 char * kwnames
[] = {
20575 (char *) "self",(char *) "nOldSel", NULL
20578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20580 if (!SWIG_IsOK(res1
)) {
20581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20583 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20584 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20585 if (!SWIG_IsOK(ecode2
)) {
20586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20588 arg2
= static_cast< int >(val2
);
20590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20591 (arg1
)->SetOldSelection(arg2
);
20592 wxPyEndAllowThreads(__tstate
);
20593 if (PyErr_Occurred()) SWIG_fail
;
20595 resultobj
= SWIG_Py_Void();
20602 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20604 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20605 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20606 return SWIG_Py_Void();
20609 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20610 return SWIG_Python_InitShadowInstance(args
);
20613 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20614 PyObject
*resultobj
= 0;
20615 wxWindow
*arg1
= (wxWindow
*) 0 ;
20616 int arg2
= (int) -1 ;
20617 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20618 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20619 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20620 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20621 long arg5
= (long) 0 ;
20622 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20623 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20624 wxNotebook
*result
= 0 ;
20633 bool temp6
= false ;
20634 PyObject
* obj0
= 0 ;
20635 PyObject
* obj1
= 0 ;
20636 PyObject
* obj2
= 0 ;
20637 PyObject
* obj3
= 0 ;
20638 PyObject
* obj4
= 0 ;
20639 PyObject
* obj5
= 0 ;
20640 char * kwnames
[] = {
20641 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20646 if (!SWIG_IsOK(res1
)) {
20647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20649 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20651 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20652 if (!SWIG_IsOK(ecode2
)) {
20653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20655 arg2
= static_cast< int >(val2
);
20660 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20666 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20670 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20671 if (!SWIG_IsOK(ecode5
)) {
20672 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20674 arg5
= static_cast< long >(val5
);
20678 arg6
= wxString_in_helper(obj5
);
20679 if (arg6
== NULL
) SWIG_fail
;
20684 if (!wxPyCheckForApp()) SWIG_fail
;
20685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20686 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20687 wxPyEndAllowThreads(__tstate
);
20688 if (PyErr_Occurred()) SWIG_fail
;
20690 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20705 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20706 PyObject
*resultobj
= 0;
20707 wxNotebook
*result
= 0 ;
20709 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20711 if (!wxPyCheckForApp()) SWIG_fail
;
20712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20713 result
= (wxNotebook
*)new wxNotebook();
20714 wxPyEndAllowThreads(__tstate
);
20715 if (PyErr_Occurred()) SWIG_fail
;
20717 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20724 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20725 PyObject
*resultobj
= 0;
20726 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20727 wxWindow
*arg2
= (wxWindow
*) 0 ;
20728 int arg3
= (int) -1 ;
20729 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20730 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20731 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20732 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20733 long arg6
= (long) 0 ;
20734 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20735 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20747 bool temp7
= false ;
20748 PyObject
* obj0
= 0 ;
20749 PyObject
* obj1
= 0 ;
20750 PyObject
* obj2
= 0 ;
20751 PyObject
* obj3
= 0 ;
20752 PyObject
* obj4
= 0 ;
20753 PyObject
* obj5
= 0 ;
20754 PyObject
* obj6
= 0 ;
20755 char * kwnames
[] = {
20756 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20761 if (!SWIG_IsOK(res1
)) {
20762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20764 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20765 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20766 if (!SWIG_IsOK(res2
)) {
20767 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20769 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20771 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20772 if (!SWIG_IsOK(ecode3
)) {
20773 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20775 arg3
= static_cast< int >(val3
);
20780 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20786 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20790 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20791 if (!SWIG_IsOK(ecode6
)) {
20792 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20794 arg6
= static_cast< long >(val6
);
20798 arg7
= wxString_in_helper(obj6
);
20799 if (arg7
== NULL
) SWIG_fail
;
20804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20805 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20806 wxPyEndAllowThreads(__tstate
);
20807 if (PyErr_Occurred()) SWIG_fail
;
20810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20826 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20827 PyObject
*resultobj
= 0;
20828 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20832 PyObject
*swig_obj
[1] ;
20834 if (!args
) SWIG_fail
;
20835 swig_obj
[0] = args
;
20836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20837 if (!SWIG_IsOK(res1
)) {
20838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20840 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20843 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20844 wxPyEndAllowThreads(__tstate
);
20845 if (PyErr_Occurred()) SWIG_fail
;
20847 resultobj
= SWIG_From_int(static_cast< int >(result
));
20854 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20855 PyObject
*resultobj
= 0;
20856 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20861 PyObject
* obj0
= 0 ;
20862 PyObject
* obj1
= 0 ;
20863 char * kwnames
[] = {
20864 (char *) "self",(char *) "padding", NULL
20867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20869 if (!SWIG_IsOK(res1
)) {
20870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20872 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20875 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20879 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20880 wxPyEndAllowThreads(__tstate
);
20881 if (PyErr_Occurred()) SWIG_fail
;
20883 resultobj
= SWIG_Py_Void();
20890 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20891 PyObject
*resultobj
= 0;
20892 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20897 PyObject
* obj0
= 0 ;
20898 PyObject
* obj1
= 0 ;
20899 char * kwnames
[] = {
20900 (char *) "self",(char *) "sz", NULL
20903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20905 if (!SWIG_IsOK(res1
)) {
20906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20908 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20911 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20915 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
20916 wxPyEndAllowThreads(__tstate
);
20917 if (PyErr_Occurred()) SWIG_fail
;
20919 resultobj
= SWIG_Py_Void();
20926 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20927 PyObject
*resultobj
= 0;
20928 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20932 PyObject
*swig_obj
[1] ;
20934 if (!args
) SWIG_fail
;
20935 swig_obj
[0] = args
;
20936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20937 if (!SWIG_IsOK(res1
)) {
20938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20940 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20943 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
20944 wxPyEndAllowThreads(__tstate
);
20945 if (PyErr_Occurred()) SWIG_fail
;
20947 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
20954 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20955 PyObject
*resultobj
= 0;
20956 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20957 SwigValueWrapper
<wxVisualAttributes
> result
;
20960 PyObject
* obj0
= 0 ;
20961 char * kwnames
[] = {
20962 (char *) "variant", NULL
20965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20967 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20968 if (!SWIG_IsOK(ecode1
)) {
20969 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20971 arg1
= static_cast< wxWindowVariant
>(val1
);
20974 if (!wxPyCheckForApp()) SWIG_fail
;
20975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20976 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
20977 wxPyEndAllowThreads(__tstate
);
20978 if (PyErr_Occurred()) SWIG_fail
;
20980 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20987 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangingEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20988 PyObject
*resultobj
= 0;
20989 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20996 PyObject
* obj0
= 0 ;
20997 PyObject
* obj1
= 0 ;
20998 char * kwnames
[] = {
20999 (char *) "self",(char *) "nPage", NULL
21002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SendPageChangingEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21004 if (!SWIG_IsOK(res1
)) {
21005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21007 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21008 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21009 if (!SWIG_IsOK(ecode2
)) {
21010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "2"" of type '" "int""'");
21012 arg2
= static_cast< int >(val2
);
21014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21015 result
= (bool)(arg1
)->SendPageChangingEvent(arg2
);
21016 wxPyEndAllowThreads(__tstate
);
21017 if (PyErr_Occurred()) SWIG_fail
;
21020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21028 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21029 PyObject
*resultobj
= 0;
21030 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21032 int arg3
= (int) -1 ;
21039 PyObject
* obj0
= 0 ;
21040 PyObject
* obj1
= 0 ;
21041 PyObject
* obj2
= 0 ;
21042 char * kwnames
[] = {
21043 (char *) "self",(char *) "nPageOld",(char *) "nPageNew", NULL
21046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Notebook_SendPageChangedEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21048 if (!SWIG_IsOK(res1
)) {
21049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21051 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21052 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21053 if (!SWIG_IsOK(ecode2
)) {
21054 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "2"" of type '" "int""'");
21056 arg2
= static_cast< int >(val2
);
21058 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21059 if (!SWIG_IsOK(ecode3
)) {
21060 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "3"" of type '" "int""'");
21062 arg3
= static_cast< int >(val3
);
21065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21066 (arg1
)->SendPageChangedEvent(arg2
,arg3
);
21067 wxPyEndAllowThreads(__tstate
);
21068 if (PyErr_Occurred()) SWIG_fail
;
21070 resultobj
= SWIG_Py_Void();
21077 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21079 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21080 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
21081 return SWIG_Py_Void();
21084 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21085 return SWIG_Python_InitShadowInstance(args
);
21088 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21089 PyObject
*resultobj
= 0;
21090 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21091 int arg2
= (int) 0 ;
21092 int arg3
= (int) -1 ;
21093 int arg4
= (int) -1 ;
21094 wxNotebookEvent
*result
= 0 ;
21103 PyObject
* obj0
= 0 ;
21104 PyObject
* obj1
= 0 ;
21105 PyObject
* obj2
= 0 ;
21106 PyObject
* obj3
= 0 ;
21107 char * kwnames
[] = {
21108 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21113 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21114 if (!SWIG_IsOK(ecode1
)) {
21115 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21117 arg1
= static_cast< wxEventType
>(val1
);
21120 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21121 if (!SWIG_IsOK(ecode2
)) {
21122 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
21124 arg2
= static_cast< int >(val2
);
21127 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21128 if (!SWIG_IsOK(ecode3
)) {
21129 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
21131 arg3
= static_cast< int >(val3
);
21134 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21135 if (!SWIG_IsOK(ecode4
)) {
21136 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
21138 arg4
= static_cast< int >(val4
);
21141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21142 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
21143 wxPyEndAllowThreads(__tstate
);
21144 if (PyErr_Occurred()) SWIG_fail
;
21146 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
21153 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21155 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21156 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
21157 return SWIG_Py_Void();
21160 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21161 return SWIG_Python_InitShadowInstance(args
);
21164 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21165 PyObject
*resultobj
= 0;
21166 wxWindow
*arg1
= (wxWindow
*) 0 ;
21167 int arg2
= (int) -1 ;
21168 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21169 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21170 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21171 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21172 long arg5
= (long) 0 ;
21173 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21174 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21175 wxListbook
*result
= 0 ;
21184 bool temp6
= false ;
21185 PyObject
* obj0
= 0 ;
21186 PyObject
* obj1
= 0 ;
21187 PyObject
* obj2
= 0 ;
21188 PyObject
* obj3
= 0 ;
21189 PyObject
* obj4
= 0 ;
21190 PyObject
* obj5
= 0 ;
21191 char * kwnames
[] = {
21192 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21197 if (!SWIG_IsOK(res1
)) {
21198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
21200 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21202 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21203 if (!SWIG_IsOK(ecode2
)) {
21204 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
21206 arg2
= static_cast< int >(val2
);
21211 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21217 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21221 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21222 if (!SWIG_IsOK(ecode5
)) {
21223 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
21225 arg5
= static_cast< long >(val5
);
21229 arg6
= wxString_in_helper(obj5
);
21230 if (arg6
== NULL
) SWIG_fail
;
21235 if (!wxPyCheckForApp()) SWIG_fail
;
21236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21237 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21238 wxPyEndAllowThreads(__tstate
);
21239 if (PyErr_Occurred()) SWIG_fail
;
21241 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
21256 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21257 PyObject
*resultobj
= 0;
21258 wxListbook
*result
= 0 ;
21260 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
21262 if (!wxPyCheckForApp()) SWIG_fail
;
21263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21264 result
= (wxListbook
*)new wxListbook();
21265 wxPyEndAllowThreads(__tstate
);
21266 if (PyErr_Occurred()) SWIG_fail
;
21268 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
21275 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21276 PyObject
*resultobj
= 0;
21277 wxListbook
*arg1
= (wxListbook
*) 0 ;
21278 wxWindow
*arg2
= (wxWindow
*) 0 ;
21279 int arg3
= (int) -1 ;
21280 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21281 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21282 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21283 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21284 long arg6
= (long) 0 ;
21285 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21286 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21298 bool temp7
= false ;
21299 PyObject
* obj0
= 0 ;
21300 PyObject
* obj1
= 0 ;
21301 PyObject
* obj2
= 0 ;
21302 PyObject
* obj3
= 0 ;
21303 PyObject
* obj4
= 0 ;
21304 PyObject
* obj5
= 0 ;
21305 PyObject
* obj6
= 0 ;
21306 char * kwnames
[] = {
21307 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21312 if (!SWIG_IsOK(res1
)) {
21313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
21315 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21316 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21317 if (!SWIG_IsOK(res2
)) {
21318 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21320 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21322 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21323 if (!SWIG_IsOK(ecode3
)) {
21324 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
21326 arg3
= static_cast< int >(val3
);
21331 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21337 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21341 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21342 if (!SWIG_IsOK(ecode6
)) {
21343 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21345 arg6
= static_cast< long >(val6
);
21349 arg7
= wxString_in_helper(obj6
);
21350 if (arg7
== NULL
) SWIG_fail
;
21355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21356 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21357 wxPyEndAllowThreads(__tstate
);
21358 if (PyErr_Occurred()) SWIG_fail
;
21361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21377 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21378 PyObject
*resultobj
= 0;
21379 wxListbook
*arg1
= (wxListbook
*) 0 ;
21380 wxListView
*result
= 0 ;
21383 PyObject
*swig_obj
[1] ;
21385 if (!args
) SWIG_fail
;
21386 swig_obj
[0] = args
;
21387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21388 if (!SWIG_IsOK(res1
)) {
21389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21391 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21394 result
= (wxListView
*)(arg1
)->GetListView();
21395 wxPyEndAllowThreads(__tstate
);
21396 if (PyErr_Occurred()) SWIG_fail
;
21398 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
21405 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21407 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21408 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
21409 return SWIG_Py_Void();
21412 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21413 return SWIG_Python_InitShadowInstance(args
);
21416 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21417 PyObject
*resultobj
= 0;
21418 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21419 int arg2
= (int) 0 ;
21420 int arg3
= (int) -1 ;
21421 int arg4
= (int) -1 ;
21422 wxListbookEvent
*result
= 0 ;
21431 PyObject
* obj0
= 0 ;
21432 PyObject
* obj1
= 0 ;
21433 PyObject
* obj2
= 0 ;
21434 PyObject
* obj3
= 0 ;
21435 char * kwnames
[] = {
21436 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21441 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21442 if (!SWIG_IsOK(ecode1
)) {
21443 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21445 arg1
= static_cast< wxEventType
>(val1
);
21448 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21449 if (!SWIG_IsOK(ecode2
)) {
21450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21452 arg2
= static_cast< int >(val2
);
21455 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21456 if (!SWIG_IsOK(ecode3
)) {
21457 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21459 arg3
= static_cast< int >(val3
);
21462 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21463 if (!SWIG_IsOK(ecode4
)) {
21464 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21466 arg4
= static_cast< int >(val4
);
21469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21470 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
21471 wxPyEndAllowThreads(__tstate
);
21472 if (PyErr_Occurred()) SWIG_fail
;
21474 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
21481 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21483 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21484 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
21485 return SWIG_Py_Void();
21488 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21489 return SWIG_Python_InitShadowInstance(args
);
21492 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21493 PyObject
*resultobj
= 0;
21494 wxWindow
*arg1
= (wxWindow
*) 0 ;
21496 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21497 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21498 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21499 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21500 long arg5
= (long) 0 ;
21501 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21502 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21503 wxChoicebook
*result
= 0 ;
21512 bool temp6
= false ;
21513 PyObject
* obj0
= 0 ;
21514 PyObject
* obj1
= 0 ;
21515 PyObject
* obj2
= 0 ;
21516 PyObject
* obj3
= 0 ;
21517 PyObject
* obj4
= 0 ;
21518 PyObject
* obj5
= 0 ;
21519 char * kwnames
[] = {
21520 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21525 if (!SWIG_IsOK(res1
)) {
21526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21528 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21529 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21530 if (!SWIG_IsOK(ecode2
)) {
21531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21533 arg2
= static_cast< int >(val2
);
21537 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21543 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21547 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21548 if (!SWIG_IsOK(ecode5
)) {
21549 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21551 arg5
= static_cast< long >(val5
);
21555 arg6
= wxString_in_helper(obj5
);
21556 if (arg6
== NULL
) SWIG_fail
;
21561 if (!wxPyCheckForApp()) SWIG_fail
;
21562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21563 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21564 wxPyEndAllowThreads(__tstate
);
21565 if (PyErr_Occurred()) SWIG_fail
;
21567 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21582 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21583 PyObject
*resultobj
= 0;
21584 wxChoicebook
*result
= 0 ;
21586 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21588 if (!wxPyCheckForApp()) SWIG_fail
;
21589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21590 result
= (wxChoicebook
*)new wxChoicebook();
21591 wxPyEndAllowThreads(__tstate
);
21592 if (PyErr_Occurred()) SWIG_fail
;
21594 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21601 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21602 PyObject
*resultobj
= 0;
21603 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21604 wxWindow
*arg2
= (wxWindow
*) 0 ;
21606 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21607 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21608 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21609 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21610 long arg6
= (long) 0 ;
21611 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21612 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21624 bool temp7
= false ;
21625 PyObject
* obj0
= 0 ;
21626 PyObject
* obj1
= 0 ;
21627 PyObject
* obj2
= 0 ;
21628 PyObject
* obj3
= 0 ;
21629 PyObject
* obj4
= 0 ;
21630 PyObject
* obj5
= 0 ;
21631 PyObject
* obj6
= 0 ;
21632 char * kwnames
[] = {
21633 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21638 if (!SWIG_IsOK(res1
)) {
21639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21641 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21642 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21643 if (!SWIG_IsOK(res2
)) {
21644 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21646 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21647 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21648 if (!SWIG_IsOK(ecode3
)) {
21649 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21651 arg3
= static_cast< int >(val3
);
21655 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21661 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21665 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21666 if (!SWIG_IsOK(ecode6
)) {
21667 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21669 arg6
= static_cast< long >(val6
);
21673 arg7
= wxString_in_helper(obj6
);
21674 if (arg7
== NULL
) SWIG_fail
;
21679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21680 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21681 wxPyEndAllowThreads(__tstate
);
21682 if (PyErr_Occurred()) SWIG_fail
;
21685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21701 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21702 PyObject
*resultobj
= 0;
21703 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21704 wxChoice
*result
= 0 ;
21707 PyObject
*swig_obj
[1] ;
21709 if (!args
) SWIG_fail
;
21710 swig_obj
[0] = args
;
21711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21712 if (!SWIG_IsOK(res1
)) {
21713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21715 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21718 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21719 wxPyEndAllowThreads(__tstate
);
21720 if (PyErr_Occurred()) SWIG_fail
;
21722 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21729 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21731 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21732 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21733 return SWIG_Py_Void();
21736 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21737 return SWIG_Python_InitShadowInstance(args
);
21740 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21741 PyObject
*resultobj
= 0;
21742 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21743 int arg2
= (int) 0 ;
21744 int arg3
= (int) -1 ;
21745 int arg4
= (int) -1 ;
21746 wxChoicebookEvent
*result
= 0 ;
21755 PyObject
* obj0
= 0 ;
21756 PyObject
* obj1
= 0 ;
21757 PyObject
* obj2
= 0 ;
21758 PyObject
* obj3
= 0 ;
21759 char * kwnames
[] = {
21760 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21765 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21766 if (!SWIG_IsOK(ecode1
)) {
21767 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21769 arg1
= static_cast< wxEventType
>(val1
);
21772 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21773 if (!SWIG_IsOK(ecode2
)) {
21774 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21776 arg2
= static_cast< int >(val2
);
21779 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21780 if (!SWIG_IsOK(ecode3
)) {
21781 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21783 arg3
= static_cast< int >(val3
);
21786 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21787 if (!SWIG_IsOK(ecode4
)) {
21788 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21790 arg4
= static_cast< int >(val4
);
21793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21794 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21795 wxPyEndAllowThreads(__tstate
);
21796 if (PyErr_Occurred()) SWIG_fail
;
21798 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21805 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21807 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21808 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21809 return SWIG_Py_Void();
21812 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21813 return SWIG_Python_InitShadowInstance(args
);
21816 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21817 PyObject
*resultobj
= 0;
21818 wxWindow
*arg1
= (wxWindow
*) 0 ;
21820 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21821 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21822 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21823 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21824 long arg5
= (long) wxBK_DEFAULT
;
21825 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21826 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21827 wxTreebook
*result
= 0 ;
21836 bool temp6
= false ;
21837 PyObject
* obj0
= 0 ;
21838 PyObject
* obj1
= 0 ;
21839 PyObject
* obj2
= 0 ;
21840 PyObject
* obj3
= 0 ;
21841 PyObject
* obj4
= 0 ;
21842 PyObject
* obj5
= 0 ;
21843 char * kwnames
[] = {
21844 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21849 if (!SWIG_IsOK(res1
)) {
21850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21852 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21853 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21854 if (!SWIG_IsOK(ecode2
)) {
21855 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21857 arg2
= static_cast< int >(val2
);
21861 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21867 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21871 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21872 if (!SWIG_IsOK(ecode5
)) {
21873 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21875 arg5
= static_cast< long >(val5
);
21879 arg6
= wxString_in_helper(obj5
);
21880 if (arg6
== NULL
) SWIG_fail
;
21885 if (!wxPyCheckForApp()) SWIG_fail
;
21886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21887 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21888 wxPyEndAllowThreads(__tstate
);
21889 if (PyErr_Occurred()) SWIG_fail
;
21891 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
21906 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21907 PyObject
*resultobj
= 0;
21908 wxTreebook
*result
= 0 ;
21910 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
21912 if (!wxPyCheckForApp()) SWIG_fail
;
21913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21914 result
= (wxTreebook
*)new wxTreebook();
21915 wxPyEndAllowThreads(__tstate
);
21916 if (PyErr_Occurred()) SWIG_fail
;
21918 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
21925 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21926 PyObject
*resultobj
= 0;
21927 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21928 wxWindow
*arg2
= (wxWindow
*) 0 ;
21930 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21931 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21932 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21933 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21934 long arg6
= (long) wxBK_DEFAULT
;
21935 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21936 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21948 bool temp7
= false ;
21949 PyObject
* obj0
= 0 ;
21950 PyObject
* obj1
= 0 ;
21951 PyObject
* obj2
= 0 ;
21952 PyObject
* obj3
= 0 ;
21953 PyObject
* obj4
= 0 ;
21954 PyObject
* obj5
= 0 ;
21955 PyObject
* obj6
= 0 ;
21956 char * kwnames
[] = {
21957 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21962 if (!SWIG_IsOK(res1
)) {
21963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21965 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21966 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21967 if (!SWIG_IsOK(res2
)) {
21968 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21970 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21971 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21972 if (!SWIG_IsOK(ecode3
)) {
21973 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
21975 arg3
= static_cast< int >(val3
);
21979 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21985 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21989 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21990 if (!SWIG_IsOK(ecode6
)) {
21991 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
21993 arg6
= static_cast< long >(val6
);
21997 arg7
= wxString_in_helper(obj6
);
21998 if (arg7
== NULL
) SWIG_fail
;
22003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22004 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22005 wxPyEndAllowThreads(__tstate
);
22006 if (PyErr_Occurred()) SWIG_fail
;
22009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22025 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22026 PyObject
*resultobj
= 0;
22027 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22029 wxWindow
*arg3
= (wxWindow
*) 0 ;
22030 wxString
*arg4
= 0 ;
22031 bool arg5
= (bool) false ;
22032 int arg6
= (int) wxNOT_FOUND
;
22040 bool temp4
= false ;
22045 PyObject
* obj0
= 0 ;
22046 PyObject
* obj1
= 0 ;
22047 PyObject
* obj2
= 0 ;
22048 PyObject
* obj3
= 0 ;
22049 PyObject
* obj4
= 0 ;
22050 PyObject
* obj5
= 0 ;
22051 char * kwnames
[] = {
22052 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22057 if (!SWIG_IsOK(res1
)) {
22058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22060 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22061 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22062 if (!SWIG_IsOK(ecode2
)) {
22063 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
22065 arg2
= static_cast< size_t >(val2
);
22066 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22067 if (!SWIG_IsOK(res3
)) {
22068 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
22070 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
22072 arg4
= wxString_in_helper(obj3
);
22073 if (arg4
== NULL
) SWIG_fail
;
22077 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
22078 if (!SWIG_IsOK(ecode5
)) {
22079 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
22081 arg5
= static_cast< bool >(val5
);
22084 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22085 if (!SWIG_IsOK(ecode6
)) {
22086 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
22088 arg6
= static_cast< int >(val6
);
22091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22092 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
22093 wxPyEndAllowThreads(__tstate
);
22094 if (PyErr_Occurred()) SWIG_fail
;
22097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22113 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22114 PyObject
*resultobj
= 0;
22115 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22116 wxWindow
*arg2
= (wxWindow
*) 0 ;
22117 wxString
*arg3
= 0 ;
22118 bool arg4
= (bool) false ;
22119 int arg5
= (int) wxNOT_FOUND
;
22125 bool temp3
= false ;
22130 PyObject
* obj0
= 0 ;
22131 PyObject
* obj1
= 0 ;
22132 PyObject
* obj2
= 0 ;
22133 PyObject
* obj3
= 0 ;
22134 PyObject
* obj4
= 0 ;
22135 char * kwnames
[] = {
22136 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22141 if (!SWIG_IsOK(res1
)) {
22142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22144 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22145 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22146 if (!SWIG_IsOK(res2
)) {
22147 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
22149 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22151 arg3
= wxString_in_helper(obj2
);
22152 if (arg3
== NULL
) SWIG_fail
;
22156 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
22157 if (!SWIG_IsOK(ecode4
)) {
22158 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
22160 arg4
= static_cast< bool >(val4
);
22163 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22164 if (!SWIG_IsOK(ecode5
)) {
22165 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
22167 arg5
= static_cast< int >(val5
);
22170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22171 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22172 wxPyEndAllowThreads(__tstate
);
22173 if (PyErr_Occurred()) SWIG_fail
;
22176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22192 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22193 PyObject
*resultobj
= 0;
22194 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22201 PyObject
* obj0
= 0 ;
22202 PyObject
* obj1
= 0 ;
22203 char * kwnames
[] = {
22204 (char *) "self",(char *) "pos", NULL
22207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22209 if (!SWIG_IsOK(res1
)) {
22210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22212 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22213 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22214 if (!SWIG_IsOK(ecode2
)) {
22215 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
22217 arg2
= static_cast< size_t >(val2
);
22219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22220 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
22221 wxPyEndAllowThreads(__tstate
);
22222 if (PyErr_Occurred()) SWIG_fail
;
22225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22233 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22234 PyObject
*resultobj
= 0;
22235 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22237 bool arg3
= (bool) true ;
22245 PyObject
* obj0
= 0 ;
22246 PyObject
* obj1
= 0 ;
22247 PyObject
* obj2
= 0 ;
22248 char * kwnames
[] = {
22249 (char *) "self",(char *) "pos",(char *) "expand", NULL
22252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22254 if (!SWIG_IsOK(res1
)) {
22255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22257 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22258 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22259 if (!SWIG_IsOK(ecode2
)) {
22260 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
22262 arg2
= static_cast< size_t >(val2
);
22264 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22265 if (!SWIG_IsOK(ecode3
)) {
22266 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
22268 arg3
= static_cast< bool >(val3
);
22271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22272 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
22273 wxPyEndAllowThreads(__tstate
);
22274 if (PyErr_Occurred()) SWIG_fail
;
22277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22285 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22286 PyObject
*resultobj
= 0;
22287 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22294 PyObject
* obj0
= 0 ;
22295 PyObject
* obj1
= 0 ;
22296 char * kwnames
[] = {
22297 (char *) "self",(char *) "pos", NULL
22300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22302 if (!SWIG_IsOK(res1
)) {
22303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22305 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22306 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22307 if (!SWIG_IsOK(ecode2
)) {
22308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
22310 arg2
= static_cast< size_t >(val2
);
22312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22313 result
= (bool)(arg1
)->CollapseNode(arg2
);
22314 wxPyEndAllowThreads(__tstate
);
22315 if (PyErr_Occurred()) SWIG_fail
;
22318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22326 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22327 PyObject
*resultobj
= 0;
22328 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22335 PyObject
* obj0
= 0 ;
22336 PyObject
* obj1
= 0 ;
22337 char * kwnames
[] = {
22338 (char *) "self",(char *) "pos", NULL
22341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22343 if (!SWIG_IsOK(res1
)) {
22344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22346 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22347 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22348 if (!SWIG_IsOK(ecode2
)) {
22349 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22351 arg2
= static_cast< size_t >(val2
);
22353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22354 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
22355 wxPyEndAllowThreads(__tstate
);
22356 if (PyErr_Occurred()) SWIG_fail
;
22358 resultobj
= SWIG_From_int(static_cast< int >(result
));
22365 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22366 PyObject
*resultobj
= 0;
22367 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22368 wxPyTreeCtrl
*result
= 0 ;
22371 PyObject
*swig_obj
[1] ;
22373 if (!args
) SWIG_fail
;
22374 swig_obj
[0] = args
;
22375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22376 if (!SWIG_IsOK(res1
)) {
22377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22379 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22382 result
= (wxPyTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
22383 wxPyEndAllowThreads(__tstate
);
22384 if (PyErr_Occurred()) SWIG_fail
;
22387 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22395 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22397 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22398 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
22399 return SWIG_Py_Void();
22402 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22403 return SWIG_Python_InitShadowInstance(args
);
22406 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22407 PyObject
*resultobj
= 0;
22408 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22409 int arg2
= (int) 0 ;
22410 int arg3
= (int) wxNOT_FOUND
;
22411 int arg4
= (int) wxNOT_FOUND
;
22412 wxTreebookEvent
*result
= 0 ;
22421 PyObject
* obj0
= 0 ;
22422 PyObject
* obj1
= 0 ;
22423 PyObject
* obj2
= 0 ;
22424 PyObject
* obj3
= 0 ;
22425 char * kwnames
[] = {
22426 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22431 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22432 if (!SWIG_IsOK(ecode1
)) {
22433 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22435 arg1
= static_cast< wxEventType
>(val1
);
22438 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22439 if (!SWIG_IsOK(ecode2
)) {
22440 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22442 arg2
= static_cast< int >(val2
);
22445 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22446 if (!SWIG_IsOK(ecode3
)) {
22447 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22449 arg3
= static_cast< int >(val3
);
22452 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22453 if (!SWIG_IsOK(ecode4
)) {
22454 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22456 arg4
= static_cast< int >(val4
);
22459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22460 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
22461 wxPyEndAllowThreads(__tstate
);
22462 if (PyErr_Occurred()) SWIG_fail
;
22464 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
22471 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22473 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22474 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
22475 return SWIG_Py_Void();
22478 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22479 return SWIG_Python_InitShadowInstance(args
);
22482 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22483 PyObject
*resultobj
= 0;
22484 wxWindow
*arg1
= (wxWindow
*) 0 ;
22486 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22487 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22488 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22489 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22490 long arg5
= (long) wxBK_DEFAULT
;
22491 wxString
const &arg6_defvalue
= wxPyEmptyString
;
22492 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22493 wxToolbook
*result
= 0 ;
22502 bool temp6
= false ;
22503 PyObject
* obj0
= 0 ;
22504 PyObject
* obj1
= 0 ;
22505 PyObject
* obj2
= 0 ;
22506 PyObject
* obj3
= 0 ;
22507 PyObject
* obj4
= 0 ;
22508 PyObject
* obj5
= 0 ;
22509 char * kwnames
[] = {
22510 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22515 if (!SWIG_IsOK(res1
)) {
22516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22518 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22519 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22520 if (!SWIG_IsOK(ecode2
)) {
22521 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22523 arg2
= static_cast< int >(val2
);
22527 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22533 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22537 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22538 if (!SWIG_IsOK(ecode5
)) {
22539 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22541 arg5
= static_cast< long >(val5
);
22545 arg6
= wxString_in_helper(obj5
);
22546 if (arg6
== NULL
) SWIG_fail
;
22551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22552 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22553 wxPyEndAllowThreads(__tstate
);
22554 if (PyErr_Occurred()) SWIG_fail
;
22556 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22571 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22572 PyObject
*resultobj
= 0;
22573 wxToolbook
*result
= 0 ;
22575 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22578 result
= (wxToolbook
*)new wxToolbook();
22579 wxPyEndAllowThreads(__tstate
);
22580 if (PyErr_Occurred()) SWIG_fail
;
22582 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22589 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22590 PyObject
*resultobj
= 0;
22591 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22592 wxWindow
*arg2
= (wxWindow
*) 0 ;
22594 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22595 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22596 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22597 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22598 long arg6
= (long) 0 ;
22599 wxString
const &arg7_defvalue
= wxEmptyString
;
22600 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22612 bool temp7
= false ;
22613 PyObject
* obj0
= 0 ;
22614 PyObject
* obj1
= 0 ;
22615 PyObject
* obj2
= 0 ;
22616 PyObject
* obj3
= 0 ;
22617 PyObject
* obj4
= 0 ;
22618 PyObject
* obj5
= 0 ;
22619 PyObject
* obj6
= 0 ;
22620 char * kwnames
[] = {
22621 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22626 if (!SWIG_IsOK(res1
)) {
22627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22629 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22630 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22631 if (!SWIG_IsOK(res2
)) {
22632 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22634 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22635 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22636 if (!SWIG_IsOK(ecode3
)) {
22637 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22639 arg3
= static_cast< int >(val3
);
22643 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22649 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22653 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22654 if (!SWIG_IsOK(ecode6
)) {
22655 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22657 arg6
= static_cast< long >(val6
);
22661 arg7
= wxString_in_helper(obj6
);
22662 if (arg7
== NULL
) SWIG_fail
;
22667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22668 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22669 wxPyEndAllowThreads(__tstate
);
22670 if (PyErr_Occurred()) SWIG_fail
;
22673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22689 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22690 PyObject
*resultobj
= 0;
22691 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22692 wxToolBarBase
*result
= 0 ;
22695 PyObject
*swig_obj
[1] ;
22697 if (!args
) SWIG_fail
;
22698 swig_obj
[0] = args
;
22699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22700 if (!SWIG_IsOK(res1
)) {
22701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22703 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22706 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22707 wxPyEndAllowThreads(__tstate
);
22708 if (PyErr_Occurred()) SWIG_fail
;
22711 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22719 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22720 PyObject
*resultobj
= 0;
22721 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22724 PyObject
*swig_obj
[1] ;
22726 if (!args
) SWIG_fail
;
22727 swig_obj
[0] = args
;
22728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22729 if (!SWIG_IsOK(res1
)) {
22730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22732 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22736 wxPyEndAllowThreads(__tstate
);
22737 if (PyErr_Occurred()) SWIG_fail
;
22739 resultobj
= SWIG_Py_Void();
22746 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22748 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22749 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22750 return SWIG_Py_Void();
22753 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22754 return SWIG_Python_InitShadowInstance(args
);
22757 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22758 PyObject
*resultobj
= 0;
22759 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22760 int arg2
= (int) 0 ;
22761 int arg3
= (int) wxNOT_FOUND
;
22762 int arg4
= (int) wxNOT_FOUND
;
22763 wxToolbookEvent
*result
= 0 ;
22772 PyObject
* obj0
= 0 ;
22773 PyObject
* obj1
= 0 ;
22774 PyObject
* obj2
= 0 ;
22775 PyObject
* obj3
= 0 ;
22776 char * kwnames
[] = {
22777 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22782 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22783 if (!SWIG_IsOK(ecode1
)) {
22784 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22786 arg1
= static_cast< wxEventType
>(val1
);
22789 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22790 if (!SWIG_IsOK(ecode2
)) {
22791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22793 arg2
= static_cast< int >(val2
);
22796 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22797 if (!SWIG_IsOK(ecode3
)) {
22798 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22800 arg3
= static_cast< int >(val3
);
22803 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22804 if (!SWIG_IsOK(ecode4
)) {
22805 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22807 arg4
= static_cast< int >(val4
);
22810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22811 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22812 wxPyEndAllowThreads(__tstate
);
22813 if (PyErr_Occurred()) SWIG_fail
;
22815 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22822 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22824 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22825 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22826 return SWIG_Py_Void();
22829 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22830 return SWIG_Python_InitShadowInstance(args
);
22833 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22834 PyObject
*resultobj
= 0;
22835 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22839 PyObject
*swig_obj
[1] ;
22841 if (!args
) SWIG_fail
;
22842 swig_obj
[0] = args
;
22843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22844 if (!SWIG_IsOK(res1
)) {
22845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22847 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22850 result
= (int)(arg1
)->GetId();
22851 wxPyEndAllowThreads(__tstate
);
22852 if (PyErr_Occurred()) SWIG_fail
;
22854 resultobj
= SWIG_From_int(static_cast< int >(result
));
22861 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22862 PyObject
*resultobj
= 0;
22863 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22864 wxControl
*result
= 0 ;
22867 PyObject
*swig_obj
[1] ;
22869 if (!args
) SWIG_fail
;
22870 swig_obj
[0] = args
;
22871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22872 if (!SWIG_IsOK(res1
)) {
22873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22875 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22878 result
= (wxControl
*)(arg1
)->GetControl();
22879 wxPyEndAllowThreads(__tstate
);
22880 if (PyErr_Occurred()) SWIG_fail
;
22883 resultobj
= wxPyMake_wxObject(result
, 0);
22891 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22892 PyObject
*resultobj
= 0;
22893 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22894 wxToolBarBase
*result
= 0 ;
22897 PyObject
*swig_obj
[1] ;
22899 if (!args
) SWIG_fail
;
22900 swig_obj
[0] = args
;
22901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22902 if (!SWIG_IsOK(res1
)) {
22903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22905 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22908 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
22909 wxPyEndAllowThreads(__tstate
);
22910 if (PyErr_Occurred()) SWIG_fail
;
22913 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22921 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22922 PyObject
*resultobj
= 0;
22923 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22927 PyObject
*swig_obj
[1] ;
22929 if (!args
) SWIG_fail
;
22930 swig_obj
[0] = args
;
22931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22932 if (!SWIG_IsOK(res1
)) {
22933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22935 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22938 result
= (int)(arg1
)->IsButton();
22939 wxPyEndAllowThreads(__tstate
);
22940 if (PyErr_Occurred()) SWIG_fail
;
22942 resultobj
= SWIG_From_int(static_cast< int >(result
));
22949 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22950 PyObject
*resultobj
= 0;
22951 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22955 PyObject
*swig_obj
[1] ;
22957 if (!args
) SWIG_fail
;
22958 swig_obj
[0] = args
;
22959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22960 if (!SWIG_IsOK(res1
)) {
22961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22963 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22966 result
= (int)(arg1
)->IsControl();
22967 wxPyEndAllowThreads(__tstate
);
22968 if (PyErr_Occurred()) SWIG_fail
;
22970 resultobj
= SWIG_From_int(static_cast< int >(result
));
22977 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22978 PyObject
*resultobj
= 0;
22979 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22983 PyObject
*swig_obj
[1] ;
22985 if (!args
) SWIG_fail
;
22986 swig_obj
[0] = args
;
22987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22988 if (!SWIG_IsOK(res1
)) {
22989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22991 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22994 result
= (int)(arg1
)->IsSeparator();
22995 wxPyEndAllowThreads(__tstate
);
22996 if (PyErr_Occurred()) SWIG_fail
;
22998 resultobj
= SWIG_From_int(static_cast< int >(result
));
23005 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23006 PyObject
*resultobj
= 0;
23007 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23011 PyObject
*swig_obj
[1] ;
23013 if (!args
) SWIG_fail
;
23014 swig_obj
[0] = args
;
23015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23016 if (!SWIG_IsOK(res1
)) {
23017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23019 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23022 result
= (int)(arg1
)->GetStyle();
23023 wxPyEndAllowThreads(__tstate
);
23024 if (PyErr_Occurred()) SWIG_fail
;
23026 resultobj
= SWIG_From_int(static_cast< int >(result
));
23033 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23034 PyObject
*resultobj
= 0;
23035 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23039 PyObject
*swig_obj
[1] ;
23041 if (!args
) SWIG_fail
;
23042 swig_obj
[0] = args
;
23043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23044 if (!SWIG_IsOK(res1
)) {
23045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23047 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23050 result
= (wxItemKind
)(arg1
)->GetKind();
23051 wxPyEndAllowThreads(__tstate
);
23052 if (PyErr_Occurred()) SWIG_fail
;
23054 resultobj
= SWIG_From_int(static_cast< int >(result
));
23061 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23062 PyObject
*resultobj
= 0;
23063 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23067 PyObject
*swig_obj
[1] ;
23069 if (!args
) SWIG_fail
;
23070 swig_obj
[0] = args
;
23071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23072 if (!SWIG_IsOK(res1
)) {
23073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23075 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23078 result
= (bool)(arg1
)->IsEnabled();
23079 wxPyEndAllowThreads(__tstate
);
23080 if (PyErr_Occurred()) SWIG_fail
;
23083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23091 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23092 PyObject
*resultobj
= 0;
23093 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23097 PyObject
*swig_obj
[1] ;
23099 if (!args
) SWIG_fail
;
23100 swig_obj
[0] = args
;
23101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23102 if (!SWIG_IsOK(res1
)) {
23103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23105 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23108 result
= (bool)(arg1
)->IsToggled();
23109 wxPyEndAllowThreads(__tstate
);
23110 if (PyErr_Occurred()) SWIG_fail
;
23113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23121 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23122 PyObject
*resultobj
= 0;
23123 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23127 PyObject
*swig_obj
[1] ;
23129 if (!args
) SWIG_fail
;
23130 swig_obj
[0] = args
;
23131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23132 if (!SWIG_IsOK(res1
)) {
23133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23135 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23138 result
= (bool)(arg1
)->CanBeToggled();
23139 wxPyEndAllowThreads(__tstate
);
23140 if (PyErr_Occurred()) SWIG_fail
;
23143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23151 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23152 PyObject
*resultobj
= 0;
23153 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23154 wxBitmap
*result
= 0 ;
23157 PyObject
*swig_obj
[1] ;
23159 if (!args
) SWIG_fail
;
23160 swig_obj
[0] = args
;
23161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23162 if (!SWIG_IsOK(res1
)) {
23163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23165 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23169 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
23170 result
= (wxBitmap
*) &_result_ref
;
23172 wxPyEndAllowThreads(__tstate
);
23173 if (PyErr_Occurred()) SWIG_fail
;
23176 wxBitmap
* resultptr
= new wxBitmap(*result
);
23177 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23185 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23186 PyObject
*resultobj
= 0;
23187 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23188 wxBitmap
*result
= 0 ;
23191 PyObject
*swig_obj
[1] ;
23193 if (!args
) SWIG_fail
;
23194 swig_obj
[0] = args
;
23195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23196 if (!SWIG_IsOK(res1
)) {
23197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23199 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23203 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
23204 result
= (wxBitmap
*) &_result_ref
;
23206 wxPyEndAllowThreads(__tstate
);
23207 if (PyErr_Occurred()) SWIG_fail
;
23210 wxBitmap
* resultptr
= new wxBitmap(*result
);
23211 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23219 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23220 PyObject
*resultobj
= 0;
23221 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23225 PyObject
*swig_obj
[1] ;
23227 if (!args
) SWIG_fail
;
23228 swig_obj
[0] = args
;
23229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23230 if (!SWIG_IsOK(res1
)) {
23231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23233 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23236 result
= (arg1
)->GetBitmap();
23237 wxPyEndAllowThreads(__tstate
);
23238 if (PyErr_Occurred()) SWIG_fail
;
23240 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
23247 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23248 PyObject
*resultobj
= 0;
23249 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23253 PyObject
*swig_obj
[1] ;
23255 if (!args
) SWIG_fail
;
23256 swig_obj
[0] = args
;
23257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23258 if (!SWIG_IsOK(res1
)) {
23259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23261 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23264 result
= (arg1
)->GetLabel();
23265 wxPyEndAllowThreads(__tstate
);
23266 if (PyErr_Occurred()) SWIG_fail
;
23270 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23272 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23281 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23282 PyObject
*resultobj
= 0;
23283 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23287 PyObject
*swig_obj
[1] ;
23289 if (!args
) SWIG_fail
;
23290 swig_obj
[0] = args
;
23291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23292 if (!SWIG_IsOK(res1
)) {
23293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23295 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23298 result
= (arg1
)->GetShortHelp();
23299 wxPyEndAllowThreads(__tstate
);
23300 if (PyErr_Occurred()) SWIG_fail
;
23304 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23306 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23315 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23316 PyObject
*resultobj
= 0;
23317 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23321 PyObject
*swig_obj
[1] ;
23323 if (!args
) SWIG_fail
;
23324 swig_obj
[0] = args
;
23325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23326 if (!SWIG_IsOK(res1
)) {
23327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23329 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23332 result
= (arg1
)->GetLongHelp();
23333 wxPyEndAllowThreads(__tstate
);
23334 if (PyErr_Occurred()) SWIG_fail
;
23338 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23340 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23349 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23350 PyObject
*resultobj
= 0;
23351 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23358 PyObject
* obj0
= 0 ;
23359 PyObject
* obj1
= 0 ;
23360 char * kwnames
[] = {
23361 (char *) "self",(char *) "enable", NULL
23364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23366 if (!SWIG_IsOK(res1
)) {
23367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23369 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23370 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23371 if (!SWIG_IsOK(ecode2
)) {
23372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23374 arg2
= static_cast< bool >(val2
);
23376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23377 result
= (bool)(arg1
)->Enable(arg2
);
23378 wxPyEndAllowThreads(__tstate
);
23379 if (PyErr_Occurred()) SWIG_fail
;
23382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23390 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23391 PyObject
*resultobj
= 0;
23392 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23395 PyObject
*swig_obj
[1] ;
23397 if (!args
) SWIG_fail
;
23398 swig_obj
[0] = args
;
23399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23400 if (!SWIG_IsOK(res1
)) {
23401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23403 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23407 wxPyEndAllowThreads(__tstate
);
23408 if (PyErr_Occurred()) SWIG_fail
;
23410 resultobj
= SWIG_Py_Void();
23417 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23418 PyObject
*resultobj
= 0;
23419 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23426 PyObject
* obj0
= 0 ;
23427 PyObject
* obj1
= 0 ;
23428 char * kwnames
[] = {
23429 (char *) "self",(char *) "toggle", NULL
23432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23434 if (!SWIG_IsOK(res1
)) {
23435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23437 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23438 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23439 if (!SWIG_IsOK(ecode2
)) {
23440 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23442 arg2
= static_cast< bool >(val2
);
23444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23445 result
= (bool)(arg1
)->SetToggle(arg2
);
23446 wxPyEndAllowThreads(__tstate
);
23447 if (PyErr_Occurred()) SWIG_fail
;
23450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23458 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23459 PyObject
*resultobj
= 0;
23460 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23461 wxString
*arg2
= 0 ;
23465 bool temp2
= false ;
23466 PyObject
* obj0
= 0 ;
23467 PyObject
* obj1
= 0 ;
23468 char * kwnames
[] = {
23469 (char *) "self",(char *) "help", NULL
23472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23474 if (!SWIG_IsOK(res1
)) {
23475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23477 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23479 arg2
= wxString_in_helper(obj1
);
23480 if (arg2
== NULL
) SWIG_fail
;
23484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23485 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
23486 wxPyEndAllowThreads(__tstate
);
23487 if (PyErr_Occurred()) SWIG_fail
;
23490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23506 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23507 PyObject
*resultobj
= 0;
23508 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23509 wxString
*arg2
= 0 ;
23513 bool temp2
= false ;
23514 PyObject
* obj0
= 0 ;
23515 PyObject
* obj1
= 0 ;
23516 char * kwnames
[] = {
23517 (char *) "self",(char *) "help", NULL
23520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23522 if (!SWIG_IsOK(res1
)) {
23523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23525 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23527 arg2
= wxString_in_helper(obj1
);
23528 if (arg2
== NULL
) SWIG_fail
;
23532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23533 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
23534 wxPyEndAllowThreads(__tstate
);
23535 if (PyErr_Occurred()) SWIG_fail
;
23538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23554 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23555 PyObject
*resultobj
= 0;
23556 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23557 wxBitmap
*arg2
= 0 ;
23562 PyObject
* obj0
= 0 ;
23563 PyObject
* obj1
= 0 ;
23564 char * kwnames
[] = {
23565 (char *) "self",(char *) "bmp", NULL
23568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23570 if (!SWIG_IsOK(res1
)) {
23571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23573 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23574 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23575 if (!SWIG_IsOK(res2
)) {
23576 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23579 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23581 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23584 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23585 wxPyEndAllowThreads(__tstate
);
23586 if (PyErr_Occurred()) SWIG_fail
;
23588 resultobj
= SWIG_Py_Void();
23595 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23596 PyObject
*resultobj
= 0;
23597 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23598 wxBitmap
*arg2
= 0 ;
23603 PyObject
* obj0
= 0 ;
23604 PyObject
* obj1
= 0 ;
23605 char * kwnames
[] = {
23606 (char *) "self",(char *) "bmp", NULL
23609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23611 if (!SWIG_IsOK(res1
)) {
23612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23614 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23615 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23616 if (!SWIG_IsOK(res2
)) {
23617 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23620 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23622 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23625 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23626 wxPyEndAllowThreads(__tstate
);
23627 if (PyErr_Occurred()) SWIG_fail
;
23629 resultobj
= SWIG_Py_Void();
23636 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23637 PyObject
*resultobj
= 0;
23638 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23639 wxString
*arg2
= 0 ;
23642 bool temp2
= false ;
23643 PyObject
* obj0
= 0 ;
23644 PyObject
* obj1
= 0 ;
23645 char * kwnames
[] = {
23646 (char *) "self",(char *) "label", NULL
23649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23651 if (!SWIG_IsOK(res1
)) {
23652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23654 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23656 arg2
= wxString_in_helper(obj1
);
23657 if (arg2
== NULL
) SWIG_fail
;
23661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23662 (arg1
)->SetLabel((wxString
const &)*arg2
);
23663 wxPyEndAllowThreads(__tstate
);
23664 if (PyErr_Occurred()) SWIG_fail
;
23666 resultobj
= SWIG_Py_Void();
23681 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23682 PyObject
*resultobj
= 0;
23683 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23686 PyObject
*swig_obj
[1] ;
23688 if (!args
) SWIG_fail
;
23689 swig_obj
[0] = args
;
23690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23691 if (!SWIG_IsOK(res1
)) {
23692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23694 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23698 wxPyEndAllowThreads(__tstate
);
23699 if (PyErr_Occurred()) SWIG_fail
;
23701 resultobj
= SWIG_Py_Void();
23708 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23709 PyObject
*resultobj
= 0;
23710 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23711 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23716 PyObject
* obj0
= 0 ;
23717 PyObject
* obj1
= 0 ;
23718 char * kwnames
[] = {
23719 (char *) "self",(char *) "tbar", NULL
23722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23724 if (!SWIG_IsOK(res1
)) {
23725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23727 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23728 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23729 if (!SWIG_IsOK(res2
)) {
23730 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23732 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23735 (arg1
)->Attach(arg2
);
23736 wxPyEndAllowThreads(__tstate
);
23737 if (PyErr_Occurred()) SWIG_fail
;
23739 resultobj
= SWIG_Py_Void();
23746 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23747 PyObject
*resultobj
= 0;
23748 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23749 PyObject
*result
= 0 ;
23752 PyObject
*swig_obj
[1] ;
23754 if (!args
) SWIG_fail
;
23755 swig_obj
[0] = args
;
23756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23757 if (!SWIG_IsOK(res1
)) {
23758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23760 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23763 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23764 wxPyEndAllowThreads(__tstate
);
23765 if (PyErr_Occurred()) SWIG_fail
;
23767 resultobj
= result
;
23774 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23775 PyObject
*resultobj
= 0;
23776 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23777 PyObject
*arg2
= (PyObject
*) 0 ;
23780 PyObject
* obj0
= 0 ;
23781 PyObject
* obj1
= 0 ;
23782 char * kwnames
[] = {
23783 (char *) "self",(char *) "clientData", NULL
23786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23788 if (!SWIG_IsOK(res1
)) {
23789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23791 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23795 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23796 wxPyEndAllowThreads(__tstate
);
23797 if (PyErr_Occurred()) SWIG_fail
;
23799 resultobj
= SWIG_Py_Void();
23806 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23808 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23809 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23810 return SWIG_Py_Void();
23813 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23814 PyObject
*resultobj
= 0;
23815 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23817 wxString
*arg3
= 0 ;
23818 wxBitmap
*arg4
= 0 ;
23819 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23820 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23821 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23822 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23823 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23824 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23825 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23826 PyObject
*arg9
= (PyObject
*) NULL
;
23827 wxToolBarToolBase
*result
= 0 ;
23832 bool temp3
= false ;
23839 bool temp7
= false ;
23840 bool temp8
= false ;
23841 PyObject
* obj0
= 0 ;
23842 PyObject
* obj1
= 0 ;
23843 PyObject
* obj2
= 0 ;
23844 PyObject
* obj3
= 0 ;
23845 PyObject
* obj4
= 0 ;
23846 PyObject
* obj5
= 0 ;
23847 PyObject
* obj6
= 0 ;
23848 PyObject
* obj7
= 0 ;
23849 PyObject
* obj8
= 0 ;
23850 char * kwnames
[] = {
23851 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23856 if (!SWIG_IsOK(res1
)) {
23857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23859 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23860 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23861 if (!SWIG_IsOK(ecode2
)) {
23862 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23864 arg2
= static_cast< int >(val2
);
23866 arg3
= wxString_in_helper(obj2
);
23867 if (arg3
== NULL
) SWIG_fail
;
23870 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23871 if (!SWIG_IsOK(res4
)) {
23872 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23875 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23877 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23879 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23880 if (!SWIG_IsOK(res5
)) {
23881 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23884 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23886 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23889 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23890 if (!SWIG_IsOK(ecode6
)) {
23891 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23893 arg6
= static_cast< wxItemKind
>(val6
);
23897 arg7
= wxString_in_helper(obj6
);
23898 if (arg7
== NULL
) SWIG_fail
;
23904 arg8
= wxString_in_helper(obj7
);
23905 if (arg8
== NULL
) SWIG_fail
;
23913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23914 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
23915 wxPyEndAllowThreads(__tstate
);
23916 if (PyErr_Occurred()) SWIG_fail
;
23919 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23951 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23952 PyObject
*resultobj
= 0;
23953 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23956 wxString
*arg4
= 0 ;
23957 wxBitmap
*arg5
= 0 ;
23958 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
23959 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
23960 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
23961 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23962 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23963 wxString
const &arg9_defvalue
= wxPyEmptyString
;
23964 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23965 PyObject
*arg10
= (PyObject
*) NULL
;
23966 wxToolBarToolBase
*result
= 0 ;
23973 bool temp4
= false ;
23980 bool temp8
= false ;
23981 bool temp9
= false ;
23982 PyObject
* obj0
= 0 ;
23983 PyObject
* obj1
= 0 ;
23984 PyObject
* obj2
= 0 ;
23985 PyObject
* obj3
= 0 ;
23986 PyObject
* obj4
= 0 ;
23987 PyObject
* obj5
= 0 ;
23988 PyObject
* obj6
= 0 ;
23989 PyObject
* obj7
= 0 ;
23990 PyObject
* obj8
= 0 ;
23991 PyObject
* obj9
= 0 ;
23992 char * kwnames
[] = {
23993 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
23997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23998 if (!SWIG_IsOK(res1
)) {
23999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24001 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24002 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24003 if (!SWIG_IsOK(ecode2
)) {
24004 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
24006 arg2
= static_cast< size_t >(val2
);
24007 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24008 if (!SWIG_IsOK(ecode3
)) {
24009 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
24011 arg3
= static_cast< int >(val3
);
24013 arg4
= wxString_in_helper(obj3
);
24014 if (arg4
== NULL
) SWIG_fail
;
24017 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24018 if (!SWIG_IsOK(res5
)) {
24019 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24022 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24024 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
24026 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24027 if (!SWIG_IsOK(res6
)) {
24028 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24031 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24033 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
24036 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24037 if (!SWIG_IsOK(ecode7
)) {
24038 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
24040 arg7
= static_cast< wxItemKind
>(val7
);
24044 arg8
= wxString_in_helper(obj7
);
24045 if (arg8
== NULL
) SWIG_fail
;
24051 arg9
= wxString_in_helper(obj8
);
24052 if (arg9
== NULL
) SWIG_fail
;
24060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24061 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
24062 wxPyEndAllowThreads(__tstate
);
24063 if (PyErr_Occurred()) SWIG_fail
;
24066 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24098 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24099 PyObject
*resultobj
= 0;
24100 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24101 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
24102 wxToolBarToolBase
*result
= 0 ;
24107 PyObject
* obj0
= 0 ;
24108 PyObject
* obj1
= 0 ;
24109 char * kwnames
[] = {
24110 (char *) "self",(char *) "tool", NULL
24113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24115 if (!SWIG_IsOK(res1
)) {
24116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24118 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24119 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24120 if (!SWIG_IsOK(res2
)) {
24121 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
24123 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
24125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24126 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
24127 wxPyEndAllowThreads(__tstate
);
24128 if (PyErr_Occurred()) SWIG_fail
;
24131 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24139 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24140 PyObject
*resultobj
= 0;
24141 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24143 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
24144 wxToolBarToolBase
*result
= 0 ;
24151 PyObject
* obj0
= 0 ;
24152 PyObject
* obj1
= 0 ;
24153 PyObject
* obj2
= 0 ;
24154 char * kwnames
[] = {
24155 (char *) "self",(char *) "pos",(char *) "tool", NULL
24158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24160 if (!SWIG_IsOK(res1
)) {
24161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24163 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24164 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24165 if (!SWIG_IsOK(ecode2
)) {
24166 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
24168 arg2
= static_cast< size_t >(val2
);
24169 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24170 if (!SWIG_IsOK(res3
)) {
24171 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
24173 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
24175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24176 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
24177 wxPyEndAllowThreads(__tstate
);
24178 if (PyErr_Occurred()) SWIG_fail
;
24181 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24189 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24190 PyObject
*resultobj
= 0;
24191 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24192 wxControl
*arg2
= (wxControl
*) 0 ;
24193 wxToolBarToolBase
*result
= 0 ;
24198 PyObject
* obj0
= 0 ;
24199 PyObject
* obj1
= 0 ;
24200 char * kwnames
[] = {
24201 (char *) "self",(char *) "control", NULL
24204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24206 if (!SWIG_IsOK(res1
)) {
24207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24209 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24210 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
24211 if (!SWIG_IsOK(res2
)) {
24212 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
24214 arg2
= reinterpret_cast< wxControl
* >(argp2
);
24216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24217 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
24218 wxPyEndAllowThreads(__tstate
);
24219 if (PyErr_Occurred()) SWIG_fail
;
24222 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24230 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24231 PyObject
*resultobj
= 0;
24232 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24234 wxControl
*arg3
= (wxControl
*) 0 ;
24235 wxToolBarToolBase
*result
= 0 ;
24242 PyObject
* obj0
= 0 ;
24243 PyObject
* obj1
= 0 ;
24244 PyObject
* obj2
= 0 ;
24245 char * kwnames
[] = {
24246 (char *) "self",(char *) "pos",(char *) "control", NULL
24249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24251 if (!SWIG_IsOK(res1
)) {
24252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24254 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24255 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24256 if (!SWIG_IsOK(ecode2
)) {
24257 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
24259 arg2
= static_cast< size_t >(val2
);
24260 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
24261 if (!SWIG_IsOK(res3
)) {
24262 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
24264 arg3
= reinterpret_cast< wxControl
* >(argp3
);
24266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24267 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
24268 wxPyEndAllowThreads(__tstate
);
24269 if (PyErr_Occurred()) SWIG_fail
;
24272 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24280 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24281 PyObject
*resultobj
= 0;
24282 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24284 wxControl
*result
= 0 ;
24289 PyObject
* obj0
= 0 ;
24290 PyObject
* obj1
= 0 ;
24291 char * kwnames
[] = {
24292 (char *) "self",(char *) "id", NULL
24295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24297 if (!SWIG_IsOK(res1
)) {
24298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24300 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24301 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24302 if (!SWIG_IsOK(ecode2
)) {
24303 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
24305 arg2
= static_cast< int >(val2
);
24307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24308 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
24309 wxPyEndAllowThreads(__tstate
);
24310 if (PyErr_Occurred()) SWIG_fail
;
24313 resultobj
= wxPyMake_wxObject(result
, 0);
24321 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24322 PyObject
*resultobj
= 0;
24323 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24324 wxToolBarToolBase
*result
= 0 ;
24327 PyObject
*swig_obj
[1] ;
24329 if (!args
) SWIG_fail
;
24330 swig_obj
[0] = args
;
24331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24332 if (!SWIG_IsOK(res1
)) {
24333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24335 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24338 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
24339 wxPyEndAllowThreads(__tstate
);
24340 if (PyErr_Occurred()) SWIG_fail
;
24343 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24351 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24352 PyObject
*resultobj
= 0;
24353 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24355 wxToolBarToolBase
*result
= 0 ;
24360 PyObject
* obj0
= 0 ;
24361 PyObject
* obj1
= 0 ;
24362 char * kwnames
[] = {
24363 (char *) "self",(char *) "pos", NULL
24366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24368 if (!SWIG_IsOK(res1
)) {
24369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24371 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24372 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24373 if (!SWIG_IsOK(ecode2
)) {
24374 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24376 arg2
= static_cast< size_t >(val2
);
24378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24379 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
24380 wxPyEndAllowThreads(__tstate
);
24381 if (PyErr_Occurred()) SWIG_fail
;
24384 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24392 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24393 PyObject
*resultobj
= 0;
24394 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24396 wxToolBarToolBase
*result
= 0 ;
24401 PyObject
* obj0
= 0 ;
24402 PyObject
* obj1
= 0 ;
24403 char * kwnames
[] = {
24404 (char *) "self",(char *) "id", NULL
24407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24409 if (!SWIG_IsOK(res1
)) {
24410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24412 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24413 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24414 if (!SWIG_IsOK(ecode2
)) {
24415 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24417 arg2
= static_cast< int >(val2
);
24419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24420 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
24421 wxPyEndAllowThreads(__tstate
);
24422 if (PyErr_Occurred()) SWIG_fail
;
24425 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24433 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24434 PyObject
*resultobj
= 0;
24435 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24442 PyObject
* obj0
= 0 ;
24443 PyObject
* obj1
= 0 ;
24444 char * kwnames
[] = {
24445 (char *) "self",(char *) "pos", NULL
24448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24450 if (!SWIG_IsOK(res1
)) {
24451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24453 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24454 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24455 if (!SWIG_IsOK(ecode2
)) {
24456 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24458 arg2
= static_cast< size_t >(val2
);
24460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24461 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
24462 wxPyEndAllowThreads(__tstate
);
24463 if (PyErr_Occurred()) SWIG_fail
;
24466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24474 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24475 PyObject
*resultobj
= 0;
24476 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24483 PyObject
* obj0
= 0 ;
24484 PyObject
* obj1
= 0 ;
24485 char * kwnames
[] = {
24486 (char *) "self",(char *) "id", NULL
24489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24491 if (!SWIG_IsOK(res1
)) {
24492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24494 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24495 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24496 if (!SWIG_IsOK(ecode2
)) {
24497 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24499 arg2
= static_cast< int >(val2
);
24501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24502 result
= (bool)(arg1
)->DeleteTool(arg2
);
24503 wxPyEndAllowThreads(__tstate
);
24504 if (PyErr_Occurred()) SWIG_fail
;
24507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24515 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24516 PyObject
*resultobj
= 0;
24517 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24520 PyObject
*swig_obj
[1] ;
24522 if (!args
) SWIG_fail
;
24523 swig_obj
[0] = args
;
24524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24525 if (!SWIG_IsOK(res1
)) {
24526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24528 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24531 (arg1
)->ClearTools();
24532 wxPyEndAllowThreads(__tstate
);
24533 if (PyErr_Occurred()) SWIG_fail
;
24535 resultobj
= SWIG_Py_Void();
24542 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24543 PyObject
*resultobj
= 0;
24544 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24548 PyObject
*swig_obj
[1] ;
24550 if (!args
) SWIG_fail
;
24551 swig_obj
[0] = args
;
24552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24553 if (!SWIG_IsOK(res1
)) {
24554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24556 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24559 result
= (bool)(arg1
)->Realize();
24560 wxPyEndAllowThreads(__tstate
);
24561 if (PyErr_Occurred()) SWIG_fail
;
24564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24572 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24573 PyObject
*resultobj
= 0;
24574 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24583 PyObject
* obj0
= 0 ;
24584 PyObject
* obj1
= 0 ;
24585 PyObject
* obj2
= 0 ;
24586 char * kwnames
[] = {
24587 (char *) "self",(char *) "id",(char *) "enable", NULL
24590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24592 if (!SWIG_IsOK(res1
)) {
24593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24595 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24596 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24597 if (!SWIG_IsOK(ecode2
)) {
24598 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24600 arg2
= static_cast< int >(val2
);
24601 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24602 if (!SWIG_IsOK(ecode3
)) {
24603 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24605 arg3
= static_cast< bool >(val3
);
24607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24608 (arg1
)->EnableTool(arg2
,arg3
);
24609 wxPyEndAllowThreads(__tstate
);
24610 if (PyErr_Occurred()) SWIG_fail
;
24612 resultobj
= SWIG_Py_Void();
24619 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24620 PyObject
*resultobj
= 0;
24621 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24630 PyObject
* obj0
= 0 ;
24631 PyObject
* obj1
= 0 ;
24632 PyObject
* obj2
= 0 ;
24633 char * kwnames
[] = {
24634 (char *) "self",(char *) "id",(char *) "toggle", NULL
24637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24639 if (!SWIG_IsOK(res1
)) {
24640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24642 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24643 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24644 if (!SWIG_IsOK(ecode2
)) {
24645 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24647 arg2
= static_cast< int >(val2
);
24648 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24649 if (!SWIG_IsOK(ecode3
)) {
24650 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24652 arg3
= static_cast< bool >(val3
);
24654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24655 (arg1
)->ToggleTool(arg2
,arg3
);
24656 wxPyEndAllowThreads(__tstate
);
24657 if (PyErr_Occurred()) SWIG_fail
;
24659 resultobj
= SWIG_Py_Void();
24666 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24667 PyObject
*resultobj
= 0;
24668 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24677 PyObject
* obj0
= 0 ;
24678 PyObject
* obj1
= 0 ;
24679 PyObject
* obj2
= 0 ;
24680 char * kwnames
[] = {
24681 (char *) "self",(char *) "id",(char *) "toggle", NULL
24684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24686 if (!SWIG_IsOK(res1
)) {
24687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24689 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24690 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24691 if (!SWIG_IsOK(ecode2
)) {
24692 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24694 arg2
= static_cast< int >(val2
);
24695 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24696 if (!SWIG_IsOK(ecode3
)) {
24697 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24699 arg3
= static_cast< bool >(val3
);
24701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24702 (arg1
)->SetToggle(arg2
,arg3
);
24703 wxPyEndAllowThreads(__tstate
);
24704 if (PyErr_Occurred()) SWIG_fail
;
24706 resultobj
= SWIG_Py_Void();
24713 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24714 PyObject
*resultobj
= 0;
24715 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24717 PyObject
*result
= 0 ;
24722 PyObject
* obj0
= 0 ;
24723 PyObject
* obj1
= 0 ;
24724 char * kwnames
[] = {
24725 (char *) "self",(char *) "id", NULL
24728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24730 if (!SWIG_IsOK(res1
)) {
24731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24733 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24734 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24735 if (!SWIG_IsOK(ecode2
)) {
24736 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24738 arg2
= static_cast< int >(val2
);
24740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24741 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24742 wxPyEndAllowThreads(__tstate
);
24743 if (PyErr_Occurred()) SWIG_fail
;
24745 resultobj
= result
;
24752 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24753 PyObject
*resultobj
= 0;
24754 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24756 PyObject
*arg3
= (PyObject
*) 0 ;
24761 PyObject
* obj0
= 0 ;
24762 PyObject
* obj1
= 0 ;
24763 PyObject
* obj2
= 0 ;
24764 char * kwnames
[] = {
24765 (char *) "self",(char *) "id",(char *) "clientData", NULL
24768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24770 if (!SWIG_IsOK(res1
)) {
24771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24773 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24774 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24775 if (!SWIG_IsOK(ecode2
)) {
24776 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24778 arg2
= static_cast< int >(val2
);
24781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24782 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24783 wxPyEndAllowThreads(__tstate
);
24784 if (PyErr_Occurred()) SWIG_fail
;
24786 resultobj
= SWIG_Py_Void();
24793 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24794 PyObject
*resultobj
= 0;
24795 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24802 PyObject
* obj0
= 0 ;
24803 PyObject
* obj1
= 0 ;
24804 char * kwnames
[] = {
24805 (char *) "self",(char *) "id", NULL
24808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24810 if (!SWIG_IsOK(res1
)) {
24811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24813 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24814 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24815 if (!SWIG_IsOK(ecode2
)) {
24816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24818 arg2
= static_cast< int >(val2
);
24820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24821 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24822 wxPyEndAllowThreads(__tstate
);
24823 if (PyErr_Occurred()) SWIG_fail
;
24825 resultobj
= SWIG_From_int(static_cast< int >(result
));
24832 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24833 PyObject
*resultobj
= 0;
24834 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24841 PyObject
* obj0
= 0 ;
24842 PyObject
* obj1
= 0 ;
24843 char * kwnames
[] = {
24844 (char *) "self",(char *) "id", NULL
24847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24849 if (!SWIG_IsOK(res1
)) {
24850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24852 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24853 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24854 if (!SWIG_IsOK(ecode2
)) {
24855 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24857 arg2
= static_cast< int >(val2
);
24859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24860 result
= (bool)(arg1
)->GetToolState(arg2
);
24861 wxPyEndAllowThreads(__tstate
);
24862 if (PyErr_Occurred()) SWIG_fail
;
24865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24873 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24874 PyObject
*resultobj
= 0;
24875 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24882 PyObject
* obj0
= 0 ;
24883 PyObject
* obj1
= 0 ;
24884 char * kwnames
[] = {
24885 (char *) "self",(char *) "id", NULL
24888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24890 if (!SWIG_IsOK(res1
)) {
24891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24893 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24894 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24895 if (!SWIG_IsOK(ecode2
)) {
24896 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24898 arg2
= static_cast< int >(val2
);
24900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24901 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
24902 wxPyEndAllowThreads(__tstate
);
24903 if (PyErr_Occurred()) SWIG_fail
;
24906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24914 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24915 PyObject
*resultobj
= 0;
24916 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24918 wxString
*arg3
= 0 ;
24923 bool temp3
= false ;
24924 PyObject
* obj0
= 0 ;
24925 PyObject
* obj1
= 0 ;
24926 PyObject
* obj2
= 0 ;
24927 char * kwnames
[] = {
24928 (char *) "self",(char *) "id",(char *) "helpString", NULL
24931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24933 if (!SWIG_IsOK(res1
)) {
24934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24936 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24937 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24938 if (!SWIG_IsOK(ecode2
)) {
24939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24941 arg2
= static_cast< int >(val2
);
24943 arg3
= wxString_in_helper(obj2
);
24944 if (arg3
== NULL
) SWIG_fail
;
24948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24949 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
24950 wxPyEndAllowThreads(__tstate
);
24951 if (PyErr_Occurred()) SWIG_fail
;
24953 resultobj
= SWIG_Py_Void();
24968 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24969 PyObject
*resultobj
= 0;
24970 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24977 PyObject
* obj0
= 0 ;
24978 PyObject
* obj1
= 0 ;
24979 char * kwnames
[] = {
24980 (char *) "self",(char *) "id", NULL
24983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24985 if (!SWIG_IsOK(res1
)) {
24986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24988 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24989 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24990 if (!SWIG_IsOK(ecode2
)) {
24991 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24993 arg2
= static_cast< int >(val2
);
24995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24996 result
= (arg1
)->GetToolShortHelp(arg2
);
24997 wxPyEndAllowThreads(__tstate
);
24998 if (PyErr_Occurred()) SWIG_fail
;
25002 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25004 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25013 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25014 PyObject
*resultobj
= 0;
25015 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25017 wxString
*arg3
= 0 ;
25022 bool temp3
= false ;
25023 PyObject
* obj0
= 0 ;
25024 PyObject
* obj1
= 0 ;
25025 PyObject
* obj2
= 0 ;
25026 char * kwnames
[] = {
25027 (char *) "self",(char *) "id",(char *) "helpString", NULL
25030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25032 if (!SWIG_IsOK(res1
)) {
25033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25035 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25036 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25037 if (!SWIG_IsOK(ecode2
)) {
25038 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25040 arg2
= static_cast< int >(val2
);
25042 arg3
= wxString_in_helper(obj2
);
25043 if (arg3
== NULL
) SWIG_fail
;
25047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25048 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
25049 wxPyEndAllowThreads(__tstate
);
25050 if (PyErr_Occurred()) SWIG_fail
;
25052 resultobj
= SWIG_Py_Void();
25067 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25068 PyObject
*resultobj
= 0;
25069 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25076 PyObject
* obj0
= 0 ;
25077 PyObject
* obj1
= 0 ;
25078 char * kwnames
[] = {
25079 (char *) "self",(char *) "id", NULL
25082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25084 if (!SWIG_IsOK(res1
)) {
25085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25087 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25088 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25089 if (!SWIG_IsOK(ecode2
)) {
25090 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25092 arg2
= static_cast< int >(val2
);
25094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25095 result
= (arg1
)->GetToolLongHelp(arg2
);
25096 wxPyEndAllowThreads(__tstate
);
25097 if (PyErr_Occurred()) SWIG_fail
;
25101 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25103 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25112 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25113 PyObject
*resultobj
= 0;
25114 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25123 PyObject
* obj0
= 0 ;
25124 PyObject
* obj1
= 0 ;
25125 PyObject
* obj2
= 0 ;
25126 char * kwnames
[] = {
25127 (char *) "self",(char *) "x",(char *) "y", NULL
25130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25132 if (!SWIG_IsOK(res1
)) {
25133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25135 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25136 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25137 if (!SWIG_IsOK(ecode2
)) {
25138 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
25140 arg2
= static_cast< int >(val2
);
25141 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25142 if (!SWIG_IsOK(ecode3
)) {
25143 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
25145 arg3
= static_cast< int >(val3
);
25147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25148 (arg1
)->SetMargins(arg2
,arg3
);
25149 wxPyEndAllowThreads(__tstate
);
25150 if (PyErr_Occurred()) SWIG_fail
;
25152 resultobj
= SWIG_Py_Void();
25159 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25160 PyObject
*resultobj
= 0;
25161 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25166 PyObject
* obj0
= 0 ;
25167 PyObject
* obj1
= 0 ;
25168 char * kwnames
[] = {
25169 (char *) "self",(char *) "size", NULL
25172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25174 if (!SWIG_IsOK(res1
)) {
25175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25177 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25180 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25184 (arg1
)->SetMargins((wxSize
const &)*arg2
);
25185 wxPyEndAllowThreads(__tstate
);
25186 if (PyErr_Occurred()) SWIG_fail
;
25188 resultobj
= SWIG_Py_Void();
25195 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25196 PyObject
*resultobj
= 0;
25197 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25203 PyObject
* obj0
= 0 ;
25204 PyObject
* obj1
= 0 ;
25205 char * kwnames
[] = {
25206 (char *) "self",(char *) "packing", NULL
25209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25211 if (!SWIG_IsOK(res1
)) {
25212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25214 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25215 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25216 if (!SWIG_IsOK(ecode2
)) {
25217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
25219 arg2
= static_cast< int >(val2
);
25221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25222 (arg1
)->SetToolPacking(arg2
);
25223 wxPyEndAllowThreads(__tstate
);
25224 if (PyErr_Occurred()) SWIG_fail
;
25226 resultobj
= SWIG_Py_Void();
25233 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25234 PyObject
*resultobj
= 0;
25235 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25241 PyObject
* obj0
= 0 ;
25242 PyObject
* obj1
= 0 ;
25243 char * kwnames
[] = {
25244 (char *) "self",(char *) "separation", NULL
25247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25249 if (!SWIG_IsOK(res1
)) {
25250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25252 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25253 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25254 if (!SWIG_IsOK(ecode2
)) {
25255 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
25257 arg2
= static_cast< int >(val2
);
25259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25260 (arg1
)->SetToolSeparation(arg2
);
25261 wxPyEndAllowThreads(__tstate
);
25262 if (PyErr_Occurred()) SWIG_fail
;
25264 resultobj
= SWIG_Py_Void();
25271 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25272 PyObject
*resultobj
= 0;
25273 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25277 PyObject
*swig_obj
[1] ;
25279 if (!args
) SWIG_fail
;
25280 swig_obj
[0] = args
;
25281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25282 if (!SWIG_IsOK(res1
)) {
25283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25285 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25288 result
= (arg1
)->GetToolMargins();
25289 wxPyEndAllowThreads(__tstate
);
25290 if (PyErr_Occurred()) SWIG_fail
;
25292 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25299 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25300 PyObject
*resultobj
= 0;
25301 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25305 PyObject
*swig_obj
[1] ;
25307 if (!args
) SWIG_fail
;
25308 swig_obj
[0] = args
;
25309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25310 if (!SWIG_IsOK(res1
)) {
25311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25313 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25316 result
= (arg1
)->GetMargins();
25317 wxPyEndAllowThreads(__tstate
);
25318 if (PyErr_Occurred()) SWIG_fail
;
25320 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25327 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25328 PyObject
*resultobj
= 0;
25329 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25333 PyObject
*swig_obj
[1] ;
25335 if (!args
) SWIG_fail
;
25336 swig_obj
[0] = args
;
25337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25338 if (!SWIG_IsOK(res1
)) {
25339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25341 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25344 result
= (int)(arg1
)->GetToolPacking();
25345 wxPyEndAllowThreads(__tstate
);
25346 if (PyErr_Occurred()) SWIG_fail
;
25348 resultobj
= SWIG_From_int(static_cast< int >(result
));
25355 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25356 PyObject
*resultobj
= 0;
25357 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25361 PyObject
*swig_obj
[1] ;
25363 if (!args
) SWIG_fail
;
25364 swig_obj
[0] = args
;
25365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25366 if (!SWIG_IsOK(res1
)) {
25367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25369 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25372 result
= (int)(arg1
)->GetToolSeparation();
25373 wxPyEndAllowThreads(__tstate
);
25374 if (PyErr_Occurred()) SWIG_fail
;
25376 resultobj
= SWIG_From_int(static_cast< int >(result
));
25383 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25384 PyObject
*resultobj
= 0;
25385 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25391 PyObject
* obj0
= 0 ;
25392 PyObject
* obj1
= 0 ;
25393 char * kwnames
[] = {
25394 (char *) "self",(char *) "nRows", NULL
25397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25399 if (!SWIG_IsOK(res1
)) {
25400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25402 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25403 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25404 if (!SWIG_IsOK(ecode2
)) {
25405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25407 arg2
= static_cast< int >(val2
);
25409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25410 (arg1
)->SetRows(arg2
);
25411 wxPyEndAllowThreads(__tstate
);
25412 if (PyErr_Occurred()) SWIG_fail
;
25414 resultobj
= SWIG_Py_Void();
25421 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25422 PyObject
*resultobj
= 0;
25423 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25432 PyObject
* obj0
= 0 ;
25433 PyObject
* obj1
= 0 ;
25434 PyObject
* obj2
= 0 ;
25435 char * kwnames
[] = {
25436 (char *) "self",(char *) "rows",(char *) "cols", NULL
25439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25441 if (!SWIG_IsOK(res1
)) {
25442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25444 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25446 if (!SWIG_IsOK(ecode2
)) {
25447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25449 arg2
= static_cast< int >(val2
);
25450 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25451 if (!SWIG_IsOK(ecode3
)) {
25452 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25454 arg3
= static_cast< int >(val3
);
25456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25457 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
25458 wxPyEndAllowThreads(__tstate
);
25459 if (PyErr_Occurred()) SWIG_fail
;
25461 resultobj
= SWIG_Py_Void();
25468 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25469 PyObject
*resultobj
= 0;
25470 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25474 PyObject
*swig_obj
[1] ;
25476 if (!args
) SWIG_fail
;
25477 swig_obj
[0] = args
;
25478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25479 if (!SWIG_IsOK(res1
)) {
25480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25482 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25485 result
= (int)(arg1
)->GetMaxRows();
25486 wxPyEndAllowThreads(__tstate
);
25487 if (PyErr_Occurred()) SWIG_fail
;
25489 resultobj
= SWIG_From_int(static_cast< int >(result
));
25496 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25497 PyObject
*resultobj
= 0;
25498 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25502 PyObject
*swig_obj
[1] ;
25504 if (!args
) SWIG_fail
;
25505 swig_obj
[0] = args
;
25506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25507 if (!SWIG_IsOK(res1
)) {
25508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25510 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25513 result
= (int)(arg1
)->GetMaxCols();
25514 wxPyEndAllowThreads(__tstate
);
25515 if (PyErr_Occurred()) SWIG_fail
;
25517 resultobj
= SWIG_From_int(static_cast< int >(result
));
25524 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25525 PyObject
*resultobj
= 0;
25526 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25531 PyObject
* obj0
= 0 ;
25532 PyObject
* obj1
= 0 ;
25533 char * kwnames
[] = {
25534 (char *) "self",(char *) "size", NULL
25537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25539 if (!SWIG_IsOK(res1
)) {
25540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25542 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25545 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25549 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
25550 wxPyEndAllowThreads(__tstate
);
25551 if (PyErr_Occurred()) SWIG_fail
;
25553 resultobj
= SWIG_Py_Void();
25560 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25561 PyObject
*resultobj
= 0;
25562 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25566 PyObject
*swig_obj
[1] ;
25568 if (!args
) SWIG_fail
;
25569 swig_obj
[0] = args
;
25570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25571 if (!SWIG_IsOK(res1
)) {
25572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25574 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25577 result
= (arg1
)->GetToolBitmapSize();
25578 wxPyEndAllowThreads(__tstate
);
25579 if (PyErr_Occurred()) SWIG_fail
;
25581 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25588 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25589 PyObject
*resultobj
= 0;
25590 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25594 PyObject
*swig_obj
[1] ;
25596 if (!args
) SWIG_fail
;
25597 swig_obj
[0] = args
;
25598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25599 if (!SWIG_IsOK(res1
)) {
25600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25602 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25605 result
= (arg1
)->GetToolSize();
25606 wxPyEndAllowThreads(__tstate
);
25607 if (PyErr_Occurred()) SWIG_fail
;
25609 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25616 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25617 PyObject
*resultobj
= 0;
25618 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25621 wxToolBarToolBase
*result
= 0 ;
25628 PyObject
* obj0
= 0 ;
25629 PyObject
* obj1
= 0 ;
25630 PyObject
* obj2
= 0 ;
25631 char * kwnames
[] = {
25632 (char *) "self",(char *) "x",(char *) "y", NULL
25635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25637 if (!SWIG_IsOK(res1
)) {
25638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25640 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25641 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25642 if (!SWIG_IsOK(ecode2
)) {
25643 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25645 arg2
= static_cast< int >(val2
);
25646 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25647 if (!SWIG_IsOK(ecode3
)) {
25648 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25650 arg3
= static_cast< int >(val3
);
25652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25653 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25654 wxPyEndAllowThreads(__tstate
);
25655 if (PyErr_Occurred()) SWIG_fail
;
25658 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25666 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25667 PyObject
*resultobj
= 0;
25668 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25670 wxToolBarToolBase
*result
= 0 ;
25675 PyObject
* obj0
= 0 ;
25676 PyObject
* obj1
= 0 ;
25677 char * kwnames
[] = {
25678 (char *) "self",(char *) "toolid", NULL
25681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25683 if (!SWIG_IsOK(res1
)) {
25684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25686 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25687 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25688 if (!SWIG_IsOK(ecode2
)) {
25689 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25691 arg2
= static_cast< int >(val2
);
25693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25694 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25695 wxPyEndAllowThreads(__tstate
);
25696 if (PyErr_Occurred()) SWIG_fail
;
25699 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25707 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25708 PyObject
*resultobj
= 0;
25709 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25713 PyObject
*swig_obj
[1] ;
25715 if (!args
) SWIG_fail
;
25716 swig_obj
[0] = args
;
25717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25718 if (!SWIG_IsOK(res1
)) {
25719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25721 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25724 result
= (bool)(arg1
)->IsVertical();
25725 wxPyEndAllowThreads(__tstate
);
25726 if (PyErr_Occurred()) SWIG_fail
;
25729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25737 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25738 PyObject
*resultobj
= 0;
25739 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25743 PyObject
*swig_obj
[1] ;
25745 if (!args
) SWIG_fail
;
25746 swig_obj
[0] = args
;
25747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25748 if (!SWIG_IsOK(res1
)) {
25749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25751 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25754 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25755 wxPyEndAllowThreads(__tstate
);
25756 if (PyErr_Occurred()) SWIG_fail
;
25758 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25765 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25767 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25768 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25769 return SWIG_Py_Void();
25772 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25773 PyObject
*resultobj
= 0;
25774 wxWindow
*arg1
= (wxWindow
*) 0 ;
25775 int arg2
= (int) -1 ;
25776 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25777 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25778 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25779 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25780 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25781 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25782 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25783 wxToolBar
*result
= 0 ;
25792 bool temp6
= false ;
25793 PyObject
* obj0
= 0 ;
25794 PyObject
* obj1
= 0 ;
25795 PyObject
* obj2
= 0 ;
25796 PyObject
* obj3
= 0 ;
25797 PyObject
* obj4
= 0 ;
25798 PyObject
* obj5
= 0 ;
25799 char * kwnames
[] = {
25800 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25805 if (!SWIG_IsOK(res1
)) {
25806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25808 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25810 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25811 if (!SWIG_IsOK(ecode2
)) {
25812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25814 arg2
= static_cast< int >(val2
);
25819 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25825 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25829 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25830 if (!SWIG_IsOK(ecode5
)) {
25831 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25833 arg5
= static_cast< long >(val5
);
25837 arg6
= wxString_in_helper(obj5
);
25838 if (arg6
== NULL
) SWIG_fail
;
25843 if (!wxPyCheckForApp()) SWIG_fail
;
25844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25845 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25846 wxPyEndAllowThreads(__tstate
);
25847 if (PyErr_Occurred()) SWIG_fail
;
25849 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
25864 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25865 PyObject
*resultobj
= 0;
25866 wxToolBar
*result
= 0 ;
25868 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
25870 if (!wxPyCheckForApp()) SWIG_fail
;
25871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25872 result
= (wxToolBar
*)new wxToolBar();
25873 wxPyEndAllowThreads(__tstate
);
25874 if (PyErr_Occurred()) SWIG_fail
;
25876 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
25883 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25884 PyObject
*resultobj
= 0;
25885 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25886 wxWindow
*arg2
= (wxWindow
*) 0 ;
25887 int arg3
= (int) -1 ;
25888 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25889 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25890 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25891 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25892 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25893 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
25894 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25906 bool temp7
= false ;
25907 PyObject
* obj0
= 0 ;
25908 PyObject
* obj1
= 0 ;
25909 PyObject
* obj2
= 0 ;
25910 PyObject
* obj3
= 0 ;
25911 PyObject
* obj4
= 0 ;
25912 PyObject
* obj5
= 0 ;
25913 PyObject
* obj6
= 0 ;
25914 char * kwnames
[] = {
25915 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
25920 if (!SWIG_IsOK(res1
)) {
25921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25923 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
25924 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25925 if (!SWIG_IsOK(res2
)) {
25926 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25928 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25930 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25931 if (!SWIG_IsOK(ecode3
)) {
25932 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25934 arg3
= static_cast< int >(val3
);
25939 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25945 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25949 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
25950 if (!SWIG_IsOK(ecode6
)) {
25951 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25953 arg6
= static_cast< long >(val6
);
25957 arg7
= wxString_in_helper(obj6
);
25958 if (arg7
== NULL
) SWIG_fail
;
25963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25964 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25965 wxPyEndAllowThreads(__tstate
);
25966 if (PyErr_Occurred()) SWIG_fail
;
25969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25985 SWIGINTERN PyObject
*_wrap_ToolBar_SetToolNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25986 PyObject
*resultobj
= 0;
25987 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25989 wxBitmap
*arg3
= 0 ;
25996 PyObject
* obj0
= 0 ;
25997 PyObject
* obj1
= 0 ;
25998 PyObject
* obj2
= 0 ;
25999 char * kwnames
[] = {
26000 (char *) "self",(char *) "id",(char *) "bitmap", NULL
26003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_SetToolNormalBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
26005 if (!SWIG_IsOK(res1
)) {
26006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_SetToolNormalBitmap" "', expected argument " "1"" of type '" "wxToolBar *""'");
26008 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
26009 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26010 if (!SWIG_IsOK(ecode2
)) {
26011 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBar_SetToolNormalBitmap" "', expected argument " "2"" of type '" "int""'");
26013 arg2
= static_cast< int >(val2
);
26014 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
26015 if (!SWIG_IsOK(res3
)) {
26016 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBar_SetToolNormalBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
26019 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBar_SetToolNormalBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
26021 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
26023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26024 (arg1
)->SetToolNormalBitmap(arg2
,(wxBitmap
const &)*arg3
);
26025 wxPyEndAllowThreads(__tstate
);
26026 if (PyErr_Occurred()) SWIG_fail
;
26028 resultobj
= SWIG_Py_Void();
26035 SWIGINTERN PyObject
*_wrap_ToolBar_SetToolDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26036 PyObject
*resultobj
= 0;
26037 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
26039 wxBitmap
*arg3
= 0 ;
26046 PyObject
* obj0
= 0 ;
26047 PyObject
* obj1
= 0 ;
26048 PyObject
* obj2
= 0 ;
26049 char * kwnames
[] = {
26050 (char *) "self",(char *) "id",(char *) "bitmap", NULL
26053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_SetToolDisabledBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
26055 if (!SWIG_IsOK(res1
)) {
26056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_SetToolDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBar *""'");
26058 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
26059 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26060 if (!SWIG_IsOK(ecode2
)) {
26061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBar_SetToolDisabledBitmap" "', expected argument " "2"" of type '" "int""'");
26063 arg2
= static_cast< int >(val2
);
26064 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
26065 if (!SWIG_IsOK(res3
)) {
26066 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBar_SetToolDisabledBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
26069 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBar_SetToolDisabledBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
26071 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
26073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26074 (arg1
)->SetToolDisabledBitmap(arg2
,(wxBitmap
const &)*arg3
);
26075 wxPyEndAllowThreads(__tstate
);
26076 if (PyErr_Occurred()) SWIG_fail
;
26078 resultobj
= SWIG_Py_Void();
26085 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26086 PyObject
*resultobj
= 0;
26087 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
26088 SwigValueWrapper
<wxVisualAttributes
> result
;
26091 PyObject
* obj0
= 0 ;
26092 char * kwnames
[] = {
26093 (char *) "variant", NULL
26096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
26098 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26099 if (!SWIG_IsOK(ecode1
)) {
26100 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
26102 arg1
= static_cast< wxWindowVariant
>(val1
);
26105 if (!wxPyCheckForApp()) SWIG_fail
;
26106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26107 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
26108 wxPyEndAllowThreads(__tstate
);
26109 if (PyErr_Occurred()) SWIG_fail
;
26111 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
26118 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26120 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26121 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
26122 return SWIG_Py_Void();
26125 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26126 return SWIG_Python_InitShadowInstance(args
);
26129 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
26130 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
26135 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
26136 PyObject
*pyobj
= 0;
26140 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
26142 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
26149 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26150 PyObject
*resultobj
= 0;
26151 wxColour
const &arg1_defvalue
= wxNullColour
;
26152 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
26153 wxColour
const &arg2_defvalue
= wxNullColour
;
26154 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
26155 wxFont
const &arg3_defvalue
= wxNullFont
;
26156 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
26157 wxListItemAttr
*result
= 0 ;
26162 PyObject
* obj0
= 0 ;
26163 PyObject
* obj1
= 0 ;
26164 PyObject
* obj2
= 0 ;
26165 char * kwnames
[] = {
26166 (char *) "colText",(char *) "colBack",(char *) "font", NULL
26169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26173 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
26179 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26183 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
26184 if (!SWIG_IsOK(res3
)) {
26185 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26188 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26190 arg3
= reinterpret_cast< wxFont
* >(argp3
);
26193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26194 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
26195 wxPyEndAllowThreads(__tstate
);
26196 if (PyErr_Occurred()) SWIG_fail
;
26198 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
26205 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26206 PyObject
*resultobj
= 0;
26207 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26210 PyObject
*swig_obj
[1] ;
26212 if (!args
) SWIG_fail
;
26213 swig_obj
[0] = args
;
26214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
26215 if (!SWIG_IsOK(res1
)) {
26216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26218 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26223 wxPyEndAllowThreads(__tstate
);
26224 if (PyErr_Occurred()) SWIG_fail
;
26226 resultobj
= SWIG_Py_Void();
26233 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26234 PyObject
*resultobj
= 0;
26235 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26236 wxColour
*arg2
= 0 ;
26240 PyObject
* obj0
= 0 ;
26241 PyObject
* obj1
= 0 ;
26242 char * kwnames
[] = {
26243 (char *) "self",(char *) "colText", NULL
26246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26248 if (!SWIG_IsOK(res1
)) {
26249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26251 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26254 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26258 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26259 wxPyEndAllowThreads(__tstate
);
26260 if (PyErr_Occurred()) SWIG_fail
;
26262 resultobj
= SWIG_Py_Void();
26269 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26270 PyObject
*resultobj
= 0;
26271 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26272 wxColour
*arg2
= 0 ;
26276 PyObject
* obj0
= 0 ;
26277 PyObject
* obj1
= 0 ;
26278 char * kwnames
[] = {
26279 (char *) "self",(char *) "colBack", NULL
26282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26284 if (!SWIG_IsOK(res1
)) {
26285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26287 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26290 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26294 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26295 wxPyEndAllowThreads(__tstate
);
26296 if (PyErr_Occurred()) SWIG_fail
;
26298 resultobj
= SWIG_Py_Void();
26305 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26306 PyObject
*resultobj
= 0;
26307 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26313 PyObject
* obj0
= 0 ;
26314 PyObject
* obj1
= 0 ;
26315 char * kwnames
[] = {
26316 (char *) "self",(char *) "font", NULL
26319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26321 if (!SWIG_IsOK(res1
)) {
26322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26324 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26325 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26326 if (!SWIG_IsOK(res2
)) {
26327 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26330 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26332 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26335 (arg1
)->SetFont((wxFont
const &)*arg2
);
26336 wxPyEndAllowThreads(__tstate
);
26337 if (PyErr_Occurred()) SWIG_fail
;
26339 resultobj
= SWIG_Py_Void();
26346 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26347 PyObject
*resultobj
= 0;
26348 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26352 PyObject
*swig_obj
[1] ;
26354 if (!args
) SWIG_fail
;
26355 swig_obj
[0] = args
;
26356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26357 if (!SWIG_IsOK(res1
)) {
26358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26360 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26363 result
= (bool)(arg1
)->HasTextColour();
26364 wxPyEndAllowThreads(__tstate
);
26365 if (PyErr_Occurred()) SWIG_fail
;
26368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26376 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26377 PyObject
*resultobj
= 0;
26378 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26382 PyObject
*swig_obj
[1] ;
26384 if (!args
) SWIG_fail
;
26385 swig_obj
[0] = args
;
26386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26387 if (!SWIG_IsOK(res1
)) {
26388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26390 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26393 result
= (bool)(arg1
)->HasBackgroundColour();
26394 wxPyEndAllowThreads(__tstate
);
26395 if (PyErr_Occurred()) SWIG_fail
;
26398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26406 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26407 PyObject
*resultobj
= 0;
26408 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26412 PyObject
*swig_obj
[1] ;
26414 if (!args
) SWIG_fail
;
26415 swig_obj
[0] = args
;
26416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26417 if (!SWIG_IsOK(res1
)) {
26418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26420 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26423 result
= (bool)(arg1
)->HasFont();
26424 wxPyEndAllowThreads(__tstate
);
26425 if (PyErr_Occurred()) SWIG_fail
;
26428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26436 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26437 PyObject
*resultobj
= 0;
26438 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26442 PyObject
*swig_obj
[1] ;
26444 if (!args
) SWIG_fail
;
26445 swig_obj
[0] = args
;
26446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26447 if (!SWIG_IsOK(res1
)) {
26448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26450 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26453 result
= (arg1
)->GetTextColour();
26454 wxPyEndAllowThreads(__tstate
);
26455 if (PyErr_Occurred()) SWIG_fail
;
26457 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26464 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26465 PyObject
*resultobj
= 0;
26466 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26470 PyObject
*swig_obj
[1] ;
26472 if (!args
) SWIG_fail
;
26473 swig_obj
[0] = args
;
26474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26475 if (!SWIG_IsOK(res1
)) {
26476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26478 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26481 result
= (arg1
)->GetBackgroundColour();
26482 wxPyEndAllowThreads(__tstate
);
26483 if (PyErr_Occurred()) SWIG_fail
;
26485 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26492 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26493 PyObject
*resultobj
= 0;
26494 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26498 PyObject
*swig_obj
[1] ;
26500 if (!args
) SWIG_fail
;
26501 swig_obj
[0] = args
;
26502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26503 if (!SWIG_IsOK(res1
)) {
26504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26506 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26509 result
= (arg1
)->GetFont();
26510 wxPyEndAllowThreads(__tstate
);
26511 if (PyErr_Occurred()) SWIG_fail
;
26513 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
26520 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26521 PyObject
*resultobj
= 0;
26522 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26523 wxListItemAttr
*arg2
= 0 ;
26528 PyObject
* obj0
= 0 ;
26529 PyObject
* obj1
= 0 ;
26530 char * kwnames
[] = {
26531 (char *) "self",(char *) "source", NULL
26534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26536 if (!SWIG_IsOK(res1
)) {
26537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26539 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26540 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
26541 if (!SWIG_IsOK(res2
)) {
26542 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26545 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26547 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
26549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26550 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
26551 wxPyEndAllowThreads(__tstate
);
26552 if (PyErr_Occurred()) SWIG_fail
;
26554 resultobj
= SWIG_Py_Void();
26561 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26562 PyObject
*resultobj
= 0;
26563 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26566 PyObject
*swig_obj
[1] ;
26568 if (!args
) SWIG_fail
;
26569 swig_obj
[0] = args
;
26570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26571 if (!SWIG_IsOK(res1
)) {
26572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26574 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26577 wxListItemAttr_Destroy(arg1
);
26578 wxPyEndAllowThreads(__tstate
);
26579 if (PyErr_Occurred()) SWIG_fail
;
26581 resultobj
= SWIG_Py_Void();
26588 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26590 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26591 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
26592 return SWIG_Py_Void();
26595 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26596 return SWIG_Python_InitShadowInstance(args
);
26599 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26600 PyObject
*resultobj
= 0;
26601 wxListItem
*result
= 0 ;
26603 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
26605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26606 result
= (wxListItem
*)new wxListItem();
26607 wxPyEndAllowThreads(__tstate
);
26608 if (PyErr_Occurred()) SWIG_fail
;
26610 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, SWIG_POINTER_NEW
| 0 );
26617 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26618 PyObject
*resultobj
= 0;
26619 wxListItem
*arg1
= (wxListItem
*) 0 ;
26622 PyObject
*swig_obj
[1] ;
26624 if (!args
) SWIG_fail
;
26625 swig_obj
[0] = args
;
26626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
26627 if (!SWIG_IsOK(res1
)) {
26628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26630 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26635 wxPyEndAllowThreads(__tstate
);
26636 if (PyErr_Occurred()) SWIG_fail
;
26638 resultobj
= SWIG_Py_Void();
26645 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26646 PyObject
*resultobj
= 0;
26647 wxListItem
*arg1
= (wxListItem
*) 0 ;
26650 PyObject
*swig_obj
[1] ;
26652 if (!args
) SWIG_fail
;
26653 swig_obj
[0] = args
;
26654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26655 if (!SWIG_IsOK(res1
)) {
26656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26658 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26662 wxPyEndAllowThreads(__tstate
);
26663 if (PyErr_Occurred()) SWIG_fail
;
26665 resultobj
= SWIG_Py_Void();
26672 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26673 PyObject
*resultobj
= 0;
26674 wxListItem
*arg1
= (wxListItem
*) 0 ;
26677 PyObject
*swig_obj
[1] ;
26679 if (!args
) SWIG_fail
;
26680 swig_obj
[0] = args
;
26681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26682 if (!SWIG_IsOK(res1
)) {
26683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26685 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26688 (arg1
)->ClearAttributes();
26689 wxPyEndAllowThreads(__tstate
);
26690 if (PyErr_Occurred()) SWIG_fail
;
26692 resultobj
= SWIG_Py_Void();
26699 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26700 PyObject
*resultobj
= 0;
26701 wxListItem
*arg1
= (wxListItem
*) 0 ;
26707 PyObject
* obj0
= 0 ;
26708 PyObject
* obj1
= 0 ;
26709 char * kwnames
[] = {
26710 (char *) "self",(char *) "mask", NULL
26713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26715 if (!SWIG_IsOK(res1
)) {
26716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26718 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26719 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26720 if (!SWIG_IsOK(ecode2
)) {
26721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26723 arg2
= static_cast< long >(val2
);
26725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26726 (arg1
)->SetMask(arg2
);
26727 wxPyEndAllowThreads(__tstate
);
26728 if (PyErr_Occurred()) SWIG_fail
;
26730 resultobj
= SWIG_Py_Void();
26737 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26738 PyObject
*resultobj
= 0;
26739 wxListItem
*arg1
= (wxListItem
*) 0 ;
26745 PyObject
* obj0
= 0 ;
26746 PyObject
* obj1
= 0 ;
26747 char * kwnames
[] = {
26748 (char *) "self",(char *) "id", NULL
26751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26753 if (!SWIG_IsOK(res1
)) {
26754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26756 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26757 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26758 if (!SWIG_IsOK(ecode2
)) {
26759 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26761 arg2
= static_cast< long >(val2
);
26763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26764 (arg1
)->SetId(arg2
);
26765 wxPyEndAllowThreads(__tstate
);
26766 if (PyErr_Occurred()) SWIG_fail
;
26768 resultobj
= SWIG_Py_Void();
26775 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26776 PyObject
*resultobj
= 0;
26777 wxListItem
*arg1
= (wxListItem
*) 0 ;
26783 PyObject
* obj0
= 0 ;
26784 PyObject
* obj1
= 0 ;
26785 char * kwnames
[] = {
26786 (char *) "self",(char *) "col", NULL
26789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26791 if (!SWIG_IsOK(res1
)) {
26792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26794 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26795 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26796 if (!SWIG_IsOK(ecode2
)) {
26797 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26799 arg2
= static_cast< int >(val2
);
26801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26802 (arg1
)->SetColumn(arg2
);
26803 wxPyEndAllowThreads(__tstate
);
26804 if (PyErr_Occurred()) SWIG_fail
;
26806 resultobj
= SWIG_Py_Void();
26813 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26814 PyObject
*resultobj
= 0;
26815 wxListItem
*arg1
= (wxListItem
*) 0 ;
26821 PyObject
* obj0
= 0 ;
26822 PyObject
* obj1
= 0 ;
26823 char * kwnames
[] = {
26824 (char *) "self",(char *) "state", NULL
26827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26829 if (!SWIG_IsOK(res1
)) {
26830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26832 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26833 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26834 if (!SWIG_IsOK(ecode2
)) {
26835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26837 arg2
= static_cast< long >(val2
);
26839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26840 (arg1
)->SetState(arg2
);
26841 wxPyEndAllowThreads(__tstate
);
26842 if (PyErr_Occurred()) SWIG_fail
;
26844 resultobj
= SWIG_Py_Void();
26851 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26852 PyObject
*resultobj
= 0;
26853 wxListItem
*arg1
= (wxListItem
*) 0 ;
26859 PyObject
* obj0
= 0 ;
26860 PyObject
* obj1
= 0 ;
26861 char * kwnames
[] = {
26862 (char *) "self",(char *) "stateMask", NULL
26865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26867 if (!SWIG_IsOK(res1
)) {
26868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26870 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26871 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26872 if (!SWIG_IsOK(ecode2
)) {
26873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26875 arg2
= static_cast< long >(val2
);
26877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26878 (arg1
)->SetStateMask(arg2
);
26879 wxPyEndAllowThreads(__tstate
);
26880 if (PyErr_Occurred()) SWIG_fail
;
26882 resultobj
= SWIG_Py_Void();
26889 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26890 PyObject
*resultobj
= 0;
26891 wxListItem
*arg1
= (wxListItem
*) 0 ;
26892 wxString
*arg2
= 0 ;
26895 bool temp2
= false ;
26896 PyObject
* obj0
= 0 ;
26897 PyObject
* obj1
= 0 ;
26898 char * kwnames
[] = {
26899 (char *) "self",(char *) "text", NULL
26902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26904 if (!SWIG_IsOK(res1
)) {
26905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26907 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26909 arg2
= wxString_in_helper(obj1
);
26910 if (arg2
== NULL
) SWIG_fail
;
26914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26915 (arg1
)->SetText((wxString
const &)*arg2
);
26916 wxPyEndAllowThreads(__tstate
);
26917 if (PyErr_Occurred()) SWIG_fail
;
26919 resultobj
= SWIG_Py_Void();
26934 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26935 PyObject
*resultobj
= 0;
26936 wxListItem
*arg1
= (wxListItem
*) 0 ;
26942 PyObject
* obj0
= 0 ;
26943 PyObject
* obj1
= 0 ;
26944 char * kwnames
[] = {
26945 (char *) "self",(char *) "image", NULL
26948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26950 if (!SWIG_IsOK(res1
)) {
26951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26953 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26954 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26955 if (!SWIG_IsOK(ecode2
)) {
26956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26958 arg2
= static_cast< int >(val2
);
26960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26961 (arg1
)->SetImage(arg2
);
26962 wxPyEndAllowThreads(__tstate
);
26963 if (PyErr_Occurred()) SWIG_fail
;
26965 resultobj
= SWIG_Py_Void();
26972 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26973 PyObject
*resultobj
= 0;
26974 wxListItem
*arg1
= (wxListItem
*) 0 ;
26980 PyObject
* obj0
= 0 ;
26981 PyObject
* obj1
= 0 ;
26982 char * kwnames
[] = {
26983 (char *) "self",(char *) "data", NULL
26986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26988 if (!SWIG_IsOK(res1
)) {
26989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26991 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26992 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26993 if (!SWIG_IsOK(ecode2
)) {
26994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26996 arg2
= static_cast< long >(val2
);
26998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26999 (arg1
)->SetData(arg2
);
27000 wxPyEndAllowThreads(__tstate
);
27001 if (PyErr_Occurred()) SWIG_fail
;
27003 resultobj
= SWIG_Py_Void();
27010 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27011 PyObject
*resultobj
= 0;
27012 wxListItem
*arg1
= (wxListItem
*) 0 ;
27018 PyObject
* obj0
= 0 ;
27019 PyObject
* obj1
= 0 ;
27020 char * kwnames
[] = {
27021 (char *) "self",(char *) "width", NULL
27024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27026 if (!SWIG_IsOK(res1
)) {
27027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27029 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27030 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27031 if (!SWIG_IsOK(ecode2
)) {
27032 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
27034 arg2
= static_cast< int >(val2
);
27036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27037 (arg1
)->SetWidth(arg2
);
27038 wxPyEndAllowThreads(__tstate
);
27039 if (PyErr_Occurred()) SWIG_fail
;
27041 resultobj
= SWIG_Py_Void();
27048 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27049 PyObject
*resultobj
= 0;
27050 wxListItem
*arg1
= (wxListItem
*) 0 ;
27051 wxListColumnFormat arg2
;
27056 PyObject
* obj0
= 0 ;
27057 PyObject
* obj1
= 0 ;
27058 char * kwnames
[] = {
27059 (char *) "self",(char *) "align", NULL
27062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27064 if (!SWIG_IsOK(res1
)) {
27065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27067 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27068 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27069 if (!SWIG_IsOK(ecode2
)) {
27070 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
27072 arg2
= static_cast< wxListColumnFormat
>(val2
);
27074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27075 (arg1
)->SetAlign(arg2
);
27076 wxPyEndAllowThreads(__tstate
);
27077 if (PyErr_Occurred()) SWIG_fail
;
27079 resultobj
= SWIG_Py_Void();
27086 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27087 PyObject
*resultobj
= 0;
27088 wxListItem
*arg1
= (wxListItem
*) 0 ;
27089 wxColour
*arg2
= 0 ;
27093 PyObject
* obj0
= 0 ;
27094 PyObject
* obj1
= 0 ;
27095 char * kwnames
[] = {
27096 (char *) "self",(char *) "colText", NULL
27099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27101 if (!SWIG_IsOK(res1
)) {
27102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27104 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27107 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27111 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
27112 wxPyEndAllowThreads(__tstate
);
27113 if (PyErr_Occurred()) SWIG_fail
;
27115 resultobj
= SWIG_Py_Void();
27122 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27123 PyObject
*resultobj
= 0;
27124 wxListItem
*arg1
= (wxListItem
*) 0 ;
27125 wxColour
*arg2
= 0 ;
27129 PyObject
* obj0
= 0 ;
27130 PyObject
* obj1
= 0 ;
27131 char * kwnames
[] = {
27132 (char *) "self",(char *) "colBack", NULL
27135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27137 if (!SWIG_IsOK(res1
)) {
27138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27140 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27143 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27147 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
27148 wxPyEndAllowThreads(__tstate
);
27149 if (PyErr_Occurred()) SWIG_fail
;
27151 resultobj
= SWIG_Py_Void();
27158 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27159 PyObject
*resultobj
= 0;
27160 wxListItem
*arg1
= (wxListItem
*) 0 ;
27166 PyObject
* obj0
= 0 ;
27167 PyObject
* obj1
= 0 ;
27168 char * kwnames
[] = {
27169 (char *) "self",(char *) "font", NULL
27172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27174 if (!SWIG_IsOK(res1
)) {
27175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
27177 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27178 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
27179 if (!SWIG_IsOK(res2
)) {
27180 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27183 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27185 arg2
= reinterpret_cast< wxFont
* >(argp2
);
27187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27188 (arg1
)->SetFont((wxFont
const &)*arg2
);
27189 wxPyEndAllowThreads(__tstate
);
27190 if (PyErr_Occurred()) SWIG_fail
;
27192 resultobj
= SWIG_Py_Void();
27199 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27200 PyObject
*resultobj
= 0;
27201 wxListItem
*arg1
= (wxListItem
*) 0 ;
27205 PyObject
*swig_obj
[1] ;
27207 if (!args
) SWIG_fail
;
27208 swig_obj
[0] = args
;
27209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27210 if (!SWIG_IsOK(res1
)) {
27211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
27213 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27216 result
= (long)(arg1
)->GetMask();
27217 wxPyEndAllowThreads(__tstate
);
27218 if (PyErr_Occurred()) SWIG_fail
;
27220 resultobj
= SWIG_From_long(static_cast< long >(result
));
27227 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27228 PyObject
*resultobj
= 0;
27229 wxListItem
*arg1
= (wxListItem
*) 0 ;
27233 PyObject
*swig_obj
[1] ;
27235 if (!args
) SWIG_fail
;
27236 swig_obj
[0] = args
;
27237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27238 if (!SWIG_IsOK(res1
)) {
27239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
27241 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27244 result
= (long)(arg1
)->GetId();
27245 wxPyEndAllowThreads(__tstate
);
27246 if (PyErr_Occurred()) SWIG_fail
;
27248 resultobj
= SWIG_From_long(static_cast< long >(result
));
27255 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27256 PyObject
*resultobj
= 0;
27257 wxListItem
*arg1
= (wxListItem
*) 0 ;
27261 PyObject
*swig_obj
[1] ;
27263 if (!args
) SWIG_fail
;
27264 swig_obj
[0] = args
;
27265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27266 if (!SWIG_IsOK(res1
)) {
27267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
27269 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27272 result
= (int)(arg1
)->GetColumn();
27273 wxPyEndAllowThreads(__tstate
);
27274 if (PyErr_Occurred()) SWIG_fail
;
27276 resultobj
= SWIG_From_int(static_cast< int >(result
));
27283 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27284 PyObject
*resultobj
= 0;
27285 wxListItem
*arg1
= (wxListItem
*) 0 ;
27289 PyObject
*swig_obj
[1] ;
27291 if (!args
) SWIG_fail
;
27292 swig_obj
[0] = args
;
27293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27294 if (!SWIG_IsOK(res1
)) {
27295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
27297 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27300 result
= (long)(arg1
)->GetState();
27301 wxPyEndAllowThreads(__tstate
);
27302 if (PyErr_Occurred()) SWIG_fail
;
27304 resultobj
= SWIG_From_long(static_cast< long >(result
));
27311 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27312 PyObject
*resultobj
= 0;
27313 wxListItem
*arg1
= (wxListItem
*) 0 ;
27314 wxString
*result
= 0 ;
27317 PyObject
*swig_obj
[1] ;
27319 if (!args
) SWIG_fail
;
27320 swig_obj
[0] = args
;
27321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27322 if (!SWIG_IsOK(res1
)) {
27323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
27325 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27329 wxString
const &_result_ref
= (arg1
)->GetText();
27330 result
= (wxString
*) &_result_ref
;
27332 wxPyEndAllowThreads(__tstate
);
27333 if (PyErr_Occurred()) SWIG_fail
;
27337 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27339 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27348 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27349 PyObject
*resultobj
= 0;
27350 wxListItem
*arg1
= (wxListItem
*) 0 ;
27354 PyObject
*swig_obj
[1] ;
27356 if (!args
) SWIG_fail
;
27357 swig_obj
[0] = args
;
27358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27359 if (!SWIG_IsOK(res1
)) {
27360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27362 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27365 result
= (int)(arg1
)->GetImage();
27366 wxPyEndAllowThreads(__tstate
);
27367 if (PyErr_Occurred()) SWIG_fail
;
27369 resultobj
= SWIG_From_int(static_cast< int >(result
));
27376 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27377 PyObject
*resultobj
= 0;
27378 wxListItem
*arg1
= (wxListItem
*) 0 ;
27382 PyObject
*swig_obj
[1] ;
27384 if (!args
) SWIG_fail
;
27385 swig_obj
[0] = args
;
27386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27387 if (!SWIG_IsOK(res1
)) {
27388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27390 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27393 result
= (long)(arg1
)->GetData();
27394 wxPyEndAllowThreads(__tstate
);
27395 if (PyErr_Occurred()) SWIG_fail
;
27397 resultobj
= SWIG_From_long(static_cast< long >(result
));
27404 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27405 PyObject
*resultobj
= 0;
27406 wxListItem
*arg1
= (wxListItem
*) 0 ;
27410 PyObject
*swig_obj
[1] ;
27412 if (!args
) SWIG_fail
;
27413 swig_obj
[0] = args
;
27414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27415 if (!SWIG_IsOK(res1
)) {
27416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27418 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27421 result
= (int)(arg1
)->GetWidth();
27422 wxPyEndAllowThreads(__tstate
);
27423 if (PyErr_Occurred()) SWIG_fail
;
27425 resultobj
= SWIG_From_int(static_cast< int >(result
));
27432 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27433 PyObject
*resultobj
= 0;
27434 wxListItem
*arg1
= (wxListItem
*) 0 ;
27435 wxListColumnFormat result
;
27438 PyObject
*swig_obj
[1] ;
27440 if (!args
) SWIG_fail
;
27441 swig_obj
[0] = args
;
27442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27443 if (!SWIG_IsOK(res1
)) {
27444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27446 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27449 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
27450 wxPyEndAllowThreads(__tstate
);
27451 if (PyErr_Occurred()) SWIG_fail
;
27453 resultobj
= SWIG_From_int(static_cast< int >(result
));
27460 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27461 PyObject
*resultobj
= 0;
27462 wxListItem
*arg1
= (wxListItem
*) 0 ;
27463 wxListItemAttr
*result
= 0 ;
27466 PyObject
*swig_obj
[1] ;
27468 if (!args
) SWIG_fail
;
27469 swig_obj
[0] = args
;
27470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27471 if (!SWIG_IsOK(res1
)) {
27472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27474 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27477 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
27478 wxPyEndAllowThreads(__tstate
);
27479 if (PyErr_Occurred()) SWIG_fail
;
27481 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
27488 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27489 PyObject
*resultobj
= 0;
27490 wxListItem
*arg1
= (wxListItem
*) 0 ;
27494 PyObject
*swig_obj
[1] ;
27496 if (!args
) SWIG_fail
;
27497 swig_obj
[0] = args
;
27498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27499 if (!SWIG_IsOK(res1
)) {
27500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27502 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27505 result
= (bool)(arg1
)->HasAttributes();
27506 wxPyEndAllowThreads(__tstate
);
27507 if (PyErr_Occurred()) SWIG_fail
;
27510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27518 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27519 PyObject
*resultobj
= 0;
27520 wxListItem
*arg1
= (wxListItem
*) 0 ;
27524 PyObject
*swig_obj
[1] ;
27526 if (!args
) SWIG_fail
;
27527 swig_obj
[0] = args
;
27528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27529 if (!SWIG_IsOK(res1
)) {
27530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27532 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27535 result
= ((wxListItem
const *)arg1
)->GetTextColour();
27536 wxPyEndAllowThreads(__tstate
);
27537 if (PyErr_Occurred()) SWIG_fail
;
27539 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27546 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27547 PyObject
*resultobj
= 0;
27548 wxListItem
*arg1
= (wxListItem
*) 0 ;
27552 PyObject
*swig_obj
[1] ;
27554 if (!args
) SWIG_fail
;
27555 swig_obj
[0] = args
;
27556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27557 if (!SWIG_IsOK(res1
)) {
27558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27560 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27563 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
27564 wxPyEndAllowThreads(__tstate
);
27565 if (PyErr_Occurred()) SWIG_fail
;
27567 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27574 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27575 PyObject
*resultobj
= 0;
27576 wxListItem
*arg1
= (wxListItem
*) 0 ;
27580 PyObject
*swig_obj
[1] ;
27582 if (!args
) SWIG_fail
;
27583 swig_obj
[0] = args
;
27584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27585 if (!SWIG_IsOK(res1
)) {
27586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27588 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27591 result
= ((wxListItem
const *)arg1
)->GetFont();
27592 wxPyEndAllowThreads(__tstate
);
27593 if (PyErr_Occurred()) SWIG_fail
;
27595 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
27602 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27603 PyObject
*resultobj
= 0;
27604 wxListItem
*arg1
= (wxListItem
*) 0 ;
27610 PyObject
*swig_obj
[2] ;
27612 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
27613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27614 if (!SWIG_IsOK(res1
)) {
27615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27617 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27618 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27619 if (!SWIG_IsOK(ecode2
)) {
27620 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27622 arg2
= static_cast< long >(val2
);
27623 if (arg1
) (arg1
)->m_mask
= arg2
;
27625 resultobj
= SWIG_Py_Void();
27632 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27633 PyObject
*resultobj
= 0;
27634 wxListItem
*arg1
= (wxListItem
*) 0 ;
27638 PyObject
*swig_obj
[1] ;
27640 if (!args
) SWIG_fail
;
27641 swig_obj
[0] = args
;
27642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27643 if (!SWIG_IsOK(res1
)) {
27644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27646 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27647 result
= (long) ((arg1
)->m_mask
);
27648 resultobj
= SWIG_From_long(static_cast< long >(result
));
27655 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27656 PyObject
*resultobj
= 0;
27657 wxListItem
*arg1
= (wxListItem
*) 0 ;
27663 PyObject
*swig_obj
[2] ;
27665 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27667 if (!SWIG_IsOK(res1
)) {
27668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27670 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27671 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27672 if (!SWIG_IsOK(ecode2
)) {
27673 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27675 arg2
= static_cast< long >(val2
);
27676 if (arg1
) (arg1
)->m_itemId
= arg2
;
27678 resultobj
= SWIG_Py_Void();
27685 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27686 PyObject
*resultobj
= 0;
27687 wxListItem
*arg1
= (wxListItem
*) 0 ;
27691 PyObject
*swig_obj
[1] ;
27693 if (!args
) SWIG_fail
;
27694 swig_obj
[0] = args
;
27695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27696 if (!SWIG_IsOK(res1
)) {
27697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27699 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27700 result
= (long) ((arg1
)->m_itemId
);
27701 resultobj
= SWIG_From_long(static_cast< long >(result
));
27708 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27709 PyObject
*resultobj
= 0;
27710 wxListItem
*arg1
= (wxListItem
*) 0 ;
27716 PyObject
*swig_obj
[2] ;
27718 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27720 if (!SWIG_IsOK(res1
)) {
27721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27723 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27724 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27725 if (!SWIG_IsOK(ecode2
)) {
27726 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27728 arg2
= static_cast< int >(val2
);
27729 if (arg1
) (arg1
)->m_col
= arg2
;
27731 resultobj
= SWIG_Py_Void();
27738 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27739 PyObject
*resultobj
= 0;
27740 wxListItem
*arg1
= (wxListItem
*) 0 ;
27744 PyObject
*swig_obj
[1] ;
27746 if (!args
) SWIG_fail
;
27747 swig_obj
[0] = args
;
27748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27749 if (!SWIG_IsOK(res1
)) {
27750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27752 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27753 result
= (int) ((arg1
)->m_col
);
27754 resultobj
= SWIG_From_int(static_cast< int >(result
));
27761 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27762 PyObject
*resultobj
= 0;
27763 wxListItem
*arg1
= (wxListItem
*) 0 ;
27769 PyObject
*swig_obj
[2] ;
27771 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27773 if (!SWIG_IsOK(res1
)) {
27774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27776 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27777 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27778 if (!SWIG_IsOK(ecode2
)) {
27779 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27781 arg2
= static_cast< long >(val2
);
27782 if (arg1
) (arg1
)->m_state
= arg2
;
27784 resultobj
= SWIG_Py_Void();
27791 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27792 PyObject
*resultobj
= 0;
27793 wxListItem
*arg1
= (wxListItem
*) 0 ;
27797 PyObject
*swig_obj
[1] ;
27799 if (!args
) SWIG_fail
;
27800 swig_obj
[0] = args
;
27801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27802 if (!SWIG_IsOK(res1
)) {
27803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27805 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27806 result
= (long) ((arg1
)->m_state
);
27807 resultobj
= SWIG_From_long(static_cast< long >(result
));
27814 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27815 PyObject
*resultobj
= 0;
27816 wxListItem
*arg1
= (wxListItem
*) 0 ;
27822 PyObject
*swig_obj
[2] ;
27824 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
27825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27826 if (!SWIG_IsOK(res1
)) {
27827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27829 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27830 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27831 if (!SWIG_IsOK(ecode2
)) {
27832 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27834 arg2
= static_cast< long >(val2
);
27835 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27837 resultobj
= SWIG_Py_Void();
27844 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27845 PyObject
*resultobj
= 0;
27846 wxListItem
*arg1
= (wxListItem
*) 0 ;
27850 PyObject
*swig_obj
[1] ;
27852 if (!args
) SWIG_fail
;
27853 swig_obj
[0] = args
;
27854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27855 if (!SWIG_IsOK(res1
)) {
27856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27858 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27859 result
= (long) ((arg1
)->m_stateMask
);
27860 resultobj
= SWIG_From_long(static_cast< long >(result
));
27867 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27868 PyObject
*resultobj
= 0;
27869 wxListItem
*arg1
= (wxListItem
*) 0 ;
27870 wxString
*arg2
= (wxString
*) 0 ;
27873 bool temp2
= false ;
27874 PyObject
*swig_obj
[2] ;
27876 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
27877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27878 if (!SWIG_IsOK(res1
)) {
27879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27881 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27883 arg2
= wxString_in_helper(swig_obj
[1]);
27884 if (arg2
== NULL
) SWIG_fail
;
27887 if (arg1
) (arg1
)->m_text
= *arg2
;
27889 resultobj
= SWIG_Py_Void();
27904 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27905 PyObject
*resultobj
= 0;
27906 wxListItem
*arg1
= (wxListItem
*) 0 ;
27907 wxString
*result
= 0 ;
27910 PyObject
*swig_obj
[1] ;
27912 if (!args
) SWIG_fail
;
27913 swig_obj
[0] = args
;
27914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27915 if (!SWIG_IsOK(res1
)) {
27916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27918 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27919 result
= (wxString
*)& ((arg1
)->m_text
);
27922 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27924 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27933 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27934 PyObject
*resultobj
= 0;
27935 wxListItem
*arg1
= (wxListItem
*) 0 ;
27941 PyObject
*swig_obj
[2] ;
27943 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
27944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27945 if (!SWIG_IsOK(res1
)) {
27946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27948 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27949 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27950 if (!SWIG_IsOK(ecode2
)) {
27951 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27953 arg2
= static_cast< int >(val2
);
27954 if (arg1
) (arg1
)->m_image
= arg2
;
27956 resultobj
= SWIG_Py_Void();
27963 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27964 PyObject
*resultobj
= 0;
27965 wxListItem
*arg1
= (wxListItem
*) 0 ;
27969 PyObject
*swig_obj
[1] ;
27971 if (!args
) SWIG_fail
;
27972 swig_obj
[0] = args
;
27973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27974 if (!SWIG_IsOK(res1
)) {
27975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27977 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27978 result
= (int) ((arg1
)->m_image
);
27979 resultobj
= SWIG_From_int(static_cast< int >(result
));
27986 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27987 PyObject
*resultobj
= 0;
27988 wxListItem
*arg1
= (wxListItem
*) 0 ;
27994 PyObject
*swig_obj
[2] ;
27996 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
27997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27998 if (!SWIG_IsOK(res1
)) {
27999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28001 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28002 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28003 if (!SWIG_IsOK(ecode2
)) {
28004 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
28006 arg2
= static_cast< long >(val2
);
28007 if (arg1
) (arg1
)->m_data
= arg2
;
28009 resultobj
= SWIG_Py_Void();
28016 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28017 PyObject
*resultobj
= 0;
28018 wxListItem
*arg1
= (wxListItem
*) 0 ;
28022 PyObject
*swig_obj
[1] ;
28024 if (!args
) SWIG_fail
;
28025 swig_obj
[0] = args
;
28026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28027 if (!SWIG_IsOK(res1
)) {
28028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28030 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28031 result
= (long) ((arg1
)->m_data
);
28032 resultobj
= SWIG_From_long(static_cast< long >(result
));
28039 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28040 PyObject
*resultobj
= 0;
28041 wxListItem
*arg1
= (wxListItem
*) 0 ;
28047 PyObject
*swig_obj
[2] ;
28049 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
28050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28051 if (!SWIG_IsOK(res1
)) {
28052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28054 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28055 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28056 if (!SWIG_IsOK(ecode2
)) {
28057 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
28059 arg2
= static_cast< int >(val2
);
28060 if (arg1
) (arg1
)->m_format
= arg2
;
28062 resultobj
= SWIG_Py_Void();
28069 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28070 PyObject
*resultobj
= 0;
28071 wxListItem
*arg1
= (wxListItem
*) 0 ;
28075 PyObject
*swig_obj
[1] ;
28077 if (!args
) SWIG_fail
;
28078 swig_obj
[0] = args
;
28079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28080 if (!SWIG_IsOK(res1
)) {
28081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28083 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28084 result
= (int) ((arg1
)->m_format
);
28085 resultobj
= SWIG_From_int(static_cast< int >(result
));
28092 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28093 PyObject
*resultobj
= 0;
28094 wxListItem
*arg1
= (wxListItem
*) 0 ;
28100 PyObject
*swig_obj
[2] ;
28102 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
28103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28104 if (!SWIG_IsOK(res1
)) {
28105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28107 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28108 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28109 if (!SWIG_IsOK(ecode2
)) {
28110 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
28112 arg2
= static_cast< int >(val2
);
28113 if (arg1
) (arg1
)->m_width
= arg2
;
28115 resultobj
= SWIG_Py_Void();
28122 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28123 PyObject
*resultobj
= 0;
28124 wxListItem
*arg1
= (wxListItem
*) 0 ;
28128 PyObject
*swig_obj
[1] ;
28130 if (!args
) SWIG_fail
;
28131 swig_obj
[0] = args
;
28132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28133 if (!SWIG_IsOK(res1
)) {
28134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28136 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28137 result
= (int) ((arg1
)->m_width
);
28138 resultobj
= SWIG_From_int(static_cast< int >(result
));
28145 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28147 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28148 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
28149 return SWIG_Py_Void();
28152 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28153 return SWIG_Python_InitShadowInstance(args
);
28156 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28157 PyObject
*resultobj
= 0;
28158 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28159 int arg2
= (int) 0 ;
28160 wxListEvent
*result
= 0 ;
28165 PyObject
* obj0
= 0 ;
28166 PyObject
* obj1
= 0 ;
28167 char * kwnames
[] = {
28168 (char *) "commandType",(char *) "id", NULL
28171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28173 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28174 if (!SWIG_IsOK(ecode1
)) {
28175 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
28177 arg1
= static_cast< wxEventType
>(val1
);
28180 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28181 if (!SWIG_IsOK(ecode2
)) {
28182 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
28184 arg2
= static_cast< int >(val2
);
28187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28188 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
28189 wxPyEndAllowThreads(__tstate
);
28190 if (PyErr_Occurred()) SWIG_fail
;
28192 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
28199 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28200 PyObject
*resultobj
= 0;
28201 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28207 PyObject
*swig_obj
[2] ;
28209 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
28210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28211 if (!SWIG_IsOK(res1
)) {
28212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28214 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28215 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28216 if (!SWIG_IsOK(ecode2
)) {
28217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
28219 arg2
= static_cast< int >(val2
);
28220 if (arg1
) (arg1
)->m_code
= arg2
;
28222 resultobj
= SWIG_Py_Void();
28229 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28230 PyObject
*resultobj
= 0;
28231 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28235 PyObject
*swig_obj
[1] ;
28237 if (!args
) SWIG_fail
;
28238 swig_obj
[0] = args
;
28239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28240 if (!SWIG_IsOK(res1
)) {
28241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28243 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28244 result
= (int) ((arg1
)->m_code
);
28245 resultobj
= SWIG_From_int(static_cast< int >(result
));
28252 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28253 PyObject
*resultobj
= 0;
28254 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28260 PyObject
*swig_obj
[2] ;
28262 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28264 if (!SWIG_IsOK(res1
)) {
28265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28267 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28268 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28269 if (!SWIG_IsOK(ecode2
)) {
28270 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
28272 arg2
= static_cast< long >(val2
);
28273 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
28275 resultobj
= SWIG_Py_Void();
28282 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28283 PyObject
*resultobj
= 0;
28284 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28288 PyObject
*swig_obj
[1] ;
28290 if (!args
) SWIG_fail
;
28291 swig_obj
[0] = args
;
28292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28293 if (!SWIG_IsOK(res1
)) {
28294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28296 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28297 result
= (long) ((arg1
)->m_oldItemIndex
);
28298 resultobj
= SWIG_From_long(static_cast< long >(result
));
28305 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28306 PyObject
*resultobj
= 0;
28307 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28313 PyObject
*swig_obj
[2] ;
28315 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28317 if (!SWIG_IsOK(res1
)) {
28318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28320 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28321 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28322 if (!SWIG_IsOK(ecode2
)) {
28323 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
28325 arg2
= static_cast< long >(val2
);
28326 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
28328 resultobj
= SWIG_Py_Void();
28335 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28336 PyObject
*resultobj
= 0;
28337 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28341 PyObject
*swig_obj
[1] ;
28343 if (!args
) SWIG_fail
;
28344 swig_obj
[0] = args
;
28345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28346 if (!SWIG_IsOK(res1
)) {
28347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28349 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28350 result
= (long) ((arg1
)->m_itemIndex
);
28351 resultobj
= SWIG_From_long(static_cast< long >(result
));
28358 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28359 PyObject
*resultobj
= 0;
28360 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28366 PyObject
*swig_obj
[2] ;
28368 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
28369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28370 if (!SWIG_IsOK(res1
)) {
28371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28373 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28374 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28375 if (!SWIG_IsOK(ecode2
)) {
28376 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
28378 arg2
= static_cast< int >(val2
);
28379 if (arg1
) (arg1
)->m_col
= arg2
;
28381 resultobj
= SWIG_Py_Void();
28388 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28389 PyObject
*resultobj
= 0;
28390 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28394 PyObject
*swig_obj
[1] ;
28396 if (!args
) SWIG_fail
;
28397 swig_obj
[0] = args
;
28398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28399 if (!SWIG_IsOK(res1
)) {
28400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28402 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28403 result
= (int) ((arg1
)->m_col
);
28404 resultobj
= SWIG_From_int(static_cast< int >(result
));
28411 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28412 PyObject
*resultobj
= 0;
28413 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28414 wxPoint
*arg2
= (wxPoint
*) 0 ;
28419 PyObject
*swig_obj
[2] ;
28421 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
28422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28423 if (!SWIG_IsOK(res1
)) {
28424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28426 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28427 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
28428 if (!SWIG_IsOK(res2
)) {
28429 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
28431 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
28432 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
28434 resultobj
= SWIG_Py_Void();
28441 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28442 PyObject
*resultobj
= 0;
28443 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28444 wxPoint
*result
= 0 ;
28447 PyObject
*swig_obj
[1] ;
28449 if (!args
) SWIG_fail
;
28450 swig_obj
[0] = args
;
28451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28452 if (!SWIG_IsOK(res1
)) {
28453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28455 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28456 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
28457 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
28464 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28465 PyObject
*resultobj
= 0;
28466 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28467 wxListItem
*result
= 0 ;
28470 PyObject
*swig_obj
[1] ;
28472 if (!args
) SWIG_fail
;
28473 swig_obj
[0] = args
;
28474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28475 if (!SWIG_IsOK(res1
)) {
28476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28478 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28479 result
= (wxListItem
*)& ((arg1
)->m_item
);
28481 resultobj
= wxPyMake_wxObject(result
, 0);
28489 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28490 PyObject
*resultobj
= 0;
28491 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28495 PyObject
*swig_obj
[1] ;
28497 if (!args
) SWIG_fail
;
28498 swig_obj
[0] = args
;
28499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28500 if (!SWIG_IsOK(res1
)) {
28501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28503 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28506 result
= (int)(arg1
)->GetKeyCode();
28507 wxPyEndAllowThreads(__tstate
);
28508 if (PyErr_Occurred()) SWIG_fail
;
28510 resultobj
= SWIG_From_int(static_cast< int >(result
));
28517 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28518 PyObject
*resultobj
= 0;
28519 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28523 PyObject
*swig_obj
[1] ;
28525 if (!args
) SWIG_fail
;
28526 swig_obj
[0] = args
;
28527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28528 if (!SWIG_IsOK(res1
)) {
28529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28531 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28534 result
= (long)(arg1
)->GetIndex();
28535 wxPyEndAllowThreads(__tstate
);
28536 if (PyErr_Occurred()) SWIG_fail
;
28538 resultobj
= SWIG_From_long(static_cast< long >(result
));
28545 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28546 PyObject
*resultobj
= 0;
28547 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28551 PyObject
*swig_obj
[1] ;
28553 if (!args
) SWIG_fail
;
28554 swig_obj
[0] = args
;
28555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28556 if (!SWIG_IsOK(res1
)) {
28557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28559 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28562 result
= (int)(arg1
)->GetColumn();
28563 wxPyEndAllowThreads(__tstate
);
28564 if (PyErr_Occurred()) SWIG_fail
;
28566 resultobj
= SWIG_From_int(static_cast< int >(result
));
28573 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28574 PyObject
*resultobj
= 0;
28575 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28579 PyObject
*swig_obj
[1] ;
28581 if (!args
) SWIG_fail
;
28582 swig_obj
[0] = args
;
28583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28584 if (!SWIG_IsOK(res1
)) {
28585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28587 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28590 result
= (arg1
)->GetPoint();
28591 wxPyEndAllowThreads(__tstate
);
28592 if (PyErr_Occurred()) SWIG_fail
;
28594 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
28601 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28602 PyObject
*resultobj
= 0;
28603 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28604 wxString
*result
= 0 ;
28607 PyObject
*swig_obj
[1] ;
28609 if (!args
) SWIG_fail
;
28610 swig_obj
[0] = args
;
28611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28612 if (!SWIG_IsOK(res1
)) {
28613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28615 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28619 wxString
const &_result_ref
= (arg1
)->GetLabel();
28620 result
= (wxString
*) &_result_ref
;
28622 wxPyEndAllowThreads(__tstate
);
28623 if (PyErr_Occurred()) SWIG_fail
;
28627 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28629 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28638 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28639 PyObject
*resultobj
= 0;
28640 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28641 wxString
*result
= 0 ;
28644 PyObject
*swig_obj
[1] ;
28646 if (!args
) SWIG_fail
;
28647 swig_obj
[0] = args
;
28648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28649 if (!SWIG_IsOK(res1
)) {
28650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28652 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28656 wxString
const &_result_ref
= (arg1
)->GetText();
28657 result
= (wxString
*) &_result_ref
;
28659 wxPyEndAllowThreads(__tstate
);
28660 if (PyErr_Occurred()) SWIG_fail
;
28664 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28666 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28675 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28676 PyObject
*resultobj
= 0;
28677 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28681 PyObject
*swig_obj
[1] ;
28683 if (!args
) SWIG_fail
;
28684 swig_obj
[0] = args
;
28685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28686 if (!SWIG_IsOK(res1
)) {
28687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28689 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28692 result
= (int)(arg1
)->GetImage();
28693 wxPyEndAllowThreads(__tstate
);
28694 if (PyErr_Occurred()) SWIG_fail
;
28696 resultobj
= SWIG_From_int(static_cast< int >(result
));
28703 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(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_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28717 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28720 result
= (long)(arg1
)->GetData();
28721 wxPyEndAllowThreads(__tstate
);
28722 if (PyErr_Occurred()) SWIG_fail
;
28724 resultobj
= SWIG_From_long(static_cast< long >(result
));
28731 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(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_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28745 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28748 result
= (long)(arg1
)->GetMask();
28749 wxPyEndAllowThreads(__tstate
);
28750 if (PyErr_Occurred()) SWIG_fail
;
28752 resultobj
= SWIG_From_long(static_cast< long >(result
));
28759 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28760 PyObject
*resultobj
= 0;
28761 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28762 wxListItem
*result
= 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_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28773 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28777 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28778 result
= (wxListItem
*) &_result_ref
;
28780 wxPyEndAllowThreads(__tstate
);
28781 if (PyErr_Occurred()) SWIG_fail
;
28783 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28790 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28791 PyObject
*resultobj
= 0;
28792 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28796 PyObject
*swig_obj
[1] ;
28798 if (!args
) SWIG_fail
;
28799 swig_obj
[0] = args
;
28800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28801 if (!SWIG_IsOK(res1
)) {
28802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28804 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28807 result
= (long)(arg1
)->GetCacheFrom();
28808 wxPyEndAllowThreads(__tstate
);
28809 if (PyErr_Occurred()) SWIG_fail
;
28811 resultobj
= SWIG_From_long(static_cast< long >(result
));
28818 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28819 PyObject
*resultobj
= 0;
28820 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28824 PyObject
*swig_obj
[1] ;
28826 if (!args
) SWIG_fail
;
28827 swig_obj
[0] = args
;
28828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28829 if (!SWIG_IsOK(res1
)) {
28830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28832 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28835 result
= (long)(arg1
)->GetCacheTo();
28836 wxPyEndAllowThreads(__tstate
);
28837 if (PyErr_Occurred()) SWIG_fail
;
28839 resultobj
= SWIG_From_long(static_cast< long >(result
));
28846 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28847 PyObject
*resultobj
= 0;
28848 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28852 PyObject
*swig_obj
[1] ;
28854 if (!args
) SWIG_fail
;
28855 swig_obj
[0] = args
;
28856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28857 if (!SWIG_IsOK(res1
)) {
28858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28860 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28863 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
28864 wxPyEndAllowThreads(__tstate
);
28865 if (PyErr_Occurred()) SWIG_fail
;
28868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28876 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28877 PyObject
*resultobj
= 0;
28878 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28884 PyObject
* obj0
= 0 ;
28885 PyObject
* obj1
= 0 ;
28886 char * kwnames
[] = {
28887 (char *) "self",(char *) "editCancelled", NULL
28890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28892 if (!SWIG_IsOK(res1
)) {
28893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28895 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28896 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28897 if (!SWIG_IsOK(ecode2
)) {
28898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28900 arg2
= static_cast< bool >(val2
);
28902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28903 (arg1
)->SetEditCanceled(arg2
);
28904 wxPyEndAllowThreads(__tstate
);
28905 if (PyErr_Occurred()) SWIG_fail
;
28907 resultobj
= SWIG_Py_Void();
28914 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28916 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28917 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
28918 return SWIG_Py_Void();
28921 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28922 return SWIG_Python_InitShadowInstance(args
);
28925 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28926 PyObject
*resultobj
= 0;
28927 wxWindow
*arg1
= (wxWindow
*) 0 ;
28928 int arg2
= (int) -1 ;
28929 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28930 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28931 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28932 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28933 long arg5
= (long) wxLC_ICON
;
28934 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28935 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28936 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
28937 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28938 wxPyListCtrl
*result
= 0 ;
28949 bool temp7
= false ;
28950 PyObject
* obj0
= 0 ;
28951 PyObject
* obj1
= 0 ;
28952 PyObject
* obj2
= 0 ;
28953 PyObject
* obj3
= 0 ;
28954 PyObject
* obj4
= 0 ;
28955 PyObject
* obj5
= 0 ;
28956 PyObject
* obj6
= 0 ;
28957 char * kwnames
[] = {
28958 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28963 if (!SWIG_IsOK(res1
)) {
28964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28966 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28968 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28969 if (!SWIG_IsOK(ecode2
)) {
28970 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28972 arg2
= static_cast< int >(val2
);
28977 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28983 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28987 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28988 if (!SWIG_IsOK(ecode5
)) {
28989 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28991 arg5
= static_cast< long >(val5
);
28994 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
28995 if (!SWIG_IsOK(res6
)) {
28996 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28999 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
29001 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
29005 arg7
= wxString_in_helper(obj6
);
29006 if (arg7
== NULL
) SWIG_fail
;
29011 if (!wxPyCheckForApp()) SWIG_fail
;
29012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29013 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
29014 wxPyEndAllowThreads(__tstate
);
29015 if (PyErr_Occurred()) SWIG_fail
;
29017 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
29032 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29033 PyObject
*resultobj
= 0;
29034 wxPyListCtrl
*result
= 0 ;
29036 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
29038 if (!wxPyCheckForApp()) SWIG_fail
;
29039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29040 result
= (wxPyListCtrl
*)new wxPyListCtrl();
29041 wxPyEndAllowThreads(__tstate
);
29042 if (PyErr_Occurred()) SWIG_fail
;
29044 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
29051 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29052 PyObject
*resultobj
= 0;
29053 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29054 wxWindow
*arg2
= (wxWindow
*) 0 ;
29055 int arg3
= (int) -1 ;
29056 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29057 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29058 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29059 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29060 long arg6
= (long) wxLC_ICON
;
29061 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
29062 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
29063 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
29064 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
29078 bool temp8
= false ;
29079 PyObject
* obj0
= 0 ;
29080 PyObject
* obj1
= 0 ;
29081 PyObject
* obj2
= 0 ;
29082 PyObject
* obj3
= 0 ;
29083 PyObject
* obj4
= 0 ;
29084 PyObject
* obj5
= 0 ;
29085 PyObject
* obj6
= 0 ;
29086 PyObject
* obj7
= 0 ;
29087 char * kwnames
[] = {
29088 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
29092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29093 if (!SWIG_IsOK(res1
)) {
29094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29096 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29097 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29098 if (!SWIG_IsOK(res2
)) {
29099 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
29101 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29103 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29104 if (!SWIG_IsOK(ecode3
)) {
29105 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
29107 arg3
= static_cast< int >(val3
);
29112 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29118 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29122 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29123 if (!SWIG_IsOK(ecode6
)) {
29124 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
29126 arg6
= static_cast< long >(val6
);
29129 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
29130 if (!SWIG_IsOK(res7
)) {
29131 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29134 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29136 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
29140 arg8
= wxString_in_helper(obj7
);
29141 if (arg8
== NULL
) SWIG_fail
;
29146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29147 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
29148 wxPyEndAllowThreads(__tstate
);
29149 if (PyErr_Occurred()) SWIG_fail
;
29152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29168 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29169 PyObject
*resultobj
= 0;
29170 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29171 PyObject
*arg2
= (PyObject
*) 0 ;
29172 PyObject
*arg3
= (PyObject
*) 0 ;
29175 PyObject
* obj0
= 0 ;
29176 PyObject
* obj1
= 0 ;
29177 PyObject
* obj2
= 0 ;
29178 char * kwnames
[] = {
29179 (char *) "self",(char *) "self",(char *) "_class", NULL
29182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29184 if (!SWIG_IsOK(res1
)) {
29185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29187 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29192 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29193 wxPyEndAllowThreads(__tstate
);
29194 if (PyErr_Occurred()) SWIG_fail
;
29196 resultobj
= SWIG_Py_Void();
29203 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29204 PyObject
*resultobj
= 0;
29205 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29207 wxListItem
*result
= 0 ;
29212 PyObject
* obj0
= 0 ;
29213 PyObject
* obj1
= 0 ;
29214 char * kwnames
[] = {
29215 (char *) "self",(char *) "col", NULL
29218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29220 if (!SWIG_IsOK(res1
)) {
29221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29223 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29224 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29225 if (!SWIG_IsOK(ecode2
)) {
29226 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
29228 arg2
= static_cast< int >(val2
);
29230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29231 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
29232 wxPyEndAllowThreads(__tstate
);
29233 if (PyErr_Occurred()) SWIG_fail
;
29236 resultobj
= wxPyMake_wxObject(result
, 0);
29244 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29245 PyObject
*resultobj
= 0;
29246 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29248 wxListItem
*arg3
= 0 ;
29256 PyObject
* obj0
= 0 ;
29257 PyObject
* obj1
= 0 ;
29258 PyObject
* obj2
= 0 ;
29259 char * kwnames
[] = {
29260 (char *) "self",(char *) "col",(char *) "item", NULL
29263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29265 if (!SWIG_IsOK(res1
)) {
29266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29268 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29269 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29270 if (!SWIG_IsOK(ecode2
)) {
29271 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
29273 arg2
= static_cast< int >(val2
);
29274 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
29275 if (!SWIG_IsOK(res3
)) {
29276 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29279 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29281 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
29283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29284 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
29285 wxPyEndAllowThreads(__tstate
);
29286 if (PyErr_Occurred()) SWIG_fail
;
29289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29297 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29298 PyObject
*resultobj
= 0;
29299 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29306 PyObject
* obj0
= 0 ;
29307 PyObject
* obj1
= 0 ;
29308 char * kwnames
[] = {
29309 (char *) "self",(char *) "col", NULL
29312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29314 if (!SWIG_IsOK(res1
)) {
29315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29317 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29318 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29319 if (!SWIG_IsOK(ecode2
)) {
29320 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29322 arg2
= static_cast< int >(val2
);
29324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29325 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
29326 wxPyEndAllowThreads(__tstate
);
29327 if (PyErr_Occurred()) SWIG_fail
;
29329 resultobj
= SWIG_From_int(static_cast< int >(result
));
29336 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29337 PyObject
*resultobj
= 0;
29338 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29348 PyObject
* obj0
= 0 ;
29349 PyObject
* obj1
= 0 ;
29350 PyObject
* obj2
= 0 ;
29351 char * kwnames
[] = {
29352 (char *) "self",(char *) "col",(char *) "width", NULL
29355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29357 if (!SWIG_IsOK(res1
)) {
29358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29360 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29361 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29362 if (!SWIG_IsOK(ecode2
)) {
29363 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29365 arg2
= static_cast< int >(val2
);
29366 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29367 if (!SWIG_IsOK(ecode3
)) {
29368 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
29370 arg3
= static_cast< int >(val3
);
29372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29373 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
29374 wxPyEndAllowThreads(__tstate
);
29375 if (PyErr_Occurred()) SWIG_fail
;
29378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29386 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29387 PyObject
*resultobj
= 0;
29388 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29392 PyObject
*swig_obj
[1] ;
29394 if (!args
) SWIG_fail
;
29395 swig_obj
[0] = args
;
29396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29397 if (!SWIG_IsOK(res1
)) {
29398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29400 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29403 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
29404 wxPyEndAllowThreads(__tstate
);
29405 if (PyErr_Occurred()) SWIG_fail
;
29407 resultobj
= SWIG_From_int(static_cast< int >(result
));
29414 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29415 PyObject
*resultobj
= 0;
29416 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29420 PyObject
*swig_obj
[1] ;
29422 if (!args
) SWIG_fail
;
29423 swig_obj
[0] = args
;
29424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29425 if (!SWIG_IsOK(res1
)) {
29426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29428 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29431 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
29432 wxPyEndAllowThreads(__tstate
);
29433 if (PyErr_Occurred()) SWIG_fail
;
29435 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29442 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29443 PyObject
*resultobj
= 0;
29444 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29445 wxTextCtrl
*result
= 0 ;
29448 PyObject
*swig_obj
[1] ;
29450 if (!args
) SWIG_fail
;
29451 swig_obj
[0] = args
;
29452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29453 if (!SWIG_IsOK(res1
)) {
29454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29456 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29459 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
29460 wxPyEndAllowThreads(__tstate
);
29461 if (PyErr_Occurred()) SWIG_fail
;
29464 resultobj
= wxPyMake_wxObject(result
, 0);
29472 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29473 PyObject
*resultobj
= 0;
29474 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29476 int arg3
= (int) 0 ;
29477 wxListItem
*result
= 0 ;
29484 PyObject
* obj0
= 0 ;
29485 PyObject
* obj1
= 0 ;
29486 PyObject
* obj2
= 0 ;
29487 char * kwnames
[] = {
29488 (char *) "self",(char *) "itemId",(char *) "col", NULL
29491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29493 if (!SWIG_IsOK(res1
)) {
29494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29496 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29497 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29498 if (!SWIG_IsOK(ecode2
)) {
29499 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29501 arg2
= static_cast< long >(val2
);
29503 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29504 if (!SWIG_IsOK(ecode3
)) {
29505 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29507 arg3
= static_cast< int >(val3
);
29510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29511 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
29512 wxPyEndAllowThreads(__tstate
);
29513 if (PyErr_Occurred()) SWIG_fail
;
29516 resultobj
= wxPyMake_wxObject(result
, 0);
29524 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29525 PyObject
*resultobj
= 0;
29526 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29527 wxListItem
*arg2
= 0 ;
29533 PyObject
* obj0
= 0 ;
29534 PyObject
* obj1
= 0 ;
29535 char * kwnames
[] = {
29536 (char *) "self",(char *) "info", NULL
29539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29541 if (!SWIG_IsOK(res1
)) {
29542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29544 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29545 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
29546 if (!SWIG_IsOK(res2
)) {
29547 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29550 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29552 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
29554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29555 result
= (bool)(arg1
)->SetItem(*arg2
);
29556 wxPyEndAllowThreads(__tstate
);
29557 if (PyErr_Occurred()) SWIG_fail
;
29560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29568 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29569 PyObject
*resultobj
= 0;
29570 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29573 wxString
*arg4
= 0 ;
29574 int arg5
= (int) -1 ;
29582 bool temp4
= false ;
29585 PyObject
* obj0
= 0 ;
29586 PyObject
* obj1
= 0 ;
29587 PyObject
* obj2
= 0 ;
29588 PyObject
* obj3
= 0 ;
29589 PyObject
* obj4
= 0 ;
29590 char * kwnames
[] = {
29591 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29596 if (!SWIG_IsOK(res1
)) {
29597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29599 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29600 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29601 if (!SWIG_IsOK(ecode2
)) {
29602 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29604 arg2
= static_cast< long >(val2
);
29605 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29606 if (!SWIG_IsOK(ecode3
)) {
29607 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29609 arg3
= static_cast< int >(val3
);
29611 arg4
= wxString_in_helper(obj3
);
29612 if (arg4
== NULL
) SWIG_fail
;
29616 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29617 if (!SWIG_IsOK(ecode5
)) {
29618 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29620 arg5
= static_cast< int >(val5
);
29623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29624 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
29625 wxPyEndAllowThreads(__tstate
);
29626 if (PyErr_Occurred()) SWIG_fail
;
29628 resultobj
= SWIG_From_long(static_cast< long >(result
));
29643 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29644 PyObject
*resultobj
= 0;
29645 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29655 PyObject
* obj0
= 0 ;
29656 PyObject
* obj1
= 0 ;
29657 PyObject
* obj2
= 0 ;
29658 char * kwnames
[] = {
29659 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29664 if (!SWIG_IsOK(res1
)) {
29665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29667 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29668 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29669 if (!SWIG_IsOK(ecode2
)) {
29670 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29672 arg2
= static_cast< long >(val2
);
29673 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29674 if (!SWIG_IsOK(ecode3
)) {
29675 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29677 arg3
= static_cast< long >(val3
);
29679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29680 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29681 wxPyEndAllowThreads(__tstate
);
29682 if (PyErr_Occurred()) SWIG_fail
;
29684 resultobj
= SWIG_From_int(static_cast< int >(result
));
29691 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29692 PyObject
*resultobj
= 0;
29693 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29706 PyObject
* obj0
= 0 ;
29707 PyObject
* obj1
= 0 ;
29708 PyObject
* obj2
= 0 ;
29709 PyObject
* obj3
= 0 ;
29710 char * kwnames
[] = {
29711 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29716 if (!SWIG_IsOK(res1
)) {
29717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29719 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29720 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29721 if (!SWIG_IsOK(ecode2
)) {
29722 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29724 arg2
= static_cast< long >(val2
);
29725 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29726 if (!SWIG_IsOK(ecode3
)) {
29727 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29729 arg3
= static_cast< long >(val3
);
29730 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29731 if (!SWIG_IsOK(ecode4
)) {
29732 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29734 arg4
= static_cast< long >(val4
);
29736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29737 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29738 wxPyEndAllowThreads(__tstate
);
29739 if (PyErr_Occurred()) SWIG_fail
;
29742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29750 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29751 PyObject
*resultobj
= 0;
29752 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29755 int arg4
= (int) -1 ;
29765 PyObject
* obj0
= 0 ;
29766 PyObject
* obj1
= 0 ;
29767 PyObject
* obj2
= 0 ;
29768 PyObject
* obj3
= 0 ;
29769 char * kwnames
[] = {
29770 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29775 if (!SWIG_IsOK(res1
)) {
29776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29778 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29779 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29780 if (!SWIG_IsOK(ecode2
)) {
29781 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29783 arg2
= static_cast< long >(val2
);
29784 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29785 if (!SWIG_IsOK(ecode3
)) {
29786 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29788 arg3
= static_cast< int >(val3
);
29790 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29791 if (!SWIG_IsOK(ecode4
)) {
29792 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29794 arg4
= static_cast< int >(val4
);
29797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29798 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29799 wxPyEndAllowThreads(__tstate
);
29800 if (PyErr_Occurred()) SWIG_fail
;
29803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29811 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29812 PyObject
*resultobj
= 0;
29813 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29826 PyObject
* obj0
= 0 ;
29827 PyObject
* obj1
= 0 ;
29828 PyObject
* obj2
= 0 ;
29829 PyObject
* obj3
= 0 ;
29830 char * kwnames
[] = {
29831 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29836 if (!SWIG_IsOK(res1
)) {
29837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29839 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29840 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29841 if (!SWIG_IsOK(ecode2
)) {
29842 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29844 arg2
= static_cast< long >(val2
);
29845 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29846 if (!SWIG_IsOK(ecode3
)) {
29847 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29849 arg3
= static_cast< long >(val3
);
29850 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29851 if (!SWIG_IsOK(ecode4
)) {
29852 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29854 arg4
= static_cast< int >(val4
);
29856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29857 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
29858 wxPyEndAllowThreads(__tstate
);
29859 if (PyErr_Occurred()) SWIG_fail
;
29862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29870 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29871 PyObject
*resultobj
= 0;
29872 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29879 PyObject
* obj0
= 0 ;
29880 PyObject
* obj1
= 0 ;
29881 char * kwnames
[] = {
29882 (char *) "self",(char *) "item", NULL
29885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29887 if (!SWIG_IsOK(res1
)) {
29888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29890 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29891 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29892 if (!SWIG_IsOK(ecode2
)) {
29893 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29895 arg2
= static_cast< long >(val2
);
29897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29898 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
29899 wxPyEndAllowThreads(__tstate
);
29900 if (PyErr_Occurred()) SWIG_fail
;
29904 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29906 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29915 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29916 PyObject
*resultobj
= 0;
29917 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29919 wxString
*arg3
= 0 ;
29924 bool temp3
= false ;
29925 PyObject
* obj0
= 0 ;
29926 PyObject
* obj1
= 0 ;
29927 PyObject
* obj2
= 0 ;
29928 char * kwnames
[] = {
29929 (char *) "self",(char *) "item",(char *) "str", NULL
29932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29934 if (!SWIG_IsOK(res1
)) {
29935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29937 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29938 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29939 if (!SWIG_IsOK(ecode2
)) {
29940 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29942 arg2
= static_cast< long >(val2
);
29944 arg3
= wxString_in_helper(obj2
);
29945 if (arg3
== NULL
) SWIG_fail
;
29949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29950 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
29951 wxPyEndAllowThreads(__tstate
);
29952 if (PyErr_Occurred()) SWIG_fail
;
29954 resultobj
= SWIG_Py_Void();
29969 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29970 PyObject
*resultobj
= 0;
29971 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29978 PyObject
* obj0
= 0 ;
29979 PyObject
* obj1
= 0 ;
29980 char * kwnames
[] = {
29981 (char *) "self",(char *) "item", NULL
29984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29986 if (!SWIG_IsOK(res1
)) {
29987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29989 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29990 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29991 if (!SWIG_IsOK(ecode2
)) {
29992 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29994 arg2
= static_cast< long >(val2
);
29996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29997 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
29998 wxPyEndAllowThreads(__tstate
);
29999 if (PyErr_Occurred()) SWIG_fail
;
30001 resultobj
= SWIG_From_long(static_cast< long >(result
));
30008 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30009 PyObject
*resultobj
= 0;
30010 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30020 PyObject
* obj0
= 0 ;
30021 PyObject
* obj1
= 0 ;
30022 PyObject
* obj2
= 0 ;
30023 char * kwnames
[] = {
30024 (char *) "self",(char *) "item",(char *) "data", NULL
30027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30029 if (!SWIG_IsOK(res1
)) {
30030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30032 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30033 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30034 if (!SWIG_IsOK(ecode2
)) {
30035 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
30037 arg2
= static_cast< long >(val2
);
30038 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30039 if (!SWIG_IsOK(ecode3
)) {
30040 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
30042 arg3
= static_cast< long >(val3
);
30044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30045 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
30046 wxPyEndAllowThreads(__tstate
);
30047 if (PyErr_Occurred()) SWIG_fail
;
30050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30058 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30059 PyObject
*resultobj
= 0;
30060 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30067 PyObject
* obj0
= 0 ;
30068 PyObject
* obj1
= 0 ;
30069 char * kwnames
[] = {
30070 (char *) "self",(char *) "item", NULL
30073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30075 if (!SWIG_IsOK(res1
)) {
30076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30078 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30079 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30080 if (!SWIG_IsOK(ecode2
)) {
30081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
30083 arg2
= static_cast< long >(val2
);
30085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30086 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
30087 wxPyEndAllowThreads(__tstate
);
30088 if (PyErr_Occurred()) SWIG_fail
;
30090 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
30097 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30098 PyObject
*resultobj
= 0;
30099 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30101 int arg3
= (int) wxLIST_RECT_BOUNDS
;
30109 PyObject
* obj0
= 0 ;
30110 PyObject
* obj1
= 0 ;
30111 PyObject
* obj2
= 0 ;
30112 char * kwnames
[] = {
30113 (char *) "self",(char *) "item",(char *) "code", NULL
30116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30118 if (!SWIG_IsOK(res1
)) {
30119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30121 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30122 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30123 if (!SWIG_IsOK(ecode2
)) {
30124 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
30126 arg2
= static_cast< long >(val2
);
30128 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30129 if (!SWIG_IsOK(ecode3
)) {
30130 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
30132 arg3
= static_cast< int >(val3
);
30135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30136 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
30137 wxPyEndAllowThreads(__tstate
);
30138 if (PyErr_Occurred()) SWIG_fail
;
30140 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
30147 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30148 PyObject
*resultobj
= 0;
30149 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30151 wxPoint
*arg3
= 0 ;
30158 PyObject
* obj0
= 0 ;
30159 PyObject
* obj1
= 0 ;
30160 PyObject
* obj2
= 0 ;
30161 char * kwnames
[] = {
30162 (char *) "self",(char *) "item",(char *) "pos", NULL
30165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30167 if (!SWIG_IsOK(res1
)) {
30168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30170 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30171 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30172 if (!SWIG_IsOK(ecode2
)) {
30173 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
30175 arg2
= static_cast< long >(val2
);
30178 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30182 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
30183 wxPyEndAllowThreads(__tstate
);
30184 if (PyErr_Occurred()) SWIG_fail
;
30187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30195 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30196 PyObject
*resultobj
= 0;
30197 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30201 PyObject
*swig_obj
[1] ;
30203 if (!args
) SWIG_fail
;
30204 swig_obj
[0] = args
;
30205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30206 if (!SWIG_IsOK(res1
)) {
30207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30209 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30212 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
30213 wxPyEndAllowThreads(__tstate
);
30214 if (PyErr_Occurred()) SWIG_fail
;
30216 resultobj
= SWIG_From_int(static_cast< int >(result
));
30223 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30224 PyObject
*resultobj
= 0;
30225 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30229 PyObject
*swig_obj
[1] ;
30231 if (!args
) SWIG_fail
;
30232 swig_obj
[0] = args
;
30233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30234 if (!SWIG_IsOK(res1
)) {
30235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30237 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30240 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
30241 wxPyEndAllowThreads(__tstate
);
30242 if (PyErr_Occurred()) SWIG_fail
;
30244 resultobj
= SWIG_From_int(static_cast< int >(result
));
30251 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30252 PyObject
*resultobj
= 0;
30253 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30257 PyObject
*swig_obj
[1] ;
30259 if (!args
) SWIG_fail
;
30260 swig_obj
[0] = args
;
30261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30262 if (!SWIG_IsOK(res1
)) {
30263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30265 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30268 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
30269 wxPyEndAllowThreads(__tstate
);
30270 if (PyErr_Occurred()) SWIG_fail
;
30272 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
30279 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30280 PyObject
*resultobj
= 0;
30281 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30283 bool arg3
= (bool) false ;
30290 PyObject
* obj0
= 0 ;
30291 PyObject
* obj1
= 0 ;
30292 PyObject
* obj2
= 0 ;
30293 char * kwnames
[] = {
30294 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
30297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30299 if (!SWIG_IsOK(res1
)) {
30300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30302 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30303 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30304 if (!SWIG_IsOK(ecode2
)) {
30305 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "2"" of type '" "int""'");
30307 arg2
= static_cast< int >(val2
);
30309 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30310 if (!SWIG_IsOK(ecode3
)) {
30311 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "3"" of type '" "bool""'");
30313 arg3
= static_cast< bool >(val3
);
30316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30317 (arg1
)->SetItemSpacing(arg2
,arg3
);
30318 wxPyEndAllowThreads(__tstate
);
30319 if (PyErr_Occurred()) SWIG_fail
;
30321 resultobj
= SWIG_Py_Void();
30328 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30329 PyObject
*resultobj
= 0;
30330 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30334 PyObject
*swig_obj
[1] ;
30336 if (!args
) SWIG_fail
;
30337 swig_obj
[0] = args
;
30338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30339 if (!SWIG_IsOK(res1
)) {
30340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30342 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30345 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
30346 wxPyEndAllowThreads(__tstate
);
30347 if (PyErr_Occurred()) SWIG_fail
;
30349 resultobj
= SWIG_From_int(static_cast< int >(result
));
30356 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30357 PyObject
*resultobj
= 0;
30358 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30362 PyObject
*swig_obj
[1] ;
30364 if (!args
) SWIG_fail
;
30365 swig_obj
[0] = args
;
30366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30367 if (!SWIG_IsOK(res1
)) {
30368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30370 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30373 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
30374 wxPyEndAllowThreads(__tstate
);
30375 if (PyErr_Occurred()) SWIG_fail
;
30377 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
30384 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30385 PyObject
*resultobj
= 0;
30386 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30387 wxColour
*arg2
= 0 ;
30391 PyObject
* obj0
= 0 ;
30392 PyObject
* obj1
= 0 ;
30393 char * kwnames
[] = {
30394 (char *) "self",(char *) "col", NULL
30397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30399 if (!SWIG_IsOK(res1
)) {
30400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30402 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30405 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30409 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
30410 wxPyEndAllowThreads(__tstate
);
30411 if (PyErr_Occurred()) SWIG_fail
;
30413 resultobj
= SWIG_Py_Void();
30420 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30421 PyObject
*resultobj
= 0;
30422 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30426 PyObject
*swig_obj
[1] ;
30428 if (!args
) SWIG_fail
;
30429 swig_obj
[0] = args
;
30430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30431 if (!SWIG_IsOK(res1
)) {
30432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30434 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30437 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
30438 wxPyEndAllowThreads(__tstate
);
30439 if (PyErr_Occurred()) SWIG_fail
;
30441 resultobj
= SWIG_From_long(static_cast< long >(result
));
30448 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30449 PyObject
*resultobj
= 0;
30450 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30452 bool arg3
= (bool) true ;
30459 PyObject
* obj0
= 0 ;
30460 PyObject
* obj1
= 0 ;
30461 PyObject
* obj2
= 0 ;
30462 char * kwnames
[] = {
30463 (char *) "self",(char *) "style",(char *) "add", NULL
30466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30468 if (!SWIG_IsOK(res1
)) {
30469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30471 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30472 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30473 if (!SWIG_IsOK(ecode2
)) {
30474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30476 arg2
= static_cast< long >(val2
);
30478 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30479 if (!SWIG_IsOK(ecode3
)) {
30480 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30482 arg3
= static_cast< bool >(val3
);
30485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30486 (arg1
)->SetSingleStyle(arg2
,arg3
);
30487 wxPyEndAllowThreads(__tstate
);
30488 if (PyErr_Occurred()) SWIG_fail
;
30490 resultobj
= SWIG_Py_Void();
30497 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30498 PyObject
*resultobj
= 0;
30499 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30501 int arg3
= (int) wxLIST_NEXT_ALL
;
30502 int arg4
= (int) wxLIST_STATE_DONTCARE
;
30512 PyObject
* obj0
= 0 ;
30513 PyObject
* obj1
= 0 ;
30514 PyObject
* obj2
= 0 ;
30515 PyObject
* obj3
= 0 ;
30516 char * kwnames
[] = {
30517 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30522 if (!SWIG_IsOK(res1
)) {
30523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30525 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30526 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30527 if (!SWIG_IsOK(ecode2
)) {
30528 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30530 arg2
= static_cast< long >(val2
);
30532 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30533 if (!SWIG_IsOK(ecode3
)) {
30534 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30536 arg3
= static_cast< int >(val3
);
30539 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30540 if (!SWIG_IsOK(ecode4
)) {
30541 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30543 arg4
= static_cast< int >(val4
);
30546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30547 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
30548 wxPyEndAllowThreads(__tstate
);
30549 if (PyErr_Occurred()) SWIG_fail
;
30551 resultobj
= SWIG_From_long(static_cast< long >(result
));
30558 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30559 PyObject
*resultobj
= 0;
30560 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30562 wxImageList
*result
= 0 ;
30567 PyObject
* obj0
= 0 ;
30568 PyObject
* obj1
= 0 ;
30569 char * kwnames
[] = {
30570 (char *) "self",(char *) "which", NULL
30573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30575 if (!SWIG_IsOK(res1
)) {
30576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30578 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30579 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30580 if (!SWIG_IsOK(ecode2
)) {
30581 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30583 arg2
= static_cast< int >(val2
);
30585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30586 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
30587 wxPyEndAllowThreads(__tstate
);
30588 if (PyErr_Occurred()) SWIG_fail
;
30591 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30599 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30600 PyObject
*resultobj
= 0;
30601 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30602 wxImageList
*arg2
= (wxImageList
*) 0 ;
30610 PyObject
* obj0
= 0 ;
30611 PyObject
* obj1
= 0 ;
30612 PyObject
* obj2
= 0 ;
30613 char * kwnames
[] = {
30614 (char *) "self",(char *) "imageList",(char *) "which", NULL
30617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30619 if (!SWIG_IsOK(res1
)) {
30620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30622 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30623 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30624 if (!SWIG_IsOK(res2
)) {
30625 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30627 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
30628 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30629 if (!SWIG_IsOK(ecode3
)) {
30630 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30632 arg3
= static_cast< int >(val3
);
30634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30635 (arg1
)->SetImageList(arg2
,arg3
);
30636 wxPyEndAllowThreads(__tstate
);
30637 if (PyErr_Occurred()) SWIG_fail
;
30639 resultobj
= SWIG_Py_Void();
30646 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30647 PyObject
*resultobj
= 0;
30648 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30649 wxImageList
*arg2
= (wxImageList
*) 0 ;
30656 PyObject
* obj0
= 0 ;
30657 PyObject
* obj1
= 0 ;
30658 PyObject
* obj2
= 0 ;
30659 char * kwnames
[] = {
30660 (char *) "self",(char *) "imageList",(char *) "which", NULL
30663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30665 if (!SWIG_IsOK(res1
)) {
30666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30668 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30669 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30670 if (!SWIG_IsOK(res2
)) {
30671 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30673 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30674 if (!SWIG_IsOK(ecode3
)) {
30675 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30677 arg3
= static_cast< int >(val3
);
30679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30680 (arg1
)->AssignImageList(arg2
,arg3
);
30681 wxPyEndAllowThreads(__tstate
);
30682 if (PyErr_Occurred()) SWIG_fail
;
30684 resultobj
= SWIG_Py_Void();
30691 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30692 PyObject
*resultobj
= 0;
30693 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30697 PyObject
*swig_obj
[1] ;
30699 if (!args
) SWIG_fail
;
30700 swig_obj
[0] = args
;
30701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30702 if (!SWIG_IsOK(res1
)) {
30703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30705 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30708 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30709 wxPyEndAllowThreads(__tstate
);
30710 if (PyErr_Occurred()) SWIG_fail
;
30713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30721 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30722 PyObject
*resultobj
= 0;
30723 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30727 PyObject
*swig_obj
[1] ;
30729 if (!args
) SWIG_fail
;
30730 swig_obj
[0] = args
;
30731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30732 if (!SWIG_IsOK(res1
)) {
30733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30735 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30738 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30739 wxPyEndAllowThreads(__tstate
);
30740 if (PyErr_Occurred()) SWIG_fail
;
30743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30751 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30752 PyObject
*resultobj
= 0;
30753 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30759 PyObject
* obj0
= 0 ;
30760 PyObject
* obj1
= 0 ;
30761 char * kwnames
[] = {
30762 (char *) "self",(char *) "item", NULL
30765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30767 if (!SWIG_IsOK(res1
)) {
30768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30770 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30771 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30772 if (!SWIG_IsOK(ecode2
)) {
30773 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30775 arg2
= static_cast< long >(val2
);
30777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30778 (arg1
)->RefreshItem(arg2
);
30779 wxPyEndAllowThreads(__tstate
);
30780 if (PyErr_Occurred()) SWIG_fail
;
30782 resultobj
= SWIG_Py_Void();
30789 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30790 PyObject
*resultobj
= 0;
30791 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30800 PyObject
* obj0
= 0 ;
30801 PyObject
* obj1
= 0 ;
30802 PyObject
* obj2
= 0 ;
30803 char * kwnames
[] = {
30804 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) 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_RefreshItems" "', 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_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30817 arg2
= static_cast< long >(val2
);
30818 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30819 if (!SWIG_IsOK(ecode3
)) {
30820 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30822 arg3
= static_cast< long >(val3
);
30824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30825 (arg1
)->RefreshItems(arg2
,arg3
);
30826 wxPyEndAllowThreads(__tstate
);
30827 if (PyErr_Occurred()) SWIG_fail
;
30829 resultobj
= SWIG_Py_Void();
30836 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30837 PyObject
*resultobj
= 0;
30838 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30839 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30845 PyObject
* obj0
= 0 ;
30846 PyObject
* obj1
= 0 ;
30847 char * kwnames
[] = {
30848 (char *) "self",(char *) "flag", NULL
30851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30853 if (!SWIG_IsOK(res1
)) {
30854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30856 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30858 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30859 if (!SWIG_IsOK(ecode2
)) {
30860 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30862 arg2
= static_cast< int >(val2
);
30865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30866 result
= (bool)(arg1
)->Arrange(arg2
);
30867 wxPyEndAllowThreads(__tstate
);
30868 if (PyErr_Occurred()) SWIG_fail
;
30871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30879 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30880 PyObject
*resultobj
= 0;
30881 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30888 PyObject
* obj0
= 0 ;
30889 PyObject
* obj1
= 0 ;
30890 char * kwnames
[] = {
30891 (char *) "self",(char *) "item", NULL
30894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30896 if (!SWIG_IsOK(res1
)) {
30897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30899 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30900 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30901 if (!SWIG_IsOK(ecode2
)) {
30902 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30904 arg2
= static_cast< long >(val2
);
30906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30907 result
= (bool)(arg1
)->DeleteItem(arg2
);
30908 wxPyEndAllowThreads(__tstate
);
30909 if (PyErr_Occurred()) SWIG_fail
;
30912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30920 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30921 PyObject
*resultobj
= 0;
30922 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30926 PyObject
*swig_obj
[1] ;
30928 if (!args
) SWIG_fail
;
30929 swig_obj
[0] = args
;
30930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30931 if (!SWIG_IsOK(res1
)) {
30932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30934 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30937 result
= (bool)(arg1
)->DeleteAllItems();
30938 wxPyEndAllowThreads(__tstate
);
30939 if (PyErr_Occurred()) SWIG_fail
;
30942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30950 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30951 PyObject
*resultobj
= 0;
30952 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30959 PyObject
* obj0
= 0 ;
30960 PyObject
* obj1
= 0 ;
30961 char * kwnames
[] = {
30962 (char *) "self",(char *) "col", NULL
30965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30967 if (!SWIG_IsOK(res1
)) {
30968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30970 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30971 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30972 if (!SWIG_IsOK(ecode2
)) {
30973 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30975 arg2
= static_cast< int >(val2
);
30977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30978 result
= (bool)(arg1
)->DeleteColumn(arg2
);
30979 wxPyEndAllowThreads(__tstate
);
30980 if (PyErr_Occurred()) SWIG_fail
;
30983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30991 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30992 PyObject
*resultobj
= 0;
30993 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30997 PyObject
*swig_obj
[1] ;
30999 if (!args
) SWIG_fail
;
31000 swig_obj
[0] = args
;
31001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31002 if (!SWIG_IsOK(res1
)) {
31003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31005 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31008 result
= (bool)(arg1
)->DeleteAllColumns();
31009 wxPyEndAllowThreads(__tstate
);
31010 if (PyErr_Occurred()) SWIG_fail
;
31013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31021 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31022 PyObject
*resultobj
= 0;
31023 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31026 PyObject
*swig_obj
[1] ;
31028 if (!args
) SWIG_fail
;
31029 swig_obj
[0] = args
;
31030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31031 if (!SWIG_IsOK(res1
)) {
31032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31034 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31037 (arg1
)->ClearAll();
31038 wxPyEndAllowThreads(__tstate
);
31039 if (PyErr_Occurred()) SWIG_fail
;
31041 resultobj
= SWIG_Py_Void();
31048 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31049 PyObject
*resultobj
= 0;
31050 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31056 PyObject
* obj0
= 0 ;
31057 PyObject
* obj1
= 0 ;
31058 char * kwnames
[] = {
31059 (char *) "self",(char *) "item", NULL
31062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) 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_EditLabel" "', 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_EditLabel" "', expected argument " "2"" of type '" "long""'");
31072 arg2
= static_cast< long >(val2
);
31074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31075 (arg1
)->EditLabel(arg2
);
31076 wxPyEndAllowThreads(__tstate
);
31077 if (PyErr_Occurred()) SWIG_fail
;
31079 resultobj
= SWIG_Py_Void();
31086 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31087 PyObject
*resultobj
= 0;
31088 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31095 PyObject
* obj0
= 0 ;
31096 PyObject
* obj1
= 0 ;
31097 char * kwnames
[] = {
31098 (char *) "self",(char *) "item", NULL
31101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31103 if (!SWIG_IsOK(res1
)) {
31104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31106 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31107 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31108 if (!SWIG_IsOK(ecode2
)) {
31109 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
31111 arg2
= static_cast< long >(val2
);
31113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31114 result
= (bool)(arg1
)->EnsureVisible(arg2
);
31115 wxPyEndAllowThreads(__tstate
);
31116 if (PyErr_Occurred()) SWIG_fail
;
31119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31127 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31128 PyObject
*resultobj
= 0;
31129 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31131 wxString
*arg3
= 0 ;
31132 bool arg4
= (bool) false ;
31138 bool temp3
= false ;
31141 PyObject
* obj0
= 0 ;
31142 PyObject
* obj1
= 0 ;
31143 PyObject
* obj2
= 0 ;
31144 PyObject
* obj3
= 0 ;
31145 char * kwnames
[] = {
31146 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
31149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31151 if (!SWIG_IsOK(res1
)) {
31152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31154 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31155 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31156 if (!SWIG_IsOK(ecode2
)) {
31157 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
31159 arg2
= static_cast< long >(val2
);
31161 arg3
= wxString_in_helper(obj2
);
31162 if (arg3
== NULL
) SWIG_fail
;
31166 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
31167 if (!SWIG_IsOK(ecode4
)) {
31168 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
31170 arg4
= static_cast< bool >(val4
);
31173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31174 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
31175 wxPyEndAllowThreads(__tstate
);
31176 if (PyErr_Occurred()) SWIG_fail
;
31178 resultobj
= SWIG_From_long(static_cast< long >(result
));
31193 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31194 PyObject
*resultobj
= 0;
31195 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31205 PyObject
* obj0
= 0 ;
31206 PyObject
* obj1
= 0 ;
31207 PyObject
* obj2
= 0 ;
31208 char * kwnames
[] = {
31209 (char *) "self",(char *) "start",(char *) "data", NULL
31212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31214 if (!SWIG_IsOK(res1
)) {
31215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31217 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31218 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31219 if (!SWIG_IsOK(ecode2
)) {
31220 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
31222 arg2
= static_cast< long >(val2
);
31223 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
31224 if (!SWIG_IsOK(ecode3
)) {
31225 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
31227 arg3
= static_cast< long >(val3
);
31229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31230 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
31231 wxPyEndAllowThreads(__tstate
);
31232 if (PyErr_Occurred()) SWIG_fail
;
31234 resultobj
= SWIG_From_long(static_cast< long >(result
));
31241 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31242 PyObject
*resultobj
= 0;
31243 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31245 wxPoint
*arg3
= 0 ;
31255 PyObject
* obj0
= 0 ;
31256 PyObject
* obj1
= 0 ;
31257 PyObject
* obj2
= 0 ;
31258 PyObject
* obj3
= 0 ;
31259 char * kwnames
[] = {
31260 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
31263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31265 if (!SWIG_IsOK(res1
)) {
31266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31268 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31269 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31270 if (!SWIG_IsOK(ecode2
)) {
31271 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
31273 arg2
= static_cast< long >(val2
);
31276 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31278 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31279 if (!SWIG_IsOK(ecode4
)) {
31280 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
31282 arg4
= static_cast< int >(val4
);
31284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31285 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
31286 wxPyEndAllowThreads(__tstate
);
31287 if (PyErr_Occurred()) SWIG_fail
;
31289 resultobj
= SWIG_From_long(static_cast< long >(result
));
31296 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31297 PyObject
*resultobj
= 0;
31298 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31299 wxPoint
*arg2
= 0 ;
31306 int res3
= SWIG_TMPOBJ
;
31307 PyObject
* obj0
= 0 ;
31308 PyObject
* obj1
= 0 ;
31309 char * kwnames
[] = {
31310 (char *) "self",(char *) "point", NULL
31314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31316 if (!SWIG_IsOK(res1
)) {
31317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31319 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31322 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31326 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
31327 wxPyEndAllowThreads(__tstate
);
31328 if (PyErr_Occurred()) SWIG_fail
;
31330 resultobj
= SWIG_From_long(static_cast< long >(result
));
31331 if (SWIG_IsTmpObj(res3
)) {
31332 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31334 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31335 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31343 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTestSubItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31344 PyObject
*resultobj
= 0;
31345 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31346 wxPoint
*arg2
= 0 ;
31348 long *arg4
= (long *) 0 ;
31354 int res3
= SWIG_TMPOBJ
;
31356 int res4
= SWIG_TMPOBJ
;
31357 PyObject
* obj0
= 0 ;
31358 PyObject
* obj1
= 0 ;
31359 char * kwnames
[] = {
31360 (char *) "self",(char *) "point", NULL
31365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTestSubItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31367 if (!SWIG_IsOK(res1
)) {
31368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31370 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31373 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31377 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
,arg4
);
31378 wxPyEndAllowThreads(__tstate
);
31379 if (PyErr_Occurred()) SWIG_fail
;
31381 resultobj
= SWIG_From_long(static_cast< long >(result
));
31382 if (SWIG_IsTmpObj(res3
)) {
31383 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31385 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31386 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31388 if (SWIG_IsTmpObj(res4
)) {
31389 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
31391 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31392 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
31400 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31401 PyObject
*resultobj
= 0;
31402 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31403 wxListItem
*arg2
= 0 ;
31409 PyObject
* obj0
= 0 ;
31410 PyObject
* obj1
= 0 ;
31411 char * kwnames
[] = {
31412 (char *) "self",(char *) "info", NULL
31415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31417 if (!SWIG_IsOK(res1
)) {
31418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31420 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31421 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
31422 if (!SWIG_IsOK(res2
)) {
31423 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31426 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31428 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
31430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31431 result
= (long)(arg1
)->InsertItem(*arg2
);
31432 wxPyEndAllowThreads(__tstate
);
31433 if (PyErr_Occurred()) SWIG_fail
;
31435 resultobj
= SWIG_From_long(static_cast< long >(result
));
31442 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31443 PyObject
*resultobj
= 0;
31444 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31446 wxString
*arg3
= 0 ;
31447 int arg4
= (int) -1 ;
31453 bool temp3
= false ;
31456 PyObject
* obj0
= 0 ;
31457 PyObject
* obj1
= 0 ;
31458 PyObject
* obj2
= 0 ;
31459 PyObject
* obj3
= 0 ;
31460 char * kwnames
[] = {
31461 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31466 if (!SWIG_IsOK(res1
)) {
31467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31469 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31470 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31471 if (!SWIG_IsOK(ecode2
)) {
31472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31474 arg2
= static_cast< long >(val2
);
31476 arg3
= wxString_in_helper(obj2
);
31477 if (arg3
== NULL
) SWIG_fail
;
31481 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31482 if (!SWIG_IsOK(ecode4
)) {
31483 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31485 arg4
= static_cast< int >(val4
);
31488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31489 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31490 wxPyEndAllowThreads(__tstate
);
31491 if (PyErr_Occurred()) SWIG_fail
;
31493 resultobj
= SWIG_From_long(static_cast< long >(result
));
31508 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31509 PyObject
*resultobj
= 0;
31510 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31520 PyObject
* obj0
= 0 ;
31521 PyObject
* obj1
= 0 ;
31522 PyObject
* obj2
= 0 ;
31523 char * kwnames
[] = {
31524 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31529 if (!SWIG_IsOK(res1
)) {
31530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31532 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31533 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31534 if (!SWIG_IsOK(ecode2
)) {
31535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31537 arg2
= static_cast< long >(val2
);
31538 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31539 if (!SWIG_IsOK(ecode3
)) {
31540 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31542 arg3
= static_cast< int >(val3
);
31544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31545 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
31546 wxPyEndAllowThreads(__tstate
);
31547 if (PyErr_Occurred()) SWIG_fail
;
31549 resultobj
= SWIG_From_long(static_cast< long >(result
));
31556 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31557 PyObject
*resultobj
= 0;
31558 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31560 wxString
*arg3
= 0 ;
31567 bool temp3
= false ;
31570 PyObject
* obj0
= 0 ;
31571 PyObject
* obj1
= 0 ;
31572 PyObject
* obj2
= 0 ;
31573 PyObject
* obj3
= 0 ;
31574 char * kwnames
[] = {
31575 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31580 if (!SWIG_IsOK(res1
)) {
31581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31583 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31584 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31585 if (!SWIG_IsOK(ecode2
)) {
31586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31588 arg2
= static_cast< long >(val2
);
31590 arg3
= wxString_in_helper(obj2
);
31591 if (arg3
== NULL
) SWIG_fail
;
31594 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31595 if (!SWIG_IsOK(ecode4
)) {
31596 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31598 arg4
= static_cast< int >(val4
);
31600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31601 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31602 wxPyEndAllowThreads(__tstate
);
31603 if (PyErr_Occurred()) SWIG_fail
;
31605 resultobj
= SWIG_From_long(static_cast< long >(result
));
31620 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31621 PyObject
*resultobj
= 0;
31622 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31624 wxListItem
*arg3
= 0 ;
31632 PyObject
* obj0
= 0 ;
31633 PyObject
* obj1
= 0 ;
31634 PyObject
* obj2
= 0 ;
31635 char * kwnames
[] = {
31636 (char *) "self",(char *) "col",(char *) "info", NULL
31639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31641 if (!SWIG_IsOK(res1
)) {
31642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31644 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31645 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31646 if (!SWIG_IsOK(ecode2
)) {
31647 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31649 arg2
= static_cast< long >(val2
);
31650 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
31651 if (!SWIG_IsOK(res3
)) {
31652 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31655 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31657 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
31659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31660 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
31661 wxPyEndAllowThreads(__tstate
);
31662 if (PyErr_Occurred()) SWIG_fail
;
31664 resultobj
= SWIG_From_long(static_cast< long >(result
));
31671 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31672 PyObject
*resultobj
= 0;
31673 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31675 wxString
*arg3
= 0 ;
31676 int arg4
= (int) wxLIST_FORMAT_LEFT
;
31677 int arg5
= (int) -1 ;
31683 bool temp3
= false ;
31688 PyObject
* obj0
= 0 ;
31689 PyObject
* obj1
= 0 ;
31690 PyObject
* obj2
= 0 ;
31691 PyObject
* obj3
= 0 ;
31692 PyObject
* obj4
= 0 ;
31693 char * kwnames
[] = {
31694 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31699 if (!SWIG_IsOK(res1
)) {
31700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31702 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31703 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31704 if (!SWIG_IsOK(ecode2
)) {
31705 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31707 arg2
= static_cast< long >(val2
);
31709 arg3
= wxString_in_helper(obj2
);
31710 if (arg3
== NULL
) SWIG_fail
;
31714 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31715 if (!SWIG_IsOK(ecode4
)) {
31716 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31718 arg4
= static_cast< int >(val4
);
31721 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31722 if (!SWIG_IsOK(ecode5
)) {
31723 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31725 arg5
= static_cast< int >(val5
);
31728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31729 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31730 wxPyEndAllowThreads(__tstate
);
31731 if (PyErr_Occurred()) SWIG_fail
;
31733 resultobj
= SWIG_From_long(static_cast< long >(result
));
31748 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31749 PyObject
*resultobj
= 0;
31750 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31756 PyObject
* obj0
= 0 ;
31757 PyObject
* obj1
= 0 ;
31758 char * kwnames
[] = {
31759 (char *) "self",(char *) "count", NULL
31762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31764 if (!SWIG_IsOK(res1
)) {
31765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31767 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31768 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31769 if (!SWIG_IsOK(ecode2
)) {
31770 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31772 arg2
= static_cast< long >(val2
);
31774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31775 (arg1
)->SetItemCount(arg2
);
31776 wxPyEndAllowThreads(__tstate
);
31777 if (PyErr_Occurred()) SWIG_fail
;
31779 resultobj
= SWIG_Py_Void();
31786 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31787 PyObject
*resultobj
= 0;
31788 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31798 PyObject
* obj0
= 0 ;
31799 PyObject
* obj1
= 0 ;
31800 PyObject
* obj2
= 0 ;
31801 char * kwnames
[] = {
31802 (char *) "self",(char *) "dx",(char *) "dy", NULL
31805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31807 if (!SWIG_IsOK(res1
)) {
31808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31810 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31811 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31812 if (!SWIG_IsOK(ecode2
)) {
31813 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31815 arg2
= static_cast< int >(val2
);
31816 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31817 if (!SWIG_IsOK(ecode3
)) {
31818 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31820 arg3
= static_cast< int >(val3
);
31822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31823 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
31824 wxPyEndAllowThreads(__tstate
);
31825 if (PyErr_Occurred()) SWIG_fail
;
31828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31836 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31837 PyObject
*resultobj
= 0;
31838 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31840 wxColour
*arg3
= 0 ;
31846 PyObject
* obj0
= 0 ;
31847 PyObject
* obj1
= 0 ;
31848 PyObject
* obj2
= 0 ;
31849 char * kwnames
[] = {
31850 (char *) "self",(char *) "item",(char *) "col", NULL
31853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31855 if (!SWIG_IsOK(res1
)) {
31856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31858 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31859 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31860 if (!SWIG_IsOK(ecode2
)) {
31861 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31863 arg2
= static_cast< long >(val2
);
31866 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31870 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
31871 wxPyEndAllowThreads(__tstate
);
31872 if (PyErr_Occurred()) SWIG_fail
;
31874 resultobj
= SWIG_Py_Void();
31881 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31882 PyObject
*resultobj
= 0;
31883 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31890 PyObject
* obj0
= 0 ;
31891 PyObject
* obj1
= 0 ;
31892 char * kwnames
[] = {
31893 (char *) "self",(char *) "item", NULL
31896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31898 if (!SWIG_IsOK(res1
)) {
31899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31901 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31902 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31903 if (!SWIG_IsOK(ecode2
)) {
31904 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31906 arg2
= static_cast< long >(val2
);
31908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31909 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
31910 wxPyEndAllowThreads(__tstate
);
31911 if (PyErr_Occurred()) SWIG_fail
;
31913 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31920 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31921 PyObject
*resultobj
= 0;
31922 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31924 wxColour
*arg3
= 0 ;
31930 PyObject
* obj0
= 0 ;
31931 PyObject
* obj1
= 0 ;
31932 PyObject
* obj2
= 0 ;
31933 char * kwnames
[] = {
31934 (char *) "self",(char *) "item",(char *) "col", NULL
31937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31939 if (!SWIG_IsOK(res1
)) {
31940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31942 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31943 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31944 if (!SWIG_IsOK(ecode2
)) {
31945 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31947 arg2
= static_cast< long >(val2
);
31950 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31954 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
31955 wxPyEndAllowThreads(__tstate
);
31956 if (PyErr_Occurred()) SWIG_fail
;
31958 resultobj
= SWIG_Py_Void();
31965 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31966 PyObject
*resultobj
= 0;
31967 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31974 PyObject
* obj0
= 0 ;
31975 PyObject
* obj1
= 0 ;
31976 char * kwnames
[] = {
31977 (char *) "self",(char *) "item", NULL
31980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31982 if (!SWIG_IsOK(res1
)) {
31983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31985 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31986 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31987 if (!SWIG_IsOK(ecode2
)) {
31988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31990 arg2
= static_cast< long >(val2
);
31992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31993 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
31994 wxPyEndAllowThreads(__tstate
);
31995 if (PyErr_Occurred()) SWIG_fail
;
31997 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32004 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32005 PyObject
*resultobj
= 0;
32006 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32015 PyObject
* obj0
= 0 ;
32016 PyObject
* obj1
= 0 ;
32017 PyObject
* obj2
= 0 ;
32018 char * kwnames
[] = {
32019 (char *) "self",(char *) "item",(char *) "f", NULL
32022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32024 if (!SWIG_IsOK(res1
)) {
32025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32027 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32028 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32029 if (!SWIG_IsOK(ecode2
)) {
32030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
32032 arg2
= static_cast< long >(val2
);
32033 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
32034 if (!SWIG_IsOK(res3
)) {
32035 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
32038 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
32040 arg3
= reinterpret_cast< wxFont
* >(argp3
);
32042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32043 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
32044 wxPyEndAllowThreads(__tstate
);
32045 if (PyErr_Occurred()) SWIG_fail
;
32047 resultobj
= SWIG_Py_Void();
32054 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32055 PyObject
*resultobj
= 0;
32056 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32063 PyObject
* obj0
= 0 ;
32064 PyObject
* obj1
= 0 ;
32065 char * kwnames
[] = {
32066 (char *) "self",(char *) "item", NULL
32069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32071 if (!SWIG_IsOK(res1
)) {
32072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
32074 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32075 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32076 if (!SWIG_IsOK(ecode2
)) {
32077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
32079 arg2
= static_cast< long >(val2
);
32081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32082 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
32083 wxPyEndAllowThreads(__tstate
);
32084 if (PyErr_Occurred()) SWIG_fail
;
32086 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
32093 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32094 PyObject
*resultobj
= 0;
32095 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32096 PyObject
*arg2
= (PyObject
*) 0 ;
32100 PyObject
* obj0
= 0 ;
32101 PyObject
* obj1
= 0 ;
32102 char * kwnames
[] = {
32103 (char *) "self",(char *) "func", NULL
32106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32108 if (!SWIG_IsOK(res1
)) {
32109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32111 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32115 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
32116 wxPyEndAllowThreads(__tstate
);
32117 if (PyErr_Occurred()) SWIG_fail
;
32120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32128 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32129 PyObject
*resultobj
= 0;
32130 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32131 wxWindow
*result
= 0 ;
32134 PyObject
*swig_obj
[1] ;
32136 if (!args
) SWIG_fail
;
32137 swig_obj
[0] = args
;
32138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32139 if (!SWIG_IsOK(res1
)) {
32140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32142 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32145 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
32146 wxPyEndAllowThreads(__tstate
);
32147 if (PyErr_Occurred()) SWIG_fail
;
32150 resultobj
= wxPyMake_wxObject(result
, 0);
32158 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32159 PyObject
*resultobj
= 0;
32160 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
32161 SwigValueWrapper
<wxVisualAttributes
> result
;
32164 PyObject
* obj0
= 0 ;
32165 char * kwnames
[] = {
32166 (char *) "variant", NULL
32169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
32171 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32172 if (!SWIG_IsOK(ecode1
)) {
32173 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
32175 arg1
= static_cast< wxWindowVariant
>(val1
);
32178 if (!wxPyCheckForApp()) SWIG_fail
;
32179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32180 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
32181 wxPyEndAllowThreads(__tstate
);
32182 if (PyErr_Occurred()) SWIG_fail
;
32184 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
32191 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32193 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32194 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
32195 return SWIG_Py_Void();
32198 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32199 return SWIG_Python_InitShadowInstance(args
);
32202 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32203 PyObject
*resultobj
= 0;
32204 wxWindow
*arg1
= (wxWindow
*) 0 ;
32205 int arg2
= (int) -1 ;
32206 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32207 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32208 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32209 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32210 long arg5
= (long) wxLC_REPORT
;
32211 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32212 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32213 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
32214 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32215 wxListView
*result
= 0 ;
32226 bool temp7
= false ;
32227 PyObject
* obj0
= 0 ;
32228 PyObject
* obj1
= 0 ;
32229 PyObject
* obj2
= 0 ;
32230 PyObject
* obj3
= 0 ;
32231 PyObject
* obj4
= 0 ;
32232 PyObject
* obj5
= 0 ;
32233 PyObject
* obj6
= 0 ;
32234 char * kwnames
[] = {
32235 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32240 if (!SWIG_IsOK(res1
)) {
32241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
32243 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32245 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32246 if (!SWIG_IsOK(ecode2
)) {
32247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
32249 arg2
= static_cast< int >(val2
);
32254 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32260 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32264 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
32265 if (!SWIG_IsOK(ecode5
)) {
32266 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
32268 arg5
= static_cast< long >(val5
);
32271 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
32272 if (!SWIG_IsOK(res6
)) {
32273 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32276 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32278 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
32282 arg7
= wxString_in_helper(obj6
);
32283 if (arg7
== NULL
) SWIG_fail
;
32288 if (!wxPyCheckForApp()) SWIG_fail
;
32289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32290 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32291 wxPyEndAllowThreads(__tstate
);
32292 if (PyErr_Occurred()) SWIG_fail
;
32294 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
32309 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32310 PyObject
*resultobj
= 0;
32311 wxListView
*result
= 0 ;
32313 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
32315 if (!wxPyCheckForApp()) SWIG_fail
;
32316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32317 result
= (wxListView
*)new wxListView();
32318 wxPyEndAllowThreads(__tstate
);
32319 if (PyErr_Occurred()) SWIG_fail
;
32321 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
32328 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32329 PyObject
*resultobj
= 0;
32330 wxListView
*arg1
= (wxListView
*) 0 ;
32331 wxWindow
*arg2
= (wxWindow
*) 0 ;
32332 int arg3
= (int) -1 ;
32333 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32334 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32335 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32336 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32337 long arg6
= (long) wxLC_REPORT
;
32338 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
32339 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
32340 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
32341 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
32355 bool temp8
= false ;
32356 PyObject
* obj0
= 0 ;
32357 PyObject
* obj1
= 0 ;
32358 PyObject
* obj2
= 0 ;
32359 PyObject
* obj3
= 0 ;
32360 PyObject
* obj4
= 0 ;
32361 PyObject
* obj5
= 0 ;
32362 PyObject
* obj6
= 0 ;
32363 PyObject
* obj7
= 0 ;
32364 char * kwnames
[] = {
32365 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32370 if (!SWIG_IsOK(res1
)) {
32371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
32373 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32374 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32375 if (!SWIG_IsOK(res2
)) {
32376 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
32378 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32380 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32381 if (!SWIG_IsOK(ecode3
)) {
32382 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
32384 arg3
= static_cast< int >(val3
);
32389 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32395 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32399 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
32400 if (!SWIG_IsOK(ecode6
)) {
32401 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
32403 arg6
= static_cast< long >(val6
);
32406 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
32407 if (!SWIG_IsOK(res7
)) {
32408 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32411 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32413 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
32417 arg8
= wxString_in_helper(obj7
);
32418 if (arg8
== NULL
) SWIG_fail
;
32423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32424 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
32425 wxPyEndAllowThreads(__tstate
);
32426 if (PyErr_Occurred()) SWIG_fail
;
32429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32445 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32446 PyObject
*resultobj
= 0;
32447 wxListView
*arg1
= (wxListView
*) 0 ;
32449 bool arg3
= (bool) true ;
32456 PyObject
* obj0
= 0 ;
32457 PyObject
* obj1
= 0 ;
32458 PyObject
* obj2
= 0 ;
32459 char * kwnames
[] = {
32460 (char *) "self",(char *) "n",(char *) "on", NULL
32463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32465 if (!SWIG_IsOK(res1
)) {
32466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32468 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32469 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32470 if (!SWIG_IsOK(ecode2
)) {
32471 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32473 arg2
= static_cast< long >(val2
);
32475 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32476 if (!SWIG_IsOK(ecode3
)) {
32477 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32479 arg3
= static_cast< bool >(val3
);
32482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32483 (arg1
)->Select(arg2
,arg3
);
32484 wxPyEndAllowThreads(__tstate
);
32485 if (PyErr_Occurred()) SWIG_fail
;
32487 resultobj
= SWIG_Py_Void();
32494 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32495 PyObject
*resultobj
= 0;
32496 wxListView
*arg1
= (wxListView
*) 0 ;
32502 PyObject
* obj0
= 0 ;
32503 PyObject
* obj1
= 0 ;
32504 char * kwnames
[] = {
32505 (char *) "self",(char *) "index", NULL
32508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32510 if (!SWIG_IsOK(res1
)) {
32511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32513 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32514 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32515 if (!SWIG_IsOK(ecode2
)) {
32516 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32518 arg2
= static_cast< long >(val2
);
32520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32521 (arg1
)->Focus(arg2
);
32522 wxPyEndAllowThreads(__tstate
);
32523 if (PyErr_Occurred()) SWIG_fail
;
32525 resultobj
= SWIG_Py_Void();
32532 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32533 PyObject
*resultobj
= 0;
32534 wxListView
*arg1
= (wxListView
*) 0 ;
32538 PyObject
*swig_obj
[1] ;
32540 if (!args
) SWIG_fail
;
32541 swig_obj
[0] = args
;
32542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32543 if (!SWIG_IsOK(res1
)) {
32544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32546 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32549 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
32550 wxPyEndAllowThreads(__tstate
);
32551 if (PyErr_Occurred()) SWIG_fail
;
32553 resultobj
= SWIG_From_long(static_cast< long >(result
));
32560 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32561 PyObject
*resultobj
= 0;
32562 wxListView
*arg1
= (wxListView
*) 0 ;
32569 PyObject
* obj0
= 0 ;
32570 PyObject
* obj1
= 0 ;
32571 char * kwnames
[] = {
32572 (char *) "self",(char *) "item", NULL
32575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32577 if (!SWIG_IsOK(res1
)) {
32578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32580 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32581 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32582 if (!SWIG_IsOK(ecode2
)) {
32583 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32585 arg2
= static_cast< long >(val2
);
32587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32588 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
32589 wxPyEndAllowThreads(__tstate
);
32590 if (PyErr_Occurred()) SWIG_fail
;
32592 resultobj
= SWIG_From_long(static_cast< long >(result
));
32599 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32600 PyObject
*resultobj
= 0;
32601 wxListView
*arg1
= (wxListView
*) 0 ;
32605 PyObject
*swig_obj
[1] ;
32607 if (!args
) SWIG_fail
;
32608 swig_obj
[0] = args
;
32609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32610 if (!SWIG_IsOK(res1
)) {
32611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32613 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32616 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
32617 wxPyEndAllowThreads(__tstate
);
32618 if (PyErr_Occurred()) SWIG_fail
;
32620 resultobj
= SWIG_From_long(static_cast< long >(result
));
32627 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32628 PyObject
*resultobj
= 0;
32629 wxListView
*arg1
= (wxListView
*) 0 ;
32636 PyObject
* obj0
= 0 ;
32637 PyObject
* obj1
= 0 ;
32638 char * kwnames
[] = {
32639 (char *) "self",(char *) "index", NULL
32642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",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_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32647 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32648 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32649 if (!SWIG_IsOK(ecode2
)) {
32650 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32652 arg2
= static_cast< long >(val2
);
32654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32655 result
= (bool)(arg1
)->IsSelected(arg2
);
32656 wxPyEndAllowThreads(__tstate
);
32657 if (PyErr_Occurred()) SWIG_fail
;
32660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32668 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32669 PyObject
*resultobj
= 0;
32670 wxListView
*arg1
= (wxListView
*) 0 ;
32679 PyObject
* obj0
= 0 ;
32680 PyObject
* obj1
= 0 ;
32681 PyObject
* obj2
= 0 ;
32682 char * kwnames
[] = {
32683 (char *) "self",(char *) "col",(char *) "image", NULL
32686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32688 if (!SWIG_IsOK(res1
)) {
32689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32691 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32692 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32693 if (!SWIG_IsOK(ecode2
)) {
32694 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32696 arg2
= static_cast< int >(val2
);
32697 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32698 if (!SWIG_IsOK(ecode3
)) {
32699 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32701 arg3
= static_cast< int >(val3
);
32703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32704 (arg1
)->SetColumnImage(arg2
,arg3
);
32705 wxPyEndAllowThreads(__tstate
);
32706 if (PyErr_Occurred()) SWIG_fail
;
32708 resultobj
= SWIG_Py_Void();
32715 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32716 PyObject
*resultobj
= 0;
32717 wxListView
*arg1
= (wxListView
*) 0 ;
32723 PyObject
* obj0
= 0 ;
32724 PyObject
* obj1
= 0 ;
32725 char * kwnames
[] = {
32726 (char *) "self",(char *) "col", NULL
32729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32731 if (!SWIG_IsOK(res1
)) {
32732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32734 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32735 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32736 if (!SWIG_IsOK(ecode2
)) {
32737 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32739 arg2
= static_cast< int >(val2
);
32741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32742 (arg1
)->ClearColumnImage(arg2
);
32743 wxPyEndAllowThreads(__tstate
);
32744 if (PyErr_Occurred()) SWIG_fail
;
32746 resultobj
= SWIG_Py_Void();
32753 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32755 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32756 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32757 return SWIG_Py_Void();
32760 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32761 return SWIG_Python_InitShadowInstance(args
);
32764 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32765 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
32770 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
32771 PyObject
*pyobj
= 0;
32775 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32777 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32784 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32785 PyObject
*resultobj
= 0;
32786 wxTreeItemId
*result
= 0 ;
32788 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
32790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32791 result
= (wxTreeItemId
*)new wxTreeItemId();
32792 wxPyEndAllowThreads(__tstate
);
32793 if (PyErr_Occurred()) SWIG_fail
;
32795 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32802 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32803 PyObject
*resultobj
= 0;
32804 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32807 PyObject
*swig_obj
[1] ;
32809 if (!args
) SWIG_fail
;
32810 swig_obj
[0] = args
;
32811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32812 if (!SWIG_IsOK(res1
)) {
32813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32815 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32820 wxPyEndAllowThreads(__tstate
);
32821 if (PyErr_Occurred()) SWIG_fail
;
32823 resultobj
= SWIG_Py_Void();
32830 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32831 PyObject
*resultobj
= 0;
32832 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32836 PyObject
*swig_obj
[1] ;
32838 if (!args
) SWIG_fail
;
32839 swig_obj
[0] = args
;
32840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32841 if (!SWIG_IsOK(res1
)) {
32842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32844 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32847 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
32848 wxPyEndAllowThreads(__tstate
);
32849 if (PyErr_Occurred()) SWIG_fail
;
32852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32860 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32861 PyObject
*resultobj
= 0;
32862 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32863 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32869 PyObject
* obj0
= 0 ;
32870 PyObject
* obj1
= 0 ;
32871 char * kwnames
[] = {
32872 (char *) "self",(char *) "other", NULL
32875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32877 if (!SWIG_IsOK(res1
)) {
32878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32880 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32881 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32882 if (!SWIG_IsOK(res2
)) {
32883 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32885 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32888 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
32889 wxPyEndAllowThreads(__tstate
);
32890 if (PyErr_Occurred()) SWIG_fail
;
32893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32901 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32902 PyObject
*resultobj
= 0;
32903 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32904 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32910 PyObject
* obj0
= 0 ;
32911 PyObject
* obj1
= 0 ;
32912 char * kwnames
[] = {
32913 (char *) "self",(char *) "other", NULL
32916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32918 if (!SWIG_IsOK(res1
)) {
32919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32921 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32922 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32923 if (!SWIG_IsOK(res2
)) {
32924 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32926 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32929 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
32930 wxPyEndAllowThreads(__tstate
);
32931 if (PyErr_Occurred()) SWIG_fail
;
32934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32942 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32943 PyObject
*resultobj
= 0;
32944 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32945 void *arg2
= (void *) 0 ;
32949 PyObject
*swig_obj
[2] ;
32951 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
32952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32953 if (!SWIG_IsOK(res1
)) {
32954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32956 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32957 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
32958 if (!SWIG_IsOK(res2
)) {
32959 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32961 if (arg1
) (arg1
)->m_pItem
= arg2
;
32963 resultobj
= SWIG_Py_Void();
32970 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32971 PyObject
*resultobj
= 0;
32972 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32976 PyObject
*swig_obj
[1] ;
32978 if (!args
) SWIG_fail
;
32979 swig_obj
[0] = args
;
32980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32981 if (!SWIG_IsOK(res1
)) {
32982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32984 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32985 result
= (void *) ((arg1
)->m_pItem
);
32986 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
32993 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32995 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32996 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
32997 return SWIG_Py_Void();
33000 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33001 return SWIG_Python_InitShadowInstance(args
);
33004 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33005 PyObject
*resultobj
= 0;
33006 PyObject
*arg1
= (PyObject
*) NULL
;
33007 wxPyTreeItemData
*result
= 0 ;
33008 PyObject
* obj0
= 0 ;
33009 char * kwnames
[] = {
33010 (char *) "obj", NULL
33013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
33018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33019 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
33020 wxPyEndAllowThreads(__tstate
);
33021 if (PyErr_Occurred()) SWIG_fail
;
33023 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
33030 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33031 PyObject
*resultobj
= 0;
33032 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33035 PyObject
*swig_obj
[1] ;
33037 if (!args
) SWIG_fail
;
33038 swig_obj
[0] = args
;
33039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
33040 if (!SWIG_IsOK(res1
)) {
33041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33043 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33048 wxPyEndAllowThreads(__tstate
);
33049 if (PyErr_Occurred()) SWIG_fail
;
33051 resultobj
= SWIG_Py_Void();
33058 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33059 PyObject
*resultobj
= 0;
33060 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33061 PyObject
*result
= 0 ;
33064 PyObject
*swig_obj
[1] ;
33066 if (!args
) SWIG_fail
;
33067 swig_obj
[0] = args
;
33068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33069 if (!SWIG_IsOK(res1
)) {
33070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33072 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33075 result
= (PyObject
*)(arg1
)->GetData();
33076 wxPyEndAllowThreads(__tstate
);
33077 if (PyErr_Occurred()) SWIG_fail
;
33079 resultobj
= result
;
33086 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33087 PyObject
*resultobj
= 0;
33088 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33089 PyObject
*arg2
= (PyObject
*) 0 ;
33092 PyObject
* obj0
= 0 ;
33093 PyObject
* obj1
= 0 ;
33094 char * kwnames
[] = {
33095 (char *) "self",(char *) "obj", NULL
33098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33100 if (!SWIG_IsOK(res1
)) {
33101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33103 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33107 (arg1
)->SetData(arg2
);
33108 wxPyEndAllowThreads(__tstate
);
33109 if (PyErr_Occurred()) SWIG_fail
;
33111 resultobj
= SWIG_Py_Void();
33118 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33119 PyObject
*resultobj
= 0;
33120 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33121 wxTreeItemId
*result
= 0 ;
33124 PyObject
*swig_obj
[1] ;
33126 if (!args
) SWIG_fail
;
33127 swig_obj
[0] = args
;
33128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33129 if (!SWIG_IsOK(res1
)) {
33130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33132 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33136 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
33137 result
= (wxTreeItemId
*) &_result_ref
;
33139 wxPyEndAllowThreads(__tstate
);
33140 if (PyErr_Occurred()) SWIG_fail
;
33142 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33149 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33150 PyObject
*resultobj
= 0;
33151 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33152 wxTreeItemId
*arg2
= 0 ;
33157 PyObject
* obj0
= 0 ;
33158 PyObject
* obj1
= 0 ;
33159 char * kwnames
[] = {
33160 (char *) "self",(char *) "id", NULL
33163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33165 if (!SWIG_IsOK(res1
)) {
33166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33168 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33169 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33170 if (!SWIG_IsOK(res2
)) {
33171 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33174 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33176 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33179 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
33180 wxPyEndAllowThreads(__tstate
);
33181 if (PyErr_Occurred()) SWIG_fail
;
33183 resultobj
= SWIG_Py_Void();
33190 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33191 PyObject
*resultobj
= 0;
33192 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33195 PyObject
*swig_obj
[1] ;
33197 if (!args
) SWIG_fail
;
33198 swig_obj
[0] = args
;
33199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33200 if (!SWIG_IsOK(res1
)) {
33201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33203 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33206 wxPyTreeItemData_Destroy(arg1
);
33207 wxPyEndAllowThreads(__tstate
);
33208 if (PyErr_Occurred()) SWIG_fail
;
33210 resultobj
= SWIG_Py_Void();
33217 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33219 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33220 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
33221 return SWIG_Py_Void();
33224 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33225 return SWIG_Python_InitShadowInstance(args
);
33228 SWIGINTERN
int NullTreeItemId_set(PyObject
*_val
) {
33231 int res
= SWIG_ConvertPtr(_val
, &argp
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33232 if (!SWIG_IsOK(res
)) {
33233 SWIG_exception_fail(SWIG_ArgError(res
), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33236 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33238 wxTreeItemId
* temp
;
33239 temp
= reinterpret_cast< wxTreeItemId
* >(argp
);
33240 wxNullTreeItemId
= *temp
;
33241 if (SWIG_IsNewObj(res
)) delete temp
;
33250 SWIGINTERN PyObject
*NullTreeItemId_get(void) {
33251 PyObject
*pyobj
= 0;
33253 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId
), SWIGTYPE_p_wxTreeItemId
, 0 );
33258 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33259 PyObject
*resultobj
= 0;
33260 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
33261 int arg2
= (int) 0 ;
33262 wxTreeEvent
*result
= 0 ;
33268 if ((nobjs
< 0) || (nobjs
> 2)) SWIG_fail
;
33270 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33271 if (!SWIG_IsOK(ecode1
)) {
33272 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33274 arg1
= static_cast< wxEventType
>(val1
);
33277 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
33278 if (!SWIG_IsOK(ecode2
)) {
33279 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
33281 arg2
= static_cast< int >(val2
);
33284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33285 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
33286 wxPyEndAllowThreads(__tstate
);
33287 if (PyErr_Occurred()) SWIG_fail
;
33289 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33296 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33297 PyObject
*resultobj
= 0;
33299 wxPyTreeCtrl
*arg2
= (wxPyTreeCtrl
*) 0 ;
33300 wxTreeItemId
&arg3_defvalue
= wxNullTreeItemId
;
33301 wxTreeItemId
*arg3
= (wxTreeItemId
*) &arg3_defvalue
;
33302 wxTreeEvent
*result
= 0 ;
33310 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
33311 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33312 if (!SWIG_IsOK(ecode1
)) {
33313 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33315 arg1
= static_cast< wxEventType
>(val1
);
33316 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33317 if (!SWIG_IsOK(res2
)) {
33318 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'");
33320 arg2
= reinterpret_cast< wxPyTreeCtrl
* >(argp2
);
33322 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 );
33323 if (!SWIG_IsOK(res3
)) {
33324 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33327 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33329 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
33332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33333 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
,*arg3
);
33334 wxPyEndAllowThreads(__tstate
);
33335 if (PyErr_Occurred()) SWIG_fail
;
33337 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33344 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
) {
33348 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TreeEvent",0,3,argv
))) SWIG_fail
;
33350 if ((argc
>= 0) && (argc
<= 2)) {
33355 int res
= SWIG_AsVal_int(argv
[1], NULL
);
33356 _v
= SWIG_CheckState(res
);
33359 if (!_v
) goto check_1
;
33361 return _wrap_new_TreeEvent__SWIG_0(self
, argc
, argv
);
33365 if ((argc
>= 2) && (argc
<= 3)) {
33366 return _wrap_new_TreeEvent__SWIG_1(self
, argc
, argv
);
33370 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TreeEvent'");
33375 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33376 PyObject
*resultobj
= 0;
33377 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33378 wxTreeItemId result
;
33381 PyObject
*swig_obj
[1] ;
33383 if (!args
) SWIG_fail
;
33384 swig_obj
[0] = args
;
33385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33386 if (!SWIG_IsOK(res1
)) {
33387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33389 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33392 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
33393 wxPyEndAllowThreads(__tstate
);
33394 if (PyErr_Occurred()) SWIG_fail
;
33396 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33403 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33404 PyObject
*resultobj
= 0;
33405 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33406 wxTreeItemId
*arg2
= 0 ;
33411 PyObject
* obj0
= 0 ;
33412 PyObject
* obj1
= 0 ;
33413 char * kwnames
[] = {
33414 (char *) "self",(char *) "item", NULL
33417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33419 if (!SWIG_IsOK(res1
)) {
33420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33422 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33423 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33424 if (!SWIG_IsOK(res2
)) {
33425 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33428 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33430 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33433 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
33434 wxPyEndAllowThreads(__tstate
);
33435 if (PyErr_Occurred()) SWIG_fail
;
33437 resultobj
= SWIG_Py_Void();
33444 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33445 PyObject
*resultobj
= 0;
33446 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33447 wxTreeItemId result
;
33450 PyObject
*swig_obj
[1] ;
33452 if (!args
) SWIG_fail
;
33453 swig_obj
[0] = args
;
33454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33455 if (!SWIG_IsOK(res1
)) {
33456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33458 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33461 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
33462 wxPyEndAllowThreads(__tstate
);
33463 if (PyErr_Occurred()) SWIG_fail
;
33465 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33472 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33473 PyObject
*resultobj
= 0;
33474 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33475 wxTreeItemId
*arg2
= 0 ;
33480 PyObject
* obj0
= 0 ;
33481 PyObject
* obj1
= 0 ;
33482 char * kwnames
[] = {
33483 (char *) "self",(char *) "item", NULL
33486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33488 if (!SWIG_IsOK(res1
)) {
33489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33491 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33492 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33493 if (!SWIG_IsOK(res2
)) {
33494 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33497 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33499 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33502 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
33503 wxPyEndAllowThreads(__tstate
);
33504 if (PyErr_Occurred()) SWIG_fail
;
33506 resultobj
= SWIG_Py_Void();
33513 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33514 PyObject
*resultobj
= 0;
33515 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33519 PyObject
*swig_obj
[1] ;
33521 if (!args
) SWIG_fail
;
33522 swig_obj
[0] = args
;
33523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33524 if (!SWIG_IsOK(res1
)) {
33525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33527 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33530 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
33531 wxPyEndAllowThreads(__tstate
);
33532 if (PyErr_Occurred()) SWIG_fail
;
33534 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33541 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33542 PyObject
*resultobj
= 0;
33543 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33544 wxPoint
*arg2
= 0 ;
33548 PyObject
* obj0
= 0 ;
33549 PyObject
* obj1
= 0 ;
33550 char * kwnames
[] = {
33551 (char *) "self",(char *) "pt", NULL
33554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33556 if (!SWIG_IsOK(res1
)) {
33557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33559 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33562 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33566 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
33567 wxPyEndAllowThreads(__tstate
);
33568 if (PyErr_Occurred()) SWIG_fail
;
33570 resultobj
= SWIG_Py_Void();
33577 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33578 PyObject
*resultobj
= 0;
33579 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33580 wxKeyEvent
*result
= 0 ;
33583 PyObject
*swig_obj
[1] ;
33585 if (!args
) SWIG_fail
;
33586 swig_obj
[0] = args
;
33587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33588 if (!SWIG_IsOK(res1
)) {
33589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33591 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33595 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
33596 result
= (wxKeyEvent
*) &_result_ref
;
33598 wxPyEndAllowThreads(__tstate
);
33599 if (PyErr_Occurred()) SWIG_fail
;
33601 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
33608 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33609 PyObject
*resultobj
= 0;
33610 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33614 PyObject
*swig_obj
[1] ;
33616 if (!args
) SWIG_fail
;
33617 swig_obj
[0] = args
;
33618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33619 if (!SWIG_IsOK(res1
)) {
33620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33622 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33625 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
33626 wxPyEndAllowThreads(__tstate
);
33627 if (PyErr_Occurred()) SWIG_fail
;
33629 resultobj
= SWIG_From_int(static_cast< int >(result
));
33636 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33637 PyObject
*resultobj
= 0;
33638 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33639 wxKeyEvent
*arg2
= 0 ;
33644 PyObject
* obj0
= 0 ;
33645 PyObject
* obj1
= 0 ;
33646 char * kwnames
[] = {
33647 (char *) "self",(char *) "evt", NULL
33650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33652 if (!SWIG_IsOK(res1
)) {
33653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33655 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33656 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
33657 if (!SWIG_IsOK(res2
)) {
33658 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33661 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33663 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
33665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33666 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
33667 wxPyEndAllowThreads(__tstate
);
33668 if (PyErr_Occurred()) SWIG_fail
;
33670 resultobj
= SWIG_Py_Void();
33677 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33678 PyObject
*resultobj
= 0;
33679 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33680 wxString
*result
= 0 ;
33683 PyObject
*swig_obj
[1] ;
33685 if (!args
) SWIG_fail
;
33686 swig_obj
[0] = args
;
33687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33688 if (!SWIG_IsOK(res1
)) {
33689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33691 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33695 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
33696 result
= (wxString
*) &_result_ref
;
33698 wxPyEndAllowThreads(__tstate
);
33699 if (PyErr_Occurred()) SWIG_fail
;
33703 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33705 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33714 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33715 PyObject
*resultobj
= 0;
33716 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33717 wxString
*arg2
= 0 ;
33720 bool temp2
= false ;
33721 PyObject
* obj0
= 0 ;
33722 PyObject
* obj1
= 0 ;
33723 char * kwnames
[] = {
33724 (char *) "self",(char *) "label", NULL
33727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33729 if (!SWIG_IsOK(res1
)) {
33730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33732 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33734 arg2
= wxString_in_helper(obj1
);
33735 if (arg2
== NULL
) SWIG_fail
;
33739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33740 (arg1
)->SetLabel((wxString
const &)*arg2
);
33741 wxPyEndAllowThreads(__tstate
);
33742 if (PyErr_Occurred()) SWIG_fail
;
33744 resultobj
= SWIG_Py_Void();
33759 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33760 PyObject
*resultobj
= 0;
33761 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33765 PyObject
*swig_obj
[1] ;
33767 if (!args
) SWIG_fail
;
33768 swig_obj
[0] = args
;
33769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33770 if (!SWIG_IsOK(res1
)) {
33771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33773 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33776 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
33777 wxPyEndAllowThreads(__tstate
);
33778 if (PyErr_Occurred()) SWIG_fail
;
33781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33789 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33790 PyObject
*resultobj
= 0;
33791 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33797 PyObject
* obj0
= 0 ;
33798 PyObject
* obj1
= 0 ;
33799 char * kwnames
[] = {
33800 (char *) "self",(char *) "editCancelled", NULL
33803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33805 if (!SWIG_IsOK(res1
)) {
33806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33808 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33809 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33810 if (!SWIG_IsOK(ecode2
)) {
33811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33813 arg2
= static_cast< bool >(val2
);
33815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33816 (arg1
)->SetEditCanceled(arg2
);
33817 wxPyEndAllowThreads(__tstate
);
33818 if (PyErr_Occurred()) SWIG_fail
;
33820 resultobj
= SWIG_Py_Void();
33827 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33828 PyObject
*resultobj
= 0;
33829 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33830 wxString
*arg2
= 0 ;
33833 bool temp2
= false ;
33834 PyObject
* obj0
= 0 ;
33835 PyObject
* obj1
= 0 ;
33836 char * kwnames
[] = {
33837 (char *) "self",(char *) "toolTip", NULL
33840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33842 if (!SWIG_IsOK(res1
)) {
33843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33845 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33847 arg2
= wxString_in_helper(obj1
);
33848 if (arg2
== NULL
) SWIG_fail
;
33852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33853 (arg1
)->SetToolTip((wxString
const &)*arg2
);
33854 wxPyEndAllowThreads(__tstate
);
33855 if (PyErr_Occurred()) SWIG_fail
;
33857 resultobj
= SWIG_Py_Void();
33872 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33873 PyObject
*resultobj
= 0;
33874 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33878 PyObject
*swig_obj
[1] ;
33880 if (!args
) SWIG_fail
;
33881 swig_obj
[0] = args
;
33882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33883 if (!SWIG_IsOK(res1
)) {
33884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33886 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33889 result
= (arg1
)->GetToolTip();
33890 wxPyEndAllowThreads(__tstate
);
33891 if (PyErr_Occurred()) SWIG_fail
;
33895 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33897 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33906 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33908 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33909 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
33910 return SWIG_Py_Void();
33913 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33914 return SWIG_Python_InitShadowInstance(args
);
33917 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33918 PyObject
*resultobj
= 0;
33919 wxWindow
*arg1
= (wxWindow
*) 0 ;
33920 int arg2
= (int) -1 ;
33921 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33922 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33923 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33924 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33925 long arg5
= (long) wxTR_DEFAULT_STYLE
;
33926 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33927 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33928 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
33929 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33930 wxPyTreeCtrl
*result
= 0 ;
33941 bool temp7
= false ;
33942 PyObject
* obj0
= 0 ;
33943 PyObject
* obj1
= 0 ;
33944 PyObject
* obj2
= 0 ;
33945 PyObject
* obj3
= 0 ;
33946 PyObject
* obj4
= 0 ;
33947 PyObject
* obj5
= 0 ;
33948 PyObject
* obj6
= 0 ;
33949 char * kwnames
[] = {
33950 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33955 if (!SWIG_IsOK(res1
)) {
33956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33958 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33960 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33961 if (!SWIG_IsOK(ecode2
)) {
33962 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33964 arg2
= static_cast< int >(val2
);
33969 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33975 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33979 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
33980 if (!SWIG_IsOK(ecode5
)) {
33981 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33983 arg5
= static_cast< long >(val5
);
33986 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
33987 if (!SWIG_IsOK(res6
)) {
33988 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33991 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33993 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
33997 arg7
= wxString_in_helper(obj6
);
33998 if (arg7
== NULL
) SWIG_fail
;
34003 if (!wxPyCheckForApp()) SWIG_fail
;
34004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34005 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
34006 wxPyEndAllowThreads(__tstate
);
34007 if (PyErr_Occurred()) SWIG_fail
;
34009 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
34024 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34025 PyObject
*resultobj
= 0;
34026 wxPyTreeCtrl
*result
= 0 ;
34028 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
34030 if (!wxPyCheckForApp()) SWIG_fail
;
34031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34032 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
34033 wxPyEndAllowThreads(__tstate
);
34034 if (PyErr_Occurred()) SWIG_fail
;
34036 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
34043 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34044 PyObject
*resultobj
= 0;
34045 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34046 wxWindow
*arg2
= (wxWindow
*) 0 ;
34047 int arg3
= (int) -1 ;
34048 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
34049 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
34050 wxSize
const &arg5_defvalue
= wxDefaultSize
;
34051 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
34052 long arg6
= (long) wxTR_DEFAULT_STYLE
;
34053 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
34054 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
34055 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
34056 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
34070 bool temp8
= false ;
34071 PyObject
* obj0
= 0 ;
34072 PyObject
* obj1
= 0 ;
34073 PyObject
* obj2
= 0 ;
34074 PyObject
* obj3
= 0 ;
34075 PyObject
* obj4
= 0 ;
34076 PyObject
* obj5
= 0 ;
34077 PyObject
* obj6
= 0 ;
34078 PyObject
* obj7
= 0 ;
34079 char * kwnames
[] = {
34080 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
34084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34085 if (!SWIG_IsOK(res1
)) {
34086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34088 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34089 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34090 if (!SWIG_IsOK(res2
)) {
34091 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
34093 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34095 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34096 if (!SWIG_IsOK(ecode3
)) {
34097 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
34099 arg3
= static_cast< int >(val3
);
34104 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
34110 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
34114 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
34115 if (!SWIG_IsOK(ecode6
)) {
34116 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
34118 arg6
= static_cast< long >(val6
);
34121 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
34122 if (!SWIG_IsOK(res7
)) {
34123 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34126 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34128 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
34132 arg8
= wxString_in_helper(obj7
);
34133 if (arg8
== NULL
) SWIG_fail
;
34138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34139 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
34140 wxPyEndAllowThreads(__tstate
);
34141 if (PyErr_Occurred()) SWIG_fail
;
34144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34160 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34161 PyObject
*resultobj
= 0;
34162 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34163 PyObject
*arg2
= (PyObject
*) 0 ;
34164 PyObject
*arg3
= (PyObject
*) 0 ;
34167 PyObject
* obj0
= 0 ;
34168 PyObject
* obj1
= 0 ;
34169 PyObject
* obj2
= 0 ;
34170 char * kwnames
[] = {
34171 (char *) "self",(char *) "self",(char *) "_class", NULL
34174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34176 if (!SWIG_IsOK(res1
)) {
34177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34179 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34184 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34185 wxPyEndAllowThreads(__tstate
);
34186 if (PyErr_Occurred()) SWIG_fail
;
34188 resultobj
= SWIG_Py_Void();
34195 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34196 PyObject
*resultobj
= 0;
34197 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34198 unsigned int result
;
34201 PyObject
*swig_obj
[1] ;
34203 if (!args
) SWIG_fail
;
34204 swig_obj
[0] = args
;
34205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34206 if (!SWIG_IsOK(res1
)) {
34207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34209 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34212 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
34213 wxPyEndAllowThreads(__tstate
);
34214 if (PyErr_Occurred()) SWIG_fail
;
34216 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34223 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34224 PyObject
*resultobj
= 0;
34225 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34226 unsigned int result
;
34229 PyObject
*swig_obj
[1] ;
34231 if (!args
) SWIG_fail
;
34232 swig_obj
[0] = args
;
34233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34234 if (!SWIG_IsOK(res1
)) {
34235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34237 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34240 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
34241 wxPyEndAllowThreads(__tstate
);
34242 if (PyErr_Occurred()) SWIG_fail
;
34244 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34251 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34252 PyObject
*resultobj
= 0;
34253 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34254 unsigned int arg2
;
34257 unsigned int val2
;
34259 PyObject
* obj0
= 0 ;
34260 PyObject
* obj1
= 0 ;
34261 char * kwnames
[] = {
34262 (char *) "self",(char *) "indent", NULL
34265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34267 if (!SWIG_IsOK(res1
)) {
34268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34270 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34271 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34272 if (!SWIG_IsOK(ecode2
)) {
34273 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
34275 arg2
= static_cast< unsigned int >(val2
);
34277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34278 (arg1
)->SetIndent(arg2
);
34279 wxPyEndAllowThreads(__tstate
);
34280 if (PyErr_Occurred()) SWIG_fail
;
34282 resultobj
= SWIG_Py_Void();
34289 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34290 PyObject
*resultobj
= 0;
34291 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34292 unsigned int result
;
34295 PyObject
*swig_obj
[1] ;
34297 if (!args
) SWIG_fail
;
34298 swig_obj
[0] = args
;
34299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34300 if (!SWIG_IsOK(res1
)) {
34301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34303 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34306 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
34307 wxPyEndAllowThreads(__tstate
);
34308 if (PyErr_Occurred()) SWIG_fail
;
34310 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34317 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34318 PyObject
*resultobj
= 0;
34319 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34320 unsigned int arg2
;
34323 unsigned int val2
;
34325 PyObject
* obj0
= 0 ;
34326 PyObject
* obj1
= 0 ;
34327 char * kwnames
[] = {
34328 (char *) "self",(char *) "spacing", NULL
34331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34333 if (!SWIG_IsOK(res1
)) {
34334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34336 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34337 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34338 if (!SWIG_IsOK(ecode2
)) {
34339 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
34341 arg2
= static_cast< unsigned int >(val2
);
34343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34344 (arg1
)->SetSpacing(arg2
);
34345 wxPyEndAllowThreads(__tstate
);
34346 if (PyErr_Occurred()) SWIG_fail
;
34348 resultobj
= SWIG_Py_Void();
34355 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34356 PyObject
*resultobj
= 0;
34357 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34358 wxImageList
*result
= 0 ;
34361 PyObject
*swig_obj
[1] ;
34363 if (!args
) SWIG_fail
;
34364 swig_obj
[0] = args
;
34365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34366 if (!SWIG_IsOK(res1
)) {
34367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34369 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34372 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
34373 wxPyEndAllowThreads(__tstate
);
34374 if (PyErr_Occurred()) SWIG_fail
;
34377 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34385 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34386 PyObject
*resultobj
= 0;
34387 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34388 wxImageList
*result
= 0 ;
34391 PyObject
*swig_obj
[1] ;
34393 if (!args
) SWIG_fail
;
34394 swig_obj
[0] = args
;
34395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34396 if (!SWIG_IsOK(res1
)) {
34397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34399 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34402 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
34403 wxPyEndAllowThreads(__tstate
);
34404 if (PyErr_Occurred()) SWIG_fail
;
34407 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34415 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34416 PyObject
*resultobj
= 0;
34417 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34418 wxImageList
*arg2
= (wxImageList
*) 0 ;
34423 PyObject
* obj0
= 0 ;
34424 PyObject
* obj1
= 0 ;
34425 char * kwnames
[] = {
34426 (char *) "self",(char *) "imageList", NULL
34429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34431 if (!SWIG_IsOK(res1
)) {
34432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34434 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34435 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34436 if (!SWIG_IsOK(res2
)) {
34437 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34439 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34442 (arg1
)->SetImageList(arg2
);
34443 wxPyEndAllowThreads(__tstate
);
34444 if (PyErr_Occurred()) SWIG_fail
;
34446 resultobj
= SWIG_Py_Void();
34453 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34454 PyObject
*resultobj
= 0;
34455 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34456 wxImageList
*arg2
= (wxImageList
*) 0 ;
34461 PyObject
* obj0
= 0 ;
34462 PyObject
* obj1
= 0 ;
34463 char * kwnames
[] = {
34464 (char *) "self",(char *) "imageList", NULL
34467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34469 if (!SWIG_IsOK(res1
)) {
34470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34472 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34473 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34474 if (!SWIG_IsOK(res2
)) {
34475 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34477 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34480 (arg1
)->SetStateImageList(arg2
);
34481 wxPyEndAllowThreads(__tstate
);
34482 if (PyErr_Occurred()) SWIG_fail
;
34484 resultobj
= SWIG_Py_Void();
34491 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34492 PyObject
*resultobj
= 0;
34493 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34494 wxImageList
*arg2
= (wxImageList
*) 0 ;
34498 PyObject
* obj0
= 0 ;
34499 PyObject
* obj1
= 0 ;
34500 char * kwnames
[] = {
34501 (char *) "self",(char *) "imageList", NULL
34504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34506 if (!SWIG_IsOK(res1
)) {
34507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34509 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34510 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34511 if (!SWIG_IsOK(res2
)) {
34512 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34516 (arg1
)->AssignImageList(arg2
);
34517 wxPyEndAllowThreads(__tstate
);
34518 if (PyErr_Occurred()) SWIG_fail
;
34520 resultobj
= SWIG_Py_Void();
34527 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34528 PyObject
*resultobj
= 0;
34529 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34530 wxImageList
*arg2
= (wxImageList
*) 0 ;
34534 PyObject
* obj0
= 0 ;
34535 PyObject
* obj1
= 0 ;
34536 char * kwnames
[] = {
34537 (char *) "self",(char *) "imageList", NULL
34540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34542 if (!SWIG_IsOK(res1
)) {
34543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34545 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34546 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34547 if (!SWIG_IsOK(res2
)) {
34548 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34552 (arg1
)->AssignStateImageList(arg2
);
34553 wxPyEndAllowThreads(__tstate
);
34554 if (PyErr_Occurred()) SWIG_fail
;
34556 resultobj
= SWIG_Py_Void();
34563 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34564 PyObject
*resultobj
= 0;
34565 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34566 wxTreeItemId
*arg2
= 0 ;
34572 PyObject
* obj0
= 0 ;
34573 PyObject
* obj1
= 0 ;
34574 char * kwnames
[] = {
34575 (char *) "self",(char *) "item", NULL
34578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34580 if (!SWIG_IsOK(res1
)) {
34581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34583 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34584 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34585 if (!SWIG_IsOK(res2
)) {
34586 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34589 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34591 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34594 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
34595 wxPyEndAllowThreads(__tstate
);
34596 if (PyErr_Occurred()) SWIG_fail
;
34600 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34602 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34611 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34612 PyObject
*resultobj
= 0;
34613 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34614 wxTreeItemId
*arg2
= 0 ;
34615 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34623 PyObject
* obj0
= 0 ;
34624 PyObject
* obj1
= 0 ;
34625 PyObject
* obj2
= 0 ;
34626 char * kwnames
[] = {
34627 (char *) "self",(char *) "item",(char *) "which", NULL
34630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34632 if (!SWIG_IsOK(res1
)) {
34633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34635 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34636 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34637 if (!SWIG_IsOK(res2
)) {
34638 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34641 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34643 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34645 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34646 if (!SWIG_IsOK(ecode3
)) {
34647 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34649 arg3
= static_cast< wxTreeItemIcon
>(val3
);
34652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34653 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
34654 wxPyEndAllowThreads(__tstate
);
34655 if (PyErr_Occurred()) SWIG_fail
;
34657 resultobj
= SWIG_From_int(static_cast< int >(result
));
34664 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34665 PyObject
*resultobj
= 0;
34666 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34667 wxTreeItemId
*arg2
= 0 ;
34668 wxPyTreeItemData
*result
= 0 ;
34673 PyObject
* obj0
= 0 ;
34674 PyObject
* obj1
= 0 ;
34675 char * kwnames
[] = {
34676 (char *) "self",(char *) "item", NULL
34679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34681 if (!SWIG_IsOK(res1
)) {
34682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34684 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34685 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34686 if (!SWIG_IsOK(res2
)) {
34687 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34690 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34692 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34695 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
34696 wxPyEndAllowThreads(__tstate
);
34697 if (PyErr_Occurred()) SWIG_fail
;
34699 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
34706 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34707 PyObject
*resultobj
= 0;
34708 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34709 wxTreeItemId
*arg2
= 0 ;
34710 PyObject
*result
= 0 ;
34715 PyObject
* obj0
= 0 ;
34716 PyObject
* obj1
= 0 ;
34717 char * kwnames
[] = {
34718 (char *) "self",(char *) "item", NULL
34721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34723 if (!SWIG_IsOK(res1
)) {
34724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34726 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34727 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34728 if (!SWIG_IsOK(res2
)) {
34729 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34732 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34734 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34737 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
34738 wxPyEndAllowThreads(__tstate
);
34739 if (PyErr_Occurred()) SWIG_fail
;
34741 resultobj
= result
;
34748 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34749 PyObject
*resultobj
= 0;
34750 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34751 wxTreeItemId
*arg2
= 0 ;
34757 PyObject
* obj0
= 0 ;
34758 PyObject
* obj1
= 0 ;
34759 char * kwnames
[] = {
34760 (char *) "self",(char *) "item", NULL
34763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34765 if (!SWIG_IsOK(res1
)) {
34766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34768 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34769 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34770 if (!SWIG_IsOK(res2
)) {
34771 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34774 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34776 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34779 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
34780 wxPyEndAllowThreads(__tstate
);
34781 if (PyErr_Occurred()) SWIG_fail
;
34783 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34790 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34791 PyObject
*resultobj
= 0;
34792 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34793 wxTreeItemId
*arg2
= 0 ;
34799 PyObject
* obj0
= 0 ;
34800 PyObject
* obj1
= 0 ;
34801 char * kwnames
[] = {
34802 (char *) "self",(char *) "item", NULL
34805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34807 if (!SWIG_IsOK(res1
)) {
34808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34810 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34811 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34812 if (!SWIG_IsOK(res2
)) {
34813 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34816 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34818 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34821 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
34822 wxPyEndAllowThreads(__tstate
);
34823 if (PyErr_Occurred()) SWIG_fail
;
34825 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34832 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34833 PyObject
*resultobj
= 0;
34834 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34835 wxTreeItemId
*arg2
= 0 ;
34841 PyObject
* obj0
= 0 ;
34842 PyObject
* obj1
= 0 ;
34843 char * kwnames
[] = {
34844 (char *) "self",(char *) "item", NULL
34847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34849 if (!SWIG_IsOK(res1
)) {
34850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34852 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34853 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34854 if (!SWIG_IsOK(res2
)) {
34855 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34858 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34860 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34863 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
34864 wxPyEndAllowThreads(__tstate
);
34865 if (PyErr_Occurred()) SWIG_fail
;
34867 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
34874 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34875 PyObject
*resultobj
= 0;
34876 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34877 wxTreeItemId
*arg2
= 0 ;
34878 wxString
*arg3
= 0 ;
34883 bool temp3
= false ;
34884 PyObject
* obj0
= 0 ;
34885 PyObject
* obj1
= 0 ;
34886 PyObject
* obj2
= 0 ;
34887 char * kwnames
[] = {
34888 (char *) "self",(char *) "item",(char *) "text", NULL
34891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34893 if (!SWIG_IsOK(res1
)) {
34894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34896 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34897 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34898 if (!SWIG_IsOK(res2
)) {
34899 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34902 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34904 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34906 arg3
= wxString_in_helper(obj2
);
34907 if (arg3
== NULL
) SWIG_fail
;
34911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34912 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
34913 wxPyEndAllowThreads(__tstate
);
34914 if (PyErr_Occurred()) SWIG_fail
;
34916 resultobj
= SWIG_Py_Void();
34931 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34932 PyObject
*resultobj
= 0;
34933 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34934 wxTreeItemId
*arg2
= 0 ;
34936 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34945 PyObject
* obj0
= 0 ;
34946 PyObject
* obj1
= 0 ;
34947 PyObject
* obj2
= 0 ;
34948 PyObject
* obj3
= 0 ;
34949 char * kwnames
[] = {
34950 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34955 if (!SWIG_IsOK(res1
)) {
34956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34958 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34959 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34960 if (!SWIG_IsOK(res2
)) {
34961 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34964 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34966 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34967 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34968 if (!SWIG_IsOK(ecode3
)) {
34969 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34971 arg3
= static_cast< int >(val3
);
34973 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34974 if (!SWIG_IsOK(ecode4
)) {
34975 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34977 arg4
= static_cast< wxTreeItemIcon
>(val4
);
34980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34981 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
34982 wxPyEndAllowThreads(__tstate
);
34983 if (PyErr_Occurred()) SWIG_fail
;
34985 resultobj
= SWIG_Py_Void();
34992 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34993 PyObject
*resultobj
= 0;
34994 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34995 wxTreeItemId
*arg2
= 0 ;
34996 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
35002 PyObject
* obj0
= 0 ;
35003 PyObject
* obj1
= 0 ;
35004 PyObject
* obj2
= 0 ;
35005 char * kwnames
[] = {
35006 (char *) "self",(char *) "item",(char *) "data", NULL
35009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35011 if (!SWIG_IsOK(res1
)) {
35012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35014 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35015 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35016 if (!SWIG_IsOK(res2
)) {
35017 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35020 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35022 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35023 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35024 if (!SWIG_IsOK(res3
)) {
35025 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
35028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35029 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35030 wxPyEndAllowThreads(__tstate
);
35031 if (PyErr_Occurred()) SWIG_fail
;
35033 resultobj
= SWIG_Py_Void();
35040 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35041 PyObject
*resultobj
= 0;
35042 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35043 wxTreeItemId
*arg2
= 0 ;
35044 PyObject
*arg3
= (PyObject
*) 0 ;
35049 PyObject
* obj0
= 0 ;
35050 PyObject
* obj1
= 0 ;
35051 PyObject
* obj2
= 0 ;
35052 char * kwnames
[] = {
35053 (char *) "self",(char *) "item",(char *) "obj", NULL
35056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35058 if (!SWIG_IsOK(res1
)) {
35059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35061 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35062 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35063 if (!SWIG_IsOK(res2
)) {
35064 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35067 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35069 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35073 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35074 wxPyEndAllowThreads(__tstate
);
35075 if (PyErr_Occurred()) SWIG_fail
;
35077 resultobj
= SWIG_Py_Void();
35084 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35085 PyObject
*resultobj
= 0;
35086 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35087 wxTreeItemId
*arg2
= 0 ;
35088 bool arg3
= (bool) true ;
35095 PyObject
* obj0
= 0 ;
35096 PyObject
* obj1
= 0 ;
35097 PyObject
* obj2
= 0 ;
35098 char * kwnames
[] = {
35099 (char *) "self",(char *) "item",(char *) "has", NULL
35102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35104 if (!SWIG_IsOK(res1
)) {
35105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35107 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35108 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35109 if (!SWIG_IsOK(res2
)) {
35110 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35113 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35115 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35117 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35118 if (!SWIG_IsOK(ecode3
)) {
35119 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
35121 arg3
= static_cast< bool >(val3
);
35124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35125 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
35126 wxPyEndAllowThreads(__tstate
);
35127 if (PyErr_Occurred()) SWIG_fail
;
35129 resultobj
= SWIG_Py_Void();
35136 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35137 PyObject
*resultobj
= 0;
35138 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35139 wxTreeItemId
*arg2
= 0 ;
35140 bool arg3
= (bool) true ;
35147 PyObject
* obj0
= 0 ;
35148 PyObject
* obj1
= 0 ;
35149 PyObject
* obj2
= 0 ;
35150 char * kwnames
[] = {
35151 (char *) "self",(char *) "item",(char *) "bold", NULL
35154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35156 if (!SWIG_IsOK(res1
)) {
35157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35159 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35160 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35161 if (!SWIG_IsOK(res2
)) {
35162 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35165 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35167 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35169 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35170 if (!SWIG_IsOK(ecode3
)) {
35171 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
35173 arg3
= static_cast< bool >(val3
);
35176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35177 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
35178 wxPyEndAllowThreads(__tstate
);
35179 if (PyErr_Occurred()) SWIG_fail
;
35181 resultobj
= SWIG_Py_Void();
35188 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35189 PyObject
*resultobj
= 0;
35190 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35191 wxTreeItemId
*arg2
= 0 ;
35192 bool arg3
= (bool) true ;
35199 PyObject
* obj0
= 0 ;
35200 PyObject
* obj1
= 0 ;
35201 PyObject
* obj2
= 0 ;
35202 char * kwnames
[] = {
35203 (char *) "self",(char *) "item",(char *) "highlight", NULL
35206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35208 if (!SWIG_IsOK(res1
)) {
35209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35211 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35212 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35213 if (!SWIG_IsOK(res2
)) {
35214 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35217 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35219 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35221 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35222 if (!SWIG_IsOK(ecode3
)) {
35223 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
35225 arg3
= static_cast< bool >(val3
);
35228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35229 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
35230 wxPyEndAllowThreads(__tstate
);
35231 if (PyErr_Occurred()) SWIG_fail
;
35233 resultobj
= SWIG_Py_Void();
35240 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35241 PyObject
*resultobj
= 0;
35242 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35243 wxTreeItemId
*arg2
= 0 ;
35244 wxColour
*arg3
= 0 ;
35250 PyObject
* obj0
= 0 ;
35251 PyObject
* obj1
= 0 ;
35252 PyObject
* obj2
= 0 ;
35253 char * kwnames
[] = {
35254 (char *) "self",(char *) "item",(char *) "col", NULL
35257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35259 if (!SWIG_IsOK(res1
)) {
35260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35262 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35263 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35264 if (!SWIG_IsOK(res2
)) {
35265 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35268 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35270 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35273 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35277 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35278 wxPyEndAllowThreads(__tstate
);
35279 if (PyErr_Occurred()) SWIG_fail
;
35281 resultobj
= SWIG_Py_Void();
35288 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35289 PyObject
*resultobj
= 0;
35290 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35291 wxTreeItemId
*arg2
= 0 ;
35292 wxColour
*arg3
= 0 ;
35298 PyObject
* obj0
= 0 ;
35299 PyObject
* obj1
= 0 ;
35300 PyObject
* obj2
= 0 ;
35301 char * kwnames
[] = {
35302 (char *) "self",(char *) "item",(char *) "col", NULL
35305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35307 if (!SWIG_IsOK(res1
)) {
35308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35310 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35311 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35312 if (!SWIG_IsOK(res2
)) {
35313 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35316 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35318 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35321 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35325 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35326 wxPyEndAllowThreads(__tstate
);
35327 if (PyErr_Occurred()) SWIG_fail
;
35329 resultobj
= SWIG_Py_Void();
35336 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35337 PyObject
*resultobj
= 0;
35338 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35339 wxTreeItemId
*arg2
= 0 ;
35347 PyObject
* obj0
= 0 ;
35348 PyObject
* obj1
= 0 ;
35349 PyObject
* obj2
= 0 ;
35350 char * kwnames
[] = {
35351 (char *) "self",(char *) "item",(char *) "font", NULL
35354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35356 if (!SWIG_IsOK(res1
)) {
35357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35359 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35360 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35361 if (!SWIG_IsOK(res2
)) {
35362 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35365 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35367 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35368 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
35369 if (!SWIG_IsOK(res3
)) {
35370 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35373 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35375 arg3
= reinterpret_cast< wxFont
* >(argp3
);
35377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35378 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
35379 wxPyEndAllowThreads(__tstate
);
35380 if (PyErr_Occurred()) SWIG_fail
;
35382 resultobj
= SWIG_Py_Void();
35389 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35390 PyObject
*resultobj
= 0;
35391 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35392 wxTreeItemId
*arg2
= 0 ;
35398 PyObject
* obj0
= 0 ;
35399 PyObject
* obj1
= 0 ;
35400 char * kwnames
[] = {
35401 (char *) "self",(char *) "item", NULL
35404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35406 if (!SWIG_IsOK(res1
)) {
35407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35409 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35410 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35411 if (!SWIG_IsOK(res2
)) {
35412 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35415 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35417 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35420 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
35421 wxPyEndAllowThreads(__tstate
);
35422 if (PyErr_Occurred()) SWIG_fail
;
35425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35433 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35434 PyObject
*resultobj
= 0;
35435 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35436 wxTreeItemId
*arg2
= 0 ;
35442 PyObject
* obj0
= 0 ;
35443 PyObject
* obj1
= 0 ;
35444 char * kwnames
[] = {
35445 (char *) "self",(char *) "item", NULL
35448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35450 if (!SWIG_IsOK(res1
)) {
35451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35453 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35454 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35455 if (!SWIG_IsOK(res2
)) {
35456 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35459 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35461 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35464 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
35465 wxPyEndAllowThreads(__tstate
);
35466 if (PyErr_Occurred()) SWIG_fail
;
35469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35477 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35478 PyObject
*resultobj
= 0;
35479 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35480 wxTreeItemId
*arg2
= 0 ;
35486 PyObject
* obj0
= 0 ;
35487 PyObject
* obj1
= 0 ;
35488 char * kwnames
[] = {
35489 (char *) "self",(char *) "item", NULL
35492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35494 if (!SWIG_IsOK(res1
)) {
35495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35497 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35498 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35499 if (!SWIG_IsOK(res2
)) {
35500 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35503 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35505 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35508 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
35509 wxPyEndAllowThreads(__tstate
);
35510 if (PyErr_Occurred()) SWIG_fail
;
35513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35521 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35522 PyObject
*resultobj
= 0;
35523 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35524 wxTreeItemId
*arg2
= 0 ;
35530 PyObject
* obj0
= 0 ;
35531 PyObject
* obj1
= 0 ;
35532 char * kwnames
[] = {
35533 (char *) "self",(char *) "item", NULL
35536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35538 if (!SWIG_IsOK(res1
)) {
35539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35541 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35542 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35543 if (!SWIG_IsOK(res2
)) {
35544 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35547 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35549 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35552 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
35553 wxPyEndAllowThreads(__tstate
);
35554 if (PyErr_Occurred()) SWIG_fail
;
35557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35565 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35566 PyObject
*resultobj
= 0;
35567 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35568 wxTreeItemId
*arg2
= 0 ;
35574 PyObject
* obj0
= 0 ;
35575 PyObject
* obj1
= 0 ;
35576 char * kwnames
[] = {
35577 (char *) "self",(char *) "item", NULL
35580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35582 if (!SWIG_IsOK(res1
)) {
35583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35585 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35586 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35587 if (!SWIG_IsOK(res2
)) {
35588 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35591 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35593 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35596 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
35597 wxPyEndAllowThreads(__tstate
);
35598 if (PyErr_Occurred()) SWIG_fail
;
35601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35609 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35610 PyObject
*resultobj
= 0;
35611 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35615 PyObject
*swig_obj
[1] ;
35617 if (!args
) SWIG_fail
;
35618 swig_obj
[0] = args
;
35619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35620 if (!SWIG_IsOK(res1
)) {
35621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35623 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35626 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsEmpty();
35627 wxPyEndAllowThreads(__tstate
);
35628 if (PyErr_Occurred()) SWIG_fail
;
35631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35639 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35640 PyObject
*resultobj
= 0;
35641 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35642 wxTreeItemId
*arg2
= 0 ;
35643 bool arg3
= (bool) true ;
35651 PyObject
* obj0
= 0 ;
35652 PyObject
* obj1
= 0 ;
35653 PyObject
* obj2
= 0 ;
35654 char * kwnames
[] = {
35655 (char *) "self",(char *) "item",(char *) "recursively", NULL
35658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35660 if (!SWIG_IsOK(res1
)) {
35661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35663 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35664 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35665 if (!SWIG_IsOK(res2
)) {
35666 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35669 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35671 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35673 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35674 if (!SWIG_IsOK(ecode3
)) {
35675 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35677 arg3
= static_cast< bool >(val3
);
35680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35681 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
35682 wxPyEndAllowThreads(__tstate
);
35683 if (PyErr_Occurred()) SWIG_fail
;
35685 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35692 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35693 PyObject
*resultobj
= 0;
35694 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35695 wxTreeItemId result
;
35698 PyObject
*swig_obj
[1] ;
35700 if (!args
) SWIG_fail
;
35701 swig_obj
[0] = args
;
35702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35703 if (!SWIG_IsOK(res1
)) {
35704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35706 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35709 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
35710 wxPyEndAllowThreads(__tstate
);
35711 if (PyErr_Occurred()) SWIG_fail
;
35713 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35720 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35721 PyObject
*resultobj
= 0;
35722 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35723 wxTreeItemId result
;
35726 PyObject
*swig_obj
[1] ;
35728 if (!args
) SWIG_fail
;
35729 swig_obj
[0] = args
;
35730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35731 if (!SWIG_IsOK(res1
)) {
35732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35734 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35737 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
35738 wxPyEndAllowThreads(__tstate
);
35739 if (PyErr_Occurred()) SWIG_fail
;
35741 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35748 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35749 PyObject
*resultobj
= 0;
35750 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35751 PyObject
*result
= 0 ;
35754 PyObject
*swig_obj
[1] ;
35756 if (!args
) SWIG_fail
;
35757 swig_obj
[0] = args
;
35758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35759 if (!SWIG_IsOK(res1
)) {
35760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35762 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35765 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
35766 wxPyEndAllowThreads(__tstate
);
35767 if (PyErr_Occurred()) SWIG_fail
;
35769 resultobj
= result
;
35776 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35777 PyObject
*resultobj
= 0;
35778 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35779 wxTreeItemId
*arg2
= 0 ;
35780 wxTreeItemId result
;
35785 PyObject
* obj0
= 0 ;
35786 PyObject
* obj1
= 0 ;
35787 char * kwnames
[] = {
35788 (char *) "self",(char *) "item", NULL
35791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35793 if (!SWIG_IsOK(res1
)) {
35794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35796 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35797 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35798 if (!SWIG_IsOK(res2
)) {
35799 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35802 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35804 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35807 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
35808 wxPyEndAllowThreads(__tstate
);
35809 if (PyErr_Occurred()) SWIG_fail
;
35811 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35818 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35819 PyObject
*resultobj
= 0;
35820 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35821 wxTreeItemId
*arg2
= 0 ;
35822 PyObject
*result
= 0 ;
35827 PyObject
* obj0
= 0 ;
35828 PyObject
* obj1
= 0 ;
35829 char * kwnames
[] = {
35830 (char *) "self",(char *) "item", NULL
35833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35835 if (!SWIG_IsOK(res1
)) {
35836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35838 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35839 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35840 if (!SWIG_IsOK(res2
)) {
35841 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35844 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35846 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35849 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
35850 wxPyEndAllowThreads(__tstate
);
35851 if (PyErr_Occurred()) SWIG_fail
;
35853 resultobj
= result
;
35860 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35861 PyObject
*resultobj
= 0;
35862 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35863 wxTreeItemId
*arg2
= 0 ;
35864 void *arg3
= (void *) 0 ;
35865 PyObject
*result
= 0 ;
35871 PyObject
* obj0
= 0 ;
35872 PyObject
* obj1
= 0 ;
35873 PyObject
* obj2
= 0 ;
35874 char * kwnames
[] = {
35875 (char *) "self",(char *) "item",(char *) "cookie", NULL
35878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35880 if (!SWIG_IsOK(res1
)) {
35881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35883 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35884 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35885 if (!SWIG_IsOK(res2
)) {
35886 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35889 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35891 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35892 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
35893 if (!SWIG_IsOK(res3
)) {
35894 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35898 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35899 wxPyEndAllowThreads(__tstate
);
35900 if (PyErr_Occurred()) SWIG_fail
;
35902 resultobj
= result
;
35909 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35910 PyObject
*resultobj
= 0;
35911 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35912 wxTreeItemId
*arg2
= 0 ;
35913 wxTreeItemId result
;
35918 PyObject
* obj0
= 0 ;
35919 PyObject
* obj1
= 0 ;
35920 char * kwnames
[] = {
35921 (char *) "self",(char *) "item", NULL
35924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35926 if (!SWIG_IsOK(res1
)) {
35927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35929 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35930 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35931 if (!SWIG_IsOK(res2
)) {
35932 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35935 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35937 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35940 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
35941 wxPyEndAllowThreads(__tstate
);
35942 if (PyErr_Occurred()) SWIG_fail
;
35944 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35951 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35952 PyObject
*resultobj
= 0;
35953 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35954 wxTreeItemId
*arg2
= 0 ;
35955 wxTreeItemId result
;
35960 PyObject
* obj0
= 0 ;
35961 PyObject
* obj1
= 0 ;
35962 char * kwnames
[] = {
35963 (char *) "self",(char *) "item", NULL
35966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35968 if (!SWIG_IsOK(res1
)) {
35969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35971 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35972 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35973 if (!SWIG_IsOK(res2
)) {
35974 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35977 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35979 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35982 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
35983 wxPyEndAllowThreads(__tstate
);
35984 if (PyErr_Occurred()) SWIG_fail
;
35986 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35993 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35994 PyObject
*resultobj
= 0;
35995 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35996 wxTreeItemId
*arg2
= 0 ;
35997 wxTreeItemId result
;
36002 PyObject
* obj0
= 0 ;
36003 PyObject
* obj1
= 0 ;
36004 char * kwnames
[] = {
36005 (char *) "self",(char *) "item", NULL
36008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36010 if (!SWIG_IsOK(res1
)) {
36011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36013 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36014 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36015 if (!SWIG_IsOK(res2
)) {
36016 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36019 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36021 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36024 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
36025 wxPyEndAllowThreads(__tstate
);
36026 if (PyErr_Occurred()) SWIG_fail
;
36028 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36035 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36036 PyObject
*resultobj
= 0;
36037 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36038 wxTreeItemId result
;
36041 PyObject
*swig_obj
[1] ;
36043 if (!args
) SWIG_fail
;
36044 swig_obj
[0] = args
;
36045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36046 if (!SWIG_IsOK(res1
)) {
36047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36049 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36052 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
36053 wxPyEndAllowThreads(__tstate
);
36054 if (PyErr_Occurred()) SWIG_fail
;
36056 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36063 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36064 PyObject
*resultobj
= 0;
36065 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36066 wxTreeItemId
*arg2
= 0 ;
36067 wxTreeItemId result
;
36072 PyObject
* obj0
= 0 ;
36073 PyObject
* obj1
= 0 ;
36074 char * kwnames
[] = {
36075 (char *) "self",(char *) "item", NULL
36078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36080 if (!SWIG_IsOK(res1
)) {
36081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36083 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36084 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36085 if (!SWIG_IsOK(res2
)) {
36086 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36089 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36091 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36094 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
36095 wxPyEndAllowThreads(__tstate
);
36096 if (PyErr_Occurred()) SWIG_fail
;
36098 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36105 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36106 PyObject
*resultobj
= 0;
36107 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36108 wxTreeItemId
*arg2
= 0 ;
36109 wxTreeItemId result
;
36114 PyObject
* obj0
= 0 ;
36115 PyObject
* obj1
= 0 ;
36116 char * kwnames
[] = {
36117 (char *) "self",(char *) "item", NULL
36120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36122 if (!SWIG_IsOK(res1
)) {
36123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36125 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36126 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36127 if (!SWIG_IsOK(res2
)) {
36128 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36131 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36133 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36136 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
36137 wxPyEndAllowThreads(__tstate
);
36138 if (PyErr_Occurred()) SWIG_fail
;
36140 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36147 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36148 PyObject
*resultobj
= 0;
36149 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36150 wxString
*arg2
= 0 ;
36151 int arg3
= (int) -1 ;
36152 int arg4
= (int) -1 ;
36153 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
36154 wxTreeItemId result
;
36157 bool temp2
= false ;
36163 PyObject
* obj0
= 0 ;
36164 PyObject
* obj1
= 0 ;
36165 PyObject
* obj2
= 0 ;
36166 PyObject
* obj3
= 0 ;
36167 PyObject
* obj4
= 0 ;
36168 char * kwnames
[] = {
36169 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36174 if (!SWIG_IsOK(res1
)) {
36175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36177 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36179 arg2
= wxString_in_helper(obj1
);
36180 if (arg2
== NULL
) SWIG_fail
;
36184 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36185 if (!SWIG_IsOK(ecode3
)) {
36186 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
36188 arg3
= static_cast< int >(val3
);
36191 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36192 if (!SWIG_IsOK(ecode4
)) {
36193 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
36195 arg4
= static_cast< int >(val4
);
36198 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36199 if (!SWIG_IsOK(res5
)) {
36200 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
36204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36205 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
36206 wxPyEndAllowThreads(__tstate
);
36207 if (PyErr_Occurred()) SWIG_fail
;
36209 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36224 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36225 PyObject
*resultobj
= 0;
36226 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36227 wxTreeItemId
*arg2
= 0 ;
36228 wxString
*arg3
= 0 ;
36229 int arg4
= (int) -1 ;
36230 int arg5
= (int) -1 ;
36231 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36232 wxTreeItemId result
;
36237 bool temp3
= false ;
36243 PyObject
* obj0
= 0 ;
36244 PyObject
* obj1
= 0 ;
36245 PyObject
* obj2
= 0 ;
36246 PyObject
* obj3
= 0 ;
36247 PyObject
* obj4
= 0 ;
36248 PyObject
* obj5
= 0 ;
36249 char * kwnames
[] = {
36250 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36255 if (!SWIG_IsOK(res1
)) {
36256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36258 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36259 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36260 if (!SWIG_IsOK(res2
)) {
36261 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36264 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36266 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36268 arg3
= wxString_in_helper(obj2
);
36269 if (arg3
== NULL
) SWIG_fail
;
36273 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36274 if (!SWIG_IsOK(ecode4
)) {
36275 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
36277 arg4
= static_cast< int >(val4
);
36280 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36281 if (!SWIG_IsOK(ecode5
)) {
36282 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
36284 arg5
= static_cast< int >(val5
);
36287 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36288 if (!SWIG_IsOK(res6
)) {
36289 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36294 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36295 wxPyEndAllowThreads(__tstate
);
36296 if (PyErr_Occurred()) SWIG_fail
;
36298 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36313 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36314 PyObject
*resultobj
= 0;
36315 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36316 wxTreeItemId
*arg2
= 0 ;
36317 wxTreeItemId
*arg3
= 0 ;
36318 wxString
*arg4
= 0 ;
36319 int arg5
= (int) -1 ;
36320 int arg6
= (int) -1 ;
36321 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36322 wxTreeItemId result
;
36329 bool temp4
= false ;
36335 PyObject
* obj0
= 0 ;
36336 PyObject
* obj1
= 0 ;
36337 PyObject
* obj2
= 0 ;
36338 PyObject
* obj3
= 0 ;
36339 PyObject
* obj4
= 0 ;
36340 PyObject
* obj5
= 0 ;
36341 PyObject
* obj6
= 0 ;
36342 char * kwnames
[] = {
36343 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36348 if (!SWIG_IsOK(res1
)) {
36349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36351 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36352 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36353 if (!SWIG_IsOK(res2
)) {
36354 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36357 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36359 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36360 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36361 if (!SWIG_IsOK(res3
)) {
36362 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36365 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36367 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
36369 arg4
= wxString_in_helper(obj3
);
36370 if (arg4
== NULL
) SWIG_fail
;
36374 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36375 if (!SWIG_IsOK(ecode5
)) {
36376 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
36378 arg5
= static_cast< int >(val5
);
36381 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36382 if (!SWIG_IsOK(ecode6
)) {
36383 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
36385 arg6
= static_cast< int >(val6
);
36388 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36389 if (!SWIG_IsOK(res7
)) {
36390 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36395 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36396 wxPyEndAllowThreads(__tstate
);
36397 if (PyErr_Occurred()) SWIG_fail
;
36399 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36414 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36415 PyObject
*resultobj
= 0;
36416 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36417 wxTreeItemId
*arg2
= 0 ;
36419 wxString
*arg4
= 0 ;
36420 int arg5
= (int) -1 ;
36421 int arg6
= (int) -1 ;
36422 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36423 wxTreeItemId result
;
36430 bool temp4
= false ;
36436 PyObject
* obj0
= 0 ;
36437 PyObject
* obj1
= 0 ;
36438 PyObject
* obj2
= 0 ;
36439 PyObject
* obj3
= 0 ;
36440 PyObject
* obj4
= 0 ;
36441 PyObject
* obj5
= 0 ;
36442 PyObject
* obj6
= 0 ;
36443 char * kwnames
[] = {
36444 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36449 if (!SWIG_IsOK(res1
)) {
36450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36452 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36453 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36454 if (!SWIG_IsOK(res2
)) {
36455 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36458 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36460 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36461 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
36462 if (!SWIG_IsOK(ecode3
)) {
36463 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
36465 arg3
= static_cast< size_t >(val3
);
36467 arg4
= wxString_in_helper(obj3
);
36468 if (arg4
== NULL
) SWIG_fail
;
36472 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36473 if (!SWIG_IsOK(ecode5
)) {
36474 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36476 arg5
= static_cast< int >(val5
);
36479 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36480 if (!SWIG_IsOK(ecode6
)) {
36481 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36483 arg6
= static_cast< int >(val6
);
36486 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36487 if (!SWIG_IsOK(res7
)) {
36488 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36493 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36494 wxPyEndAllowThreads(__tstate
);
36495 if (PyErr_Occurred()) SWIG_fail
;
36497 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36512 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36513 PyObject
*resultobj
= 0;
36514 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36515 wxTreeItemId
*arg2
= 0 ;
36516 wxString
*arg3
= 0 ;
36517 int arg4
= (int) -1 ;
36518 int arg5
= (int) -1 ;
36519 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36520 wxTreeItemId result
;
36525 bool temp3
= false ;
36531 PyObject
* obj0
= 0 ;
36532 PyObject
* obj1
= 0 ;
36533 PyObject
* obj2
= 0 ;
36534 PyObject
* obj3
= 0 ;
36535 PyObject
* obj4
= 0 ;
36536 PyObject
* obj5
= 0 ;
36537 char * kwnames
[] = {
36538 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36543 if (!SWIG_IsOK(res1
)) {
36544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36546 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36547 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36548 if (!SWIG_IsOK(res2
)) {
36549 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36552 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36554 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36556 arg3
= wxString_in_helper(obj2
);
36557 if (arg3
== NULL
) SWIG_fail
;
36561 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36562 if (!SWIG_IsOK(ecode4
)) {
36563 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36565 arg4
= static_cast< int >(val4
);
36568 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36569 if (!SWIG_IsOK(ecode5
)) {
36570 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36572 arg5
= static_cast< int >(val5
);
36575 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36576 if (!SWIG_IsOK(res6
)) {
36577 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36582 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36583 wxPyEndAllowThreads(__tstate
);
36584 if (PyErr_Occurred()) SWIG_fail
;
36586 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36601 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36602 PyObject
*resultobj
= 0;
36603 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36604 wxTreeItemId
*arg2
= 0 ;
36609 PyObject
* obj0
= 0 ;
36610 PyObject
* obj1
= 0 ;
36611 char * kwnames
[] = {
36612 (char *) "self",(char *) "item", NULL
36615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36617 if (!SWIG_IsOK(res1
)) {
36618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36620 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36621 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36622 if (!SWIG_IsOK(res2
)) {
36623 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36626 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36628 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36631 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
36632 wxPyEndAllowThreads(__tstate
);
36633 if (PyErr_Occurred()) SWIG_fail
;
36635 resultobj
= SWIG_Py_Void();
36642 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36643 PyObject
*resultobj
= 0;
36644 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36645 wxTreeItemId
*arg2
= 0 ;
36650 PyObject
* obj0
= 0 ;
36651 PyObject
* obj1
= 0 ;
36652 char * kwnames
[] = {
36653 (char *) "self",(char *) "item", NULL
36656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36658 if (!SWIG_IsOK(res1
)) {
36659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36661 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36662 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36663 if (!SWIG_IsOK(res2
)) {
36664 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36667 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36669 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36672 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
36673 wxPyEndAllowThreads(__tstate
);
36674 if (PyErr_Occurred()) SWIG_fail
;
36676 resultobj
= SWIG_Py_Void();
36683 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36684 PyObject
*resultobj
= 0;
36685 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36688 PyObject
*swig_obj
[1] ;
36690 if (!args
) SWIG_fail
;
36691 swig_obj
[0] = args
;
36692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36693 if (!SWIG_IsOK(res1
)) {
36694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36696 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36699 (arg1
)->DeleteAllItems();
36700 wxPyEndAllowThreads(__tstate
);
36701 if (PyErr_Occurred()) SWIG_fail
;
36703 resultobj
= SWIG_Py_Void();
36710 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36711 PyObject
*resultobj
= 0;
36712 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36713 wxTreeItemId
*arg2
= 0 ;
36718 PyObject
* obj0
= 0 ;
36719 PyObject
* obj1
= 0 ;
36720 char * kwnames
[] = {
36721 (char *) "self",(char *) "item", NULL
36724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36726 if (!SWIG_IsOK(res1
)) {
36727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36729 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36730 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36731 if (!SWIG_IsOK(res2
)) {
36732 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36735 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36737 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36740 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
36741 wxPyEndAllowThreads(__tstate
);
36742 if (PyErr_Occurred()) SWIG_fail
;
36744 resultobj
= SWIG_Py_Void();
36751 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAllChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36752 PyObject
*resultobj
= 0;
36753 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36754 wxTreeItemId
*arg2
= 0 ;
36759 PyObject
* obj0
= 0 ;
36760 PyObject
* obj1
= 0 ;
36761 char * kwnames
[] = {
36762 (char *) "self",(char *) "item", NULL
36765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ExpandAllChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36767 if (!SWIG_IsOK(res1
)) {
36768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36770 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36771 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36772 if (!SWIG_IsOK(res2
)) {
36773 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36776 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36778 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36781 (arg1
)->ExpandAllChildren((wxTreeItemId
const &)*arg2
);
36782 wxPyEndAllowThreads(__tstate
);
36783 if (PyErr_Occurred()) SWIG_fail
;
36785 resultobj
= SWIG_Py_Void();
36792 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36793 PyObject
*resultobj
= 0;
36794 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36797 PyObject
*swig_obj
[1] ;
36799 if (!args
) SWIG_fail
;
36800 swig_obj
[0] = args
;
36801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36802 if (!SWIG_IsOK(res1
)) {
36803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36805 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36808 (arg1
)->ExpandAll();
36809 wxPyEndAllowThreads(__tstate
);
36810 if (PyErr_Occurred()) SWIG_fail
;
36812 resultobj
= SWIG_Py_Void();
36819 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36820 PyObject
*resultobj
= 0;
36821 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36822 wxTreeItemId
*arg2
= 0 ;
36827 PyObject
* obj0
= 0 ;
36828 PyObject
* obj1
= 0 ;
36829 char * kwnames
[] = {
36830 (char *) "self",(char *) "item", NULL
36833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36835 if (!SWIG_IsOK(res1
)) {
36836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36838 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36839 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36840 if (!SWIG_IsOK(res2
)) {
36841 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36844 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36846 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36849 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
36850 wxPyEndAllowThreads(__tstate
);
36851 if (PyErr_Occurred()) SWIG_fail
;
36853 resultobj
= SWIG_Py_Void();
36860 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAllChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36861 PyObject
*resultobj
= 0;
36862 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36863 wxTreeItemId
*arg2
= 0 ;
36868 PyObject
* obj0
= 0 ;
36869 PyObject
* obj1
= 0 ;
36870 char * kwnames
[] = {
36871 (char *) "self",(char *) "item", NULL
36874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAllChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36876 if (!SWIG_IsOK(res1
)) {
36877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36879 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36880 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36881 if (!SWIG_IsOK(res2
)) {
36882 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36885 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36887 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36890 (arg1
)->CollapseAllChildren((wxTreeItemId
const &)*arg2
);
36891 wxPyEndAllowThreads(__tstate
);
36892 if (PyErr_Occurred()) SWIG_fail
;
36894 resultobj
= SWIG_Py_Void();
36901 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36902 PyObject
*resultobj
= 0;
36903 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36906 PyObject
*swig_obj
[1] ;
36908 if (!args
) SWIG_fail
;
36909 swig_obj
[0] = args
;
36910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36911 if (!SWIG_IsOK(res1
)) {
36912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36914 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36917 (arg1
)->CollapseAll();
36918 wxPyEndAllowThreads(__tstate
);
36919 if (PyErr_Occurred()) SWIG_fail
;
36921 resultobj
= SWIG_Py_Void();
36928 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36929 PyObject
*resultobj
= 0;
36930 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36931 wxTreeItemId
*arg2
= 0 ;
36936 PyObject
* obj0
= 0 ;
36937 PyObject
* obj1
= 0 ;
36938 char * kwnames
[] = {
36939 (char *) "self",(char *) "item", NULL
36942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36944 if (!SWIG_IsOK(res1
)) {
36945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36947 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36948 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36949 if (!SWIG_IsOK(res2
)) {
36950 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36953 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36955 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36958 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
36959 wxPyEndAllowThreads(__tstate
);
36960 if (PyErr_Occurred()) SWIG_fail
;
36962 resultobj
= SWIG_Py_Void();
36969 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36970 PyObject
*resultobj
= 0;
36971 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36972 wxTreeItemId
*arg2
= 0 ;
36977 PyObject
* obj0
= 0 ;
36978 PyObject
* obj1
= 0 ;
36979 char * kwnames
[] = {
36980 (char *) "self",(char *) "item", NULL
36983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36985 if (!SWIG_IsOK(res1
)) {
36986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36988 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36989 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36990 if (!SWIG_IsOK(res2
)) {
36991 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36994 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36996 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36999 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
37000 wxPyEndAllowThreads(__tstate
);
37001 if (PyErr_Occurred()) SWIG_fail
;
37003 resultobj
= SWIG_Py_Void();
37010 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37011 PyObject
*resultobj
= 0;
37012 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37015 PyObject
*swig_obj
[1] ;
37017 if (!args
) SWIG_fail
;
37018 swig_obj
[0] = args
;
37019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37020 if (!SWIG_IsOK(res1
)) {
37021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37023 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37026 (arg1
)->Unselect();
37027 wxPyEndAllowThreads(__tstate
);
37028 if (PyErr_Occurred()) SWIG_fail
;
37030 resultobj
= SWIG_Py_Void();
37037 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37038 PyObject
*resultobj
= 0;
37039 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37040 wxTreeItemId
*arg2
= 0 ;
37045 PyObject
* obj0
= 0 ;
37046 PyObject
* obj1
= 0 ;
37047 char * kwnames
[] = {
37048 (char *) "self",(char *) "item", NULL
37051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37053 if (!SWIG_IsOK(res1
)) {
37054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37056 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37057 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37058 if (!SWIG_IsOK(res2
)) {
37059 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37062 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37064 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37067 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
37068 wxPyEndAllowThreads(__tstate
);
37069 if (PyErr_Occurred()) SWIG_fail
;
37071 resultobj
= SWIG_Py_Void();
37078 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37079 PyObject
*resultobj
= 0;
37080 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37083 PyObject
*swig_obj
[1] ;
37085 if (!args
) SWIG_fail
;
37086 swig_obj
[0] = args
;
37087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37088 if (!SWIG_IsOK(res1
)) {
37089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37091 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37094 (arg1
)->UnselectAll();
37095 wxPyEndAllowThreads(__tstate
);
37096 if (PyErr_Occurred()) SWIG_fail
;
37098 resultobj
= SWIG_Py_Void();
37105 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37106 PyObject
*resultobj
= 0;
37107 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37108 wxTreeItemId
*arg2
= 0 ;
37109 bool arg3
= (bool) true ;
37116 PyObject
* obj0
= 0 ;
37117 PyObject
* obj1
= 0 ;
37118 PyObject
* obj2
= 0 ;
37119 char * kwnames
[] = {
37120 (char *) "self",(char *) "item",(char *) "select", NULL
37123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37125 if (!SWIG_IsOK(res1
)) {
37126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37128 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37129 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37130 if (!SWIG_IsOK(res2
)) {
37131 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37134 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37136 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37138 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37139 if (!SWIG_IsOK(ecode3
)) {
37140 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
37142 arg3
= static_cast< bool >(val3
);
37145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37146 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
37147 wxPyEndAllowThreads(__tstate
);
37148 if (PyErr_Occurred()) SWIG_fail
;
37150 resultobj
= SWIG_Py_Void();
37157 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37158 PyObject
*resultobj
= 0;
37159 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37160 wxTreeItemId
*arg2
= 0 ;
37165 PyObject
* obj0
= 0 ;
37166 PyObject
* obj1
= 0 ;
37167 char * kwnames
[] = {
37168 (char *) "self",(char *) "item", NULL
37171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37173 if (!SWIG_IsOK(res1
)) {
37174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37176 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37177 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37178 if (!SWIG_IsOK(res2
)) {
37179 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37182 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37184 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37187 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
37188 wxPyEndAllowThreads(__tstate
);
37189 if (PyErr_Occurred()) SWIG_fail
;
37191 resultobj
= SWIG_Py_Void();
37198 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37199 PyObject
*resultobj
= 0;
37200 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37201 wxTreeItemId
*arg2
= 0 ;
37206 PyObject
* obj0
= 0 ;
37207 PyObject
* obj1
= 0 ;
37208 char * kwnames
[] = {
37209 (char *) "self",(char *) "item", NULL
37212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37214 if (!SWIG_IsOK(res1
)) {
37215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37217 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37218 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37219 if (!SWIG_IsOK(res2
)) {
37220 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37223 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37225 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37228 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
37229 wxPyEndAllowThreads(__tstate
);
37230 if (PyErr_Occurred()) SWIG_fail
;
37232 resultobj
= SWIG_Py_Void();
37239 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37240 PyObject
*resultobj
= 0;
37241 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37242 wxTreeItemId
*arg2
= 0 ;
37247 PyObject
* obj0
= 0 ;
37248 PyObject
* obj1
= 0 ;
37249 char * kwnames
[] = {
37250 (char *) "self",(char *) "item", NULL
37253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37255 if (!SWIG_IsOK(res1
)) {
37256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37258 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37259 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37260 if (!SWIG_IsOK(res2
)) {
37261 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37264 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37266 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37269 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
37270 wxPyEndAllowThreads(__tstate
);
37271 if (PyErr_Occurred()) SWIG_fail
;
37273 resultobj
= SWIG_Py_Void();
37280 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37281 PyObject
*resultobj
= 0;
37282 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37283 wxTreeItemId
*arg2
= 0 ;
37288 PyObject
* obj0
= 0 ;
37289 PyObject
* obj1
= 0 ;
37290 char * kwnames
[] = {
37291 (char *) "self",(char *) "item", NULL
37294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37296 if (!SWIG_IsOK(res1
)) {
37297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37299 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37300 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37301 if (!SWIG_IsOK(res2
)) {
37302 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37305 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37307 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37310 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
37311 wxPyEndAllowThreads(__tstate
);
37312 if (PyErr_Occurred()) SWIG_fail
;
37314 resultobj
= SWIG_Py_Void();
37321 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37322 PyObject
*resultobj
= 0;
37323 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37324 wxTextCtrl
*result
= 0 ;
37327 PyObject
*swig_obj
[1] ;
37329 if (!args
) SWIG_fail
;
37330 swig_obj
[0] = args
;
37331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37332 if (!SWIG_IsOK(res1
)) {
37333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37335 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37338 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
37339 wxPyEndAllowThreads(__tstate
);
37340 if (PyErr_Occurred()) SWIG_fail
;
37343 resultobj
= wxPyMake_wxObject(result
, 0);
37351 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37352 PyObject
*resultobj
= 0;
37353 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37354 wxTreeItemId
*arg2
= 0 ;
37359 PyObject
* obj0
= 0 ;
37360 PyObject
* obj1
= 0 ;
37361 char * kwnames
[] = {
37362 (char *) "self",(char *) "item", NULL
37365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37367 if (!SWIG_IsOK(res1
)) {
37368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37370 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37371 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37372 if (!SWIG_IsOK(res2
)) {
37373 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37376 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37378 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37381 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
37382 wxPyEndAllowThreads(__tstate
);
37383 if (PyErr_Occurred()) SWIG_fail
;
37385 resultobj
= SWIG_Py_Void();
37392 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37393 PyObject
*resultobj
= 0;
37394 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37395 wxPoint
*arg2
= 0 ;
37397 wxTreeItemId result
;
37402 int res3
= SWIG_TMPOBJ
;
37403 PyObject
* obj0
= 0 ;
37404 PyObject
* obj1
= 0 ;
37405 char * kwnames
[] = {
37406 (char *) "self",(char *) "point", NULL
37410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37412 if (!SWIG_IsOK(res1
)) {
37413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37415 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37418 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37422 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
37423 wxPyEndAllowThreads(__tstate
);
37424 if (PyErr_Occurred()) SWIG_fail
;
37426 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37427 if (SWIG_IsTmpObj(res3
)) {
37428 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
37430 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
37431 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
37439 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37440 PyObject
*resultobj
= 0;
37441 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37442 wxTreeItemId
*arg2
= 0 ;
37443 bool arg3
= (bool) false ;
37444 PyObject
*result
= 0 ;
37451 PyObject
* obj0
= 0 ;
37452 PyObject
* obj1
= 0 ;
37453 PyObject
* obj2
= 0 ;
37454 char * kwnames
[] = {
37455 (char *) "self",(char *) "item",(char *) "textOnly", NULL
37458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37460 if (!SWIG_IsOK(res1
)) {
37461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37463 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37464 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37465 if (!SWIG_IsOK(res2
)) {
37466 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37469 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37471 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37473 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37474 if (!SWIG_IsOK(ecode3
)) {
37475 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
37477 arg3
= static_cast< bool >(val3
);
37480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37481 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
37482 wxPyEndAllowThreads(__tstate
);
37483 if (PyErr_Occurred()) SWIG_fail
;
37485 resultobj
= result
;
37492 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37493 PyObject
*resultobj
= 0;
37494 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37495 SwigValueWrapper
<wxVisualAttributes
> result
;
37498 PyObject
* obj0
= 0 ;
37499 char * kwnames
[] = {
37500 (char *) "variant", NULL
37503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
37505 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37506 if (!SWIG_IsOK(ecode1
)) {
37507 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
37509 arg1
= static_cast< wxWindowVariant
>(val1
);
37512 if (!wxPyCheckForApp()) SWIG_fail
;
37513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37514 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
37515 wxPyEndAllowThreads(__tstate
);
37516 if (PyErr_Occurred()) SWIG_fail
;
37518 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
37525 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37526 PyObject
*resultobj
= 0;
37527 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37533 PyObject
* obj0
= 0 ;
37534 PyObject
* obj1
= 0 ;
37535 char * kwnames
[] = {
37536 (char *) "self",(char *) "q", NULL
37539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37541 if (!SWIG_IsOK(res1
)) {
37542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37544 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37545 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37546 if (!SWIG_IsOK(ecode2
)) {
37547 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37549 arg2
= static_cast< bool >(val2
);
37551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37552 (arg1
)->SetQuickBestSize(arg2
);
37553 wxPyEndAllowThreads(__tstate
);
37554 if (PyErr_Occurred()) SWIG_fail
;
37556 resultobj
= SWIG_Py_Void();
37563 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37564 PyObject
*resultobj
= 0;
37565 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37569 PyObject
*swig_obj
[1] ;
37571 if (!args
) SWIG_fail
;
37572 swig_obj
[0] = args
;
37573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37574 if (!SWIG_IsOK(res1
)) {
37575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37577 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37580 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->GetQuickBestSize();
37581 wxPyEndAllowThreads(__tstate
);
37582 if (PyErr_Occurred()) SWIG_fail
;
37585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37593 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37595 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37596 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
37597 return SWIG_Py_Void();
37600 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37601 return SWIG_Python_InitShadowInstance(args
);
37604 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
37605 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
37610 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
37611 PyObject
*pyobj
= 0;
37615 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37617 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37624 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37625 PyObject
*resultobj
= 0;
37626 wxWindow
*arg1
= (wxWindow
*) 0 ;
37627 int arg2
= (int) (int)-1 ;
37628 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
37629 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
37630 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37631 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37632 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37633 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37634 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37635 wxString
const &arg7_defvalue
= wxPyEmptyString
;
37636 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37637 int arg8
= (int) 0 ;
37638 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
37639 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
37640 wxGenericDirCtrl
*result
= 0 ;
37645 bool temp3
= false ;
37650 bool temp7
= false ;
37653 bool temp9
= false ;
37654 PyObject
* obj0
= 0 ;
37655 PyObject
* obj1
= 0 ;
37656 PyObject
* obj2
= 0 ;
37657 PyObject
* obj3
= 0 ;
37658 PyObject
* obj4
= 0 ;
37659 PyObject
* obj5
= 0 ;
37660 PyObject
* obj6
= 0 ;
37661 PyObject
* obj7
= 0 ;
37662 PyObject
* obj8
= 0 ;
37663 char * kwnames
[] = {
37664 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
37668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37669 if (!SWIG_IsOK(res1
)) {
37670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37672 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37674 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37675 if (!SWIG_IsOK(ecode2
)) {
37676 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37678 arg2
= static_cast< int >(val2
);
37682 arg3
= wxString_in_helper(obj2
);
37683 if (arg3
== NULL
) SWIG_fail
;
37690 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37696 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37700 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37701 if (!SWIG_IsOK(ecode6
)) {
37702 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37704 arg6
= static_cast< long >(val6
);
37708 arg7
= wxString_in_helper(obj6
);
37709 if (arg7
== NULL
) SWIG_fail
;
37714 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
37715 if (!SWIG_IsOK(ecode8
)) {
37716 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37718 arg8
= static_cast< int >(val8
);
37722 arg9
= wxString_in_helper(obj8
);
37723 if (arg9
== NULL
) SWIG_fail
;
37728 if (!wxPyCheckForApp()) SWIG_fail
;
37729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37730 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
37731 wxPyEndAllowThreads(__tstate
);
37732 if (PyErr_Occurred()) SWIG_fail
;
37734 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
37765 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37766 PyObject
*resultobj
= 0;
37767 wxGenericDirCtrl
*result
= 0 ;
37769 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
37771 if (!wxPyCheckForApp()) SWIG_fail
;
37772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37773 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
37774 wxPyEndAllowThreads(__tstate
);
37775 if (PyErr_Occurred()) SWIG_fail
;
37777 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
37784 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37785 PyObject
*resultobj
= 0;
37786 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37787 wxWindow
*arg2
= (wxWindow
*) 0 ;
37788 int arg3
= (int) (int)-1 ;
37789 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
37790 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
37791 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
37792 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
37793 wxSize
const &arg6_defvalue
= wxDefaultSize
;
37794 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
37795 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37796 wxString
const &arg8_defvalue
= wxPyEmptyString
;
37797 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37798 int arg9
= (int) 0 ;
37799 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
37800 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
37808 bool temp4
= false ;
37813 bool temp8
= false ;
37816 bool temp10
= false ;
37817 PyObject
* obj0
= 0 ;
37818 PyObject
* obj1
= 0 ;
37819 PyObject
* obj2
= 0 ;
37820 PyObject
* obj3
= 0 ;
37821 PyObject
* obj4
= 0 ;
37822 PyObject
* obj5
= 0 ;
37823 PyObject
* obj6
= 0 ;
37824 PyObject
* obj7
= 0 ;
37825 PyObject
* obj8
= 0 ;
37826 PyObject
* obj9
= 0 ;
37827 char * kwnames
[] = {
37828 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
37832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37833 if (!SWIG_IsOK(res1
)) {
37834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37836 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37837 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37838 if (!SWIG_IsOK(res2
)) {
37839 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37841 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37843 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37844 if (!SWIG_IsOK(ecode3
)) {
37845 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37847 arg3
= static_cast< int >(val3
);
37851 arg4
= wxString_in_helper(obj3
);
37852 if (arg4
== NULL
) SWIG_fail
;
37859 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
37865 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
37869 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
37870 if (!SWIG_IsOK(ecode7
)) {
37871 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37873 arg7
= static_cast< long >(val7
);
37877 arg8
= wxString_in_helper(obj7
);
37878 if (arg8
== NULL
) SWIG_fail
;
37883 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
37884 if (!SWIG_IsOK(ecode9
)) {
37885 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37887 arg9
= static_cast< int >(val9
);
37891 arg10
= wxString_in_helper(obj9
);
37892 if (arg10
== NULL
) SWIG_fail
;
37897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37898 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
37899 wxPyEndAllowThreads(__tstate
);
37900 if (PyErr_Occurred()) SWIG_fail
;
37903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37935 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37936 PyObject
*resultobj
= 0;
37937 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37938 wxString
*arg2
= 0 ;
37942 bool temp2
= false ;
37943 PyObject
* obj0
= 0 ;
37944 PyObject
* obj1
= 0 ;
37945 char * kwnames
[] = {
37946 (char *) "self",(char *) "path", NULL
37949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37951 if (!SWIG_IsOK(res1
)) {
37952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37954 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37956 arg2
= wxString_in_helper(obj1
);
37957 if (arg2
== NULL
) SWIG_fail
;
37961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37962 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
37963 wxPyEndAllowThreads(__tstate
);
37964 if (PyErr_Occurred()) SWIG_fail
;
37967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37983 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_CollapsePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37984 PyObject
*resultobj
= 0;
37985 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37986 wxString
*arg2
= 0 ;
37990 bool temp2
= false ;
37991 PyObject
* obj0
= 0 ;
37992 PyObject
* obj1
= 0 ;
37993 char * kwnames
[] = {
37994 (char *) "self",(char *) "path", NULL
37997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37999 if (!SWIG_IsOK(res1
)) {
38000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38002 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38004 arg2
= wxString_in_helper(obj1
);
38005 if (arg2
== NULL
) SWIG_fail
;
38009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38010 result
= (bool)(arg1
)->CollapsePath((wxString
const &)*arg2
);
38011 wxPyEndAllowThreads(__tstate
);
38012 if (PyErr_Occurred()) SWIG_fail
;
38015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38031 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38032 PyObject
*resultobj
= 0;
38033 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38037 PyObject
*swig_obj
[1] ;
38039 if (!args
) SWIG_fail
;
38040 swig_obj
[0] = args
;
38041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38042 if (!SWIG_IsOK(res1
)) {
38043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38045 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38048 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
38049 wxPyEndAllowThreads(__tstate
);
38050 if (PyErr_Occurred()) SWIG_fail
;
38054 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38056 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38065 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38066 PyObject
*resultobj
= 0;
38067 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38068 wxString
*arg2
= 0 ;
38071 bool temp2
= false ;
38072 PyObject
* obj0
= 0 ;
38073 PyObject
* obj1
= 0 ;
38074 char * kwnames
[] = {
38075 (char *) "self",(char *) "path", NULL
38078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38080 if (!SWIG_IsOK(res1
)) {
38081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38083 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38085 arg2
= wxString_in_helper(obj1
);
38086 if (arg2
== NULL
) SWIG_fail
;
38090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38091 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
38092 wxPyEndAllowThreads(__tstate
);
38093 if (PyErr_Occurred()) SWIG_fail
;
38095 resultobj
= SWIG_Py_Void();
38110 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38111 PyObject
*resultobj
= 0;
38112 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38116 PyObject
*swig_obj
[1] ;
38118 if (!args
) SWIG_fail
;
38119 swig_obj
[0] = args
;
38120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38121 if (!SWIG_IsOK(res1
)) {
38122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38124 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38127 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
38128 wxPyEndAllowThreads(__tstate
);
38129 if (PyErr_Occurred()) SWIG_fail
;
38133 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38135 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38144 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38145 PyObject
*resultobj
= 0;
38146 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38150 PyObject
*swig_obj
[1] ;
38152 if (!args
) SWIG_fail
;
38153 swig_obj
[0] = args
;
38154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38155 if (!SWIG_IsOK(res1
)) {
38156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38158 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38161 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
38162 wxPyEndAllowThreads(__tstate
);
38163 if (PyErr_Occurred()) SWIG_fail
;
38167 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38169 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38178 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38179 PyObject
*resultobj
= 0;
38180 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38181 wxString
*arg2
= 0 ;
38184 bool temp2
= false ;
38185 PyObject
* obj0
= 0 ;
38186 PyObject
* obj1
= 0 ;
38187 char * kwnames
[] = {
38188 (char *) "self",(char *) "path", NULL
38191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38193 if (!SWIG_IsOK(res1
)) {
38194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38196 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38198 arg2
= wxString_in_helper(obj1
);
38199 if (arg2
== NULL
) SWIG_fail
;
38203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38204 (arg1
)->SetPath((wxString
const &)*arg2
);
38205 wxPyEndAllowThreads(__tstate
);
38206 if (PyErr_Occurred()) SWIG_fail
;
38208 resultobj
= SWIG_Py_Void();
38223 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38224 PyObject
*resultobj
= 0;
38225 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38231 PyObject
* obj0
= 0 ;
38232 PyObject
* obj1
= 0 ;
38233 char * kwnames
[] = {
38234 (char *) "self",(char *) "show", NULL
38237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38239 if (!SWIG_IsOK(res1
)) {
38240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38242 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38243 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
38244 if (!SWIG_IsOK(ecode2
)) {
38245 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
38247 arg2
= static_cast< bool >(val2
);
38249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38250 (arg1
)->ShowHidden(arg2
);
38251 wxPyEndAllowThreads(__tstate
);
38252 if (PyErr_Occurred()) SWIG_fail
;
38254 resultobj
= SWIG_Py_Void();
38261 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38262 PyObject
*resultobj
= 0;
38263 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38267 PyObject
*swig_obj
[1] ;
38269 if (!args
) SWIG_fail
;
38270 swig_obj
[0] = args
;
38271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38272 if (!SWIG_IsOK(res1
)) {
38273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38275 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38278 result
= (bool)(arg1
)->GetShowHidden();
38279 wxPyEndAllowThreads(__tstate
);
38280 if (PyErr_Occurred()) SWIG_fail
;
38283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38291 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38292 PyObject
*resultobj
= 0;
38293 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38297 PyObject
*swig_obj
[1] ;
38299 if (!args
) SWIG_fail
;
38300 swig_obj
[0] = args
;
38301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38302 if (!SWIG_IsOK(res1
)) {
38303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38305 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38308 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
38309 wxPyEndAllowThreads(__tstate
);
38310 if (PyErr_Occurred()) SWIG_fail
;
38314 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38316 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38325 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38326 PyObject
*resultobj
= 0;
38327 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38328 wxString
*arg2
= 0 ;
38331 bool temp2
= false ;
38332 PyObject
* obj0
= 0 ;
38333 PyObject
* obj1
= 0 ;
38334 char * kwnames
[] = {
38335 (char *) "self",(char *) "filter", NULL
38338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38340 if (!SWIG_IsOK(res1
)) {
38341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38343 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38345 arg2
= wxString_in_helper(obj1
);
38346 if (arg2
== NULL
) SWIG_fail
;
38350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38351 (arg1
)->SetFilter((wxString
const &)*arg2
);
38352 wxPyEndAllowThreads(__tstate
);
38353 if (PyErr_Occurred()) SWIG_fail
;
38355 resultobj
= SWIG_Py_Void();
38370 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38371 PyObject
*resultobj
= 0;
38372 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38376 PyObject
*swig_obj
[1] ;
38378 if (!args
) SWIG_fail
;
38379 swig_obj
[0] = args
;
38380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38381 if (!SWIG_IsOK(res1
)) {
38382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38384 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38387 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
38388 wxPyEndAllowThreads(__tstate
);
38389 if (PyErr_Occurred()) SWIG_fail
;
38391 resultobj
= SWIG_From_int(static_cast< int >(result
));
38398 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38399 PyObject
*resultobj
= 0;
38400 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38406 PyObject
* obj0
= 0 ;
38407 PyObject
* obj1
= 0 ;
38408 char * kwnames
[] = {
38409 (char *) "self",(char *) "n", NULL
38412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38414 if (!SWIG_IsOK(res1
)) {
38415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38417 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38418 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38419 if (!SWIG_IsOK(ecode2
)) {
38420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
38422 arg2
= static_cast< int >(val2
);
38424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38425 (arg1
)->SetFilterIndex(arg2
);
38426 wxPyEndAllowThreads(__tstate
);
38427 if (PyErr_Occurred()) SWIG_fail
;
38429 resultobj
= SWIG_Py_Void();
38436 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38437 PyObject
*resultobj
= 0;
38438 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38439 wxTreeItemId result
;
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_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38450 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38453 result
= (arg1
)->GetRootId();
38454 wxPyEndAllowThreads(__tstate
);
38455 if (PyErr_Occurred()) SWIG_fail
;
38457 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38464 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38465 PyObject
*resultobj
= 0;
38466 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38467 wxPyTreeCtrl
*result
= 0 ;
38470 PyObject
*swig_obj
[1] ;
38472 if (!args
) SWIG_fail
;
38473 swig_obj
[0] = args
;
38474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38475 if (!SWIG_IsOK(res1
)) {
38476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38478 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38481 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
38482 wxPyEndAllowThreads(__tstate
);
38483 if (PyErr_Occurred()) SWIG_fail
;
38486 resultobj
= wxPyMake_wxObject(result
, 0);
38494 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38495 PyObject
*resultobj
= 0;
38496 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38497 wxDirFilterListCtrl
*result
= 0 ;
38500 PyObject
*swig_obj
[1] ;
38502 if (!args
) SWIG_fail
;
38503 swig_obj
[0] = args
;
38504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38505 if (!SWIG_IsOK(res1
)) {
38506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38508 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38511 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
38512 wxPyEndAllowThreads(__tstate
);
38513 if (PyErr_Occurred()) SWIG_fail
;
38515 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38522 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38523 PyObject
*resultobj
= 0;
38524 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38525 wxTreeItemId arg2
;
38526 wxString
*arg3
= 0 ;
38528 wxTreeItemId result
;
38533 bool temp3
= false ;
38535 int res4
= SWIG_TMPOBJ
;
38536 PyObject
* obj0
= 0 ;
38537 PyObject
* obj1
= 0 ;
38538 PyObject
* obj2
= 0 ;
38539 char * kwnames
[] = {
38540 (char *) "self",(char *) "parentId",(char *) "path", NULL
38544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38546 if (!SWIG_IsOK(res1
)) {
38547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38549 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38551 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
38552 if (!SWIG_IsOK(res2
)) {
38553 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38556 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38558 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
38560 if (SWIG_IsNewObj(res2
)) delete temp
;
38564 arg3
= wxString_in_helper(obj2
);
38565 if (arg3
== NULL
) SWIG_fail
;
38569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38570 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
38571 wxPyEndAllowThreads(__tstate
);
38572 if (PyErr_Occurred()) SWIG_fail
;
38574 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38575 if (SWIG_IsTmpObj(res4
)) {
38576 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
38578 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38579 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
38595 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38596 PyObject
*resultobj
= 0;
38597 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38600 PyObject
*swig_obj
[1] ;
38602 if (!args
) SWIG_fail
;
38603 swig_obj
[0] = args
;
38604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38605 if (!SWIG_IsOK(res1
)) {
38606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38608 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38611 (arg1
)->DoResize();
38612 wxPyEndAllowThreads(__tstate
);
38613 if (PyErr_Occurred()) SWIG_fail
;
38615 resultobj
= SWIG_Py_Void();
38622 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38623 PyObject
*resultobj
= 0;
38624 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38627 PyObject
*swig_obj
[1] ;
38629 if (!args
) SWIG_fail
;
38630 swig_obj
[0] = args
;
38631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38632 if (!SWIG_IsOK(res1
)) {
38633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38635 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38638 (arg1
)->ReCreateTree();
38639 wxPyEndAllowThreads(__tstate
);
38640 if (PyErr_Occurred()) SWIG_fail
;
38642 resultobj
= SWIG_Py_Void();
38649 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38651 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38652 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
38653 return SWIG_Py_Void();
38656 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38657 return SWIG_Python_InitShadowInstance(args
);
38660 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38661 PyObject
*resultobj
= 0;
38662 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38663 int arg2
= (int) (int)-1 ;
38664 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38665 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38666 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38667 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38668 long arg5
= (long) 0 ;
38669 wxDirFilterListCtrl
*result
= 0 ;
38678 PyObject
* obj0
= 0 ;
38679 PyObject
* obj1
= 0 ;
38680 PyObject
* obj2
= 0 ;
38681 PyObject
* obj3
= 0 ;
38682 PyObject
* obj4
= 0 ;
38683 char * kwnames
[] = {
38684 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38689 if (!SWIG_IsOK(res1
)) {
38690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38692 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38694 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38695 if (!SWIG_IsOK(ecode2
)) {
38696 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38698 arg2
= static_cast< int >(val2
);
38703 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38709 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38713 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38714 if (!SWIG_IsOK(ecode5
)) {
38715 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38717 arg5
= static_cast< long >(val5
);
38720 if (!wxPyCheckForApp()) SWIG_fail
;
38721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38722 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
38723 wxPyEndAllowThreads(__tstate
);
38724 if (PyErr_Occurred()) SWIG_fail
;
38726 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
38733 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38734 PyObject
*resultobj
= 0;
38735 wxDirFilterListCtrl
*result
= 0 ;
38737 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
38739 if (!wxPyCheckForApp()) SWIG_fail
;
38740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38741 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
38742 wxPyEndAllowThreads(__tstate
);
38743 if (PyErr_Occurred()) SWIG_fail
;
38745 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
38752 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38753 PyObject
*resultobj
= 0;
38754 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38755 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
38756 int arg3
= (int) (int)-1 ;
38757 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
38758 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
38759 wxSize
const &arg5_defvalue
= wxDefaultSize
;
38760 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
38761 long arg6
= (long) 0 ;
38773 PyObject
* obj0
= 0 ;
38774 PyObject
* obj1
= 0 ;
38775 PyObject
* obj2
= 0 ;
38776 PyObject
* obj3
= 0 ;
38777 PyObject
* obj4
= 0 ;
38778 PyObject
* obj5
= 0 ;
38779 char * kwnames
[] = {
38780 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38785 if (!SWIG_IsOK(res1
)) {
38786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38788 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38789 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38790 if (!SWIG_IsOK(res2
)) {
38791 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38793 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
38795 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38796 if (!SWIG_IsOK(ecode3
)) {
38797 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38799 arg3
= static_cast< int >(val3
);
38804 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
38810 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
38814 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
38815 if (!SWIG_IsOK(ecode6
)) {
38816 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38818 arg6
= static_cast< long >(val6
);
38821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38822 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
38823 wxPyEndAllowThreads(__tstate
);
38824 if (PyErr_Occurred()) SWIG_fail
;
38827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38835 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38836 PyObject
*resultobj
= 0;
38837 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38838 wxString
*arg2
= 0 ;
38842 bool temp2
= false ;
38845 PyObject
* obj0
= 0 ;
38846 PyObject
* obj1
= 0 ;
38847 PyObject
* obj2
= 0 ;
38848 char * kwnames
[] = {
38849 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38854 if (!SWIG_IsOK(res1
)) {
38855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38857 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38859 arg2
= wxString_in_helper(obj1
);
38860 if (arg2
== NULL
) SWIG_fail
;
38863 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38864 if (!SWIG_IsOK(ecode3
)) {
38865 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38867 arg3
= static_cast< int >(val3
);
38869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38870 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
38871 wxPyEndAllowThreads(__tstate
);
38872 if (PyErr_Occurred()) SWIG_fail
;
38874 resultobj
= SWIG_Py_Void();
38889 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38891 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38892 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
38893 return SWIG_Py_Void();
38896 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38897 return SWIG_Python_InitShadowInstance(args
);
38900 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38901 PyObject
*resultobj
= 0;
38902 wxWindow
*arg1
= (wxWindow
*) 0 ;
38903 int arg2
= (int) (int)-1 ;
38904 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38905 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38906 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38907 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38908 long arg5
= (long) 0 ;
38909 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
38910 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
38911 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
38912 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
38913 wxPyControl
*result
= 0 ;
38924 bool temp7
= false ;
38925 PyObject
* obj0
= 0 ;
38926 PyObject
* obj1
= 0 ;
38927 PyObject
* obj2
= 0 ;
38928 PyObject
* obj3
= 0 ;
38929 PyObject
* obj4
= 0 ;
38930 PyObject
* obj5
= 0 ;
38931 PyObject
* obj6
= 0 ;
38932 char * kwnames
[] = {
38933 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
38937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38938 if (!SWIG_IsOK(res1
)) {
38939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38941 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38943 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38944 if (!SWIG_IsOK(ecode2
)) {
38945 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38947 arg2
= static_cast< int >(val2
);
38952 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38958 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38962 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38963 if (!SWIG_IsOK(ecode5
)) {
38964 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38966 arg5
= static_cast< long >(val5
);
38969 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
38970 if (!SWIG_IsOK(res6
)) {
38971 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38974 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38976 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
38980 arg7
= wxString_in_helper(obj6
);
38981 if (arg7
== NULL
) SWIG_fail
;
38986 if (!wxPyCheckForApp()) SWIG_fail
;
38987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38988 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
38989 wxPyEndAllowThreads(__tstate
);
38990 if (PyErr_Occurred()) SWIG_fail
;
38992 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
39007 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39008 PyObject
*resultobj
= 0;
39009 wxPyControl
*result
= 0 ;
39011 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
39013 if (!wxPyCheckForApp()) SWIG_fail
;
39014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39015 result
= (wxPyControl
*)new wxPyControl();
39016 wxPyEndAllowThreads(__tstate
);
39017 if (PyErr_Occurred()) SWIG_fail
;
39019 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
39026 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39027 PyObject
*resultobj
= 0;
39028 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39029 PyObject
*arg2
= (PyObject
*) 0 ;
39030 PyObject
*arg3
= (PyObject
*) 0 ;
39033 PyObject
* obj0
= 0 ;
39034 PyObject
* obj1
= 0 ;
39035 PyObject
* obj2
= 0 ;
39036 char * kwnames
[] = {
39037 (char *) "self",(char *) "self",(char *) "_class", NULL
39040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39042 if (!SWIG_IsOK(res1
)) {
39043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
39045 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39050 (arg1
)->_setCallbackInfo(arg2
,arg3
);
39051 wxPyEndAllowThreads(__tstate
);
39052 if (PyErr_Occurred()) SWIG_fail
;
39054 resultobj
= SWIG_Py_Void();
39061 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39062 PyObject
*resultobj
= 0;
39063 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39064 wxDC
*arg2
= (wxDC
*) 0 ;
39070 PyObject
* obj0
= 0 ;
39071 PyObject
* obj1
= 0 ;
39072 char * kwnames
[] = {
39073 (char *) "self",(char *) "dc", NULL
39076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39078 if (!SWIG_IsOK(res1
)) {
39079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
39081 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39082 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
39083 if (!SWIG_IsOK(res2
)) {
39084 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
39086 arg2
= reinterpret_cast< wxDC
* >(argp2
);
39088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39089 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
39090 wxPyEndAllowThreads(__tstate
);
39091 if (PyErr_Occurred()) SWIG_fail
;
39094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39102 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39103 PyObject
*resultobj
= 0;
39104 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39119 PyObject
* obj0
= 0 ;
39120 PyObject
* obj1
= 0 ;
39121 PyObject
* obj2
= 0 ;
39122 PyObject
* obj3
= 0 ;
39123 PyObject
* obj4
= 0 ;
39124 char * kwnames
[] = {
39125 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
39128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39130 if (!SWIG_IsOK(res1
)) {
39131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
39133 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39134 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39135 if (!SWIG_IsOK(ecode2
)) {
39136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
39138 arg2
= static_cast< int >(val2
);
39139 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39140 if (!SWIG_IsOK(ecode3
)) {
39141 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
39143 arg3
= static_cast< int >(val3
);
39144 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39145 if (!SWIG_IsOK(ecode4
)) {
39146 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
39148 arg4
= static_cast< int >(val4
);
39149 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
39150 if (!SWIG_IsOK(ecode5
)) {
39151 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
39153 arg5
= static_cast< int >(val5
);
39155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39156 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
39157 wxPyEndAllowThreads(__tstate
);
39158 if (PyErr_Occurred()) SWIG_fail
;
39160 resultobj
= SWIG_Py_Void();
39167 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39168 PyObject
*resultobj
= 0;
39169 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39174 int arg6
= (int) wxSIZE_AUTO
;
39187 PyObject
* obj0
= 0 ;
39188 PyObject
* obj1
= 0 ;
39189 PyObject
* obj2
= 0 ;
39190 PyObject
* obj3
= 0 ;
39191 PyObject
* obj4
= 0 ;
39192 PyObject
* obj5
= 0 ;
39193 char * kwnames
[] = {
39194 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
39197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
39198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39199 if (!SWIG_IsOK(res1
)) {
39200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39202 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39203 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39204 if (!SWIG_IsOK(ecode2
)) {
39205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
39207 arg2
= static_cast< int >(val2
);
39208 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39209 if (!SWIG_IsOK(ecode3
)) {
39210 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
39212 arg3
= static_cast< int >(val3
);
39213 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39214 if (!SWIG_IsOK(ecode4
)) {
39215 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
39217 arg4
= static_cast< int >(val4
);
39218 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
39219 if (!SWIG_IsOK(ecode5
)) {
39220 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
39222 arg5
= static_cast< int >(val5
);
39224 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
39225 if (!SWIG_IsOK(ecode6
)) {
39226 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
39228 arg6
= static_cast< int >(val6
);
39231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39232 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
39233 wxPyEndAllowThreads(__tstate
);
39234 if (PyErr_Occurred()) SWIG_fail
;
39236 resultobj
= SWIG_Py_Void();
39243 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39244 PyObject
*resultobj
= 0;
39245 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39254 PyObject
* obj0
= 0 ;
39255 PyObject
* obj1
= 0 ;
39256 PyObject
* obj2
= 0 ;
39257 char * kwnames
[] = {
39258 (char *) "self",(char *) "width",(char *) "height", NULL
39261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39263 if (!SWIG_IsOK(res1
)) {
39264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39266 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39267 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39268 if (!SWIG_IsOK(ecode2
)) {
39269 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
39271 arg2
= static_cast< int >(val2
);
39272 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39273 if (!SWIG_IsOK(ecode3
)) {
39274 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
39276 arg3
= static_cast< int >(val3
);
39278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39279 (arg1
)->DoSetClientSize(arg2
,arg3
);
39280 wxPyEndAllowThreads(__tstate
);
39281 if (PyErr_Occurred()) SWIG_fail
;
39283 resultobj
= SWIG_Py_Void();
39290 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39291 PyObject
*resultobj
= 0;
39292 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39301 PyObject
* obj0
= 0 ;
39302 PyObject
* obj1
= 0 ;
39303 PyObject
* obj2
= 0 ;
39304 char * kwnames
[] = {
39305 (char *) "self",(char *) "x",(char *) "y", NULL
39308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39310 if (!SWIG_IsOK(res1
)) {
39311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39313 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39314 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39315 if (!SWIG_IsOK(ecode2
)) {
39316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
39318 arg2
= static_cast< int >(val2
);
39319 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39320 if (!SWIG_IsOK(ecode3
)) {
39321 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
39323 arg3
= static_cast< int >(val3
);
39325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39326 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
39327 wxPyEndAllowThreads(__tstate
);
39328 if (PyErr_Occurred()) SWIG_fail
;
39330 resultobj
= SWIG_Py_Void();
39337 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39338 PyObject
*resultobj
= 0;
39339 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39340 int *arg2
= (int *) 0 ;
39341 int *arg3
= (int *) 0 ;
39345 int res2
= SWIG_TMPOBJ
;
39347 int res3
= SWIG_TMPOBJ
;
39348 PyObject
*swig_obj
[1] ;
39352 if (!args
) SWIG_fail
;
39353 swig_obj
[0] = args
;
39354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39355 if (!SWIG_IsOK(res1
)) {
39356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39358 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39361 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
39362 wxPyEndAllowThreads(__tstate
);
39363 if (PyErr_Occurred()) SWIG_fail
;
39365 resultobj
= SWIG_Py_Void();
39366 if (SWIG_IsTmpObj(res2
)) {
39367 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39369 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39370 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39372 if (SWIG_IsTmpObj(res3
)) {
39373 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39375 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39376 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39384 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39385 PyObject
*resultobj
= 0;
39386 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39387 int *arg2
= (int *) 0 ;
39388 int *arg3
= (int *) 0 ;
39392 int res2
= SWIG_TMPOBJ
;
39394 int res3
= SWIG_TMPOBJ
;
39395 PyObject
*swig_obj
[1] ;
39399 if (!args
) SWIG_fail
;
39400 swig_obj
[0] = args
;
39401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39402 if (!SWIG_IsOK(res1
)) {
39403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39405 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39408 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
39409 wxPyEndAllowThreads(__tstate
);
39410 if (PyErr_Occurred()) SWIG_fail
;
39412 resultobj
= SWIG_Py_Void();
39413 if (SWIG_IsTmpObj(res2
)) {
39414 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39416 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39417 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39419 if (SWIG_IsTmpObj(res3
)) {
39420 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39422 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39423 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39431 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39432 PyObject
*resultobj
= 0;
39433 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39434 int *arg2
= (int *) 0 ;
39435 int *arg3
= (int *) 0 ;
39439 int res2
= SWIG_TMPOBJ
;
39441 int res3
= SWIG_TMPOBJ
;
39442 PyObject
*swig_obj
[1] ;
39446 if (!args
) SWIG_fail
;
39447 swig_obj
[0] = args
;
39448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39449 if (!SWIG_IsOK(res1
)) {
39450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39452 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39455 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
39456 wxPyEndAllowThreads(__tstate
);
39457 if (PyErr_Occurred()) SWIG_fail
;
39459 resultobj
= SWIG_Py_Void();
39460 if (SWIG_IsTmpObj(res2
)) {
39461 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39463 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39464 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39466 if (SWIG_IsTmpObj(res3
)) {
39467 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39469 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39470 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39478 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39479 PyObject
*resultobj
= 0;
39480 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39484 PyObject
*swig_obj
[1] ;
39486 if (!args
) SWIG_fail
;
39487 swig_obj
[0] = args
;
39488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39489 if (!SWIG_IsOK(res1
)) {
39490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39492 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39495 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
39496 wxPyEndAllowThreads(__tstate
);
39497 if (PyErr_Occurred()) SWIG_fail
;
39499 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39506 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39507 PyObject
*resultobj
= 0;
39508 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39512 PyObject
*swig_obj
[1] ;
39514 if (!args
) SWIG_fail
;
39515 swig_obj
[0] = args
;
39516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39517 if (!SWIG_IsOK(res1
)) {
39518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39520 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39523 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
39524 wxPyEndAllowThreads(__tstate
);
39525 if (PyErr_Occurred()) SWIG_fail
;
39527 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39534 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39535 PyObject
*resultobj
= 0;
39536 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39537 SwigValueWrapper
<wxVisualAttributes
> result
;
39540 PyObject
*swig_obj
[1] ;
39542 if (!args
) SWIG_fail
;
39543 swig_obj
[0] = args
;
39544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39545 if (!SWIG_IsOK(res1
)) {
39546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39548 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39551 result
= (arg1
)->GetDefaultAttributes();
39552 wxPyEndAllowThreads(__tstate
);
39553 if (PyErr_Occurred()) SWIG_fail
;
39555 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
39562 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39563 PyObject
*resultobj
= 0;
39564 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39567 PyObject
*swig_obj
[1] ;
39569 if (!args
) SWIG_fail
;
39570 swig_obj
[0] = args
;
39571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39572 if (!SWIG_IsOK(res1
)) {
39573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39575 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39578 (arg1
)->OnInternalIdle();
39579 wxPyEndAllowThreads(__tstate
);
39580 if (PyErr_Occurred()) SWIG_fail
;
39582 resultobj
= SWIG_Py_Void();
39589 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39591 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39592 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
39593 return SWIG_Py_Void();
39596 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39597 return SWIG_Python_InitShadowInstance(args
);
39600 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39601 PyObject
*resultobj
= 0;
39602 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
39603 int arg2
= (int) 0 ;
39604 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39605 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39606 wxHelpEvent::Origin arg4
= (wxHelpEvent::Origin
) wxHelpEvent::Origin_Unknown
;
39607 wxHelpEvent
*result
= 0 ;
39615 PyObject
* obj0
= 0 ;
39616 PyObject
* obj1
= 0 ;
39617 PyObject
* obj2
= 0 ;
39618 PyObject
* obj3
= 0 ;
39619 char * kwnames
[] = {
39620 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
39623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39625 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
39626 if (!SWIG_IsOK(ecode1
)) {
39627 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39629 arg1
= static_cast< wxEventType
>(val1
);
39632 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39633 if (!SWIG_IsOK(ecode2
)) {
39634 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39636 arg2
= static_cast< int >(val2
);
39641 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39645 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39646 if (!SWIG_IsOK(ecode4
)) {
39647 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39649 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39653 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
,arg4
);
39654 wxPyEndAllowThreads(__tstate
);
39655 if (PyErr_Occurred()) SWIG_fail
;
39657 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
39664 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39665 PyObject
*resultobj
= 0;
39666 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39670 PyObject
*swig_obj
[1] ;
39672 if (!args
) SWIG_fail
;
39673 swig_obj
[0] = args
;
39674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39675 if (!SWIG_IsOK(res1
)) {
39676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39678 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39681 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
39682 wxPyEndAllowThreads(__tstate
);
39683 if (PyErr_Occurred()) SWIG_fail
;
39685 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
39692 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39693 PyObject
*resultobj
= 0;
39694 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39695 wxPoint
*arg2
= 0 ;
39699 PyObject
* obj0
= 0 ;
39700 PyObject
* obj1
= 0 ;
39701 char * kwnames
[] = {
39702 (char *) "self",(char *) "pos", NULL
39705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39707 if (!SWIG_IsOK(res1
)) {
39708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39710 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39713 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39717 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
39718 wxPyEndAllowThreads(__tstate
);
39719 if (PyErr_Occurred()) SWIG_fail
;
39721 resultobj
= SWIG_Py_Void();
39728 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39729 PyObject
*resultobj
= 0;
39730 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39731 wxString
*result
= 0 ;
39734 PyObject
*swig_obj
[1] ;
39736 if (!args
) SWIG_fail
;
39737 swig_obj
[0] = args
;
39738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39739 if (!SWIG_IsOK(res1
)) {
39740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39742 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39746 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
39747 result
= (wxString
*) &_result_ref
;
39749 wxPyEndAllowThreads(__tstate
);
39750 if (PyErr_Occurred()) SWIG_fail
;
39754 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39756 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39765 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39766 PyObject
*resultobj
= 0;
39767 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39768 wxString
*arg2
= 0 ;
39771 bool temp2
= false ;
39772 PyObject
* obj0
= 0 ;
39773 PyObject
* obj1
= 0 ;
39774 char * kwnames
[] = {
39775 (char *) "self",(char *) "link", NULL
39778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39780 if (!SWIG_IsOK(res1
)) {
39781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39783 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39785 arg2
= wxString_in_helper(obj1
);
39786 if (arg2
== NULL
) SWIG_fail
;
39790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39791 (arg1
)->SetLink((wxString
const &)*arg2
);
39792 wxPyEndAllowThreads(__tstate
);
39793 if (PyErr_Occurred()) SWIG_fail
;
39795 resultobj
= SWIG_Py_Void();
39810 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39811 PyObject
*resultobj
= 0;
39812 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39813 wxString
*result
= 0 ;
39816 PyObject
*swig_obj
[1] ;
39818 if (!args
) SWIG_fail
;
39819 swig_obj
[0] = args
;
39820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39821 if (!SWIG_IsOK(res1
)) {
39822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39824 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39828 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
39829 result
= (wxString
*) &_result_ref
;
39831 wxPyEndAllowThreads(__tstate
);
39832 if (PyErr_Occurred()) SWIG_fail
;
39836 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39838 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39847 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39848 PyObject
*resultobj
= 0;
39849 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39850 wxString
*arg2
= 0 ;
39853 bool temp2
= false ;
39854 PyObject
* obj0
= 0 ;
39855 PyObject
* obj1
= 0 ;
39856 char * kwnames
[] = {
39857 (char *) "self",(char *) "target", NULL
39860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39862 if (!SWIG_IsOK(res1
)) {
39863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39865 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39867 arg2
= wxString_in_helper(obj1
);
39868 if (arg2
== NULL
) SWIG_fail
;
39872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39873 (arg1
)->SetTarget((wxString
const &)*arg2
);
39874 wxPyEndAllowThreads(__tstate
);
39875 if (PyErr_Occurred()) SWIG_fail
;
39877 resultobj
= SWIG_Py_Void();
39892 SWIGINTERN PyObject
*_wrap_HelpEvent_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39893 PyObject
*resultobj
= 0;
39894 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39895 wxHelpEvent::Origin result
;
39898 PyObject
*swig_obj
[1] ;
39900 if (!args
) SWIG_fail
;
39901 swig_obj
[0] = args
;
39902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39903 if (!SWIG_IsOK(res1
)) {
39904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39906 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39909 result
= (wxHelpEvent::Origin
)((wxHelpEvent
const *)arg1
)->GetOrigin();
39910 wxPyEndAllowThreads(__tstate
);
39911 if (PyErr_Occurred()) SWIG_fail
;
39913 resultobj
= SWIG_From_int(static_cast< int >(result
));
39920 SWIGINTERN PyObject
*_wrap_HelpEvent_SetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39921 PyObject
*resultobj
= 0;
39922 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39923 wxHelpEvent::Origin arg2
;
39928 PyObject
* obj0
= 0 ;
39929 PyObject
* obj1
= 0 ;
39930 char * kwnames
[] = {
39931 (char *) "self",(char *) "origin", NULL
39934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetOrigin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39936 if (!SWIG_IsOK(res1
)) {
39937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39939 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39940 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39941 if (!SWIG_IsOK(ecode2
)) {
39942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
39944 arg2
= static_cast< wxHelpEvent::Origin
>(val2
);
39946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39947 (arg1
)->SetOrigin(arg2
);
39948 wxPyEndAllowThreads(__tstate
);
39949 if (PyErr_Occurred()) SWIG_fail
;
39951 resultobj
= SWIG_Py_Void();
39958 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39960 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39961 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
39962 return SWIG_Py_Void();
39965 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39966 return SWIG_Python_InitShadowInstance(args
);
39969 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39970 PyObject
*resultobj
= 0;
39971 wxWindow
*arg1
= (wxWindow
*) NULL
;
39972 bool arg2
= (bool) true ;
39973 wxContextHelp
*result
= 0 ;
39978 PyObject
* obj0
= 0 ;
39979 PyObject
* obj1
= 0 ;
39980 char * kwnames
[] = {
39981 (char *) "window",(char *) "doNow", NULL
39984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39987 if (!SWIG_IsOK(res1
)) {
39988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
39990 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39993 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
39994 if (!SWIG_IsOK(ecode2
)) {
39995 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
39997 arg2
= static_cast< bool >(val2
);
40000 if (!wxPyCheckForApp()) SWIG_fail
;
40001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40002 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
40003 wxPyEndAllowThreads(__tstate
);
40004 if (PyErr_Occurred()) SWIG_fail
;
40006 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
40013 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40014 PyObject
*resultobj
= 0;
40015 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
40018 PyObject
*swig_obj
[1] ;
40020 if (!args
) SWIG_fail
;
40021 swig_obj
[0] = args
;
40022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
40023 if (!SWIG_IsOK(res1
)) {
40024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40026 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
40028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40031 wxPyEndAllowThreads(__tstate
);
40032 if (PyErr_Occurred()) SWIG_fail
;
40034 resultobj
= SWIG_Py_Void();
40041 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40042 PyObject
*resultobj
= 0;
40043 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
40044 wxWindow
*arg2
= (wxWindow
*) NULL
;
40050 PyObject
* obj0
= 0 ;
40051 PyObject
* obj1
= 0 ;
40052 char * kwnames
[] = {
40053 (char *) "self",(char *) "window", NULL
40056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
40058 if (!SWIG_IsOK(res1
)) {
40059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40061 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
40063 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40064 if (!SWIG_IsOK(res2
)) {
40065 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40067 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40071 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
40072 wxPyEndAllowThreads(__tstate
);
40073 if (PyErr_Occurred()) SWIG_fail
;
40076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40084 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40085 PyObject
*resultobj
= 0;
40086 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
40090 PyObject
*swig_obj
[1] ;
40092 if (!args
) SWIG_fail
;
40093 swig_obj
[0] = args
;
40094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
40095 if (!SWIG_IsOK(res1
)) {
40096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40098 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
40100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40101 result
= (bool)(arg1
)->EndContextHelp();
40102 wxPyEndAllowThreads(__tstate
);
40103 if (PyErr_Occurred()) SWIG_fail
;
40106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40114 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40116 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40117 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
40118 return SWIG_Py_Void();
40121 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40122 return SWIG_Python_InitShadowInstance(args
);
40125 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40126 PyObject
*resultobj
= 0;
40127 wxWindow
*arg1
= (wxWindow
*) 0 ;
40128 int arg2
= (int) wxID_CONTEXT_HELP
;
40129 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
40130 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
40131 wxSize
const &arg4_defvalue
= wxDefaultSize
;
40132 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
40133 long arg5
= (long) wxBU_AUTODRAW
;
40134 wxContextHelpButton
*result
= 0 ;
40143 PyObject
* obj0
= 0 ;
40144 PyObject
* obj1
= 0 ;
40145 PyObject
* obj2
= 0 ;
40146 PyObject
* obj3
= 0 ;
40147 PyObject
* obj4
= 0 ;
40148 char * kwnames
[] = {
40149 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
40152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40154 if (!SWIG_IsOK(res1
)) {
40155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
40157 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40159 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40160 if (!SWIG_IsOK(ecode2
)) {
40161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
40163 arg2
= static_cast< int >(val2
);
40168 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40174 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
40178 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
40179 if (!SWIG_IsOK(ecode5
)) {
40180 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
40182 arg5
= static_cast< long >(val5
);
40185 if (!wxPyCheckForApp()) SWIG_fail
;
40186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40187 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
40188 wxPyEndAllowThreads(__tstate
);
40189 if (PyErr_Occurred()) SWIG_fail
;
40191 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
40198 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40200 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40201 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
40202 return SWIG_Py_Void();
40205 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40206 return SWIG_Python_InitShadowInstance(args
);
40209 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40210 PyObject
*resultobj
= 0;
40211 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40214 PyObject
*swig_obj
[1] ;
40216 if (!args
) SWIG_fail
;
40217 swig_obj
[0] = args
;
40218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40219 if (!SWIG_IsOK(res1
)) {
40220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40222 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40227 wxPyEndAllowThreads(__tstate
);
40228 if (PyErr_Occurred()) SWIG_fail
;
40230 resultobj
= SWIG_Py_Void();
40237 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40238 PyObject
*resultobj
= 0;
40239 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40240 wxHelpProvider
*result
= 0 ;
40242 PyObject
* obj0
= 0 ;
40243 char * kwnames
[] = {
40244 (char *) "helpProvider", NULL
40247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
40248 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40249 if (!SWIG_IsOK(res1
)) {
40250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40254 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
40255 wxPyEndAllowThreads(__tstate
);
40256 if (PyErr_Occurred()) SWIG_fail
;
40258 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
40265 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40266 PyObject
*resultobj
= 0;
40267 wxHelpProvider
*result
= 0 ;
40269 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
40271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40272 result
= (wxHelpProvider
*)wxHelpProvider::Get();
40273 wxPyEndAllowThreads(__tstate
);
40274 if (PyErr_Occurred()) SWIG_fail
;
40276 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40283 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40284 PyObject
*resultobj
= 0;
40285 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40286 wxWindow
*arg2
= (wxWindow
*) 0 ;
40292 PyObject
* obj0
= 0 ;
40293 PyObject
* obj1
= 0 ;
40294 char * kwnames
[] = {
40295 (char *) "self",(char *) "window", NULL
40298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40300 if (!SWIG_IsOK(res1
)) {
40301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40303 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40304 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40305 if (!SWIG_IsOK(res2
)) {
40306 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
40308 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40311 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
40312 wxPyEndAllowThreads(__tstate
);
40313 if (PyErr_Occurred()) SWIG_fail
;
40317 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
40319 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
40328 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40329 PyObject
*resultobj
= 0;
40330 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40331 wxWindow
*arg2
= (wxWindow
*) 0 ;
40337 PyObject
* obj0
= 0 ;
40338 PyObject
* obj1
= 0 ;
40339 char * kwnames
[] = {
40340 (char *) "self",(char *) "window", NULL
40343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40345 if (!SWIG_IsOK(res1
)) {
40346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40348 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40349 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40350 if (!SWIG_IsOK(res2
)) {
40351 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40353 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40356 result
= (bool)(arg1
)->ShowHelp(arg2
);
40357 wxPyEndAllowThreads(__tstate
);
40358 if (PyErr_Occurred()) SWIG_fail
;
40361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40369 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelpAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40370 PyObject
*resultobj
= 0;
40371 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40372 wxWindowBase
*arg2
= (wxWindowBase
*) 0 ;
40373 wxPoint
*arg3
= 0 ;
40374 wxHelpEvent::Origin arg4
;
40383 PyObject
* obj0
= 0 ;
40384 PyObject
* obj1
= 0 ;
40385 PyObject
* obj2
= 0 ;
40386 PyObject
* obj3
= 0 ;
40387 char * kwnames
[] = {
40388 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
40391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40393 if (!SWIG_IsOK(res1
)) {
40394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40396 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40397 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindowBase
, 0 | 0 );
40398 if (!SWIG_IsOK(res2
)) {
40399 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
40401 arg2
= reinterpret_cast< wxWindowBase
* >(argp2
);
40404 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40406 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
40407 if (!SWIG_IsOK(ecode4
)) {
40408 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
40410 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
40412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40413 result
= (bool)(arg1
)->ShowHelpAtPoint(arg2
,(wxPoint
const &)*arg3
,arg4
);
40414 wxPyEndAllowThreads(__tstate
);
40415 if (PyErr_Occurred()) SWIG_fail
;
40418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40426 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40427 PyObject
*resultobj
= 0;
40428 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40429 wxWindow
*arg2
= (wxWindow
*) 0 ;
40430 wxString
*arg3
= 0 ;
40435 bool temp3
= false ;
40436 PyObject
* obj0
= 0 ;
40437 PyObject
* obj1
= 0 ;
40438 PyObject
* obj2
= 0 ;
40439 char * kwnames
[] = {
40440 (char *) "self",(char *) "window",(char *) "text", NULL
40443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40445 if (!SWIG_IsOK(res1
)) {
40446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40448 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40449 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40450 if (!SWIG_IsOK(res2
)) {
40451 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40453 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40455 arg3
= wxString_in_helper(obj2
);
40456 if (arg3
== NULL
) SWIG_fail
;
40460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40461 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40462 wxPyEndAllowThreads(__tstate
);
40463 if (PyErr_Occurred()) SWIG_fail
;
40465 resultobj
= SWIG_Py_Void();
40480 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40481 PyObject
*resultobj
= 0;
40482 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40484 wxString
*arg3
= 0 ;
40489 bool temp3
= false ;
40490 PyObject
* obj0
= 0 ;
40491 PyObject
* obj1
= 0 ;
40492 PyObject
* obj2
= 0 ;
40493 char * kwnames
[] = {
40494 (char *) "self",(char *) "id",(char *) "text", NULL
40497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40499 if (!SWIG_IsOK(res1
)) {
40500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40502 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40503 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40504 if (!SWIG_IsOK(ecode2
)) {
40505 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40507 arg2
= static_cast< int >(val2
);
40509 arg3
= wxString_in_helper(obj2
);
40510 if (arg3
== NULL
) SWIG_fail
;
40514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40515 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40516 wxPyEndAllowThreads(__tstate
);
40517 if (PyErr_Occurred()) SWIG_fail
;
40519 resultobj
= SWIG_Py_Void();
40534 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40535 PyObject
*resultobj
= 0;
40536 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40537 wxWindow
*arg2
= (wxWindow
*) 0 ;
40542 PyObject
* obj0
= 0 ;
40543 PyObject
* obj1
= 0 ;
40544 char * kwnames
[] = {
40545 (char *) "self",(char *) "window", NULL
40548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40550 if (!SWIG_IsOK(res1
)) {
40551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40553 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40554 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40555 if (!SWIG_IsOK(res2
)) {
40556 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40558 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40561 (arg1
)->RemoveHelp(arg2
);
40562 wxPyEndAllowThreads(__tstate
);
40563 if (PyErr_Occurred()) SWIG_fail
;
40565 resultobj
= SWIG_Py_Void();
40572 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40573 PyObject
*resultobj
= 0;
40574 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40577 PyObject
*swig_obj
[1] ;
40579 if (!args
) SWIG_fail
;
40580 swig_obj
[0] = args
;
40581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40582 if (!SWIG_IsOK(res1
)) {
40583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40585 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40588 wxHelpProvider_Destroy(arg1
);
40589 wxPyEndAllowThreads(__tstate
);
40590 if (PyErr_Occurred()) SWIG_fail
;
40592 resultobj
= SWIG_Py_Void();
40599 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40601 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40602 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
40603 return SWIG_Py_Void();
40606 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40607 PyObject
*resultobj
= 0;
40608 wxSimpleHelpProvider
*result
= 0 ;
40610 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
40612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40613 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
40614 wxPyEndAllowThreads(__tstate
);
40615 if (PyErr_Occurred()) SWIG_fail
;
40617 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
40624 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40626 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40627 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
40628 return SWIG_Py_Void();
40631 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40632 return SWIG_Python_InitShadowInstance(args
);
40635 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40636 PyObject
*resultobj
= 0;
40637 wxBitmap
*arg1
= 0 ;
40638 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40639 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40640 wxGenericDragImage
*result
= 0 ;
40645 PyObject
* obj0
= 0 ;
40646 PyObject
* obj1
= 0 ;
40647 char * kwnames
[] = {
40648 (char *) "image",(char *) "cursor", NULL
40651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40652 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
40653 if (!SWIG_IsOK(res1
)) {
40654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40657 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40659 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
40661 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40662 if (!SWIG_IsOK(res2
)) {
40663 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40666 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40668 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40671 if (!wxPyCheckForApp()) SWIG_fail
;
40672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40673 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
40674 wxPyEndAllowThreads(__tstate
);
40675 if (PyErr_Occurred()) SWIG_fail
;
40677 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
40684 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40685 PyObject
*resultobj
= 0;
40687 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40688 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40689 wxGenericDragImage
*result
= 0 ;
40694 PyObject
* obj0
= 0 ;
40695 PyObject
* obj1
= 0 ;
40696 char * kwnames
[] = {
40697 (char *) "image",(char *) "cursor", NULL
40700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40701 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
40702 if (!SWIG_IsOK(res1
)) {
40703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40706 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40708 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
40710 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40711 if (!SWIG_IsOK(res2
)) {
40712 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40715 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40717 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40720 if (!wxPyCheckForApp()) SWIG_fail
;
40721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40722 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
40723 wxPyEndAllowThreads(__tstate
);
40724 if (PyErr_Occurred()) SWIG_fail
;
40726 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40733 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40734 PyObject
*resultobj
= 0;
40735 wxString
*arg1
= 0 ;
40736 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40737 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40738 wxGenericDragImage
*result
= 0 ;
40739 bool temp1
= false ;
40742 PyObject
* obj0
= 0 ;
40743 PyObject
* obj1
= 0 ;
40744 char * kwnames
[] = {
40745 (char *) "str",(char *) "cursor", NULL
40748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40750 arg1
= wxString_in_helper(obj0
);
40751 if (arg1
== NULL
) SWIG_fail
;
40755 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40756 if (!SWIG_IsOK(res2
)) {
40757 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40760 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40762 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40765 if (!wxPyCheckForApp()) SWIG_fail
;
40766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40767 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
40768 wxPyEndAllowThreads(__tstate
);
40769 if (PyErr_Occurred()) SWIG_fail
;
40771 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40786 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40787 PyObject
*resultobj
= 0;
40788 wxPyTreeCtrl
*arg1
= 0 ;
40789 wxTreeItemId
*arg2
= 0 ;
40790 wxGenericDragImage
*result
= 0 ;
40795 PyObject
* obj0
= 0 ;
40796 PyObject
* obj1
= 0 ;
40797 char * kwnames
[] = {
40798 (char *) "treeCtrl",(char *) "id", NULL
40801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40802 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
40803 if (!SWIG_IsOK(res1
)) {
40804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40807 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40809 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
40810 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
40811 if (!SWIG_IsOK(res2
)) {
40812 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40815 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40817 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
40819 if (!wxPyCheckForApp()) SWIG_fail
;
40820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40821 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
40822 wxPyEndAllowThreads(__tstate
);
40823 if (PyErr_Occurred()) SWIG_fail
;
40825 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40832 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40833 PyObject
*resultobj
= 0;
40834 wxPyListCtrl
*arg1
= 0 ;
40836 wxGenericDragImage
*result
= 0 ;
40841 PyObject
* obj0
= 0 ;
40842 PyObject
* obj1
= 0 ;
40843 char * kwnames
[] = {
40844 (char *) "listCtrl",(char *) "id", NULL
40847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40848 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
40849 if (!SWIG_IsOK(res1
)) {
40850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40853 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40855 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
40856 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
40857 if (!SWIG_IsOK(ecode2
)) {
40858 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40860 arg2
= static_cast< long >(val2
);
40862 if (!wxPyCheckForApp()) SWIG_fail
;
40863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40864 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
40865 wxPyEndAllowThreads(__tstate
);
40866 if (PyErr_Occurred()) SWIG_fail
;
40868 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40875 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40876 PyObject
*resultobj
= 0;
40877 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40880 PyObject
*swig_obj
[1] ;
40882 if (!args
) SWIG_fail
;
40883 swig_obj
[0] = args
;
40884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
40885 if (!SWIG_IsOK(res1
)) {
40886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40888 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40893 wxPyEndAllowThreads(__tstate
);
40894 if (PyErr_Occurred()) SWIG_fail
;
40896 resultobj
= SWIG_Py_Void();
40903 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40904 PyObject
*resultobj
= 0;
40905 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40906 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
40911 PyObject
* obj0
= 0 ;
40912 PyObject
* obj1
= 0 ;
40913 char * kwnames
[] = {
40914 (char *) "self",(char *) "bitmap", NULL
40917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40919 if (!SWIG_IsOK(res1
)) {
40920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40922 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40923 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
40924 if (!SWIG_IsOK(res2
)) {
40925 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40927 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
40929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40930 (arg1
)->SetBackingBitmap(arg2
);
40931 wxPyEndAllowThreads(__tstate
);
40932 if (PyErr_Occurred()) SWIG_fail
;
40934 resultobj
= SWIG_Py_Void();
40941 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40942 PyObject
*resultobj
= 0;
40943 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40944 wxPoint
*arg2
= 0 ;
40945 wxWindow
*arg3
= (wxWindow
*) 0 ;
40946 bool arg4
= (bool) false ;
40947 wxRect
*arg5
= (wxRect
*) NULL
;
40958 PyObject
* obj0
= 0 ;
40959 PyObject
* obj1
= 0 ;
40960 PyObject
* obj2
= 0 ;
40961 PyObject
* obj3
= 0 ;
40962 PyObject
* obj4
= 0 ;
40963 char * kwnames
[] = {
40964 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
40967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40969 if (!SWIG_IsOK(res1
)) {
40970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40972 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40975 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40977 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40978 if (!SWIG_IsOK(res3
)) {
40979 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
40981 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40983 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40984 if (!SWIG_IsOK(ecode4
)) {
40985 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
40987 arg4
= static_cast< bool >(val4
);
40990 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
40991 if (!SWIG_IsOK(res5
)) {
40992 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
40994 arg5
= reinterpret_cast< wxRect
* >(argp5
);
40997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40998 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
40999 wxPyEndAllowThreads(__tstate
);
41000 if (PyErr_Occurred()) SWIG_fail
;
41003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41011 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41012 PyObject
*resultobj
= 0;
41013 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41014 wxPoint
*arg2
= 0 ;
41015 wxWindow
*arg3
= (wxWindow
*) 0 ;
41016 wxWindow
*arg4
= (wxWindow
*) 0 ;
41025 PyObject
* obj0
= 0 ;
41026 PyObject
* obj1
= 0 ;
41027 PyObject
* obj2
= 0 ;
41028 PyObject
* obj3
= 0 ;
41029 char * kwnames
[] = {
41030 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
41033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
41034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41035 if (!SWIG_IsOK(res1
)) {
41036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41038 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41041 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41043 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41044 if (!SWIG_IsOK(res3
)) {
41045 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
41047 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
41048 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41049 if (!SWIG_IsOK(res4
)) {
41050 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
41052 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
41054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41055 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
41056 wxPyEndAllowThreads(__tstate
);
41057 if (PyErr_Occurred()) SWIG_fail
;
41060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41068 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41069 PyObject
*resultobj
= 0;
41070 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41074 PyObject
*swig_obj
[1] ;
41076 if (!args
) SWIG_fail
;
41077 swig_obj
[0] = args
;
41078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41079 if (!SWIG_IsOK(res1
)) {
41080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41082 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41085 result
= (bool)(arg1
)->EndDrag();
41086 wxPyEndAllowThreads(__tstate
);
41087 if (PyErr_Occurred()) SWIG_fail
;
41090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41098 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41099 PyObject
*resultobj
= 0;
41100 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41101 wxPoint
*arg2
= 0 ;
41106 PyObject
* obj0
= 0 ;
41107 PyObject
* obj1
= 0 ;
41108 char * kwnames
[] = {
41109 (char *) "self",(char *) "pt", NULL
41112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41114 if (!SWIG_IsOK(res1
)) {
41115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41117 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41120 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41124 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
41125 wxPyEndAllowThreads(__tstate
);
41126 if (PyErr_Occurred()) SWIG_fail
;
41129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41137 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41138 PyObject
*resultobj
= 0;
41139 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41143 PyObject
*swig_obj
[1] ;
41145 if (!args
) SWIG_fail
;
41146 swig_obj
[0] = args
;
41147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41148 if (!SWIG_IsOK(res1
)) {
41149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41151 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41154 result
= (bool)(arg1
)->Show();
41155 wxPyEndAllowThreads(__tstate
);
41156 if (PyErr_Occurred()) SWIG_fail
;
41159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41167 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41168 PyObject
*resultobj
= 0;
41169 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41173 PyObject
*swig_obj
[1] ;
41175 if (!args
) SWIG_fail
;
41176 swig_obj
[0] = args
;
41177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41178 if (!SWIG_IsOK(res1
)) {
41179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41181 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41184 result
= (bool)(arg1
)->Hide();
41185 wxPyEndAllowThreads(__tstate
);
41186 if (PyErr_Occurred()) SWIG_fail
;
41189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41197 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41198 PyObject
*resultobj
= 0;
41199 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41200 wxPoint
*arg2
= 0 ;
41205 PyObject
* obj0
= 0 ;
41206 PyObject
* obj1
= 0 ;
41207 char * kwnames
[] = {
41208 (char *) "self",(char *) "pos", NULL
41211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41213 if (!SWIG_IsOK(res1
)) {
41214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41216 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41219 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41223 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
41224 wxPyEndAllowThreads(__tstate
);
41225 if (PyErr_Occurred()) SWIG_fail
;
41227 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
41234 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41235 PyObject
*resultobj
= 0;
41236 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41238 wxPoint
*arg3
= 0 ;
41245 PyObject
* obj0
= 0 ;
41246 PyObject
* obj1
= 0 ;
41247 PyObject
* obj2
= 0 ;
41248 char * kwnames
[] = {
41249 (char *) "self",(char *) "dc",(char *) "pos", NULL
41252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41254 if (!SWIG_IsOK(res1
)) {
41255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41257 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41258 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41259 if (!SWIG_IsOK(res2
)) {
41260 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41263 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41265 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41268 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41272 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
41273 wxPyEndAllowThreads(__tstate
);
41274 if (PyErr_Occurred()) SWIG_fail
;
41277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41285 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41286 PyObject
*resultobj
= 0;
41287 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41289 wxMemoryDC
*arg3
= 0 ;
41301 PyObject
* obj0
= 0 ;
41302 PyObject
* obj1
= 0 ;
41303 PyObject
* obj2
= 0 ;
41304 PyObject
* obj3
= 0 ;
41305 PyObject
* obj4
= 0 ;
41306 char * kwnames
[] = {
41307 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
41310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41312 if (!SWIG_IsOK(res1
)) {
41313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41315 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41316 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41317 if (!SWIG_IsOK(res2
)) {
41318 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41321 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41323 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41324 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
41325 if (!SWIG_IsOK(res3
)) {
41326 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41329 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41331 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
41334 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
41338 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
41341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41342 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
41343 wxPyEndAllowThreads(__tstate
);
41344 if (PyErr_Occurred()) SWIG_fail
;
41347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41355 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41356 PyObject
*resultobj
= 0;
41357 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41358 wxPoint
*arg2
= 0 ;
41359 wxPoint
*arg3
= 0 ;
41371 PyObject
* obj0
= 0 ;
41372 PyObject
* obj1
= 0 ;
41373 PyObject
* obj2
= 0 ;
41374 PyObject
* obj3
= 0 ;
41375 PyObject
* obj4
= 0 ;
41376 char * kwnames
[] = {
41377 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
41380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41382 if (!SWIG_IsOK(res1
)) {
41383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41385 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41388 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41392 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41394 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
41395 if (!SWIG_IsOK(ecode4
)) {
41396 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
41398 arg4
= static_cast< bool >(val4
);
41399 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
41400 if (!SWIG_IsOK(ecode5
)) {
41401 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
41403 arg5
= static_cast< bool >(val5
);
41405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41406 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
41407 wxPyEndAllowThreads(__tstate
);
41408 if (PyErr_Occurred()) SWIG_fail
;
41411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41419 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41421 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41422 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
41423 return SWIG_Py_Void();
41426 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41427 return SWIG_Python_InitShadowInstance(args
);
41430 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
41431 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
41436 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
41437 PyObject
*pyobj
= 0;
41441 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41443 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41450 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41451 PyObject
*resultobj
= 0;
41452 wxWindow
*arg1
= (wxWindow
*) 0 ;
41453 int arg2
= (int) -1 ;
41454 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
41455 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
41456 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
41457 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
41458 wxSize
const &arg5_defvalue
= wxDefaultSize
;
41459 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
41460 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41461 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
41462 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
41463 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
41464 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41465 wxDatePickerCtrl
*result
= 0 ;
41478 bool temp8
= false ;
41479 PyObject
* obj0
= 0 ;
41480 PyObject
* obj1
= 0 ;
41481 PyObject
* obj2
= 0 ;
41482 PyObject
* obj3
= 0 ;
41483 PyObject
* obj4
= 0 ;
41484 PyObject
* obj5
= 0 ;
41485 PyObject
* obj6
= 0 ;
41486 PyObject
* obj7
= 0 ;
41487 char * kwnames
[] = {
41488 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41493 if (!SWIG_IsOK(res1
)) {
41494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41496 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41498 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41499 if (!SWIG_IsOK(ecode2
)) {
41500 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41502 arg2
= static_cast< int >(val2
);
41505 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41506 if (!SWIG_IsOK(res3
)) {
41507 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41510 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41512 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41517 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
41523 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
41527 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
41528 if (!SWIG_IsOK(ecode6
)) {
41529 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41531 arg6
= static_cast< long >(val6
);
41534 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
41535 if (!SWIG_IsOK(res7
)) {
41536 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41539 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41541 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
41545 arg8
= wxString_in_helper(obj7
);
41546 if (arg8
== NULL
) SWIG_fail
;
41551 if (!wxPyCheckForApp()) SWIG_fail
;
41552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41553 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
41554 wxPyEndAllowThreads(__tstate
);
41555 if (PyErr_Occurred()) SWIG_fail
;
41557 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
41572 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41573 PyObject
*resultobj
= 0;
41574 wxDatePickerCtrl
*result
= 0 ;
41576 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
41578 if (!wxPyCheckForApp()) SWIG_fail
;
41579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41580 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
41581 wxPyEndAllowThreads(__tstate
);
41582 if (PyErr_Occurred()) SWIG_fail
;
41584 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
41591 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41592 PyObject
*resultobj
= 0;
41593 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41594 wxWindow
*arg2
= (wxWindow
*) 0 ;
41595 int arg3
= (int) -1 ;
41596 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
41597 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
41598 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41599 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41600 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41601 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41602 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41603 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
41604 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
41605 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
41606 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41622 bool temp9
= false ;
41623 PyObject
* obj0
= 0 ;
41624 PyObject
* obj1
= 0 ;
41625 PyObject
* obj2
= 0 ;
41626 PyObject
* obj3
= 0 ;
41627 PyObject
* obj4
= 0 ;
41628 PyObject
* obj5
= 0 ;
41629 PyObject
* obj6
= 0 ;
41630 PyObject
* obj7
= 0 ;
41631 PyObject
* obj8
= 0 ;
41632 char * kwnames
[] = {
41633 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41638 if (!SWIG_IsOK(res1
)) {
41639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41641 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41642 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41643 if (!SWIG_IsOK(res2
)) {
41644 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41646 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41648 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41649 if (!SWIG_IsOK(ecode3
)) {
41650 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41652 arg3
= static_cast< int >(val3
);
41655 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41656 if (!SWIG_IsOK(res4
)) {
41657 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41660 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41662 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
41667 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41673 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41677 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41678 if (!SWIG_IsOK(ecode7
)) {
41679 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41681 arg7
= static_cast< long >(val7
);
41684 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
41685 if (!SWIG_IsOK(res8
)) {
41686 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41689 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41691 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
41695 arg9
= wxString_in_helper(obj8
);
41696 if (arg9
== NULL
) SWIG_fail
;
41701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41702 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
41703 wxPyEndAllowThreads(__tstate
);
41704 if (PyErr_Occurred()) SWIG_fail
;
41707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41723 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41724 PyObject
*resultobj
= 0;
41725 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41726 wxDateTime
*arg2
= 0 ;
41731 PyObject
* obj0
= 0 ;
41732 PyObject
* obj1
= 0 ;
41733 char * kwnames
[] = {
41734 (char *) "self",(char *) "dt", NULL
41737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41739 if (!SWIG_IsOK(res1
)) {
41740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41742 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41743 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41744 if (!SWIG_IsOK(res2
)) {
41745 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41748 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41750 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41753 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
41754 wxPyEndAllowThreads(__tstate
);
41755 if (PyErr_Occurred()) SWIG_fail
;
41757 resultobj
= SWIG_Py_Void();
41764 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41765 PyObject
*resultobj
= 0;
41766 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41770 PyObject
*swig_obj
[1] ;
41772 if (!args
) SWIG_fail
;
41773 swig_obj
[0] = args
;
41774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41775 if (!SWIG_IsOK(res1
)) {
41776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41778 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41781 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
41782 wxPyEndAllowThreads(__tstate
);
41783 if (PyErr_Occurred()) SWIG_fail
;
41785 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41792 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41793 PyObject
*resultobj
= 0;
41794 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41795 wxDateTime
*arg2
= 0 ;
41796 wxDateTime
*arg3
= 0 ;
41803 PyObject
* obj0
= 0 ;
41804 PyObject
* obj1
= 0 ;
41805 PyObject
* obj2
= 0 ;
41806 char * kwnames
[] = {
41807 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41812 if (!SWIG_IsOK(res1
)) {
41813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41815 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41816 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41817 if (!SWIG_IsOK(res2
)) {
41818 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41821 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41823 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41824 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41825 if (!SWIG_IsOK(res3
)) {
41826 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41829 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41831 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41834 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
41835 wxPyEndAllowThreads(__tstate
);
41836 if (PyErr_Occurred()) SWIG_fail
;
41838 resultobj
= SWIG_Py_Void();
41845 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41846 PyObject
*resultobj
= 0;
41847 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41851 PyObject
*swig_obj
[1] ;
41853 if (!args
) SWIG_fail
;
41854 swig_obj
[0] = args
;
41855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41856 if (!SWIG_IsOK(res1
)) {
41857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41859 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41862 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
41863 wxPyEndAllowThreads(__tstate
);
41864 if (PyErr_Occurred()) SWIG_fail
;
41866 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41873 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41874 PyObject
*resultobj
= 0;
41875 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41879 PyObject
*swig_obj
[1] ;
41881 if (!args
) SWIG_fail
;
41882 swig_obj
[0] = args
;
41883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41884 if (!SWIG_IsOK(res1
)) {
41885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41887 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41890 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
41891 wxPyEndAllowThreads(__tstate
);
41892 if (PyErr_Occurred()) SWIG_fail
;
41894 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41901 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41903 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41904 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
41905 return SWIG_Py_Void();
41908 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41909 return SWIG_Python_InitShadowInstance(args
);
41912 SWIGINTERN
int HyperlinkCtrlNameStr_set(PyObject
*) {
41913 SWIG_Error(SWIG_AttributeError
,"Variable HyperlinkCtrlNameStr is read-only.");
41918 SWIGINTERN PyObject
*HyperlinkCtrlNameStr_get(void) {
41919 PyObject
*pyobj
= 0;
41923 pyobj
= PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41925 pyobj
= PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41932 SWIGINTERN PyObject
*_wrap_new_HyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41933 PyObject
*resultobj
= 0;
41934 wxWindow
*arg1
= (wxWindow
*) 0 ;
41936 wxString
*arg3
= 0 ;
41937 wxString
*arg4
= 0 ;
41938 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41939 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41940 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41941 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41942 long arg7
= (long) wxHL_DEFAULT_STYLE
;
41943 wxString
const &arg8_defvalue
= wxPyHyperlinkCtrlNameStr
;
41944 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41945 wxHyperlinkCtrl
*result
= 0 ;
41950 bool temp3
= false ;
41951 bool temp4
= false ;
41956 bool temp8
= false ;
41957 PyObject
* obj0
= 0 ;
41958 PyObject
* obj1
= 0 ;
41959 PyObject
* obj2
= 0 ;
41960 PyObject
* obj3
= 0 ;
41961 PyObject
* obj4
= 0 ;
41962 PyObject
* obj5
= 0 ;
41963 PyObject
* obj6
= 0 ;
41964 PyObject
* obj7
= 0 ;
41965 char * kwnames
[] = {
41966 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41971 if (!SWIG_IsOK(res1
)) {
41972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41974 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41975 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41976 if (!SWIG_IsOK(ecode2
)) {
41977 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
41979 arg2
= static_cast< int >(val2
);
41981 arg3
= wxString_in_helper(obj2
);
41982 if (arg3
== NULL
) SWIG_fail
;
41986 arg4
= wxString_in_helper(obj3
);
41987 if (arg4
== NULL
) SWIG_fail
;
41993 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41999 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42003 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42004 if (!SWIG_IsOK(ecode7
)) {
42005 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
42007 arg7
= static_cast< long >(val7
);
42011 arg8
= wxString_in_helper(obj7
);
42012 if (arg8
== NULL
) SWIG_fail
;
42017 if (!wxPyCheckForApp()) SWIG_fail
;
42018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42019 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
42020 wxPyEndAllowThreads(__tstate
);
42021 if (PyErr_Occurred()) SWIG_fail
;
42023 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_NEW
| 0 );
42054 SWIGINTERN PyObject
*_wrap_new_PreHyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42055 PyObject
*resultobj
= 0;
42056 wxHyperlinkCtrl
*result
= 0 ;
42058 if (!SWIG_Python_UnpackTuple(args
,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail
;
42060 if (!wxPyCheckForApp()) SWIG_fail
;
42061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42062 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl();
42063 wxPyEndAllowThreads(__tstate
);
42064 if (PyErr_Occurred()) SWIG_fail
;
42066 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_OWN
| 0 );
42073 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42074 PyObject
*resultobj
= 0;
42075 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42076 wxWindow
*arg2
= (wxWindow
*) 0 ;
42078 wxString
*arg4
= 0 ;
42079 wxString
*arg5
= 0 ;
42080 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
42081 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
42082 wxSize
const &arg7_defvalue
= wxDefaultSize
;
42083 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
42084 long arg8
= (long) wxHL_DEFAULT_STYLE
;
42085 wxString
const &arg9_defvalue
= wxPyHyperlinkCtrlNameStr
;
42086 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42094 bool temp4
= false ;
42095 bool temp5
= false ;
42100 bool temp9
= false ;
42101 PyObject
* obj0
= 0 ;
42102 PyObject
* obj1
= 0 ;
42103 PyObject
* obj2
= 0 ;
42104 PyObject
* obj3
= 0 ;
42105 PyObject
* obj4
= 0 ;
42106 PyObject
* obj5
= 0 ;
42107 PyObject
* obj6
= 0 ;
42108 PyObject
* obj7
= 0 ;
42109 PyObject
* obj8
= 0 ;
42110 char * kwnames
[] = {
42111 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
42114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42116 if (!SWIG_IsOK(res1
)) {
42117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42119 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42120 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42121 if (!SWIG_IsOK(res2
)) {
42122 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
42124 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42125 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42126 if (!SWIG_IsOK(ecode3
)) {
42127 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
42129 arg3
= static_cast< int >(val3
);
42131 arg4
= wxString_in_helper(obj3
);
42132 if (arg4
== NULL
) SWIG_fail
;
42136 arg5
= wxString_in_helper(obj4
);
42137 if (arg5
== NULL
) SWIG_fail
;
42143 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
42149 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
42153 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
42154 if (!SWIG_IsOK(ecode8
)) {
42155 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
42157 arg8
= static_cast< long >(val8
);
42161 arg9
= wxString_in_helper(obj8
);
42162 if (arg9
== NULL
) SWIG_fail
;
42167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42168 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
42169 wxPyEndAllowThreads(__tstate
);
42170 if (PyErr_Occurred()) SWIG_fail
;
42173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42205 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42206 PyObject
*resultobj
= 0;
42207 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42211 PyObject
*swig_obj
[1] ;
42213 if (!args
) SWIG_fail
;
42214 swig_obj
[0] = args
;
42215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42216 if (!SWIG_IsOK(res1
)) {
42217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42219 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42222 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetHoverColour();
42223 wxPyEndAllowThreads(__tstate
);
42224 if (PyErr_Occurred()) SWIG_fail
;
42226 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42233 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42234 PyObject
*resultobj
= 0;
42235 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42236 wxColour
*arg2
= 0 ;
42240 PyObject
* obj0
= 0 ;
42241 PyObject
* obj1
= 0 ;
42242 char * kwnames
[] = {
42243 (char *) "self",(char *) "colour", NULL
42246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42248 if (!SWIG_IsOK(res1
)) {
42249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42251 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42254 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42258 (arg1
)->SetHoverColour((wxColour
const &)*arg2
);
42259 wxPyEndAllowThreads(__tstate
);
42260 if (PyErr_Occurred()) SWIG_fail
;
42262 resultobj
= SWIG_Py_Void();
42269 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42270 PyObject
*resultobj
= 0;
42271 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42275 PyObject
*swig_obj
[1] ;
42277 if (!args
) SWIG_fail
;
42278 swig_obj
[0] = args
;
42279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42280 if (!SWIG_IsOK(res1
)) {
42281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42283 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42286 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetNormalColour();
42287 wxPyEndAllowThreads(__tstate
);
42288 if (PyErr_Occurred()) SWIG_fail
;
42290 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42297 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42298 PyObject
*resultobj
= 0;
42299 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42300 wxColour
*arg2
= 0 ;
42304 PyObject
* obj0
= 0 ;
42305 PyObject
* obj1
= 0 ;
42306 char * kwnames
[] = {
42307 (char *) "self",(char *) "colour", NULL
42310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42312 if (!SWIG_IsOK(res1
)) {
42313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42315 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42318 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42322 (arg1
)->SetNormalColour((wxColour
const &)*arg2
);
42323 wxPyEndAllowThreads(__tstate
);
42324 if (PyErr_Occurred()) SWIG_fail
;
42326 resultobj
= SWIG_Py_Void();
42333 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42334 PyObject
*resultobj
= 0;
42335 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42339 PyObject
*swig_obj
[1] ;
42341 if (!args
) SWIG_fail
;
42342 swig_obj
[0] = args
;
42343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42344 if (!SWIG_IsOK(res1
)) {
42345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42347 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42350 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetVisitedColour();
42351 wxPyEndAllowThreads(__tstate
);
42352 if (PyErr_Occurred()) SWIG_fail
;
42354 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42361 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42362 PyObject
*resultobj
= 0;
42363 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42364 wxColour
*arg2
= 0 ;
42368 PyObject
* obj0
= 0 ;
42369 PyObject
* obj1
= 0 ;
42370 char * kwnames
[] = {
42371 (char *) "self",(char *) "colour", NULL
42374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42376 if (!SWIG_IsOK(res1
)) {
42377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42379 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42382 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42386 (arg1
)->SetVisitedColour((wxColour
const &)*arg2
);
42387 wxPyEndAllowThreads(__tstate
);
42388 if (PyErr_Occurred()) SWIG_fail
;
42390 resultobj
= SWIG_Py_Void();
42397 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42398 PyObject
*resultobj
= 0;
42399 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42403 PyObject
*swig_obj
[1] ;
42405 if (!args
) SWIG_fail
;
42406 swig_obj
[0] = args
;
42407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42408 if (!SWIG_IsOK(res1
)) {
42409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42411 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42414 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetURL();
42415 wxPyEndAllowThreads(__tstate
);
42416 if (PyErr_Occurred()) SWIG_fail
;
42420 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42422 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42431 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42432 PyObject
*resultobj
= 0;
42433 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42434 wxString
*arg2
= 0 ;
42437 bool temp2
= false ;
42438 PyObject
* obj0
= 0 ;
42439 PyObject
* obj1
= 0 ;
42440 char * kwnames
[] = {
42441 (char *) "self",(char *) "url", NULL
42444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42446 if (!SWIG_IsOK(res1
)) {
42447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42449 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42451 arg2
= wxString_in_helper(obj1
);
42452 if (arg2
== NULL
) SWIG_fail
;
42456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42457 (arg1
)->SetURL((wxString
const &)*arg2
);
42458 wxPyEndAllowThreads(__tstate
);
42459 if (PyErr_Occurred()) SWIG_fail
;
42461 resultobj
= SWIG_Py_Void();
42476 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42477 PyObject
*resultobj
= 0;
42478 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42479 bool arg2
= (bool) true ;
42484 PyObject
* obj0
= 0 ;
42485 PyObject
* obj1
= 0 ;
42486 char * kwnames
[] = {
42487 (char *) "self",(char *) "visited", NULL
42490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42492 if (!SWIG_IsOK(res1
)) {
42493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42495 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42497 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42498 if (!SWIG_IsOK(ecode2
)) {
42499 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42501 arg2
= static_cast< bool >(val2
);
42504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42505 (arg1
)->SetVisited(arg2
);
42506 wxPyEndAllowThreads(__tstate
);
42507 if (PyErr_Occurred()) SWIG_fail
;
42509 resultobj
= SWIG_Py_Void();
42516 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42517 PyObject
*resultobj
= 0;
42518 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42522 PyObject
*swig_obj
[1] ;
42524 if (!args
) SWIG_fail
;
42525 swig_obj
[0] = args
;
42526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42527 if (!SWIG_IsOK(res1
)) {
42528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42530 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42533 result
= (bool)((wxHyperlinkCtrl
const *)arg1
)->GetVisited();
42534 wxPyEndAllowThreads(__tstate
);
42535 if (PyErr_Occurred()) SWIG_fail
;
42538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42546 SWIGINTERN PyObject
*HyperlinkCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42548 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42549 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_NewClientData(obj
));
42550 return SWIG_Py_Void();
42553 SWIGINTERN PyObject
*HyperlinkCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42554 return SWIG_Python_InitShadowInstance(args
);
42557 SWIGINTERN PyObject
*_wrap_new_HyperlinkEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42558 PyObject
*resultobj
= 0;
42559 wxObject
*arg1
= (wxObject
*) 0 ;
42561 wxString
*arg3
= 0 ;
42562 wxHyperlinkEvent
*result
= 0 ;
42567 bool temp3
= false ;
42568 PyObject
* obj0
= 0 ;
42569 PyObject
* obj1
= 0 ;
42570 PyObject
* obj2
= 0 ;
42571 char * kwnames
[] = {
42572 (char *) "generator",(char *) "id",(char *) "url", NULL
42575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_HyperlinkEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
42577 if (!SWIG_IsOK(res1
)) {
42578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42580 arg1
= reinterpret_cast< wxObject
* >(argp1
);
42581 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42582 if (!SWIG_IsOK(ecode2
)) {
42583 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
42585 arg2
= static_cast< int >(val2
);
42587 arg3
= wxString_in_helper(obj2
);
42588 if (arg3
== NULL
) SWIG_fail
;
42592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42593 result
= (wxHyperlinkEvent
*)new wxHyperlinkEvent(arg1
,arg2
,(wxString
const &)*arg3
);
42594 wxPyEndAllowThreads(__tstate
);
42595 if (PyErr_Occurred()) SWIG_fail
;
42597 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkEvent
, SWIG_POINTER_NEW
| 0 );
42612 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42613 PyObject
*resultobj
= 0;
42614 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42618 PyObject
*swig_obj
[1] ;
42620 if (!args
) SWIG_fail
;
42621 swig_obj
[0] = args
;
42622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42623 if (!SWIG_IsOK(res1
)) {
42624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42626 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42629 result
= ((wxHyperlinkEvent
const *)arg1
)->GetURL();
42630 wxPyEndAllowThreads(__tstate
);
42631 if (PyErr_Occurred()) SWIG_fail
;
42635 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42637 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42646 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42647 PyObject
*resultobj
= 0;
42648 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42649 wxString
*arg2
= 0 ;
42652 bool temp2
= false ;
42653 PyObject
* obj0
= 0 ;
42654 PyObject
* obj1
= 0 ;
42655 char * kwnames
[] = {
42656 (char *) "self",(char *) "url", NULL
42659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42661 if (!SWIG_IsOK(res1
)) {
42662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42664 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42666 arg2
= wxString_in_helper(obj1
);
42667 if (arg2
== NULL
) SWIG_fail
;
42671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42672 (arg1
)->SetURL((wxString
const &)*arg2
);
42673 wxPyEndAllowThreads(__tstate
);
42674 if (PyErr_Occurred()) SWIG_fail
;
42676 resultobj
= SWIG_Py_Void();
42691 SWIGINTERN PyObject
*HyperlinkEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42693 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42694 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent
, SWIG_NewClientData(obj
));
42695 return SWIG_Py_Void();
42698 SWIGINTERN PyObject
*HyperlinkEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42699 return SWIG_Python_InitShadowInstance(args
);
42702 SWIGINTERN PyObject
*_wrap_PickerBase_CreateBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42703 PyObject
*resultobj
= 0;
42704 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42705 wxWindow
*arg2
= (wxWindow
*) 0 ;
42707 wxString
const &arg4_defvalue
= wxEmptyString
;
42708 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42709 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42710 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42711 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42712 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42713 long arg7
= (long) 0 ;
42714 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
42715 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
42716 wxString
const &arg9_defvalue
= wxButtonNameStr
;
42717 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42725 bool temp4
= false ;
42732 bool temp9
= false ;
42733 PyObject
* obj0
= 0 ;
42734 PyObject
* obj1
= 0 ;
42735 PyObject
* obj2
= 0 ;
42736 PyObject
* obj3
= 0 ;
42737 PyObject
* obj4
= 0 ;
42738 PyObject
* obj5
= 0 ;
42739 PyObject
* obj6
= 0 ;
42740 PyObject
* obj7
= 0 ;
42741 PyObject
* obj8
= 0 ;
42742 char * kwnames
[] = {
42743 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42748 if (!SWIG_IsOK(res1
)) {
42749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42751 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42752 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42753 if (!SWIG_IsOK(res2
)) {
42754 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42756 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42757 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42758 if (!SWIG_IsOK(ecode3
)) {
42759 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42761 arg3
= static_cast< int >(val3
);
42764 arg4
= wxString_in_helper(obj3
);
42765 if (arg4
== NULL
) SWIG_fail
;
42772 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42778 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42782 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42783 if (!SWIG_IsOK(ecode7
)) {
42784 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42786 arg7
= static_cast< long >(val7
);
42789 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
42790 if (!SWIG_IsOK(res8
)) {
42791 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42794 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42796 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
42800 arg9
= wxString_in_helper(obj8
);
42801 if (arg9
== NULL
) SWIG_fail
;
42806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42807 result
= (bool)(arg1
)->CreateBase(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
42808 wxPyEndAllowThreads(__tstate
);
42809 if (PyErr_Occurred()) SWIG_fail
;
42812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42836 SWIGINTERN PyObject
*_wrap_PickerBase_SetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42837 PyObject
*resultobj
= 0;
42838 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42844 PyObject
* obj0
= 0 ;
42845 PyObject
* obj1
= 0 ;
42846 char * kwnames
[] = {
42847 (char *) "self",(char *) "newmargin", NULL
42850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetInternalMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42852 if (!SWIG_IsOK(res1
)) {
42853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42855 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42856 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42857 if (!SWIG_IsOK(ecode2
)) {
42858 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
42860 arg2
= static_cast< int >(val2
);
42862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42863 (arg1
)->SetInternalMargin(arg2
);
42864 wxPyEndAllowThreads(__tstate
);
42865 if (PyErr_Occurred()) SWIG_fail
;
42867 resultobj
= SWIG_Py_Void();
42874 SWIGINTERN PyObject
*_wrap_PickerBase_GetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42875 PyObject
*resultobj
= 0;
42876 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42880 PyObject
*swig_obj
[1] ;
42882 if (!args
) SWIG_fail
;
42883 swig_obj
[0] = args
;
42884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42885 if (!SWIG_IsOK(res1
)) {
42886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42888 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42891 result
= (int)((wxPickerBase
const *)arg1
)->GetInternalMargin();
42892 wxPyEndAllowThreads(__tstate
);
42893 if (PyErr_Occurred()) SWIG_fail
;
42895 resultobj
= SWIG_From_int(static_cast< int >(result
));
42902 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42903 PyObject
*resultobj
= 0;
42904 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42910 PyObject
* obj0
= 0 ;
42911 PyObject
* obj1
= 0 ;
42912 char * kwnames
[] = {
42913 (char *) "self",(char *) "prop", NULL
42916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42918 if (!SWIG_IsOK(res1
)) {
42919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42921 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42922 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42923 if (!SWIG_IsOK(ecode2
)) {
42924 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42926 arg2
= static_cast< int >(val2
);
42928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42929 (arg1
)->SetTextCtrlProportion(arg2
);
42930 wxPyEndAllowThreads(__tstate
);
42931 if (PyErr_Occurred()) SWIG_fail
;
42933 resultobj
= SWIG_Py_Void();
42940 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42941 PyObject
*resultobj
= 0;
42942 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42946 PyObject
*swig_obj
[1] ;
42948 if (!args
) SWIG_fail
;
42949 swig_obj
[0] = args
;
42950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42951 if (!SWIG_IsOK(res1
)) {
42952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42954 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42957 result
= (int)((wxPickerBase
const *)arg1
)->GetTextCtrlProportion();
42958 wxPyEndAllowThreads(__tstate
);
42959 if (PyErr_Occurred()) SWIG_fail
;
42961 resultobj
= SWIG_From_int(static_cast< int >(result
));
42968 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42969 PyObject
*resultobj
= 0;
42970 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42976 PyObject
* obj0
= 0 ;
42977 PyObject
* obj1
= 0 ;
42978 char * kwnames
[] = {
42979 (char *) "self",(char *) "prop", NULL
42982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetPickerCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42984 if (!SWIG_IsOK(res1
)) {
42985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42987 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42988 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42989 if (!SWIG_IsOK(ecode2
)) {
42990 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42992 arg2
= static_cast< int >(val2
);
42994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42995 (arg1
)->SetPickerCtrlProportion(arg2
);
42996 wxPyEndAllowThreads(__tstate
);
42997 if (PyErr_Occurred()) SWIG_fail
;
42999 resultobj
= SWIG_Py_Void();
43006 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43007 PyObject
*resultobj
= 0;
43008 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43012 PyObject
*swig_obj
[1] ;
43014 if (!args
) SWIG_fail
;
43015 swig_obj
[0] = args
;
43016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43017 if (!SWIG_IsOK(res1
)) {
43018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43020 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43023 result
= (int)((wxPickerBase
const *)arg1
)->GetPickerCtrlProportion();
43024 wxPyEndAllowThreads(__tstate
);
43025 if (PyErr_Occurred()) SWIG_fail
;
43027 resultobj
= SWIG_From_int(static_cast< int >(result
));
43034 SWIGINTERN PyObject
*_wrap_PickerBase_IsTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43035 PyObject
*resultobj
= 0;
43036 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43040 PyObject
*swig_obj
[1] ;
43042 if (!args
) SWIG_fail
;
43043 swig_obj
[0] = args
;
43044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43045 if (!SWIG_IsOK(res1
)) {
43046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43048 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43051 result
= (bool)((wxPickerBase
const *)arg1
)->IsTextCtrlGrowable();
43052 wxPyEndAllowThreads(__tstate
);
43053 if (PyErr_Occurred()) SWIG_fail
;
43056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43064 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43065 PyObject
*resultobj
= 0;
43066 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43067 bool arg2
= (bool) true ;
43072 PyObject
* obj0
= 0 ;
43073 PyObject
* obj1
= 0 ;
43074 char * kwnames
[] = {
43075 (char *) "self",(char *) "grow", NULL
43078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43080 if (!SWIG_IsOK(res1
)) {
43081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43083 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43085 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
43086 if (!SWIG_IsOK(ecode2
)) {
43087 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
43089 arg2
= static_cast< bool >(val2
);
43092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43093 (arg1
)->SetTextCtrlGrowable(arg2
);
43094 wxPyEndAllowThreads(__tstate
);
43095 if (PyErr_Occurred()) SWIG_fail
;
43097 resultobj
= SWIG_Py_Void();
43104 SWIGINTERN PyObject
*_wrap_PickerBase_IsPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43105 PyObject
*resultobj
= 0;
43106 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43110 PyObject
*swig_obj
[1] ;
43112 if (!args
) SWIG_fail
;
43113 swig_obj
[0] = args
;
43114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43115 if (!SWIG_IsOK(res1
)) {
43116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43118 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43121 result
= (bool)((wxPickerBase
const *)arg1
)->IsPickerCtrlGrowable();
43122 wxPyEndAllowThreads(__tstate
);
43123 if (PyErr_Occurred()) SWIG_fail
;
43126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43134 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43135 PyObject
*resultobj
= 0;
43136 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43137 bool arg2
= (bool) true ;
43142 PyObject
* obj0
= 0 ;
43143 PyObject
* obj1
= 0 ;
43144 char * kwnames
[] = {
43145 (char *) "self",(char *) "grow", NULL
43148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43150 if (!SWIG_IsOK(res1
)) {
43151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43153 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43155 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
43156 if (!SWIG_IsOK(ecode2
)) {
43157 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
43159 arg2
= static_cast< bool >(val2
);
43162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43163 (arg1
)->SetPickerCtrlGrowable(arg2
);
43164 wxPyEndAllowThreads(__tstate
);
43165 if (PyErr_Occurred()) SWIG_fail
;
43167 resultobj
= SWIG_Py_Void();
43174 SWIGINTERN PyObject
*_wrap_PickerBase_HasTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43175 PyObject
*resultobj
= 0;
43176 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43180 PyObject
*swig_obj
[1] ;
43182 if (!args
) SWIG_fail
;
43183 swig_obj
[0] = args
;
43184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43185 if (!SWIG_IsOK(res1
)) {
43186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43188 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43191 result
= (bool)((wxPickerBase
const *)arg1
)->HasTextCtrl();
43192 wxPyEndAllowThreads(__tstate
);
43193 if (PyErr_Occurred()) SWIG_fail
;
43196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43204 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43205 PyObject
*resultobj
= 0;
43206 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43207 wxTextCtrl
*result
= 0 ;
43210 PyObject
*swig_obj
[1] ;
43212 if (!args
) SWIG_fail
;
43213 swig_obj
[0] = args
;
43214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43215 if (!SWIG_IsOK(res1
)) {
43216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43218 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43221 result
= (wxTextCtrl
*)(arg1
)->GetTextCtrl();
43222 wxPyEndAllowThreads(__tstate
);
43223 if (PyErr_Occurred()) SWIG_fail
;
43226 resultobj
= wxPyMake_wxObject(result
, 0);
43234 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43235 PyObject
*resultobj
= 0;
43236 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43237 wxControl
*result
= 0 ;
43240 PyObject
*swig_obj
[1] ;
43242 if (!args
) SWIG_fail
;
43243 swig_obj
[0] = args
;
43244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43245 if (!SWIG_IsOK(res1
)) {
43246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43248 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43251 result
= (wxControl
*)(arg1
)->GetPickerCtrl();
43252 wxPyEndAllowThreads(__tstate
);
43253 if (PyErr_Occurred()) SWIG_fail
;
43256 resultobj
= wxPyMake_wxObject(result
, 0);
43264 SWIGINTERN PyObject
*PickerBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43266 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43267 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase
, SWIG_NewClientData(obj
));
43268 return SWIG_Py_Void();
43271 SWIGINTERN
int ColourPickerCtrlNameStr_set(PyObject
*) {
43272 SWIG_Error(SWIG_AttributeError
,"Variable ColourPickerCtrlNameStr is read-only.");
43277 SWIGINTERN PyObject
*ColourPickerCtrlNameStr_get(void) {
43278 PyObject
*pyobj
= 0;
43282 pyobj
= PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43284 pyobj
= PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43291 SWIGINTERN PyObject
*_wrap_new_ColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43292 PyObject
*resultobj
= 0;
43293 wxWindow
*arg1
= (wxWindow
*) 0 ;
43294 int arg2
= (int) -1 ;
43295 wxColour
const &arg3_defvalue
= *wxBLACK
;
43296 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
43297 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
43298 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
43299 wxSize
const &arg5_defvalue
= wxDefaultSize
;
43300 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
43301 long arg6
= (long) wxCLRP_DEFAULT_STYLE
;
43302 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
43303 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
43304 wxString
const &arg8_defvalue
= wxPyColourPickerCtrlNameStr
;
43305 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
43306 wxColourPickerCtrl
*result
= 0 ;
43318 bool temp8
= false ;
43319 PyObject
* obj0
= 0 ;
43320 PyObject
* obj1
= 0 ;
43321 PyObject
* obj2
= 0 ;
43322 PyObject
* obj3
= 0 ;
43323 PyObject
* obj4
= 0 ;
43324 PyObject
* obj5
= 0 ;
43325 PyObject
* obj6
= 0 ;
43326 PyObject
* obj7
= 0 ;
43327 char * kwnames
[] = {
43328 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
43332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43333 if (!SWIG_IsOK(res1
)) {
43334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43336 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43338 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43339 if (!SWIG_IsOK(ecode2
)) {
43340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43342 arg2
= static_cast< int >(val2
);
43347 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43353 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
43359 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
43363 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
43364 if (!SWIG_IsOK(ecode6
)) {
43365 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
43367 arg6
= static_cast< long >(val6
);
43370 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
43371 if (!SWIG_IsOK(res7
)) {
43372 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43375 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43377 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
43381 arg8
= wxString_in_helper(obj7
);
43382 if (arg8
== NULL
) SWIG_fail
;
43387 if (!wxPyCheckForApp()) SWIG_fail
;
43388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43389 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl(arg1
,arg2
,(wxColour
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
43390 wxPyEndAllowThreads(__tstate
);
43391 if (PyErr_Occurred()) SWIG_fail
;
43393 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_NEW
| 0 );
43408 SWIGINTERN PyObject
*_wrap_new_PreColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43409 PyObject
*resultobj
= 0;
43410 wxColourPickerCtrl
*result
= 0 ;
43412 if (!SWIG_Python_UnpackTuple(args
,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail
;
43414 if (!wxPyCheckForApp()) SWIG_fail
;
43415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43416 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl();
43417 wxPyEndAllowThreads(__tstate
);
43418 if (PyErr_Occurred()) SWIG_fail
;
43420 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_OWN
| 0 );
43427 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43428 PyObject
*resultobj
= 0;
43429 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43430 wxWindow
*arg2
= (wxWindow
*) 0 ;
43432 wxColour
const &arg4_defvalue
= *wxBLACK
;
43433 wxColour
*arg4
= (wxColour
*) &arg4_defvalue
;
43434 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
43435 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
43436 wxSize
const &arg6_defvalue
= wxDefaultSize
;
43437 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
43438 long arg7
= (long) wxCLRP_DEFAULT_STYLE
;
43439 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
43440 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
43441 wxString
const &arg9_defvalue
= wxPyColourPickerCtrlNameStr
;
43442 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
43457 bool temp9
= false ;
43458 PyObject
* obj0
= 0 ;
43459 PyObject
* obj1
= 0 ;
43460 PyObject
* obj2
= 0 ;
43461 PyObject
* obj3
= 0 ;
43462 PyObject
* obj4
= 0 ;
43463 PyObject
* obj5
= 0 ;
43464 PyObject
* obj6
= 0 ;
43465 PyObject
* obj7
= 0 ;
43466 PyObject
* obj8
= 0 ;
43467 char * kwnames
[] = {
43468 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
43472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43473 if (!SWIG_IsOK(res1
)) {
43474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43476 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43477 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43478 if (!SWIG_IsOK(res2
)) {
43479 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43481 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43482 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43483 if (!SWIG_IsOK(ecode3
)) {
43484 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43486 arg3
= static_cast< int >(val3
);
43490 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
43496 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
43502 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
43506 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
43507 if (!SWIG_IsOK(ecode7
)) {
43508 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
43510 arg7
= static_cast< long >(val7
);
43513 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
43514 if (!SWIG_IsOK(res8
)) {
43515 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43518 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43520 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
43524 arg9
= wxString_in_helper(obj8
);
43525 if (arg9
== NULL
) SWIG_fail
;
43530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43531 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
43532 wxPyEndAllowThreads(__tstate
);
43533 if (PyErr_Occurred()) SWIG_fail
;
43536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43552 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43553 PyObject
*resultobj
= 0;
43554 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43558 PyObject
*swig_obj
[1] ;
43560 if (!args
) SWIG_fail
;
43561 swig_obj
[0] = args
;
43562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43563 if (!SWIG_IsOK(res1
)) {
43564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
43566 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43569 result
= ((wxColourPickerCtrl
const *)arg1
)->GetColour();
43570 wxPyEndAllowThreads(__tstate
);
43571 if (PyErr_Occurred()) SWIG_fail
;
43573 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43580 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43581 PyObject
*resultobj
= 0;
43582 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43583 wxColour
*arg2
= 0 ;
43587 PyObject
* obj0
= 0 ;
43588 PyObject
* obj1
= 0 ;
43589 char * kwnames
[] = {
43590 (char *) "self",(char *) "col", NULL
43593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerCtrl_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43595 if (!SWIG_IsOK(res1
)) {
43596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43598 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43601 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43605 (arg1
)->SetColour((wxColour
const &)*arg2
);
43606 wxPyEndAllowThreads(__tstate
);
43607 if (PyErr_Occurred()) SWIG_fail
;
43609 resultobj
= SWIG_Py_Void();
43616 SWIGINTERN PyObject
*ColourPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43618 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43619 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl
, SWIG_NewClientData(obj
));
43620 return SWIG_Py_Void();
43623 SWIGINTERN PyObject
*ColourPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43624 return SWIG_Python_InitShadowInstance(args
);
43627 SWIGINTERN PyObject
*_wrap_new_ColourPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43628 PyObject
*resultobj
= 0;
43629 wxObject
*arg1
= (wxObject
*) 0 ;
43631 wxColour
*arg3
= 0 ;
43632 wxColourPickerEvent
*result
= 0 ;
43638 PyObject
* obj0
= 0 ;
43639 PyObject
* obj1
= 0 ;
43640 PyObject
* obj2
= 0 ;
43641 char * kwnames
[] = {
43642 (char *) "generator",(char *) "id",(char *) "col", NULL
43645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ColourPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
43647 if (!SWIG_IsOK(res1
)) {
43648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43650 arg1
= reinterpret_cast< wxObject
* >(argp1
);
43651 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43652 if (!SWIG_IsOK(ecode2
)) {
43653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
43655 arg2
= static_cast< int >(val2
);
43658 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43662 result
= (wxColourPickerEvent
*)new wxColourPickerEvent(arg1
,arg2
,(wxColour
const &)*arg3
);
43663 wxPyEndAllowThreads(__tstate
);
43664 if (PyErr_Occurred()) SWIG_fail
;
43666 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerEvent
, SWIG_POINTER_NEW
| 0 );
43673 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43674 PyObject
*resultobj
= 0;
43675 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43679 PyObject
*swig_obj
[1] ;
43681 if (!args
) SWIG_fail
;
43682 swig_obj
[0] = args
;
43683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43684 if (!SWIG_IsOK(res1
)) {
43685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
43687 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43690 result
= ((wxColourPickerEvent
const *)arg1
)->GetColour();
43691 wxPyEndAllowThreads(__tstate
);
43692 if (PyErr_Occurred()) SWIG_fail
;
43694 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43701 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43702 PyObject
*resultobj
= 0;
43703 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43704 wxColour
*arg2
= 0 ;
43708 PyObject
* obj0
= 0 ;
43709 PyObject
* obj1
= 0 ;
43710 char * kwnames
[] = {
43711 (char *) "self",(char *) "c", NULL
43714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerEvent_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43716 if (!SWIG_IsOK(res1
)) {
43717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
43719 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43722 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43726 (arg1
)->SetColour((wxColour
const &)*arg2
);
43727 wxPyEndAllowThreads(__tstate
);
43728 if (PyErr_Occurred()) SWIG_fail
;
43730 resultobj
= SWIG_Py_Void();
43737 SWIGINTERN PyObject
*ColourPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43739 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43740 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent
, SWIG_NewClientData(obj
));
43741 return SWIG_Py_Void();
43744 SWIGINTERN PyObject
*ColourPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43745 return SWIG_Python_InitShadowInstance(args
);
43748 SWIGINTERN
int FilePickerCtrlNameStr_set(PyObject
*) {
43749 SWIG_Error(SWIG_AttributeError
,"Variable FilePickerCtrlNameStr is read-only.");
43754 SWIGINTERN PyObject
*FilePickerCtrlNameStr_get(void) {
43755 PyObject
*pyobj
= 0;
43759 pyobj
= PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43761 pyobj
= PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43768 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
43769 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
43774 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
43775 PyObject
*pyobj
= 0;
43779 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43781 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43788 SWIGINTERN
int DirPickerCtrlNameStr_set(PyObject
*) {
43789 SWIG_Error(SWIG_AttributeError
,"Variable DirPickerCtrlNameStr is read-only.");
43794 SWIGINTERN PyObject
*DirPickerCtrlNameStr_get(void) {
43795 PyObject
*pyobj
= 0;
43799 pyobj
= PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43801 pyobj
= PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43808 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
43809 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
43814 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
43815 PyObject
*pyobj
= 0;
43819 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43821 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43828 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
43829 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
43834 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
43835 PyObject
*pyobj
= 0;
43839 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43841 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43848 SWIGINTERN PyObject
*_wrap_new_FilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43849 PyObject
*resultobj
= 0;
43850 wxWindow
*arg1
= (wxWindow
*) 0 ;
43851 int arg2
= (int) -1 ;
43852 wxString
const &arg3_defvalue
= wxPyEmptyString
;
43853 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
43854 wxString
const &arg4_defvalue
= wxPyFileSelectorPromptStr
;
43855 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43856 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43857 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43858 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
43859 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
43860 wxSize
const &arg7_defvalue
= wxDefaultSize
;
43861 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
43862 long arg8
= (long) wxFLP_DEFAULT_STYLE
;
43863 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
43864 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
43865 wxString
const &arg10_defvalue
= wxPyFilePickerCtrlNameStr
;
43866 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
43867 wxFilePickerCtrl
*result
= 0 ;
43872 bool temp3
= false ;
43873 bool temp4
= false ;
43874 bool temp5
= false ;
43881 bool temp10
= false ;
43882 PyObject
* obj0
= 0 ;
43883 PyObject
* obj1
= 0 ;
43884 PyObject
* obj2
= 0 ;
43885 PyObject
* obj3
= 0 ;
43886 PyObject
* obj4
= 0 ;
43887 PyObject
* obj5
= 0 ;
43888 PyObject
* obj6
= 0 ;
43889 PyObject
* obj7
= 0 ;
43890 PyObject
* obj8
= 0 ;
43891 PyObject
* obj9
= 0 ;
43892 char * kwnames
[] = {
43893 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
43897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43898 if (!SWIG_IsOK(res1
)) {
43899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43901 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43903 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43904 if (!SWIG_IsOK(ecode2
)) {
43905 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
43907 arg2
= static_cast< int >(val2
);
43911 arg3
= wxString_in_helper(obj2
);
43912 if (arg3
== NULL
) SWIG_fail
;
43918 arg4
= wxString_in_helper(obj3
);
43919 if (arg4
== NULL
) SWIG_fail
;
43925 arg5
= wxString_in_helper(obj4
);
43926 if (arg5
== NULL
) SWIG_fail
;
43933 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
43939 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
43943 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
43944 if (!SWIG_IsOK(ecode8
)) {
43945 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
43947 arg8
= static_cast< long >(val8
);
43950 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
43951 if (!SWIG_IsOK(res9
)) {
43952 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43955 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43957 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
43961 arg10
= wxString_in_helper(obj9
);
43962 if (arg10
== NULL
) SWIG_fail
;
43967 if (!wxPyCheckForApp()) SWIG_fail
;
43968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43969 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
);
43970 wxPyEndAllowThreads(__tstate
);
43971 if (PyErr_Occurred()) SWIG_fail
;
43973 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_NEW
| 0 );
44012 SWIGINTERN PyObject
*_wrap_new_PreFilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44013 PyObject
*resultobj
= 0;
44014 wxFilePickerCtrl
*result
= 0 ;
44016 if (!SWIG_Python_UnpackTuple(args
,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail
;
44018 if (!wxPyCheckForApp()) SWIG_fail
;
44019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44020 result
= (wxFilePickerCtrl
*)new wxFilePickerCtrl();
44021 wxPyEndAllowThreads(__tstate
);
44022 if (PyErr_Occurred()) SWIG_fail
;
44024 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_OWN
| 0 );
44031 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44032 PyObject
*resultobj
= 0;
44033 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44034 wxWindow
*arg2
= (wxWindow
*) 0 ;
44035 int arg3
= (int) -1 ;
44036 wxString
const &arg4_defvalue
= wxPyEmptyString
;
44037 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44038 wxString
const &arg5_defvalue
= wxPyFileSelectorPromptStr
;
44039 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44040 wxString
const &arg6_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
44041 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
44042 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
44043 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
44044 wxSize
const &arg8_defvalue
= wxDefaultSize
;
44045 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
44046 long arg9
= (long) wxFLP_DEFAULT_STYLE
;
44047 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
44048 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
44049 wxString
const &arg11_defvalue
= wxPyFilePickerCtrlNameStr
;
44050 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
44058 bool temp4
= false ;
44059 bool temp5
= false ;
44060 bool temp6
= false ;
44067 bool temp11
= false ;
44068 PyObject
* obj0
= 0 ;
44069 PyObject
* obj1
= 0 ;
44070 PyObject
* obj2
= 0 ;
44071 PyObject
* obj3
= 0 ;
44072 PyObject
* obj4
= 0 ;
44073 PyObject
* obj5
= 0 ;
44074 PyObject
* obj6
= 0 ;
44075 PyObject
* obj7
= 0 ;
44076 PyObject
* obj8
= 0 ;
44077 PyObject
* obj9
= 0 ;
44078 PyObject
* obj10
= 0 ;
44079 char * kwnames
[] = {
44080 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
44084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44085 if (!SWIG_IsOK(res1
)) {
44086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44088 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44089 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44090 if (!SWIG_IsOK(res2
)) {
44091 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44093 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44095 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44096 if (!SWIG_IsOK(ecode3
)) {
44097 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44099 arg3
= static_cast< int >(val3
);
44103 arg4
= wxString_in_helper(obj3
);
44104 if (arg4
== NULL
) SWIG_fail
;
44110 arg5
= wxString_in_helper(obj4
);
44111 if (arg5
== NULL
) SWIG_fail
;
44117 arg6
= wxString_in_helper(obj5
);
44118 if (arg6
== NULL
) SWIG_fail
;
44125 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
44131 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
44135 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
44136 if (!SWIG_IsOK(ecode9
)) {
44137 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
44139 arg9
= static_cast< long >(val9
);
44142 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
44143 if (!SWIG_IsOK(res10
)) {
44144 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
44147 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
44149 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
44153 arg11
= wxString_in_helper(obj10
);
44154 if (arg11
== NULL
) SWIG_fail
;
44159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44160 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
);
44161 wxPyEndAllowThreads(__tstate
);
44162 if (PyErr_Occurred()) SWIG_fail
;
44165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44205 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44206 PyObject
*resultobj
= 0;
44207 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44211 PyObject
*swig_obj
[1] ;
44213 if (!args
) SWIG_fail
;
44214 swig_obj
[0] = args
;
44215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44216 if (!SWIG_IsOK(res1
)) {
44217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44219 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44222 result
= ((wxFilePickerCtrl
const *)arg1
)->GetPath();
44223 wxPyEndAllowThreads(__tstate
);
44224 if (PyErr_Occurred()) SWIG_fail
;
44228 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44230 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44239 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44240 PyObject
*resultobj
= 0;
44241 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44242 wxString
*arg2
= 0 ;
44245 bool temp2
= false ;
44246 PyObject
* obj0
= 0 ;
44247 PyObject
* obj1
= 0 ;
44248 char * kwnames
[] = {
44249 (char *) "self",(char *) "str", NULL
44252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44254 if (!SWIG_IsOK(res1
)) {
44255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44257 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44259 arg2
= wxString_in_helper(obj1
);
44260 if (arg2
== NULL
) SWIG_fail
;
44264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44265 (arg1
)->SetPath((wxString
const &)*arg2
);
44266 wxPyEndAllowThreads(__tstate
);
44267 if (PyErr_Occurred()) SWIG_fail
;
44269 resultobj
= SWIG_Py_Void();
44284 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44285 PyObject
*resultobj
= 0;
44286 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44287 wxString
*arg2
= 0 ;
44291 bool temp2
= false ;
44292 PyObject
* obj0
= 0 ;
44293 PyObject
* obj1
= 0 ;
44294 char * kwnames
[] = {
44295 (char *) "self",(char *) "path", NULL
44298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44300 if (!SWIG_IsOK(res1
)) {
44301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44303 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44305 arg2
= wxString_in_helper(obj1
);
44306 if (arg2
== NULL
) SWIG_fail
;
44310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44311 result
= (bool)((wxFilePickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44312 wxPyEndAllowThreads(__tstate
);
44313 if (PyErr_Occurred()) SWIG_fail
;
44316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44332 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44333 PyObject
*resultobj
= 0;
44334 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44338 PyObject
*swig_obj
[1] ;
44340 if (!args
) SWIG_fail
;
44341 swig_obj
[0] = args
;
44342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44343 if (!SWIG_IsOK(res1
)) {
44344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44346 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44349 result
= ((wxFilePickerCtrl
const *)arg1
)->GetTextCtrlValue();
44350 wxPyEndAllowThreads(__tstate
);
44351 if (PyErr_Occurred()) SWIG_fail
;
44355 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44357 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44366 SWIGINTERN PyObject
*FilePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44368 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44369 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl
, SWIG_NewClientData(obj
));
44370 return SWIG_Py_Void();
44373 SWIGINTERN PyObject
*FilePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44374 return SWIG_Python_InitShadowInstance(args
);
44377 SWIGINTERN PyObject
*_wrap_new_DirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44378 PyObject
*resultobj
= 0;
44379 wxWindow
*arg1
= (wxWindow
*) 0 ;
44380 int arg2
= (int) -1 ;
44381 wxString
const &arg3_defvalue
= wxPyEmptyString
;
44382 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
44383 wxString
const &arg4_defvalue
= wxPyDirSelectorPromptStr
;
44384 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44385 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44386 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44387 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44388 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44389 long arg7
= (long) wxDIRP_DEFAULT_STYLE
;
44390 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
44391 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
44392 wxString
const &arg9_defvalue
= wxPyDirPickerCtrlNameStr
;
44393 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
44394 wxDirPickerCtrl
*result
= 0 ;
44399 bool temp3
= false ;
44400 bool temp4
= false ;
44407 bool temp9
= false ;
44408 PyObject
* obj0
= 0 ;
44409 PyObject
* obj1
= 0 ;
44410 PyObject
* obj2
= 0 ;
44411 PyObject
* obj3
= 0 ;
44412 PyObject
* obj4
= 0 ;
44413 PyObject
* obj5
= 0 ;
44414 PyObject
* obj6
= 0 ;
44415 PyObject
* obj7
= 0 ;
44416 PyObject
* obj8
= 0 ;
44417 char * kwnames
[] = {
44418 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
44422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44423 if (!SWIG_IsOK(res1
)) {
44424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44426 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44428 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44429 if (!SWIG_IsOK(ecode2
)) {
44430 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44432 arg2
= static_cast< int >(val2
);
44436 arg3
= wxString_in_helper(obj2
);
44437 if (arg3
== NULL
) SWIG_fail
;
44443 arg4
= wxString_in_helper(obj3
);
44444 if (arg4
== NULL
) SWIG_fail
;
44451 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
44457 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
44461 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
44462 if (!SWIG_IsOK(ecode7
)) {
44463 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
44465 arg7
= static_cast< long >(val7
);
44468 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
44469 if (!SWIG_IsOK(res8
)) {
44470 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44473 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44475 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
44479 arg9
= wxString_in_helper(obj8
);
44480 if (arg9
== NULL
) SWIG_fail
;
44485 if (!wxPyCheckForApp()) SWIG_fail
;
44486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44487 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
);
44488 wxPyEndAllowThreads(__tstate
);
44489 if (PyErr_Occurred()) SWIG_fail
;
44491 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44522 SWIGINTERN PyObject
*_wrap_new_PreDirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44523 PyObject
*resultobj
= 0;
44524 wxDirPickerCtrl
*result
= 0 ;
44526 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail
;
44528 if (!wxPyCheckForApp()) SWIG_fail
;
44529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44530 result
= (wxDirPickerCtrl
*)new wxDirPickerCtrl();
44531 wxPyEndAllowThreads(__tstate
);
44532 if (PyErr_Occurred()) SWIG_fail
;
44534 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44541 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44542 PyObject
*resultobj
= 0;
44543 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44544 wxWindow
*arg2
= (wxWindow
*) 0 ;
44545 int arg3
= (int) -1 ;
44546 wxString
const &arg4_defvalue
= wxPyEmptyString
;
44547 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44548 wxString
const &arg5_defvalue
= wxPyDirSelectorPromptStr
;
44549 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44550 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
44551 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
44552 wxSize
const &arg7_defvalue
= wxDefaultSize
;
44553 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
44554 long arg8
= (long) wxDIRP_DEFAULT_STYLE
;
44555 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
44556 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
44557 wxString
const &arg10_defvalue
= wxPyDirPickerCtrlNameStr
;
44558 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
44566 bool temp4
= false ;
44567 bool temp5
= false ;
44574 bool temp10
= false ;
44575 PyObject
* obj0
= 0 ;
44576 PyObject
* obj1
= 0 ;
44577 PyObject
* obj2
= 0 ;
44578 PyObject
* obj3
= 0 ;
44579 PyObject
* obj4
= 0 ;
44580 PyObject
* obj5
= 0 ;
44581 PyObject
* obj6
= 0 ;
44582 PyObject
* obj7
= 0 ;
44583 PyObject
* obj8
= 0 ;
44584 PyObject
* obj9
= 0 ;
44585 char * kwnames
[] = {
44586 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
44590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44591 if (!SWIG_IsOK(res1
)) {
44592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44594 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44595 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44596 if (!SWIG_IsOK(res2
)) {
44597 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44599 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44601 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44602 if (!SWIG_IsOK(ecode3
)) {
44603 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44605 arg3
= static_cast< int >(val3
);
44609 arg4
= wxString_in_helper(obj3
);
44610 if (arg4
== NULL
) SWIG_fail
;
44616 arg5
= wxString_in_helper(obj4
);
44617 if (arg5
== NULL
) SWIG_fail
;
44624 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
44630 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
44634 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
44635 if (!SWIG_IsOK(ecode8
)) {
44636 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
44638 arg8
= static_cast< long >(val8
);
44641 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
44642 if (!SWIG_IsOK(res9
)) {
44643 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44646 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44648 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
44652 arg10
= wxString_in_helper(obj9
);
44653 if (arg10
== NULL
) SWIG_fail
;
44658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44659 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
);
44660 wxPyEndAllowThreads(__tstate
);
44661 if (PyErr_Occurred()) SWIG_fail
;
44664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44696 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44697 PyObject
*resultobj
= 0;
44698 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44702 PyObject
*swig_obj
[1] ;
44704 if (!args
) SWIG_fail
;
44705 swig_obj
[0] = args
;
44706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44707 if (!SWIG_IsOK(res1
)) {
44708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44710 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44713 result
= ((wxDirPickerCtrl
const *)arg1
)->GetPath();
44714 wxPyEndAllowThreads(__tstate
);
44715 if (PyErr_Occurred()) SWIG_fail
;
44719 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44721 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44730 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44731 PyObject
*resultobj
= 0;
44732 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44733 wxString
*arg2
= 0 ;
44736 bool temp2
= false ;
44737 PyObject
* obj0
= 0 ;
44738 PyObject
* obj1
= 0 ;
44739 char * kwnames
[] = {
44740 (char *) "self",(char *) "str", NULL
44743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44745 if (!SWIG_IsOK(res1
)) {
44746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44748 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44750 arg2
= wxString_in_helper(obj1
);
44751 if (arg2
== NULL
) SWIG_fail
;
44755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44756 (arg1
)->SetPath((wxString
const &)*arg2
);
44757 wxPyEndAllowThreads(__tstate
);
44758 if (PyErr_Occurred()) SWIG_fail
;
44760 resultobj
= SWIG_Py_Void();
44775 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44776 PyObject
*resultobj
= 0;
44777 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44778 wxString
*arg2
= 0 ;
44782 bool temp2
= false ;
44783 PyObject
* obj0
= 0 ;
44784 PyObject
* obj1
= 0 ;
44785 char * kwnames
[] = {
44786 (char *) "self",(char *) "path", NULL
44789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44791 if (!SWIG_IsOK(res1
)) {
44792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44794 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44796 arg2
= wxString_in_helper(obj1
);
44797 if (arg2
== NULL
) SWIG_fail
;
44801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44802 result
= (bool)((wxDirPickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44803 wxPyEndAllowThreads(__tstate
);
44804 if (PyErr_Occurred()) SWIG_fail
;
44807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44823 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44824 PyObject
*resultobj
= 0;
44825 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44829 PyObject
*swig_obj
[1] ;
44831 if (!args
) SWIG_fail
;
44832 swig_obj
[0] = args
;
44833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44834 if (!SWIG_IsOK(res1
)) {
44835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44837 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44840 result
= ((wxDirPickerCtrl
const *)arg1
)->GetTextCtrlValue();
44841 wxPyEndAllowThreads(__tstate
);
44842 if (PyErr_Occurred()) SWIG_fail
;
44846 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44848 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44857 SWIGINTERN PyObject
*DirPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44859 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44860 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl
, SWIG_NewClientData(obj
));
44861 return SWIG_Py_Void();
44864 SWIGINTERN PyObject
*DirPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44865 return SWIG_Python_InitShadowInstance(args
);
44868 SWIGINTERN PyObject
*_wrap_new_FileDirPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44869 PyObject
*resultobj
= 0;
44871 wxObject
*arg2
= (wxObject
*) 0 ;
44873 wxString
*arg4
= 0 ;
44874 wxFileDirPickerEvent
*result
= 0 ;
44881 bool temp4
= false ;
44882 PyObject
* obj0
= 0 ;
44883 PyObject
* obj1
= 0 ;
44884 PyObject
* obj2
= 0 ;
44885 PyObject
* obj3
= 0 ;
44886 char * kwnames
[] = {
44887 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
44890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileDirPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
44891 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
44892 if (!SWIG_IsOK(ecode1
)) {
44893 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
44895 arg1
= static_cast< wxEventType
>(val1
);
44896 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxObject
, 0 | 0 );
44897 if (!SWIG_IsOK(res2
)) {
44898 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
44900 arg2
= reinterpret_cast< wxObject
* >(argp2
);
44901 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44902 if (!SWIG_IsOK(ecode3
)) {
44903 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
44905 arg3
= static_cast< int >(val3
);
44907 arg4
= wxString_in_helper(obj3
);
44908 if (arg4
== NULL
) SWIG_fail
;
44912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44913 result
= (wxFileDirPickerEvent
*)new wxFileDirPickerEvent(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
44914 wxPyEndAllowThreads(__tstate
);
44915 if (PyErr_Occurred()) SWIG_fail
;
44917 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_POINTER_NEW
| 0 );
44932 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44933 PyObject
*resultobj
= 0;
44934 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44938 PyObject
*swig_obj
[1] ;
44940 if (!args
) SWIG_fail
;
44941 swig_obj
[0] = args
;
44942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44943 if (!SWIG_IsOK(res1
)) {
44944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
44946 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44949 result
= ((wxFileDirPickerEvent
const *)arg1
)->GetPath();
44950 wxPyEndAllowThreads(__tstate
);
44951 if (PyErr_Occurred()) SWIG_fail
;
44955 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44957 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44966 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44967 PyObject
*resultobj
= 0;
44968 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44969 wxString
*arg2
= 0 ;
44972 bool temp2
= false ;
44973 PyObject
* obj0
= 0 ;
44974 PyObject
* obj1
= 0 ;
44975 char * kwnames
[] = {
44976 (char *) "self",(char *) "p", NULL
44979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDirPickerEvent_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44981 if (!SWIG_IsOK(res1
)) {
44982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
44984 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44986 arg2
= wxString_in_helper(obj1
);
44987 if (arg2
== NULL
) SWIG_fail
;
44991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44992 (arg1
)->SetPath((wxString
const &)*arg2
);
44993 wxPyEndAllowThreads(__tstate
);
44994 if (PyErr_Occurred()) SWIG_fail
;
44996 resultobj
= SWIG_Py_Void();
45011 SWIGINTERN PyObject
*FileDirPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45013 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45014 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_NewClientData(obj
));
45015 return SWIG_Py_Void();
45018 SWIGINTERN PyObject
*FileDirPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45019 return SWIG_Python_InitShadowInstance(args
);
45022 SWIGINTERN
int FontPickerCtrlNameStr_set(PyObject
*) {
45023 SWIG_Error(SWIG_AttributeError
,"Variable FontPickerCtrlNameStr is read-only.");
45028 SWIGINTERN PyObject
*FontPickerCtrlNameStr_get(void) {
45029 PyObject
*pyobj
= 0;
45033 pyobj
= PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
45035 pyobj
= PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
45042 SWIGINTERN PyObject
*_wrap_new_FontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45043 PyObject
*resultobj
= 0;
45044 wxWindow
*arg1
= (wxWindow
*) 0 ;
45045 int arg2
= (int) -1 ;
45046 wxFont
const &arg3_defvalue
= wxNullFont
;
45047 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
45048 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
45049 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
45050 wxSize
const &arg5_defvalue
= wxDefaultSize
;
45051 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
45052 long arg6
= (long) wxFNTP_DEFAULT_STYLE
;
45053 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
45054 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
45055 wxString
const &arg8_defvalue
= wxPyFontPickerCtrlNameStr
;
45056 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
45057 wxFontPickerCtrl
*result
= 0 ;
45070 bool temp8
= false ;
45071 PyObject
* obj0
= 0 ;
45072 PyObject
* obj1
= 0 ;
45073 PyObject
* obj2
= 0 ;
45074 PyObject
* obj3
= 0 ;
45075 PyObject
* obj4
= 0 ;
45076 PyObject
* obj5
= 0 ;
45077 PyObject
* obj6
= 0 ;
45078 PyObject
* obj7
= 0 ;
45079 char * kwnames
[] = {
45080 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
45084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45085 if (!SWIG_IsOK(res1
)) {
45086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
45088 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
45090 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45091 if (!SWIG_IsOK(ecode2
)) {
45092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
45094 arg2
= static_cast< int >(val2
);
45097 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
45098 if (!SWIG_IsOK(res3
)) {
45099 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
45102 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
45104 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45109 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
45115 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
45119 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
45120 if (!SWIG_IsOK(ecode6
)) {
45121 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
45123 arg6
= static_cast< long >(val6
);
45126 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
45127 if (!SWIG_IsOK(res7
)) {
45128 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
45131 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
45133 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
45137 arg8
= wxString_in_helper(obj7
);
45138 if (arg8
== NULL
) SWIG_fail
;
45143 if (!wxPyCheckForApp()) SWIG_fail
;
45144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45145 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl(arg1
,arg2
,(wxFont
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
45146 wxPyEndAllowThreads(__tstate
);
45147 if (PyErr_Occurred()) SWIG_fail
;
45149 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_NEW
| 0 );
45164 SWIGINTERN PyObject
*_wrap_new_PreFontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45165 PyObject
*resultobj
= 0;
45166 wxFontPickerCtrl
*result
= 0 ;
45168 if (!SWIG_Python_UnpackTuple(args
,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail
;
45170 if (!wxPyCheckForApp()) SWIG_fail
;
45171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45172 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl();
45173 wxPyEndAllowThreads(__tstate
);
45174 if (PyErr_Occurred()) SWIG_fail
;
45176 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_OWN
| 0 );
45183 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45184 PyObject
*resultobj
= 0;
45185 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45186 wxWindow
*arg2
= (wxWindow
*) 0 ;
45187 int arg3
= (int) -1 ;
45188 wxFont
const &arg4_defvalue
= wxNullFont
;
45189 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
45190 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
45191 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
45192 wxSize
const &arg6_defvalue
= wxDefaultSize
;
45193 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
45194 long arg7
= (long) wxFNTP_DEFAULT_STYLE
;
45195 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
45196 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
45197 wxString
const &arg9_defvalue
= wxPyFontPickerCtrlNameStr
;
45198 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
45214 bool temp9
= false ;
45215 PyObject
* obj0
= 0 ;
45216 PyObject
* obj1
= 0 ;
45217 PyObject
* obj2
= 0 ;
45218 PyObject
* obj3
= 0 ;
45219 PyObject
* obj4
= 0 ;
45220 PyObject
* obj5
= 0 ;
45221 PyObject
* obj6
= 0 ;
45222 PyObject
* obj7
= 0 ;
45223 PyObject
* obj8
= 0 ;
45224 char * kwnames
[] = {
45225 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
45229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45230 if (!SWIG_IsOK(res1
)) {
45231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45233 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45234 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45235 if (!SWIG_IsOK(res2
)) {
45236 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45238 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45240 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45241 if (!SWIG_IsOK(ecode3
)) {
45242 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
45244 arg3
= static_cast< int >(val3
);
45247 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxFont
, 0 | 0);
45248 if (!SWIG_IsOK(res4
)) {
45249 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45252 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45254 arg4
= reinterpret_cast< wxFont
* >(argp4
);
45259 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
45265 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
45269 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
45270 if (!SWIG_IsOK(ecode7
)) {
45271 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
45273 arg7
= static_cast< long >(val7
);
45276 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
45277 if (!SWIG_IsOK(res8
)) {
45278 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45281 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45283 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
45287 arg9
= wxString_in_helper(obj8
);
45288 if (arg9
== NULL
) SWIG_fail
;
45293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45294 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxFont
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
45295 wxPyEndAllowThreads(__tstate
);
45296 if (PyErr_Occurred()) SWIG_fail
;
45299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45315 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45316 PyObject
*resultobj
= 0;
45317 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45321 PyObject
*swig_obj
[1] ;
45323 if (!args
) SWIG_fail
;
45324 swig_obj
[0] = args
;
45325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45326 if (!SWIG_IsOK(res1
)) {
45327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45329 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45332 result
= ((wxFontPickerCtrl
const *)arg1
)->GetSelectedFont();
45333 wxPyEndAllowThreads(__tstate
);
45334 if (PyErr_Occurred()) SWIG_fail
;
45336 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45343 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45344 PyObject
*resultobj
= 0;
45345 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45351 PyObject
* obj0
= 0 ;
45352 PyObject
* obj1
= 0 ;
45353 char * kwnames
[] = {
45354 (char *) "self",(char *) "f", NULL
45357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45359 if (!SWIG_IsOK(res1
)) {
45360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45362 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45363 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45364 if (!SWIG_IsOK(res2
)) {
45365 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45368 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45370 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45373 (arg1
)->SetSelectedFont((wxFont
const &)*arg2
);
45374 wxPyEndAllowThreads(__tstate
);
45375 if (PyErr_Occurred()) SWIG_fail
;
45377 resultobj
= SWIG_Py_Void();
45384 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45385 PyObject
*resultobj
= 0;
45386 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45387 unsigned int arg2
;
45390 unsigned int val2
;
45392 PyObject
* obj0
= 0 ;
45393 PyObject
* obj1
= 0 ;
45394 char * kwnames
[] = {
45395 (char *) "self",(char *) "max", NULL
45398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45400 if (!SWIG_IsOK(res1
)) {
45401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45403 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45404 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
45405 if (!SWIG_IsOK(ecode2
)) {
45406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
45408 arg2
= static_cast< unsigned int >(val2
);
45410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45411 (arg1
)->SetMaxPointSize(arg2
);
45412 wxPyEndAllowThreads(__tstate
);
45413 if (PyErr_Occurred()) SWIG_fail
;
45415 resultobj
= SWIG_Py_Void();
45422 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45423 PyObject
*resultobj
= 0;
45424 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45425 unsigned int result
;
45428 PyObject
*swig_obj
[1] ;
45430 if (!args
) SWIG_fail
;
45431 swig_obj
[0] = args
;
45432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45433 if (!SWIG_IsOK(res1
)) {
45434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45436 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45439 result
= (unsigned int)((wxFontPickerCtrl
const *)arg1
)->GetMaxPointSize();
45440 wxPyEndAllowThreads(__tstate
);
45441 if (PyErr_Occurred()) SWIG_fail
;
45443 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
45450 SWIGINTERN PyObject
*FontPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45452 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45453 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl
, SWIG_NewClientData(obj
));
45454 return SWIG_Py_Void();
45457 SWIGINTERN PyObject
*FontPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45458 return SWIG_Python_InitShadowInstance(args
);
45461 SWIGINTERN PyObject
*_wrap_new_FontPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45462 PyObject
*resultobj
= 0;
45463 wxObject
*arg1
= (wxObject
*) 0 ;
45466 wxFontPickerEvent
*result
= 0 ;
45473 PyObject
* obj0
= 0 ;
45474 PyObject
* obj1
= 0 ;
45475 PyObject
* obj2
= 0 ;
45476 char * kwnames
[] = {
45477 (char *) "generator",(char *) "id",(char *) "f", NULL
45480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_FontPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
45482 if (!SWIG_IsOK(res1
)) {
45483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45485 arg1
= reinterpret_cast< wxObject
* >(argp1
);
45486 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45487 if (!SWIG_IsOK(ecode2
)) {
45488 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
45490 arg2
= static_cast< int >(val2
);
45491 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
45492 if (!SWIG_IsOK(res3
)) {
45493 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45496 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45498 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45501 result
= (wxFontPickerEvent
*)new wxFontPickerEvent(arg1
,arg2
,(wxFont
const &)*arg3
);
45502 wxPyEndAllowThreads(__tstate
);
45503 if (PyErr_Occurred()) SWIG_fail
;
45505 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerEvent
, SWIG_POINTER_NEW
| 0 );
45512 SWIGINTERN PyObject
*_wrap_FontPickerEvent_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45513 PyObject
*resultobj
= 0;
45514 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45518 PyObject
*swig_obj
[1] ;
45520 if (!args
) SWIG_fail
;
45521 swig_obj
[0] = args
;
45522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45523 if (!SWIG_IsOK(res1
)) {
45524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
45526 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45529 result
= ((wxFontPickerEvent
const *)arg1
)->GetFont();
45530 wxPyEndAllowThreads(__tstate
);
45531 if (PyErr_Occurred()) SWIG_fail
;
45533 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45540 SWIGINTERN PyObject
*_wrap_FontPickerEvent_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45541 PyObject
*resultobj
= 0;
45542 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45548 PyObject
* obj0
= 0 ;
45549 PyObject
* obj1
= 0 ;
45550 char * kwnames
[] = {
45551 (char *) "self",(char *) "c", NULL
45554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerEvent_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45556 if (!SWIG_IsOK(res1
)) {
45557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
45559 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45560 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45561 if (!SWIG_IsOK(res2
)) {
45562 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45565 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45567 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45570 (arg1
)->SetFont((wxFont
const &)*arg2
);
45571 wxPyEndAllowThreads(__tstate
);
45572 if (PyErr_Occurred()) SWIG_fail
;
45574 resultobj
= SWIG_Py_Void();
45581 SWIGINTERN PyObject
*FontPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45583 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45584 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent
, SWIG_NewClientData(obj
));
45585 return SWIG_Py_Void();
45588 SWIGINTERN PyObject
*FontPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45589 return SWIG_Python_InitShadowInstance(args
);
45592 SWIGINTERN
int CollapsiblePaneNameStr_set(PyObject
*) {
45593 SWIG_Error(SWIG_AttributeError
,"Variable CollapsiblePaneNameStr is read-only.");
45598 SWIGINTERN PyObject
*CollapsiblePaneNameStr_get(void) {
45599 PyObject
*pyobj
= 0;
45603 pyobj
= PyUnicode_FromWideChar((&wxPyCollapsiblePaneNameStr
)->c_str(), (&wxPyCollapsiblePaneNameStr
)->Len());
45605 pyobj
= PyString_FromStringAndSize((&wxPyCollapsiblePaneNameStr
)->c_str(), (&wxPyCollapsiblePaneNameStr
)->Len());
45612 SWIGINTERN PyObject
*_wrap_new_CollapsiblePane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45613 PyObject
*resultobj
= 0;
45614 wxWindow
*arg1
= (wxWindow
*) 0 ;
45615 int arg2
= (int) -1 ;
45616 wxString
const &arg3_defvalue
= wxPyEmptyString
;
45617 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
45618 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
45619 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
45620 wxSize
const &arg5_defvalue
= wxDefaultSize
;
45621 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
45622 long arg6
= (long) wxCP_DEFAULT_STYLE
;
45623 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
45624 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
45625 wxString
const &arg8_defvalue
= wxPyCollapsiblePaneNameStr
;
45626 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
45627 wxCollapsiblePane
*result
= 0 ;
45632 bool temp3
= false ;
45639 bool temp8
= false ;
45640 PyObject
* obj0
= 0 ;
45641 PyObject
* obj1
= 0 ;
45642 PyObject
* obj2
= 0 ;
45643 PyObject
* obj3
= 0 ;
45644 PyObject
* obj4
= 0 ;
45645 PyObject
* obj5
= 0 ;
45646 PyObject
* obj6
= 0 ;
45647 PyObject
* obj7
= 0 ;
45648 char * kwnames
[] = {
45649 (char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CollapsiblePane",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
45653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45654 if (!SWIG_IsOK(res1
)) {
45655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CollapsiblePane" "', expected argument " "1"" of type '" "wxWindow *""'");
45657 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
45659 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45660 if (!SWIG_IsOK(ecode2
)) {
45661 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CollapsiblePane" "', expected argument " "2"" of type '" "int""'");
45663 arg2
= static_cast< int >(val2
);
45667 arg3
= wxString_in_helper(obj2
);
45668 if (arg3
== NULL
) SWIG_fail
;
45675 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
45681 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
45685 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
45686 if (!SWIG_IsOK(ecode6
)) {
45687 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CollapsiblePane" "', expected argument " "6"" of type '" "long""'");
45689 arg6
= static_cast< long >(val6
);
45692 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
45693 if (!SWIG_IsOK(res7
)) {
45694 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45697 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45699 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
45703 arg8
= wxString_in_helper(obj7
);
45704 if (arg8
== NULL
) SWIG_fail
;
45709 if (!wxPyCheckForApp()) SWIG_fail
;
45710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45711 result
= (wxCollapsiblePane
*)new wxCollapsiblePane(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
45712 wxPyEndAllowThreads(__tstate
);
45713 if (PyErr_Occurred()) SWIG_fail
;
45715 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePane
, SWIG_POINTER_NEW
| 0 );
45738 SWIGINTERN PyObject
*_wrap_new_PreCollapsiblePane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45739 PyObject
*resultobj
= 0;
45740 wxCollapsiblePane
*result
= 0 ;
45742 if (!SWIG_Python_UnpackTuple(args
,"new_PreCollapsiblePane",0,0,0)) SWIG_fail
;
45744 if (!wxPyCheckForApp()) SWIG_fail
;
45745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45746 result
= (wxCollapsiblePane
*)new wxCollapsiblePane();
45747 wxPyEndAllowThreads(__tstate
);
45748 if (PyErr_Occurred()) SWIG_fail
;
45750 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePane
, SWIG_POINTER_OWN
| 0 );
45757 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45758 PyObject
*resultobj
= 0;
45759 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45760 wxWindow
*arg2
= (wxWindow
*) 0 ;
45761 int arg3
= (int) -1 ;
45762 wxString
const &arg4_defvalue
= wxPyEmptyString
;
45763 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
45764 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
45765 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
45766 wxSize
const &arg6_defvalue
= wxDefaultSize
;
45767 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
45768 long arg7
= (long) wxCP_DEFAULT_STYLE
;
45769 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
45770 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
45771 wxString
const &arg9_defvalue
= wxPyCollapsiblePaneNameStr
;
45772 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
45780 bool temp4
= false ;
45787 bool temp9
= false ;
45788 PyObject
* obj0
= 0 ;
45789 PyObject
* obj1
= 0 ;
45790 PyObject
* obj2
= 0 ;
45791 PyObject
* obj3
= 0 ;
45792 PyObject
* obj4
= 0 ;
45793 PyObject
* obj5
= 0 ;
45794 PyObject
* obj6
= 0 ;
45795 PyObject
* obj7
= 0 ;
45796 PyObject
* obj8
= 0 ;
45797 char * kwnames
[] = {
45798 (char *) "self",(char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CollapsiblePane_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
45802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45803 if (!SWIG_IsOK(res1
)) {
45804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Create" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45806 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45807 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45808 if (!SWIG_IsOK(res2
)) {
45809 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CollapsiblePane_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45811 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45813 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45814 if (!SWIG_IsOK(ecode3
)) {
45815 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CollapsiblePane_Create" "', expected argument " "3"" of type '" "int""'");
45817 arg3
= static_cast< int >(val3
);
45821 arg4
= wxString_in_helper(obj3
);
45822 if (arg4
== NULL
) SWIG_fail
;
45829 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
45835 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
45839 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
45840 if (!SWIG_IsOK(ecode7
)) {
45841 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CollapsiblePane_Create" "', expected argument " "7"" of type '" "long""'");
45843 arg7
= static_cast< long >(val7
);
45846 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
45847 if (!SWIG_IsOK(res8
)) {
45848 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45851 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45853 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
45857 arg9
= wxString_in_helper(obj8
);
45858 if (arg9
== NULL
) SWIG_fail
;
45863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45864 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
45865 wxPyEndAllowThreads(__tstate
);
45866 if (PyErr_Occurred()) SWIG_fail
;
45869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45893 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45894 PyObject
*resultobj
= 0;
45895 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45896 bool arg2
= (bool) true ;
45901 PyObject
* obj0
= 0 ;
45902 PyObject
* obj1
= 0 ;
45903 char * kwnames
[] = {
45904 (char *) "self",(char *) "collapse", NULL
45907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CollapsiblePane_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45909 if (!SWIG_IsOK(res1
)) {
45910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Collapse" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45912 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45914 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
45915 if (!SWIG_IsOK(ecode2
)) {
45916 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CollapsiblePane_Collapse" "', expected argument " "2"" of type '" "bool""'");
45918 arg2
= static_cast< bool >(val2
);
45921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45922 (arg1
)->Collapse(arg2
);
45923 wxPyEndAllowThreads(__tstate
);
45924 if (PyErr_Occurred()) SWIG_fail
;
45926 resultobj
= SWIG_Py_Void();
45933 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45934 PyObject
*resultobj
= 0;
45935 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45938 PyObject
*swig_obj
[1] ;
45940 if (!args
) SWIG_fail
;
45941 swig_obj
[0] = args
;
45942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45943 if (!SWIG_IsOK(res1
)) {
45944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Expand" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45946 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45950 wxPyEndAllowThreads(__tstate
);
45951 if (PyErr_Occurred()) SWIG_fail
;
45953 resultobj
= SWIG_Py_Void();
45960 SWIGINTERN PyObject
*_wrap_CollapsiblePane_IsCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45961 PyObject
*resultobj
= 0;
45962 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45966 PyObject
*swig_obj
[1] ;
45968 if (!args
) SWIG_fail
;
45969 swig_obj
[0] = args
;
45970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45971 if (!SWIG_IsOK(res1
)) {
45972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_IsCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
45974 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45977 result
= (bool)((wxCollapsiblePane
const *)arg1
)->IsCollapsed();
45978 wxPyEndAllowThreads(__tstate
);
45979 if (PyErr_Occurred()) SWIG_fail
;
45982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45990 SWIGINTERN PyObject
*_wrap_CollapsiblePane_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45991 PyObject
*resultobj
= 0;
45992 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45996 PyObject
*swig_obj
[1] ;
45998 if (!args
) SWIG_fail
;
45999 swig_obj
[0] = args
;
46000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46001 if (!SWIG_IsOK(res1
)) {
46002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_IsExpanded" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
46004 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46007 result
= (bool)((wxCollapsiblePane
const *)arg1
)->IsExpanded();
46008 wxPyEndAllowThreads(__tstate
);
46009 if (PyErr_Occurred()) SWIG_fail
;
46012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46020 SWIGINTERN PyObject
*_wrap_CollapsiblePane_GetPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46021 PyObject
*resultobj
= 0;
46022 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
46023 wxWindow
*result
= 0 ;
46026 PyObject
*swig_obj
[1] ;
46028 if (!args
) SWIG_fail
;
46029 swig_obj
[0] = args
;
46030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46031 if (!SWIG_IsOK(res1
)) {
46032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_GetPane" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
46034 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46037 result
= (wxWindow
*)((wxCollapsiblePane
const *)arg1
)->GetPane();
46038 wxPyEndAllowThreads(__tstate
);
46039 if (PyErr_Occurred()) SWIG_fail
;
46042 resultobj
= wxPyMake_wxObject(result
, 0);
46050 SWIGINTERN PyObject
*CollapsiblePane_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46052 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
46053 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePane
, SWIG_NewClientData(obj
));
46054 return SWIG_Py_Void();
46057 SWIGINTERN PyObject
*CollapsiblePane_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46058 return SWIG_Python_InitShadowInstance(args
);
46061 SWIGINTERN PyObject
*_wrap_new_CollapsiblePaneEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46062 PyObject
*resultobj
= 0;
46063 wxObject
*arg1
= (wxObject
*) 0 ;
46066 wxCollapsiblePaneEvent
*result
= 0 ;
46073 PyObject
* obj0
= 0 ;
46074 PyObject
* obj1
= 0 ;
46075 PyObject
* obj2
= 0 ;
46076 char * kwnames
[] = {
46077 (char *) "generator",(char *) "id",(char *) "collapsed", NULL
46080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_CollapsiblePaneEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
46081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
46082 if (!SWIG_IsOK(res1
)) {
46083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "1"" of type '" "wxObject *""'");
46085 arg1
= reinterpret_cast< wxObject
* >(argp1
);
46086 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46087 if (!SWIG_IsOK(ecode2
)) {
46088 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "2"" of type '" "int""'");
46090 arg2
= static_cast< int >(val2
);
46091 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
46092 if (!SWIG_IsOK(ecode3
)) {
46093 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "3"" of type '" "bool""'");
46095 arg3
= static_cast< bool >(val3
);
46097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46098 result
= (wxCollapsiblePaneEvent
*)new wxCollapsiblePaneEvent(arg1
,arg2
,arg3
);
46099 wxPyEndAllowThreads(__tstate
);
46100 if (PyErr_Occurred()) SWIG_fail
;
46102 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePaneEvent
, SWIG_POINTER_NEW
| 0 );
46109 SWIGINTERN PyObject
*_wrap_CollapsiblePaneEvent_GetCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46110 PyObject
*resultobj
= 0;
46111 wxCollapsiblePaneEvent
*arg1
= (wxCollapsiblePaneEvent
*) 0 ;
46115 PyObject
*swig_obj
[1] ;
46117 if (!args
) SWIG_fail
;
46118 swig_obj
[0] = args
;
46119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePaneEvent
, 0 | 0 );
46120 if (!SWIG_IsOK(res1
)) {
46121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePaneEvent_GetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent const *""'");
46123 arg1
= reinterpret_cast< wxCollapsiblePaneEvent
* >(argp1
);
46125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46126 result
= (bool)((wxCollapsiblePaneEvent
const *)arg1
)->GetCollapsed();
46127 wxPyEndAllowThreads(__tstate
);
46128 if (PyErr_Occurred()) SWIG_fail
;
46131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46139 SWIGINTERN PyObject
*_wrap_CollapsiblePaneEvent_SetCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46140 PyObject
*resultobj
= 0;
46141 wxCollapsiblePaneEvent
*arg1
= (wxCollapsiblePaneEvent
*) 0 ;
46147 PyObject
* obj0
= 0 ;
46148 PyObject
* obj1
= 0 ;
46149 char * kwnames
[] = {
46150 (char *) "self",(char *) "c", NULL
46153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CollapsiblePaneEvent_SetCollapsed",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePaneEvent
, 0 | 0 );
46155 if (!SWIG_IsOK(res1
)) {
46156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent *""'");
46158 arg1
= reinterpret_cast< wxCollapsiblePaneEvent
* >(argp1
);
46159 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46160 if (!SWIG_IsOK(ecode2
)) {
46161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "2"" of type '" "bool""'");
46163 arg2
= static_cast< bool >(val2
);
46165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46166 (arg1
)->SetCollapsed(arg2
);
46167 wxPyEndAllowThreads(__tstate
);
46168 if (PyErr_Occurred()) SWIG_fail
;
46170 resultobj
= SWIG_Py_Void();
46177 SWIGINTERN PyObject
*CollapsiblePaneEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46179 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
46180 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePaneEvent
, SWIG_NewClientData(obj
));
46181 return SWIG_Py_Void();
46184 SWIGINTERN PyObject
*CollapsiblePaneEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46185 return SWIG_Python_InitShadowInstance(args
);
46188 SWIGINTERN
int SearchCtrlNameStr_set(PyObject
*) {
46189 SWIG_Error(SWIG_AttributeError
,"Variable SearchCtrlNameStr is read-only.");
46194 SWIGINTERN PyObject
*SearchCtrlNameStr_get(void) {
46195 PyObject
*pyobj
= 0;
46199 pyobj
= PyUnicode_FromWideChar((&wxPySearchCtrlNameStr
)->c_str(), (&wxPySearchCtrlNameStr
)->Len());
46201 pyobj
= PyString_FromStringAndSize((&wxPySearchCtrlNameStr
)->c_str(), (&wxPySearchCtrlNameStr
)->Len());
46208 SWIGINTERN PyObject
*_wrap_new_SearchCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46209 PyObject
*resultobj
= 0;
46210 wxWindow
*arg1
= (wxWindow
*) 0 ;
46211 int arg2
= (int) -1 ;
46212 wxString
const &arg3_defvalue
= wxEmptyString
;
46213 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
46214 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
46215 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
46216 wxSize
const &arg5_defvalue
= wxDefaultSize
;
46217 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
46218 long arg6
= (long) 0 ;
46219 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
46220 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
46221 wxString
const &arg8_defvalue
= wxPySearchCtrlNameStr
;
46222 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
46223 wxSearchCtrl
*result
= 0 ;
46228 bool temp3
= false ;
46235 bool temp8
= false ;
46236 PyObject
* obj0
= 0 ;
46237 PyObject
* obj1
= 0 ;
46238 PyObject
* obj2
= 0 ;
46239 PyObject
* obj3
= 0 ;
46240 PyObject
* obj4
= 0 ;
46241 PyObject
* obj5
= 0 ;
46242 PyObject
* obj6
= 0 ;
46243 PyObject
* obj7
= 0 ;
46244 char * kwnames
[] = {
46245 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
46248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_SearchCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
46249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46250 if (!SWIG_IsOK(res1
)) {
46251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SearchCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
46253 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
46255 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46256 if (!SWIG_IsOK(ecode2
)) {
46257 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SearchCtrl" "', expected argument " "2"" of type '" "int""'");
46259 arg2
= static_cast< int >(val2
);
46263 arg3
= wxString_in_helper(obj2
);
46264 if (arg3
== NULL
) SWIG_fail
;
46271 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
46277 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
46281 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
46282 if (!SWIG_IsOK(ecode6
)) {
46283 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SearchCtrl" "', expected argument " "6"" of type '" "long""'");
46285 arg6
= static_cast< long >(val6
);
46288 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
46289 if (!SWIG_IsOK(res7
)) {
46290 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_SearchCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
46293 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SearchCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
46295 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
46299 arg8
= wxString_in_helper(obj7
);
46300 if (arg8
== NULL
) SWIG_fail
;
46305 if (!wxPyCheckForApp()) SWIG_fail
;
46306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46307 result
= (wxSearchCtrl
*)new wxSearchCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
46308 wxPyEndAllowThreads(__tstate
);
46309 if (PyErr_Occurred()) SWIG_fail
;
46311 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSearchCtrl
, SWIG_POINTER_NEW
| 0 );
46334 SWIGINTERN PyObject
*_wrap_new_PreSearchCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46335 PyObject
*resultobj
= 0;
46336 wxSearchCtrl
*result
= 0 ;
46338 if (!SWIG_Python_UnpackTuple(args
,"new_PreSearchCtrl",0,0,0)) SWIG_fail
;
46340 if (!wxPyCheckForApp()) SWIG_fail
;
46341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46342 result
= (wxSearchCtrl
*)new wxSearchCtrl();
46343 wxPyEndAllowThreads(__tstate
);
46344 if (PyErr_Occurred()) SWIG_fail
;
46346 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSearchCtrl
, SWIG_POINTER_OWN
| 0 );
46353 SWIGINTERN PyObject
*_wrap_SearchCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46354 PyObject
*resultobj
= 0;
46355 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46356 wxWindow
*arg2
= (wxWindow
*) 0 ;
46357 int arg3
= (int) -1 ;
46358 wxString
const &arg4_defvalue
= wxEmptyString
;
46359 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
46360 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
46361 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
46362 wxSize
const &arg6_defvalue
= wxDefaultSize
;
46363 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
46364 long arg7
= (long) 0 ;
46365 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
46366 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
46367 wxString
const &arg9_defvalue
= wxPySearchCtrlNameStr
;
46368 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
46376 bool temp4
= false ;
46383 bool temp9
= false ;
46384 PyObject
* obj0
= 0 ;
46385 PyObject
* obj1
= 0 ;
46386 PyObject
* obj2
= 0 ;
46387 PyObject
* obj3
= 0 ;
46388 PyObject
* obj4
= 0 ;
46389 PyObject
* obj5
= 0 ;
46390 PyObject
* obj6
= 0 ;
46391 PyObject
* obj7
= 0 ;
46392 PyObject
* obj8
= 0 ;
46393 char * kwnames
[] = {
46394 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
46397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:SearchCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
46398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46399 if (!SWIG_IsOK(res1
)) {
46400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_Create" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46402 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46403 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46404 if (!SWIG_IsOK(res2
)) {
46405 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
46407 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
46409 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
46410 if (!SWIG_IsOK(ecode3
)) {
46411 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SearchCtrl_Create" "', expected argument " "3"" of type '" "int""'");
46413 arg3
= static_cast< int >(val3
);
46417 arg4
= wxString_in_helper(obj3
);
46418 if (arg4
== NULL
) SWIG_fail
;
46425 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
46431 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
46435 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
46436 if (!SWIG_IsOK(ecode7
)) {
46437 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SearchCtrl_Create" "', expected argument " "7"" of type '" "long""'");
46439 arg7
= static_cast< long >(val7
);
46442 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
46443 if (!SWIG_IsOK(res8
)) {
46444 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "SearchCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46447 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46449 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
46453 arg9
= wxString_in_helper(obj8
);
46454 if (arg9
== NULL
) SWIG_fail
;
46459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46460 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
46461 wxPyEndAllowThreads(__tstate
);
46462 if (PyErr_Occurred()) SWIG_fail
;
46465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46489 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46490 PyObject
*resultobj
= 0;
46491 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46492 wxMenu
*arg2
= (wxMenu
*) 0 ;
46497 PyObject
* obj0
= 0 ;
46498 PyObject
* obj1
= 0 ;
46499 char * kwnames
[] = {
46500 (char *) "self",(char *) "menu", NULL
46503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46505 if (!SWIG_IsOK(res1
)) {
46506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetMenu" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46508 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46509 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
46510 if (!SWIG_IsOK(res2
)) {
46511 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
46513 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
46515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46516 (arg1
)->SetMenu(arg2
);
46517 wxPyEndAllowThreads(__tstate
);
46518 if (PyErr_Occurred()) SWIG_fail
;
46520 resultobj
= SWIG_Py_Void();
46527 SWIGINTERN PyObject
*_wrap_SearchCtrl_GetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46528 PyObject
*resultobj
= 0;
46529 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46530 wxMenu
*result
= 0 ;
46533 PyObject
*swig_obj
[1] ;
46535 if (!args
) SWIG_fail
;
46536 swig_obj
[0] = args
;
46537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46538 if (!SWIG_IsOK(res1
)) {
46539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_GetMenu" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46541 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46544 result
= (wxMenu
*)(arg1
)->GetMenu();
46545 wxPyEndAllowThreads(__tstate
);
46546 if (PyErr_Occurred()) SWIG_fail
;
46549 resultobj
= wxPyMake_wxObject(result
, 0);
46557 SWIGINTERN PyObject
*_wrap_SearchCtrl_ShowSearchButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46558 PyObject
*resultobj
= 0;
46559 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46565 PyObject
* obj0
= 0 ;
46566 PyObject
* obj1
= 0 ;
46567 char * kwnames
[] = {
46568 (char *) "self",(char *) "show", NULL
46571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_ShowSearchButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46573 if (!SWIG_IsOK(res1
)) {
46574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_ShowSearchButton" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46576 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46577 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46578 if (!SWIG_IsOK(ecode2
)) {
46579 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SearchCtrl_ShowSearchButton" "', expected argument " "2"" of type '" "bool""'");
46581 arg2
= static_cast< bool >(val2
);
46583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46584 (arg1
)->ShowSearchButton(arg2
);
46585 wxPyEndAllowThreads(__tstate
);
46586 if (PyErr_Occurred()) SWIG_fail
;
46588 resultobj
= SWIG_Py_Void();
46595 SWIGINTERN PyObject
*_wrap_SearchCtrl_IsSearchButtonVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46596 PyObject
*resultobj
= 0;
46597 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46601 PyObject
*swig_obj
[1] ;
46603 if (!args
) SWIG_fail
;
46604 swig_obj
[0] = args
;
46605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46606 if (!SWIG_IsOK(res1
)) {
46607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_IsSearchButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
46609 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46612 result
= (bool)((wxSearchCtrl
const *)arg1
)->IsSearchButtonVisible();
46613 wxPyEndAllowThreads(__tstate
);
46614 if (PyErr_Occurred()) SWIG_fail
;
46617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46625 SWIGINTERN PyObject
*_wrap_SearchCtrl_ShowCancelButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46626 PyObject
*resultobj
= 0;
46627 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46633 PyObject
* obj0
= 0 ;
46634 PyObject
* obj1
= 0 ;
46635 char * kwnames
[] = {
46636 (char *) "self",(char *) "show", NULL
46639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_ShowCancelButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46641 if (!SWIG_IsOK(res1
)) {
46642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_ShowCancelButton" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46644 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46645 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46646 if (!SWIG_IsOK(ecode2
)) {
46647 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SearchCtrl_ShowCancelButton" "', expected argument " "2"" of type '" "bool""'");
46649 arg2
= static_cast< bool >(val2
);
46651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46652 (arg1
)->ShowCancelButton(arg2
);
46653 wxPyEndAllowThreads(__tstate
);
46654 if (PyErr_Occurred()) SWIG_fail
;
46656 resultobj
= SWIG_Py_Void();
46663 SWIGINTERN PyObject
*_wrap_SearchCtrl_IsCancelButtonVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46664 PyObject
*resultobj
= 0;
46665 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46669 PyObject
*swig_obj
[1] ;
46671 if (!args
) SWIG_fail
;
46672 swig_obj
[0] = args
;
46673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46674 if (!SWIG_IsOK(res1
)) {
46675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_IsCancelButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
46677 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46680 result
= (bool)((wxSearchCtrl
const *)arg1
)->IsCancelButtonVisible();
46681 wxPyEndAllowThreads(__tstate
);
46682 if (PyErr_Occurred()) SWIG_fail
;
46685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46693 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetDescriptiveText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46694 PyObject
*resultobj
= 0;
46695 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46696 wxString
*arg2
= 0 ;
46699 bool temp2
= false ;
46700 PyObject
* obj0
= 0 ;
46701 PyObject
* obj1
= 0 ;
46702 char * kwnames
[] = {
46703 (char *) "self",(char *) "text", NULL
46706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetDescriptiveText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46708 if (!SWIG_IsOK(res1
)) {
46709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetDescriptiveText" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46711 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46713 arg2
= wxString_in_helper(obj1
);
46714 if (arg2
== NULL
) SWIG_fail
;
46718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46719 (arg1
)->SetDescriptiveText((wxString
const &)*arg2
);
46720 wxPyEndAllowThreads(__tstate
);
46721 if (PyErr_Occurred()) SWIG_fail
;
46723 resultobj
= SWIG_Py_Void();
46738 SWIGINTERN PyObject
*_wrap_SearchCtrl_GetDescriptiveText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46739 PyObject
*resultobj
= 0;
46740 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46744 PyObject
*swig_obj
[1] ;
46746 if (!args
) SWIG_fail
;
46747 swig_obj
[0] = args
;
46748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46749 if (!SWIG_IsOK(res1
)) {
46750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_GetDescriptiveText" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
46752 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46755 result
= ((wxSearchCtrl
const *)arg1
)->GetDescriptiveText();
46756 wxPyEndAllowThreads(__tstate
);
46757 if (PyErr_Occurred()) SWIG_fail
;
46761 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
46763 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
46772 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetSearchBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46773 PyObject
*resultobj
= 0;
46774 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46775 wxBitmap
*arg2
= 0 ;
46780 PyObject
* obj0
= 0 ;
46781 PyObject
* obj1
= 0 ;
46782 char * kwnames
[] = {
46783 (char *) "self",(char *)"arg2", NULL
46786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetSearchBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46788 if (!SWIG_IsOK(res1
)) {
46789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46791 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46792 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
46793 if (!SWIG_IsOK(res2
)) {
46794 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46797 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46799 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
46801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46802 wxSearchCtrl_SetSearchBitmap(arg1
,(wxBitmap
const &)*arg2
);
46803 wxPyEndAllowThreads(__tstate
);
46804 if (PyErr_Occurred()) SWIG_fail
;
46806 resultobj
= SWIG_Py_Void();
46813 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetSearchMenuBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46814 PyObject
*resultobj
= 0;
46815 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46816 wxBitmap
*arg2
= 0 ;
46821 PyObject
* obj0
= 0 ;
46822 PyObject
* obj1
= 0 ;
46823 char * kwnames
[] = {
46824 (char *) "self",(char *)"arg2", NULL
46827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetSearchMenuBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46829 if (!SWIG_IsOK(res1
)) {
46830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46832 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46833 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
46834 if (!SWIG_IsOK(res2
)) {
46835 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46838 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46840 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
46842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46843 wxSearchCtrl_SetSearchMenuBitmap(arg1
,(wxBitmap
const &)*arg2
);
46844 wxPyEndAllowThreads(__tstate
);
46845 if (PyErr_Occurred()) SWIG_fail
;
46847 resultobj
= SWIG_Py_Void();
46854 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetCancelBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46855 PyObject
*resultobj
= 0;
46856 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46857 wxBitmap
*arg2
= 0 ;
46862 PyObject
* obj0
= 0 ;
46863 PyObject
* obj1
= 0 ;
46864 char * kwnames
[] = {
46865 (char *) "self",(char *)"arg2", NULL
46868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetCancelBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46870 if (!SWIG_IsOK(res1
)) {
46871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46873 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46874 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
46875 if (!SWIG_IsOK(res2
)) {
46876 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46879 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46881 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
46883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46884 wxSearchCtrl_SetCancelBitmap(arg1
,(wxBitmap
const &)*arg2
);
46885 wxPyEndAllowThreads(__tstate
);
46886 if (PyErr_Occurred()) SWIG_fail
;
46888 resultobj
= SWIG_Py_Void();
46895 SWIGINTERN PyObject
*SearchCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46897 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
46898 SWIG_TypeNewClientData(SWIGTYPE_p_wxSearchCtrl
, SWIG_NewClientData(obj
));
46899 return SWIG_Py_Void();
46902 SWIGINTERN PyObject
*SearchCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46903 return SWIG_Python_InitShadowInstance(args
);
46906 static PyMethodDef SwigMethods
[] = {
46907 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46908 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
46909 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46910 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
46911 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
46912 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46913 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
46914 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
46915 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46916 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
46917 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46918 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
46919 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
46920 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
46921 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
46922 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
46923 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46924 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46925 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46926 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46927 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46928 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46929 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
46930 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
46931 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
46932 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
46933 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46934 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
46935 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46936 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
46937 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
46938 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46939 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
46940 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46941 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
46942 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
46943 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46944 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
46945 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
46946 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46947 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
46948 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46949 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
46950 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46951 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
46952 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
46953 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46954 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
46955 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46956 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
46957 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46958 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
46959 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
46960 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
46961 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46962 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
46963 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
46964 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46965 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46966 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
46967 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46968 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46969 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
46970 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46971 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
46972 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
46973 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
46974 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
46975 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
46976 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
46977 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
46978 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
46979 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
46980 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46981 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
46982 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
46983 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46984 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
46985 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46986 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46987 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
46988 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46989 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
46990 { (char *)"Gauge_Pulse", (PyCFunction
)_wrap_Gauge_Pulse
, METH_O
, NULL
},
46991 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
46992 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46993 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
46994 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46995 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
46996 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46997 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
46998 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
46999 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47000 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
47001 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47002 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47003 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
47004 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
47005 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47006 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
47007 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47008 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
47009 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
47010 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47011 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
47012 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
47013 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47014 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
47015 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47016 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47017 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47018 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
47019 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
47020 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47021 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
47022 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47023 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
47024 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47025 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47026 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47027 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
47028 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
47029 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47030 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
47031 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47032 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47033 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47034 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47035 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47036 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47037 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47038 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47039 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47040 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47041 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
47042 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47043 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47044 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47045 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47046 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
47047 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47048 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47049 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47050 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47051 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47052 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
47053 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
47054 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47055 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
47056 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47057 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47058 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47059 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
47060 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
47061 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47062 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
47063 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
47064 { (char *)"TextAttr_Merge", (PyCFunction
) _wrap_TextAttr_Merge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47065 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47066 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47067 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47068 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47069 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47070 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47071 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47072 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47073 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
47074 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
47075 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
47076 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
47077 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
47078 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
47079 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
47080 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47081 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
47082 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
47083 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
47084 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
47085 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
47086 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
47087 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
47088 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
47089 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
47090 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
47091 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47092 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
47093 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
47094 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47095 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
47096 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47097 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
47098 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47099 { (char *)"TextCtrl_IsEmpty", (PyCFunction
)_wrap_TextCtrl_IsEmpty
, METH_O
, NULL
},
47100 { (char *)"TextCtrl_ChangeValue", (PyCFunction
) _wrap_TextCtrl_ChangeValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47101 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47102 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47103 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47104 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
47105 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
47106 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
47107 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
47108 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
47109 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
47110 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
47111 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
47112 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47113 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47114 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47115 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47116 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
47117 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
47118 { (char *)"TextCtrl_SetModified", (PyCFunction
) _wrap_TextCtrl_SetModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47119 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47120 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47121 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47122 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47123 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47124 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47125 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47126 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
47127 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47128 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47129 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47130 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47131 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47132 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
47133 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
47134 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
47135 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
47136 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
47137 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
47138 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
47139 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
47140 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
47141 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
47142 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47143 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
47144 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
47145 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
47146 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47147 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
47148 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47149 { (char *)"TextCtrl_MacCheckSpelling", (PyCFunction
) _wrap_TextCtrl_MacCheckSpelling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47150 { (char *)"TextCtrl_SendTextUpdatedEvent", (PyCFunction
)_wrap_TextCtrl_SendTextUpdatedEvent
, METH_O
, NULL
},
47151 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47152 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47153 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47154 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
47155 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
47156 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47157 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
47158 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
47159 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
47160 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
47161 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
47162 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47163 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
47164 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47165 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
47166 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
47167 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
47168 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
47169 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
47170 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47171 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47172 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
47173 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
47174 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47175 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
47176 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47177 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
47178 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
47179 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
47180 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47181 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47182 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47183 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47184 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
47185 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47186 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
47187 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
47188 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47189 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
47190 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47191 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
47192 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47193 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47194 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47195 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
47196 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
47197 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47198 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47199 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
47200 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
47201 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47202 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
47203 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47204 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
47205 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
47206 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47207 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
47208 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47209 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47210 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
47211 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
47212 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47213 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
47214 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47215 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47216 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47217 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47218 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47219 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47220 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47221 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
47222 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
47223 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47224 { (char *)"RadioBox_SetItemToolTip", (PyCFunction
) _wrap_RadioBox_SetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47225 { (char *)"RadioBox_GetItemToolTip", (PyCFunction
) _wrap_RadioBox_GetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47226 { (char *)"RadioBox_SetItemHelpText", (PyCFunction
) _wrap_RadioBox_SetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47227 { (char *)"RadioBox_GetItemHelpText", (PyCFunction
) _wrap_RadioBox_GetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47228 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47229 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
47230 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
47231 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47232 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
47233 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47234 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
47235 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47236 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47237 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
47238 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
47239 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47240 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
47241 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47242 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
47243 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47244 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47245 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
47246 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
47247 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47248 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47249 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47250 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47251 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
47252 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
47253 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47254 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
47255 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47256 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
47257 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
47258 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47259 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
47260 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
47261 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
47262 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47263 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47264 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
47265 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
47266 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47267 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
47268 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47269 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47270 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
47271 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47272 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
47273 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
47274 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
47275 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47276 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
47277 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
47278 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47279 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47280 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47281 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47282 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
47283 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47284 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47285 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47286 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47287 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
47288 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47289 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
47290 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47291 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
47292 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47293 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
47294 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
47295 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47296 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47297 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
47298 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47299 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47300 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47301 { (char *)"BookCtrlBase_ChangeSelection", (PyCFunction
) _wrap_BookCtrlBase_ChangeSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47302 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47303 { (char *)"BookCtrlBase_HitTest", (PyCFunction
) _wrap_BookCtrlBase_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47304 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47305 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
47306 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47307 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
47308 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47309 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
47310 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47311 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
47312 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
47313 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47314 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
47315 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47316 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
47317 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47318 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47319 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
47320 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47321 { (char *)"Notebook_SendPageChangingEvent", (PyCFunction
) _wrap_Notebook_SendPageChangingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47322 { (char *)"Notebook_SendPageChangedEvent", (PyCFunction
) _wrap_Notebook_SendPageChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47323 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
47324 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
47325 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47326 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
47327 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
47328 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47329 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
47330 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47331 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
47332 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
47333 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
47334 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47335 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
47336 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
47337 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47338 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
47339 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47340 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
47341 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
47342 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
47343 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47344 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
47345 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
47346 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47347 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
47348 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47349 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47350 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47351 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47352 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47353 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47354 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47355 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
47356 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
47357 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
47358 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47359 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
47360 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
47361 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47362 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
47363 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47364 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
47365 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
47366 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
47367 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
47368 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47369 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
47370 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
47371 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
47372 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
47373 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
47374 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
47375 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
47376 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
47377 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
47378 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
47379 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
47380 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
47381 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
47382 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
47383 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
47384 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
47385 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
47386 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
47387 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
47388 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47389 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
47390 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47391 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47392 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47393 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47394 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47395 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47396 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
47397 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47398 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
47399 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47400 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
47401 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47402 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47403 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47404 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47405 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47406 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47407 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47408 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
47409 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47410 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47411 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47412 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47413 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
47414 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
47415 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47416 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47417 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47418 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47419 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47420 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47421 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47422 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47423 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47424 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47425 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47426 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47427 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47428 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47429 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47430 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47431 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
47432 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
47433 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
47434 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
47435 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47436 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47437 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
47438 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
47439 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47440 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
47441 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
47442 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47443 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47444 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
47445 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
47446 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
47447 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47448 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
47449 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47450 { (char *)"ToolBar_SetToolNormalBitmap", (PyCFunction
) _wrap_ToolBar_SetToolNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47451 { (char *)"ToolBar_SetToolDisabledBitmap", (PyCFunction
) _wrap_ToolBar_SetToolDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47452 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47453 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
47454 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
47455 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47456 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
47457 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47458 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47459 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47460 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
47461 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
47462 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
47463 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
47464 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
47465 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
47466 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47467 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
47468 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
47469 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
47470 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
47471 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
47472 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
47473 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
47474 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47475 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47476 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47477 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47478 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47479 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47480 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47481 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47482 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47483 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47484 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47485 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47486 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47487 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
47488 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
47489 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
47490 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
47491 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
47492 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
47493 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
47494 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
47495 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
47496 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
47497 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
47498 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
47499 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
47500 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
47501 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
47502 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
47503 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
47504 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
47505 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
47506 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
47507 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
47508 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
47509 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
47510 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
47511 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
47512 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
47513 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
47514 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
47515 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
47516 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
47517 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
47518 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
47519 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
47520 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
47521 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
47522 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
47523 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47524 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
47525 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
47526 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
47527 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
47528 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
47529 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
47530 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
47531 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
47532 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
47533 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
47534 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
47535 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
47536 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
47537 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
47538 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
47539 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
47540 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
47541 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
47542 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
47543 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
47544 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
47545 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
47546 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
47547 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
47548 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47549 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
47550 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
47551 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47552 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
47553 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47554 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47555 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47556 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47557 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47558 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47559 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
47560 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
47561 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
47562 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47563 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47564 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47565 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47566 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47567 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47568 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47569 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47570 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47571 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47572 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47573 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47574 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47575 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47576 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
47577 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
47578 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
47579 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47580 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
47581 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
47582 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47583 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
47584 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47585 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47586 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47587 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47588 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47589 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
47590 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
47591 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47592 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47593 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47594 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47595 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
47596 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47597 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
47598 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
47599 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47600 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47601 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47602 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47603 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47604 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47605 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction
) _wrap_ListCtrl_HitTestSubItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47606 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47607 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47608 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47609 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47610 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47611 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47612 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47613 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47614 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47615 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47616 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47617 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47618 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47619 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47620 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47621 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
47622 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47623 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
47624 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
47625 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47626 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
47627 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47628 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47629 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47630 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
47631 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47632 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
47633 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47634 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47635 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47636 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
47637 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
47638 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
47639 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
47640 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
47641 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47642 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47643 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
47644 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
47645 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
47646 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
47647 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47648 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
47649 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
47650 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47651 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
47652 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47653 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
47654 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
47655 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
47656 { (char *)"new_TreeEvent", _wrap_new_TreeEvent
, METH_VARARGS
, NULL
},
47657 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
47658 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47659 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
47660 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47661 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
47662 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47663 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
47664 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
47665 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47666 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
47667 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47668 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
47669 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47670 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47671 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
47672 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
47673 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
47674 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47675 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
47676 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47677 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47678 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
47679 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
47680 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47681 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
47682 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47683 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
47684 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
47685 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47686 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47687 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47688 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47689 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47690 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47691 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47692 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47693 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47694 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47695 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47696 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47697 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47698 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47699 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47700 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47701 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47702 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47703 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47704 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47705 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47706 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47707 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47708 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47709 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47710 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47711 { (char *)"TreeCtrl_IsEmpty", (PyCFunction
)_wrap_TreeCtrl_IsEmpty
, METH_O
, NULL
},
47712 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47713 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
47714 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
47715 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
47716 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47717 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47718 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47719 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47720 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47721 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47722 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
47723 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47724 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47725 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47726 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47727 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47728 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47729 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47730 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47731 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47732 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
47733 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47734 { (char *)"TreeCtrl_ExpandAllChildren", (PyCFunction
) _wrap_TreeCtrl_ExpandAllChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47735 { (char *)"TreeCtrl_ExpandAll", (PyCFunction
)_wrap_TreeCtrl_ExpandAll
, METH_O
, NULL
},
47736 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47737 { (char *)"TreeCtrl_CollapseAllChildren", (PyCFunction
) _wrap_TreeCtrl_CollapseAllChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47738 { (char *)"TreeCtrl_CollapseAll", (PyCFunction
)_wrap_TreeCtrl_CollapseAll
, METH_O
, NULL
},
47739 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47740 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47741 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
47742 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47743 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
47744 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47745 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47746 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47747 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47748 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47749 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
47750 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47751 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47752 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47753 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47754 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction
) _wrap_TreeCtrl_SetQuickBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47755 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction
)_wrap_TreeCtrl_GetQuickBestSize
, METH_O
, NULL
},
47756 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
47757 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
47758 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47759 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
47760 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47761 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47762 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction
) _wrap_GenericDirCtrl_CollapsePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47763 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
47764 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47765 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
47766 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
47767 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47768 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47769 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
47770 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
47771 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47772 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
47773 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47774 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
47775 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
47776 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
47777 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47778 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
47779 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
47780 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
47781 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
47782 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47783 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
47784 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47785 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47786 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
47787 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
47788 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47789 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
47790 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47791 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47792 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47793 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47794 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47795 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47796 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
47797 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
47798 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
47799 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
47800 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
47801 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
47802 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
47803 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
47804 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
47805 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47806 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
47807 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47808 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
47809 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47810 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
47811 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47812 { (char *)"HelpEvent_GetOrigin", (PyCFunction
)_wrap_HelpEvent_GetOrigin
, METH_O
, NULL
},
47813 { (char *)"HelpEvent_SetOrigin", (PyCFunction
) _wrap_HelpEvent_SetOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47814 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
47815 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
47816 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47817 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
47818 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47819 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
47820 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
47821 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
47822 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47823 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
47824 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
47825 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
47826 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47827 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
47828 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47829 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47830 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction
) _wrap_HelpProvider_ShowHelpAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47831 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47832 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47833 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47834 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
47835 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
47836 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
47837 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
47838 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
47839 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47840 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47841 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47842 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47843 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47844 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
47845 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47846 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47847 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47848 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
47849 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47850 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
47851 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
47852 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47853 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47854 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47855 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47856 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
47857 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
47858 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47859 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
47860 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47861 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47862 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
47863 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47864 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
47865 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
47866 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47867 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47868 { (char *)"new_HyperlinkCtrl", (PyCFunction
) _wrap_new_HyperlinkCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47869 { (char *)"new_PreHyperlinkCtrl", (PyCFunction
)_wrap_new_PreHyperlinkCtrl
, METH_NOARGS
, NULL
},
47870 { (char *)"HyperlinkCtrl_Create", (PyCFunction
) _wrap_HyperlinkCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47871 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetHoverColour
, METH_O
, NULL
},
47872 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetHoverColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47873 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetNormalColour
, METH_O
, NULL
},
47874 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetNormalColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47875 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisitedColour
, METH_O
, NULL
},
47876 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisitedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47877 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction
)_wrap_HyperlinkCtrl_GetURL
, METH_O
, NULL
},
47878 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction
) _wrap_HyperlinkCtrl_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47879 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisited
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47880 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisited
, METH_O
, NULL
},
47881 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister
, METH_VARARGS
, NULL
},
47882 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit
, METH_VARARGS
, NULL
},
47883 { (char *)"new_HyperlinkEvent", (PyCFunction
) _wrap_new_HyperlinkEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47884 { (char *)"HyperlinkEvent_GetURL", (PyCFunction
)_wrap_HyperlinkEvent_GetURL
, METH_O
, NULL
},
47885 { (char *)"HyperlinkEvent_SetURL", (PyCFunction
) _wrap_HyperlinkEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47886 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister
, METH_VARARGS
, NULL
},
47887 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit
, METH_VARARGS
, NULL
},
47888 { (char *)"PickerBase_CreateBase", (PyCFunction
) _wrap_PickerBase_CreateBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47889 { (char *)"PickerBase_SetInternalMargin", (PyCFunction
) _wrap_PickerBase_SetInternalMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47890 { (char *)"PickerBase_GetInternalMargin", (PyCFunction
)_wrap_PickerBase_GetInternalMargin
, METH_O
, NULL
},
47891 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetTextCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47892 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetTextCtrlProportion
, METH_O
, NULL
},
47893 { (char *)"PickerBase_SetPickerCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47894 { (char *)"PickerBase_GetPickerCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetPickerCtrlProportion
, METH_O
, NULL
},
47895 { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsTextCtrlGrowable
, METH_O
, NULL
},
47896 { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetTextCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47897 { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsPickerCtrlGrowable
, METH_O
, NULL
},
47898 { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47899 { (char *)"PickerBase_HasTextCtrl", (PyCFunction
)_wrap_PickerBase_HasTextCtrl
, METH_O
, NULL
},
47900 { (char *)"PickerBase_GetTextCtrl", (PyCFunction
)_wrap_PickerBase_GetTextCtrl
, METH_O
, NULL
},
47901 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction
)_wrap_PickerBase_GetPickerCtrl
, METH_O
, NULL
},
47902 { (char *)"PickerBase_swigregister", PickerBase_swigregister
, METH_VARARGS
, NULL
},
47903 { (char *)"new_ColourPickerCtrl", (PyCFunction
) _wrap_new_ColourPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47904 { (char *)"new_PreColourPickerCtrl", (PyCFunction
)_wrap_new_PreColourPickerCtrl
, METH_NOARGS
, NULL
},
47905 { (char *)"ColourPickerCtrl_Create", (PyCFunction
) _wrap_ColourPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47906 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction
)_wrap_ColourPickerCtrl_GetColour
, METH_O
, NULL
},
47907 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction
) _wrap_ColourPickerCtrl_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47908 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47909 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47910 { (char *)"new_ColourPickerEvent", (PyCFunction
) _wrap_new_ColourPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47911 { (char *)"ColourPickerEvent_GetColour", (PyCFunction
)_wrap_ColourPickerEvent_GetColour
, METH_O
, NULL
},
47912 { (char *)"ColourPickerEvent_SetColour", (PyCFunction
) _wrap_ColourPickerEvent_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47913 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister
, METH_VARARGS
, NULL
},
47914 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit
, METH_VARARGS
, NULL
},
47915 { (char *)"new_FilePickerCtrl", (PyCFunction
) _wrap_new_FilePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47916 { (char *)"new_PreFilePickerCtrl", (PyCFunction
)_wrap_new_PreFilePickerCtrl
, METH_NOARGS
, NULL
},
47917 { (char *)"FilePickerCtrl_Create", (PyCFunction
) _wrap_FilePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47918 { (char *)"FilePickerCtrl_GetPath", (PyCFunction
)_wrap_FilePickerCtrl_GetPath
, METH_O
, NULL
},
47919 { (char *)"FilePickerCtrl_SetPath", (PyCFunction
) _wrap_FilePickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47920 { (char *)"FilePickerCtrl_CheckPath", (PyCFunction
) _wrap_FilePickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47921 { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_FilePickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
47922 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47923 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47924 { (char *)"new_DirPickerCtrl", (PyCFunction
) _wrap_new_DirPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47925 { (char *)"new_PreDirPickerCtrl", (PyCFunction
)_wrap_new_PreDirPickerCtrl
, METH_NOARGS
, NULL
},
47926 { (char *)"DirPickerCtrl_Create", (PyCFunction
) _wrap_DirPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47927 { (char *)"DirPickerCtrl_GetPath", (PyCFunction
)_wrap_DirPickerCtrl_GetPath
, METH_O
, NULL
},
47928 { (char *)"DirPickerCtrl_SetPath", (PyCFunction
) _wrap_DirPickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47929 { (char *)"DirPickerCtrl_CheckPath", (PyCFunction
) _wrap_DirPickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47930 { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_DirPickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
47931 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47932 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47933 { (char *)"new_FileDirPickerEvent", (PyCFunction
) _wrap_new_FileDirPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47934 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction
)_wrap_FileDirPickerEvent_GetPath
, METH_O
, NULL
},
47935 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction
) _wrap_FileDirPickerEvent_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47936 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister
, METH_VARARGS
, NULL
},
47937 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit
, METH_VARARGS
, NULL
},
47938 { (char *)"new_FontPickerCtrl", (PyCFunction
) _wrap_new_FontPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47939 { (char *)"new_PreFontPickerCtrl", (PyCFunction
)_wrap_new_PreFontPickerCtrl
, METH_NOARGS
, NULL
},
47940 { (char *)"FontPickerCtrl_Create", (PyCFunction
) _wrap_FontPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47941 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction
)_wrap_FontPickerCtrl_GetSelectedFont
, METH_O
, NULL
},
47942 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction
) _wrap_FontPickerCtrl_SetSelectedFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47943 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction
) _wrap_FontPickerCtrl_SetMaxPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47944 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction
)_wrap_FontPickerCtrl_GetMaxPointSize
, METH_O
, NULL
},
47945 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47946 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47947 { (char *)"new_FontPickerEvent", (PyCFunction
) _wrap_new_FontPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47948 { (char *)"FontPickerEvent_GetFont", (PyCFunction
)_wrap_FontPickerEvent_GetFont
, METH_O
, NULL
},
47949 { (char *)"FontPickerEvent_SetFont", (PyCFunction
) _wrap_FontPickerEvent_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47950 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister
, METH_VARARGS
, NULL
},
47951 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit
, METH_VARARGS
, NULL
},
47952 { (char *)"new_CollapsiblePane", (PyCFunction
) _wrap_new_CollapsiblePane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47953 { (char *)"new_PreCollapsiblePane", (PyCFunction
)_wrap_new_PreCollapsiblePane
, METH_NOARGS
, NULL
},
47954 { (char *)"CollapsiblePane_Create", (PyCFunction
) _wrap_CollapsiblePane_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47955 { (char *)"CollapsiblePane_Collapse", (PyCFunction
) _wrap_CollapsiblePane_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47956 { (char *)"CollapsiblePane_Expand", (PyCFunction
)_wrap_CollapsiblePane_Expand
, METH_O
, NULL
},
47957 { (char *)"CollapsiblePane_IsCollapsed", (PyCFunction
)_wrap_CollapsiblePane_IsCollapsed
, METH_O
, NULL
},
47958 { (char *)"CollapsiblePane_IsExpanded", (PyCFunction
)_wrap_CollapsiblePane_IsExpanded
, METH_O
, NULL
},
47959 { (char *)"CollapsiblePane_GetPane", (PyCFunction
)_wrap_CollapsiblePane_GetPane
, METH_O
, NULL
},
47960 { (char *)"CollapsiblePane_swigregister", CollapsiblePane_swigregister
, METH_VARARGS
, NULL
},
47961 { (char *)"CollapsiblePane_swiginit", CollapsiblePane_swiginit
, METH_VARARGS
, NULL
},
47962 { (char *)"new_CollapsiblePaneEvent", (PyCFunction
) _wrap_new_CollapsiblePaneEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47963 { (char *)"CollapsiblePaneEvent_GetCollapsed", (PyCFunction
)_wrap_CollapsiblePaneEvent_GetCollapsed
, METH_O
, NULL
},
47964 { (char *)"CollapsiblePaneEvent_SetCollapsed", (PyCFunction
) _wrap_CollapsiblePaneEvent_SetCollapsed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47965 { (char *)"CollapsiblePaneEvent_swigregister", CollapsiblePaneEvent_swigregister
, METH_VARARGS
, NULL
},
47966 { (char *)"CollapsiblePaneEvent_swiginit", CollapsiblePaneEvent_swiginit
, METH_VARARGS
, NULL
},
47967 { (char *)"new_SearchCtrl", (PyCFunction
) _wrap_new_SearchCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47968 { (char *)"new_PreSearchCtrl", (PyCFunction
)_wrap_new_PreSearchCtrl
, METH_NOARGS
, NULL
},
47969 { (char *)"SearchCtrl_Create", (PyCFunction
) _wrap_SearchCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47970 { (char *)"SearchCtrl_SetMenu", (PyCFunction
) _wrap_SearchCtrl_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47971 { (char *)"SearchCtrl_GetMenu", (PyCFunction
)_wrap_SearchCtrl_GetMenu
, METH_O
, NULL
},
47972 { (char *)"SearchCtrl_ShowSearchButton", (PyCFunction
) _wrap_SearchCtrl_ShowSearchButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47973 { (char *)"SearchCtrl_IsSearchButtonVisible", (PyCFunction
)_wrap_SearchCtrl_IsSearchButtonVisible
, METH_O
, NULL
},
47974 { (char *)"SearchCtrl_ShowCancelButton", (PyCFunction
) _wrap_SearchCtrl_ShowCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47975 { (char *)"SearchCtrl_IsCancelButtonVisible", (PyCFunction
)_wrap_SearchCtrl_IsCancelButtonVisible
, METH_O
, NULL
},
47976 { (char *)"SearchCtrl_SetDescriptiveText", (PyCFunction
) _wrap_SearchCtrl_SetDescriptiveText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47977 { (char *)"SearchCtrl_GetDescriptiveText", (PyCFunction
)_wrap_SearchCtrl_GetDescriptiveText
, METH_O
, NULL
},
47978 { (char *)"SearchCtrl_SetSearchBitmap", (PyCFunction
) _wrap_SearchCtrl_SetSearchBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47979 { (char *)"SearchCtrl_SetSearchMenuBitmap", (PyCFunction
) _wrap_SearchCtrl_SetSearchMenuBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47980 { (char *)"SearchCtrl_SetCancelBitmap", (PyCFunction
) _wrap_SearchCtrl_SetCancelBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47981 { (char *)"SearchCtrl_swigregister", SearchCtrl_swigregister
, METH_VARARGS
, NULL
},
47982 { (char *)"SearchCtrl_swiginit", SearchCtrl_swiginit
, METH_VARARGS
, NULL
},
47983 { NULL
, NULL
, 0, NULL
}
47987 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
47989 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
47990 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47992 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
47993 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
47995 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
47996 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
47998 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
47999 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
48001 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
48002 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
48004 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
48005 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
48007 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
48008 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
48010 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
48011 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
48013 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x
) {
48014 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
48016 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x
) {
48017 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
48019 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x
) {
48020 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
48022 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
48023 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
48025 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
48026 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
48028 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
48029 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
48031 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
48032 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
48034 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
48035 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
48037 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
48038 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
48040 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
48041 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
48043 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
48044 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48046 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
48047 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48049 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
48050 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48052 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
48053 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48055 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
48056 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48058 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
48059 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
48061 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
48062 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
48064 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
48065 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
48067 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
48068 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
48070 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
48071 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
48073 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
48074 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
48076 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
48077 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
48079 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
48080 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
48082 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
48083 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
48085 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
48086 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
48088 static void *_p_wxCollapsiblePaneEventTo_p_wxEvent(void *x
) {
48089 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
48091 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
48092 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
48094 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
48095 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
48097 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
48098 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
48100 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
48101 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
48103 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
48104 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
48106 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
48107 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
48109 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
48110 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
48112 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
48113 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
48115 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x
) {
48116 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
48118 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
48119 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
48121 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
48122 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
48124 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
48125 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
48127 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
48128 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
48130 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
48131 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
48133 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
48134 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
48136 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
48137 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
48139 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
48140 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
48142 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
48143 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
48145 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
48146 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
48148 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
48149 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48151 static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x
) {
48152 return (void *)((wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48154 static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x
) {
48155 return (void *)((wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48157 static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x
) {
48158 return (void *)((wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48160 static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x
) {
48161 return (void *)((wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48163 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
48164 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
48166 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
48167 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48169 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
48170 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
48172 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
48173 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
48175 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
48176 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
48178 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
48179 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48181 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
48182 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
48184 static void *_p_wxCollapsiblePaneTo_p_wxControl(void *x
) {
48185 return (void *)((wxControl
*) ((wxCollapsiblePane
*) x
));
48187 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
48188 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
48190 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
48191 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
48193 static void *_p_wxPickerBaseTo_p_wxControl(void *x
) {
48194 return (void *)((wxControl
*) ((wxPickerBase
*) x
));
48196 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
48197 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
48199 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
48200 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
48202 static void *_p_wxSearchCtrlTo_p_wxControl(void *x
) {
48203 return (void *)((wxControl
*) (wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48205 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
48206 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
48208 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
48209 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
48211 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
48212 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48214 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
48215 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
48217 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
48218 return (void *)((wxControl
*) ((wxComboBox
*) x
));
48220 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
48221 return (void *)((wxControl
*) ((wxPyControl
*) x
));
48223 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
48224 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
48226 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
48227 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
48229 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
48230 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
48232 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
48233 return (void *)((wxControl
*) ((wxGauge
*) x
));
48235 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
48236 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
48238 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
48239 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48241 static void *_p_wxListbookTo_p_wxControl(void *x
) {
48242 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
48244 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x
) {
48245 return (void *)((wxControl
*) ((wxHyperlinkCtrl
*) x
));
48247 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
48248 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
48250 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
48251 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
48253 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
48254 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
48256 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
48257 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
48259 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
48260 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
48262 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
48263 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48265 static void *_p_wxListViewTo_p_wxControl(void *x
) {
48266 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
48268 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
48269 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
48271 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
48272 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
48274 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
48275 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
48277 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
48278 return (void *)((wxControl
*) ((wxStaticText
*) x
));
48280 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
48281 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
48283 static void *_p_wxSliderTo_p_wxControl(void *x
) {
48284 return (void *)((wxControl
*) ((wxSlider
*) x
));
48286 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
48287 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
48289 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
48290 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
48292 static void *_p_wxButtonTo_p_wxControl(void *x
) {
48293 return (void *)((wxControl
*) ((wxButton
*) x
));
48295 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
48296 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
48298 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
48299 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48301 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
48302 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
48304 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x
) {
48305 return (void *)((wxControl
*) (wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48307 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x
) {
48308 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48310 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x
) {
48311 return (void *)((wxControl
*) (wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48313 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x
) {
48314 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48316 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
48317 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
48319 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
48320 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
48322 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
48323 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48325 static void *_p_wxSearchCtrlTo_p_wxTextCtrl(void *x
) {
48326 return (void *)((wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48328 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
48329 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
48331 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
48332 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
48334 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
48335 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
48337 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
48338 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48340 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
48341 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48343 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
48344 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48346 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
48347 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48349 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
48350 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48352 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
48353 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48355 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
48356 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48358 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
48359 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
48361 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
48362 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
48364 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
48365 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
48367 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
48368 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
48370 static void *_p_wxCollapsiblePaneTo_p_wxEvtHandler(void *x
) {
48371 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCollapsiblePane
*) x
));
48373 static void *_p_wxEventBlockerTo_p_wxEvtHandler(void *x
) {
48374 return (void *)((wxEvtHandler
*) ((wxEventBlocker
*) x
));
48376 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
48377 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
48379 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
48380 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
48382 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
48383 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
48385 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
48386 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
48388 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
48389 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
48391 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x
) {
48392 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
48394 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
48395 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
48397 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
48398 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
48400 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
48401 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
48403 static void *_p_wxSearchCtrlTo_p_wxEvtHandler(void *x
) {
48404 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48406 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
48407 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
48409 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
48410 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
48412 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
48413 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
48415 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
48416 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
48418 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
48419 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
48421 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
48422 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
48424 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
48425 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48427 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
48428 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
48430 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
48431 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
48433 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
48434 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
48436 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
48437 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
48439 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
48440 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
48442 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
48443 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
48445 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
48446 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
48448 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
48449 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48451 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
48452 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
48454 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x
) {
48455 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
48457 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
48458 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
48460 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
48461 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
48463 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
48464 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
48466 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
48467 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48469 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
48470 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
48472 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
48473 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
48475 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
48476 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
48478 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
48479 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
48481 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
48482 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
48484 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
48485 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
48487 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
48488 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
48490 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
48491 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
48493 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
48494 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
48496 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
48497 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
48499 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
48500 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
48502 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
48503 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
48505 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
48506 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
48508 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
48509 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48511 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
48512 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
48514 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x
) {
48515 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48517 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x
) {
48518 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48520 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x
) {
48521 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48523 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x
) {
48524 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48526 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
48527 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
48529 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
48530 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
48532 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
48533 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
48535 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
48536 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48538 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
48539 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48541 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
48542 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
48544 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
48545 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
48547 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
48548 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
48550 static void *_p_wxEventBlockerTo_p_wxObject(void *x
) {
48551 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxEventBlocker
*) x
));
48553 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
48554 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
48556 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
48557 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
48559 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
48560 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
48562 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
48563 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
48565 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
48566 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
48568 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
48569 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
48571 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
48572 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
48574 static void *_p_wxSizerTo_p_wxObject(void *x
) {
48575 return (void *)((wxObject
*) ((wxSizer
*) x
));
48577 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
48578 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
48580 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
48581 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
48583 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
48584 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
48586 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
48587 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
48589 static void *_p_wxEventTo_p_wxObject(void *x
) {
48590 return (void *)((wxObject
*) ((wxEvent
*) x
));
48592 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
48593 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
48595 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
48596 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
48598 static void *_p_wxSearchCtrlTo_p_wxObject(void *x
) {
48599 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48601 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
48602 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
48604 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
48605 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
48607 static void *_p_wxPickerBaseTo_p_wxObject(void *x
) {
48608 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
48610 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
48611 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
48613 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
48614 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48616 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
48617 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
48619 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
48620 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
48622 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
48623 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
48625 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
48626 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
48628 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
48629 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
48631 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
48632 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
48634 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
48635 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
48637 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
48638 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
48640 static void *_p_wxControlTo_p_wxObject(void *x
) {
48641 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
48643 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
48644 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
48646 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
48647 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
48649 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
48650 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
48652 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
48653 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
48655 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
48656 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
48658 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
48659 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
48661 static void *_p_wxColourPickerEventTo_p_wxObject(void *x
) {
48662 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
48664 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x
) {
48665 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
48667 static void *_p_wxFontPickerEventTo_p_wxObject(void *x
) {
48668 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
48670 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
48671 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
48673 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
48674 return (void *)((wxObject
*) ((wxFSFile
*) x
));
48676 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
48677 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
48679 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
48680 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
48682 static void *_p_wxListViewTo_p_wxObject(void *x
) {
48683 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
48685 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x
) {
48686 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
48688 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
48689 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
48691 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
48692 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
48694 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
48695 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
48697 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
48698 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
48700 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
48701 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48703 static void *_p_wxListbookTo_p_wxObject(void *x
) {
48704 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
48706 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
48707 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
48709 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
48710 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
48712 static void *_p_wxSliderTo_p_wxObject(void *x
) {
48713 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
48715 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
48716 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
48718 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
48719 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
48721 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
48722 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
48724 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
48725 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
48727 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
48728 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
48730 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
48731 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
48733 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
48734 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
48736 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
48737 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
48739 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
48740 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
48742 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
48743 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
48745 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
48746 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
48748 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
48749 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
48751 static void *_p_wxCollapsiblePaneEventTo_p_wxObject(void *x
) {
48752 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
48754 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
48755 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
48757 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
48758 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
48760 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
48761 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
48763 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
48764 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
48766 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
48767 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
48769 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
48770 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
48772 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
48773 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
48775 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
48776 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
48778 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
48779 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
48781 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
48782 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
48784 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
48785 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
48787 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
48788 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
48790 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
48791 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
48793 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
48794 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
48796 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
48797 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
48799 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
48800 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
48802 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
48803 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
48805 static void *_p_wxListEventTo_p_wxObject(void *x
) {
48806 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
48808 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
48809 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
48811 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
48812 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48814 static void *_p_wxButtonTo_p_wxObject(void *x
) {
48815 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
48817 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
48818 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
48820 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
48821 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
48823 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
48824 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48826 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
48827 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
48829 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
48830 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
48832 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
48833 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
48835 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
48836 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
48838 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
48839 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
48841 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
48842 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
48844 static void *_p_wxListItemTo_p_wxObject(void *x
) {
48845 return (void *)((wxObject
*) ((wxListItem
*) x
));
48847 static void *_p_wxImageTo_p_wxObject(void *x
) {
48848 return (void *)((wxObject
*) ((wxImage
*) x
));
48850 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
48851 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
48853 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
48854 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48856 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
48857 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
48859 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
48860 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
48862 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
48863 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48865 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
48866 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48868 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
48869 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48871 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
48872 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48874 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
48875 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48877 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
48878 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
48880 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
48881 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
48883 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
48884 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
48886 static void *_p_wxWindowTo_p_wxObject(void *x
) {
48887 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
48889 static void *_p_wxMenuTo_p_wxObject(void *x
) {
48890 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
48892 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
48893 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
48895 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
48896 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
48898 static void *_p_wxCollapsiblePaneTo_p_wxObject(void *x
) {
48899 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCollapsiblePane
*) x
));
48901 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
48902 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
48904 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
48905 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
48907 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
48908 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
48910 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
48911 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
48913 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
48914 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
48916 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
48917 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
48919 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
48920 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
48922 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
48923 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
48925 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
48926 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
48928 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
48929 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
48931 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
48932 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
48934 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
48935 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
48937 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
48938 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
48940 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
48941 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
48943 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
48944 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
48946 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x
) {
48947 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48949 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x
) {
48950 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48952 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x
) {
48953 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48955 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x
) {
48956 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48958 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
48959 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
48961 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x
) {
48962 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
48964 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
48965 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
48967 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
48968 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
48970 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
48971 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
48973 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
48974 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
48976 static void *_p_wxCollapsiblePaneTo_p_wxWindow(void *x
) {
48977 return (void *)((wxWindow
*) (wxControl
*) ((wxCollapsiblePane
*) x
));
48979 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
48980 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
48982 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
48983 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
48985 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
48986 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
48988 static void *_p_wxPickerBaseTo_p_wxWindow(void *x
) {
48989 return (void *)((wxWindow
*) (wxControl
*) ((wxPickerBase
*) x
));
48991 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
48992 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
48994 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
48995 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
48997 static void *_p_wxSearchCtrlTo_p_wxWindow(void *x
) {
48998 return (void *)((wxWindow
*) (wxControl
*)(wxTextCtrl
*) ((wxSearchCtrl
*) x
));
49000 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
49001 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
49003 static void *_p_wxControlTo_p_wxWindow(void *x
) {
49004 return (void *)((wxWindow
*) ((wxControl
*) x
));
49006 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
49007 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
49009 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
49010 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
49012 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
49013 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
49015 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
49016 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
49018 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
49019 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
49021 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
49022 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
49024 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
49025 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
49027 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
49028 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
49030 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
49031 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
49033 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
49034 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
49036 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
49037 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
49039 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
49040 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
49042 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x
) {
49043 return (void *)((wxWindow
*) (wxControl
*) ((wxHyperlinkCtrl
*) x
));
49045 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
49046 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
49048 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
49049 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
49051 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
49052 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
49054 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
49055 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
49057 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
49058 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
49060 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
49061 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
49063 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
49064 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
49066 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
49067 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
49069 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
49070 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
49072 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
49073 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
49075 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
49076 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
49078 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
49079 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
49081 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
49082 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
49084 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
49085 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
49087 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
49088 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
49090 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
49091 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
49093 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
49094 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
49096 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
49097 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
49099 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
49100 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
49102 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x
) {
49103 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
49105 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x
) {
49106 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
49108 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x
) {
49109 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
49111 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x
) {
49112 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
49114 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
49115 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
49117 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49118 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
49120 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49121 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
49123 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49124 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
49126 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49127 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
49129 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49130 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
49132 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
49133 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
49135 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x
) {
49136 return (void *)((wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
49138 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
49139 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
49141 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x
) {
49142 return (void *)((wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
49144 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x
) {
49145 return (void *)((wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
49147 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x
) {
49148 return (void *)((wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
49150 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
49151 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
49153 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
49154 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
49156 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
49157 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
49159 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
49160 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
49162 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
49163 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
49165 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
49166 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
49168 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
49169 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
49171 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
49172 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
49174 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
49175 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
49177 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
49178 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
49180 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
49181 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
49183 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
49184 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
49186 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
49187 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
49189 static void *_p_wxCollapsiblePaneEventTo_p_wxCommandEvent(void *x
) {
49190 return (void *)((wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
49192 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
49193 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
49195 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
49196 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
49198 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
49199 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
49201 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
49202 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
49204 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
49205 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
49207 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
49208 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
49210 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
49211 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
49213 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
49214 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
49216 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
49217 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
49219 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
49220 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
49222 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
49223 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
49225 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
49226 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
49227 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};
49228 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
49229 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
49230 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
49231 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
49232 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
49233 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
49234 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
49235 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
49236 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
49237 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
49238 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
49239 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
49240 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
49241 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
49242 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
49243 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
49244 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
49245 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
49246 static swig_type_info _swigt__p_wxCollapsiblePane
= {"_p_wxCollapsiblePane", "wxCollapsiblePane *", 0, 0, (void*)0, 0};
49247 static swig_type_info _swigt__p_wxCollapsiblePaneEvent
= {"_p_wxCollapsiblePaneEvent", "wxCollapsiblePaneEvent *", 0, 0, (void*)0, 0};
49248 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
49249 static swig_type_info _swigt__p_wxColourPickerCtrl
= {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
49250 static swig_type_info _swigt__p_wxColourPickerEvent
= {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
49251 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
49252 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
49253 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
49254 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
49255 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
49256 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
49257 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
49258 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
49259 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
49260 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
49261 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
49262 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
49263 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
49264 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
49265 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
49266 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
49267 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
49268 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
49269 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
49270 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
49271 static swig_type_info _swigt__p_wxDirPickerCtrl
= {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
49272 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
49273 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
49274 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
49275 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
49276 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
49277 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
49278 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
49279 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
49280 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
49281 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
49282 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
49283 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
49284 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
49285 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
49286 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
49287 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
49288 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
49289 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
49290 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
49291 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
49292 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
49293 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
49294 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
49295 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
49296 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
49297 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
49298 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
49299 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
49300 static swig_type_info _swigt__p_wxEventBlocker
= {"_p_wxEventBlocker", 0, 0, 0, 0, 0};
49301 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
49302 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
49303 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
49304 static swig_type_info _swigt__p_wxFileDirPickerEvent
= {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
49305 static swig_type_info _swigt__p_wxFilePickerCtrl
= {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
49306 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
49307 static swig_type_info _swigt__p_wxFontPickerCtrl
= {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
49308 static swig_type_info _swigt__p_wxFontPickerEvent
= {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
49309 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
49310 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
49311 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
49312 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
49313 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
49314 static swig_type_info _swigt__p_wxHyperlinkCtrl
= {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
49315 static swig_type_info _swigt__p_wxHyperlinkEvent
= {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
49316 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
49317 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
49318 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
49319 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
49320 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
49321 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
49322 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
49323 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
49324 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
49325 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
49326 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
49327 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
49328 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
49329 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
49330 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
49331 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
49332 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
49333 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
49334 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
49335 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
49336 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
49337 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
49338 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
49339 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
49340 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
49341 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
49342 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
49343 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
49344 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
49345 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
49346 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
49347 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
49348 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
49349 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
49350 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
49351 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
49352 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
49353 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
49354 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
49355 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
49356 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
49357 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
49358 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
49359 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
49360 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
49361 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
49362 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
49363 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
49364 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
49365 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
49366 static swig_type_info _swigt__p_wxPickerBase
= {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
49367 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
49368 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
49369 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
49370 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
49371 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
49372 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
49373 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
49374 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
49375 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
49376 static swig_type_info _swigt__p_wxSearchCtrl
= {"_p_wxSearchCtrl", "wxSearchCtrl *", 0, 0, (void*)0, 0};
49377 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
49378 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
49379 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
49380 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
49381 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
49382 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
49383 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
49384 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
49385 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
49386 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
49387 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
49388 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
49389 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
49390 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
49391 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
49392 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
49393 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
49394 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
49395 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
49396 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
49397 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
49398 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
49399 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
49400 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
49401 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
49402 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
49403 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
49404 static swig_type_info _swigt__p_wxWindowBase
= {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
49406 static swig_type_info
*swig_type_initial
[] = {
49409 &_swigt__p_form_ops_t
,
49412 &_swigt__p_unsigned_char
,
49413 &_swigt__p_unsigned_int
,
49414 &_swigt__p_unsigned_long
,
49416 &_swigt__p_wxANIHandler
,
49417 &_swigt__p_wxAcceleratorTable
,
49418 &_swigt__p_wxActivateEvent
,
49419 &_swigt__p_wxArrayInt
,
49420 &_swigt__p_wxArrayString
,
49421 &_swigt__p_wxBMPHandler
,
49422 &_swigt__p_wxBitmap
,
49423 &_swigt__p_wxBitmapButton
,
49424 &_swigt__p_wxBookCtrlBase
,
49425 &_swigt__p_wxBookCtrlBaseEvent
,
49426 &_swigt__p_wxBoxSizer
,
49427 &_swigt__p_wxButton
,
49428 &_swigt__p_wxCURHandler
,
49429 &_swigt__p_wxCheckBox
,
49430 &_swigt__p_wxCheckListBox
,
49431 &_swigt__p_wxChildFocusEvent
,
49432 &_swigt__p_wxChoice
,
49433 &_swigt__p_wxChoicebook
,
49434 &_swigt__p_wxChoicebookEvent
,
49435 &_swigt__p_wxClipboardTextEvent
,
49436 &_swigt__p_wxCloseEvent
,
49437 &_swigt__p_wxCollapsiblePane
,
49438 &_swigt__p_wxCollapsiblePaneEvent
,
49439 &_swigt__p_wxColour
,
49440 &_swigt__p_wxColourPickerCtrl
,
49441 &_swigt__p_wxColourPickerEvent
,
49442 &_swigt__p_wxComboBox
,
49443 &_swigt__p_wxCommandEvent
,
49444 &_swigt__p_wxContextHelp
,
49445 &_swigt__p_wxContextHelpButton
,
49446 &_swigt__p_wxContextMenuEvent
,
49447 &_swigt__p_wxControl
,
49448 &_swigt__p_wxControlWithItems
,
49449 &_swigt__p_wxCursor
,
49451 &_swigt__p_wxDateEvent
,
49452 &_swigt__p_wxDatePickerCtrl
,
49453 &_swigt__p_wxDateTime
,
49454 &_swigt__p_wxDirFilterListCtrl
,
49455 &_swigt__p_wxDirPickerCtrl
,
49456 &_swigt__p_wxDisplayChangedEvent
,
49457 &_swigt__p_wxDropFilesEvent
,
49458 &_swigt__p_wxDuplexMode
,
49459 &_swigt__p_wxEraseEvent
,
49460 &_swigt__p_wxEvent
,
49461 &_swigt__p_wxEventBlocker
,
49462 &_swigt__p_wxEvtHandler
,
49463 &_swigt__p_wxFSFile
,
49464 &_swigt__p_wxFileDirPickerEvent
,
49465 &_swigt__p_wxFilePickerCtrl
,
49466 &_swigt__p_wxFileSystem
,
49467 &_swigt__p_wxFlexGridSizer
,
49468 &_swigt__p_wxFocusEvent
,
49470 &_swigt__p_wxFontPickerCtrl
,
49471 &_swigt__p_wxFontPickerEvent
,
49472 &_swigt__p_wxGBSizerItem
,
49473 &_swigt__p_wxGIFHandler
,
49474 &_swigt__p_wxGauge
,
49475 &_swigt__p_wxGenericDirCtrl
,
49476 &_swigt__p_wxGenericDragImage
,
49477 &_swigt__p_wxGridBagSizer
,
49478 &_swigt__p_wxGridSizer
,
49479 &_swigt__p_wxHelpEvent
,
49480 &_swigt__p_wxHelpProvider
,
49481 &_swigt__p_wxHyperlinkCtrl
,
49482 &_swigt__p_wxHyperlinkEvent
,
49483 &_swigt__p_wxICOHandler
,
49485 &_swigt__p_wxIconizeEvent
,
49486 &_swigt__p_wxIdleEvent
,
49487 &_swigt__p_wxImage
,
49488 &_swigt__p_wxImageHandler
,
49489 &_swigt__p_wxImageList
,
49490 &_swigt__p_wxIndividualLayoutConstraint
,
49491 &_swigt__p_wxInitDialogEvent
,
49492 &_swigt__p_wxItemContainer
,
49493 &_swigt__p_wxJPEGHandler
,
49494 &_swigt__p_wxKeyEvent
,
49495 &_swigt__p_wxLayoutConstraints
,
49496 &_swigt__p_wxListBox
,
49497 &_swigt__p_wxListEvent
,
49498 &_swigt__p_wxListItem
,
49499 &_swigt__p_wxListItemAttr
,
49500 &_swigt__p_wxListView
,
49501 &_swigt__p_wxListbook
,
49502 &_swigt__p_wxListbookEvent
,
49503 &_swigt__p_wxMaximizeEvent
,
49504 &_swigt__p_wxMemoryDC
,
49506 &_swigt__p_wxMenuBar
,
49507 &_swigt__p_wxMenuEvent
,
49508 &_swigt__p_wxMenuItem
,
49509 &_swigt__p_wxMouseCaptureChangedEvent
,
49510 &_swigt__p_wxMouseCaptureLostEvent
,
49511 &_swigt__p_wxMouseEvent
,
49512 &_swigt__p_wxMoveEvent
,
49513 &_swigt__p_wxNavigationKeyEvent
,
49514 &_swigt__p_wxNcPaintEvent
,
49515 &_swigt__p_wxNotebook
,
49516 &_swigt__p_wxNotebookEvent
,
49517 &_swigt__p_wxNotifyEvent
,
49518 &_swigt__p_wxObject
,
49519 &_swigt__p_wxPCXHandler
,
49520 &_swigt__p_wxPNGHandler
,
49521 &_swigt__p_wxPNMHandler
,
49522 &_swigt__p_wxPaintEvent
,
49523 &_swigt__p_wxPaletteChangedEvent
,
49524 &_swigt__p_wxPaperSize
,
49525 &_swigt__p_wxPickerBase
,
49526 &_swigt__p_wxPoint
,
49527 &_swigt__p_wxPyApp
,
49528 &_swigt__p_wxPyCommandEvent
,
49529 &_swigt__p_wxPyControl
,
49530 &_swigt__p_wxPyEvent
,
49531 &_swigt__p_wxPyImageHandler
,
49532 &_swigt__p_wxPyListCtrl
,
49533 &_swigt__p_wxPySizer
,
49534 &_swigt__p_wxPyTreeCtrl
,
49535 &_swigt__p_wxPyTreeItemData
,
49536 &_swigt__p_wxPyValidator
,
49537 &_swigt__p_wxQueryNewPaletteEvent
,
49538 &_swigt__p_wxRadioBox
,
49539 &_swigt__p_wxRadioButton
,
49541 &_swigt__p_wxScrollBar
,
49542 &_swigt__p_wxScrollEvent
,
49543 &_swigt__p_wxScrollWinEvent
,
49544 &_swigt__p_wxSearchCtrl
,
49545 &_swigt__p_wxSetCursorEvent
,
49546 &_swigt__p_wxShowEvent
,
49547 &_swigt__p_wxSimpleHelpProvider
,
49549 &_swigt__p_wxSizeEvent
,
49550 &_swigt__p_wxSizer
,
49551 &_swigt__p_wxSizerItem
,
49552 &_swigt__p_wxSlider
,
49553 &_swigt__p_wxSpinButton
,
49554 &_swigt__p_wxSpinCtrl
,
49555 &_swigt__p_wxSpinEvent
,
49556 &_swigt__p_wxStaticBitmap
,
49557 &_swigt__p_wxStaticBox
,
49558 &_swigt__p_wxStaticBoxSizer
,
49559 &_swigt__p_wxStaticLine
,
49560 &_swigt__p_wxStaticText
,
49561 &_swigt__p_wxStdDialogButtonSizer
,
49562 &_swigt__p_wxString
,
49563 &_swigt__p_wxSysColourChangedEvent
,
49564 &_swigt__p_wxTGAHandler
,
49565 &_swigt__p_wxTIFFHandler
,
49566 &_swigt__p_wxTextAttr
,
49567 &_swigt__p_wxTextCtrl
,
49568 &_swigt__p_wxTextUrlEvent
,
49569 &_swigt__p_wxToggleButton
,
49570 &_swigt__p_wxToolBar
,
49571 &_swigt__p_wxToolBarBase
,
49572 &_swigt__p_wxToolBarToolBase
,
49573 &_swigt__p_wxToolbook
,
49574 &_swigt__p_wxToolbookEvent
,
49575 &_swigt__p_wxTreeEvent
,
49576 &_swigt__p_wxTreeItemId
,
49577 &_swigt__p_wxTreebook
,
49578 &_swigt__p_wxTreebookEvent
,
49579 &_swigt__p_wxUpdateUIEvent
,
49580 &_swigt__p_wxValidator
,
49581 &_swigt__p_wxVisualAttributes
,
49582 &_swigt__p_wxWindow
,
49583 &_swigt__p_wxWindowBase
,
49584 &_swigt__p_wxWindowCreateEvent
,
49585 &_swigt__p_wxWindowDestroyEvent
,
49586 &_swigt__p_wxXPMHandler
,
49589 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
49590 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
49591 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
49592 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
49593 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
49594 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
49595 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
49596 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
49597 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
49598 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
49599 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
49600 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
49601 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}};
49602 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}};
49603 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}};
49604 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}};
49605 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
49606 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
49607 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}};
49608 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
49609 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49610 static swig_cast_info _swigc__p_wxCollapsiblePane
[] = { {&_swigt__p_wxCollapsiblePane
, 0, 0, 0},{0, 0, 0, 0}};
49611 static swig_cast_info _swigc__p_wxCollapsiblePaneEvent
[] = { {&_swigt__p_wxCollapsiblePaneEvent
, 0, 0, 0},{0, 0, 0, 0}};
49612 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
49613 static swig_cast_info _swigc__p_wxColourPickerCtrl
[] = { {&_swigt__p_wxColourPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49614 static swig_cast_info _swigc__p_wxColourPickerEvent
[] = { {&_swigt__p_wxColourPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
49615 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
49616 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49617 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
49618 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
49619 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
49620 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
49621 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
49622 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
49623 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
49624 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
49625 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCollapsiblePaneEvent
, _p_wxCollapsiblePaneEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0},{0, 0, 0, 0}};
49626 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
49627 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
49628 static swig_cast_info _swigc__p_wxControl
[] = { {&_swigt__p_wxCollapsiblePane
, _p_wxCollapsiblePaneTo_p_wxControl
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSearchCtrl
, _p_wxSearchCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxControl
, 0, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxControl
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxControl
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxControl
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxControl
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxControl
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxControl
, 0, 0},{0, 0, 0, 0}};
49629 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}};
49630 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
49631 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
49632 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49633 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
49634 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49635 static swig_cast_info _swigc__p_wxDirPickerCtrl
[] = { {&_swigt__p_wxDirPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49636 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
49637 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
49638 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
49639 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
49640 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
49641 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
49642 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49643 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
49644 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
49645 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49646 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49647 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
49648 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49649 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
49650 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
49651 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
49652 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
49653 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49654 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49655 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49656 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49657 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
49658 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
49659 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
49660 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49661 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
49662 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCollapsiblePaneEvent
, _p_wxCollapsiblePaneEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
49663 static swig_cast_info _swigc__p_wxEventBlocker
[] = {{&_swigt__p_wxEventBlocker
, 0, 0, 0},{0, 0, 0, 0}};
49664 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
49665 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
49666 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
49667 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxCollapsiblePane
, _p_wxCollapsiblePaneTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEventBlocker
, _p_wxEventBlockerTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSearchCtrl
, _p_wxSearchCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
49668 static swig_cast_info _swigc__p_wxFileDirPickerEvent
[] = { {&_swigt__p_wxFileDirPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
49669 static swig_cast_info _swigc__p_wxFilePickerCtrl
[] = { {&_swigt__p_wxFilePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49670 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
49671 static swig_cast_info _swigc__p_wxFontPickerCtrl
[] = { {&_swigt__p_wxFontPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49672 static swig_cast_info _swigc__p_wxFontPickerEvent
[] = { {&_swigt__p_wxFontPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
49673 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
49674 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49675 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
49676 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
49677 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}};
49678 static swig_cast_info _swigc__p_wxHyperlinkCtrl
[] = { {&_swigt__p_wxHyperlinkCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49679 static swig_cast_info _swigc__p_wxHyperlinkEvent
[] = { {&_swigt__p_wxHyperlinkEvent
, 0, 0, 0},{0, 0, 0, 0}};
49680 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
49681 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
49682 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}};
49683 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49684 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}};
49685 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
49686 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
49687 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
49688 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
49689 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
49690 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49691 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
49692 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
49693 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
49694 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
49695 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49696 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}};
49697 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
49698 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
49699 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
49700 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
49701 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
49702 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
49703 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
49704 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
49705 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
49706 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
49707 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
49708 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
49709 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
49710 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
49711 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
49712 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
49713 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
49714 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
49715 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
49716 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
49717 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
49718 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
49719 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
49720 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
49721 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
49722 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
49723 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
49724 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
49725 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
49726 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
49727 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
49728 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_wxEventBlocker
, _p_wxEventBlockerTo_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_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSearchCtrl
, _p_wxSearchCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCollapsiblePaneEvent
, _p_wxCollapsiblePaneEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelp
, _p_wxContextHelpTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTGAHandler
, _p_wxTGAHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListItem
, _p_wxListItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDragImage
, _p_wxGenericDragImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCollapsiblePane
, _p_wxCollapsiblePaneTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarToolBase
, _p_wxToolBarToolBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
49729 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
49730 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}};
49731 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
49732 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
49733 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}};
49734 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49735 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
49736 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
49737 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
49738 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
49739 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
49740 static swig_cast_info _swigc__p_wxSearchCtrl
[] = { {&_swigt__p_wxSearchCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49741 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
49742 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
49743 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
49744 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
49745 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49746 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
49747 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
49748 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
49749 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
49750 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
49751 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
49752 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
49753 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0}, {&_swigt__p_wxSearchCtrl
, _p_wxSearchCtrlTo_p_wxTextCtrl
, 0, 0},{0, 0, 0, 0}};
49754 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
49755 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
49756 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
49757 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}};
49758 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
49759 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
49760 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49761 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49762 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
49763 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
49764 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49765 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}};
49766 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
49767 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxCollapsiblePane
, _p_wxCollapsiblePaneTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSearchCtrl
, _p_wxSearchCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
49768 static swig_cast_info _swigc__p_wxWindowBase
[] = { {&_swigt__p_wxWindowBase
, 0, 0, 0},{0, 0, 0, 0}};
49770 static swig_cast_info
*swig_cast_initial
[] = {
49773 _swigc__p_form_ops_t
,
49776 _swigc__p_unsigned_char
,
49777 _swigc__p_unsigned_int
,
49778 _swigc__p_unsigned_long
,
49780 _swigc__p_wxANIHandler
,
49781 _swigc__p_wxAcceleratorTable
,
49782 _swigc__p_wxActivateEvent
,
49783 _swigc__p_wxArrayInt
,
49784 _swigc__p_wxArrayString
,
49785 _swigc__p_wxBMPHandler
,
49786 _swigc__p_wxBitmap
,
49787 _swigc__p_wxBitmapButton
,
49788 _swigc__p_wxBookCtrlBase
,
49789 _swigc__p_wxBookCtrlBaseEvent
,
49790 _swigc__p_wxBoxSizer
,
49791 _swigc__p_wxButton
,
49792 _swigc__p_wxCURHandler
,
49793 _swigc__p_wxCheckBox
,
49794 _swigc__p_wxCheckListBox
,
49795 _swigc__p_wxChildFocusEvent
,
49796 _swigc__p_wxChoice
,
49797 _swigc__p_wxChoicebook
,
49798 _swigc__p_wxChoicebookEvent
,
49799 _swigc__p_wxClipboardTextEvent
,
49800 _swigc__p_wxCloseEvent
,
49801 _swigc__p_wxCollapsiblePane
,
49802 _swigc__p_wxCollapsiblePaneEvent
,
49803 _swigc__p_wxColour
,
49804 _swigc__p_wxColourPickerCtrl
,
49805 _swigc__p_wxColourPickerEvent
,
49806 _swigc__p_wxComboBox
,
49807 _swigc__p_wxCommandEvent
,
49808 _swigc__p_wxContextHelp
,
49809 _swigc__p_wxContextHelpButton
,
49810 _swigc__p_wxContextMenuEvent
,
49811 _swigc__p_wxControl
,
49812 _swigc__p_wxControlWithItems
,
49813 _swigc__p_wxCursor
,
49815 _swigc__p_wxDateEvent
,
49816 _swigc__p_wxDatePickerCtrl
,
49817 _swigc__p_wxDateTime
,
49818 _swigc__p_wxDirFilterListCtrl
,
49819 _swigc__p_wxDirPickerCtrl
,
49820 _swigc__p_wxDisplayChangedEvent
,
49821 _swigc__p_wxDropFilesEvent
,
49822 _swigc__p_wxDuplexMode
,
49823 _swigc__p_wxEraseEvent
,
49825 _swigc__p_wxEventBlocker
,
49826 _swigc__p_wxEvtHandler
,
49827 _swigc__p_wxFSFile
,
49828 _swigc__p_wxFileDirPickerEvent
,
49829 _swigc__p_wxFilePickerCtrl
,
49830 _swigc__p_wxFileSystem
,
49831 _swigc__p_wxFlexGridSizer
,
49832 _swigc__p_wxFocusEvent
,
49834 _swigc__p_wxFontPickerCtrl
,
49835 _swigc__p_wxFontPickerEvent
,
49836 _swigc__p_wxGBSizerItem
,
49837 _swigc__p_wxGIFHandler
,
49839 _swigc__p_wxGenericDirCtrl
,
49840 _swigc__p_wxGenericDragImage
,
49841 _swigc__p_wxGridBagSizer
,
49842 _swigc__p_wxGridSizer
,
49843 _swigc__p_wxHelpEvent
,
49844 _swigc__p_wxHelpProvider
,
49845 _swigc__p_wxHyperlinkCtrl
,
49846 _swigc__p_wxHyperlinkEvent
,
49847 _swigc__p_wxICOHandler
,
49849 _swigc__p_wxIconizeEvent
,
49850 _swigc__p_wxIdleEvent
,
49852 _swigc__p_wxImageHandler
,
49853 _swigc__p_wxImageList
,
49854 _swigc__p_wxIndividualLayoutConstraint
,
49855 _swigc__p_wxInitDialogEvent
,
49856 _swigc__p_wxItemContainer
,
49857 _swigc__p_wxJPEGHandler
,
49858 _swigc__p_wxKeyEvent
,
49859 _swigc__p_wxLayoutConstraints
,
49860 _swigc__p_wxListBox
,
49861 _swigc__p_wxListEvent
,
49862 _swigc__p_wxListItem
,
49863 _swigc__p_wxListItemAttr
,
49864 _swigc__p_wxListView
,
49865 _swigc__p_wxListbook
,
49866 _swigc__p_wxListbookEvent
,
49867 _swigc__p_wxMaximizeEvent
,
49868 _swigc__p_wxMemoryDC
,
49870 _swigc__p_wxMenuBar
,
49871 _swigc__p_wxMenuEvent
,
49872 _swigc__p_wxMenuItem
,
49873 _swigc__p_wxMouseCaptureChangedEvent
,
49874 _swigc__p_wxMouseCaptureLostEvent
,
49875 _swigc__p_wxMouseEvent
,
49876 _swigc__p_wxMoveEvent
,
49877 _swigc__p_wxNavigationKeyEvent
,
49878 _swigc__p_wxNcPaintEvent
,
49879 _swigc__p_wxNotebook
,
49880 _swigc__p_wxNotebookEvent
,
49881 _swigc__p_wxNotifyEvent
,
49882 _swigc__p_wxObject
,
49883 _swigc__p_wxPCXHandler
,
49884 _swigc__p_wxPNGHandler
,
49885 _swigc__p_wxPNMHandler
,
49886 _swigc__p_wxPaintEvent
,
49887 _swigc__p_wxPaletteChangedEvent
,
49888 _swigc__p_wxPaperSize
,
49889 _swigc__p_wxPickerBase
,
49892 _swigc__p_wxPyCommandEvent
,
49893 _swigc__p_wxPyControl
,
49894 _swigc__p_wxPyEvent
,
49895 _swigc__p_wxPyImageHandler
,
49896 _swigc__p_wxPyListCtrl
,
49897 _swigc__p_wxPySizer
,
49898 _swigc__p_wxPyTreeCtrl
,
49899 _swigc__p_wxPyTreeItemData
,
49900 _swigc__p_wxPyValidator
,
49901 _swigc__p_wxQueryNewPaletteEvent
,
49902 _swigc__p_wxRadioBox
,
49903 _swigc__p_wxRadioButton
,
49905 _swigc__p_wxScrollBar
,
49906 _swigc__p_wxScrollEvent
,
49907 _swigc__p_wxScrollWinEvent
,
49908 _swigc__p_wxSearchCtrl
,
49909 _swigc__p_wxSetCursorEvent
,
49910 _swigc__p_wxShowEvent
,
49911 _swigc__p_wxSimpleHelpProvider
,
49913 _swigc__p_wxSizeEvent
,
49915 _swigc__p_wxSizerItem
,
49916 _swigc__p_wxSlider
,
49917 _swigc__p_wxSpinButton
,
49918 _swigc__p_wxSpinCtrl
,
49919 _swigc__p_wxSpinEvent
,
49920 _swigc__p_wxStaticBitmap
,
49921 _swigc__p_wxStaticBox
,
49922 _swigc__p_wxStaticBoxSizer
,
49923 _swigc__p_wxStaticLine
,
49924 _swigc__p_wxStaticText
,
49925 _swigc__p_wxStdDialogButtonSizer
,
49926 _swigc__p_wxString
,
49927 _swigc__p_wxSysColourChangedEvent
,
49928 _swigc__p_wxTGAHandler
,
49929 _swigc__p_wxTIFFHandler
,
49930 _swigc__p_wxTextAttr
,
49931 _swigc__p_wxTextCtrl
,
49932 _swigc__p_wxTextUrlEvent
,
49933 _swigc__p_wxToggleButton
,
49934 _swigc__p_wxToolBar
,
49935 _swigc__p_wxToolBarBase
,
49936 _swigc__p_wxToolBarToolBase
,
49937 _swigc__p_wxToolbook
,
49938 _swigc__p_wxToolbookEvent
,
49939 _swigc__p_wxTreeEvent
,
49940 _swigc__p_wxTreeItemId
,
49941 _swigc__p_wxTreebook
,
49942 _swigc__p_wxTreebookEvent
,
49943 _swigc__p_wxUpdateUIEvent
,
49944 _swigc__p_wxValidator
,
49945 _swigc__p_wxVisualAttributes
,
49946 _swigc__p_wxWindow
,
49947 _swigc__p_wxWindowBase
,
49948 _swigc__p_wxWindowCreateEvent
,
49949 _swigc__p_wxWindowDestroyEvent
,
49950 _swigc__p_wxXPMHandler
,
49954 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
49956 static swig_const_info swig_const_table
[] = {
49957 {0, 0, 0, 0.0, 0, 0}};
49962 /* -----------------------------------------------------------------------------
49963 * Type initialization:
49964 * This problem is tough by the requirement that no dynamic
49965 * memory is used. Also, since swig_type_info structures store pointers to
49966 * swig_cast_info structures and swig_cast_info structures store pointers back
49967 * to swig_type_info structures, we need some lookup code at initialization.
49968 * The idea is that swig generates all the structures that are needed.
49969 * The runtime then collects these partially filled structures.
49970 * The SWIG_InitializeModule function takes these initial arrays out of
49971 * swig_module, and does all the lookup, filling in the swig_module.types
49972 * array with the correct data and linking the correct swig_cast_info
49973 * structures together.
49975 * The generated swig_type_info structures are assigned staticly to an initial
49976 * array. We just loop though that array, and handle each type individually.
49977 * First we lookup if this type has been already loaded, and if so, use the
49978 * loaded structure instead of the generated one. Then we have to fill in the
49979 * cast linked list. The cast data is initially stored in something like a
49980 * two-dimensional array. Each row corresponds to a type (there are the same
49981 * number of rows as there are in the swig_type_initial array). Each entry in
49982 * a column is one of the swig_cast_info structures for that type.
49983 * The cast_initial array is actually an array of arrays, because each row has
49984 * a variable number of columns. So to actually build the cast linked list,
49985 * we find the array of casts associated with the type, and loop through it
49986 * adding the casts to the list. The one last trick we need to do is making
49987 * sure the type pointer in the swig_cast_info struct is correct.
49989 * First off, we lookup the cast->type name to see if it is already loaded.
49990 * There are three cases to handle:
49991 * 1) If the cast->type has already been loaded AND the type we are adding
49992 * casting info to has not been loaded (it is in this module), THEN we
49993 * replace the cast->type pointer with the type pointer that has already
49995 * 2) If BOTH types (the one we are adding casting info to, and the
49996 * cast->type) are loaded, THEN the cast info has already been loaded by
49997 * the previous module so we just ignore it.
49998 * 3) Finally, if cast->type has not already been loaded, then we add that
49999 * swig_cast_info to the linked list (because the cast->type) pointer will
50001 * ----------------------------------------------------------------------------- */
50011 #define SWIGRUNTIME_DEBUG
50015 SWIG_InitializeModule(void *clientdata
) {
50017 swig_module_info
*module_head
;
50018 static int init_run
= 0;
50020 clientdata
= clientdata
;
50022 if (init_run
) return;
50025 /* Initialize the swig_module */
50026 swig_module
.type_initial
= swig_type_initial
;
50027 swig_module
.cast_initial
= swig_cast_initial
;
50029 /* Try and load any already created modules */
50030 module_head
= SWIG_GetModule(clientdata
);
50032 swig_module
.next
= module_head
->next
;
50033 module_head
->next
= &swig_module
;
50035 /* This is the first module loaded */
50036 swig_module
.next
= &swig_module
;
50037 SWIG_SetModule(clientdata
, &swig_module
);
50040 /* Now work on filling in swig_module.types */
50041 #ifdef SWIGRUNTIME_DEBUG
50042 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
50044 for (i
= 0; i
< swig_module
.size
; ++i
) {
50045 swig_type_info
*type
= 0;
50046 swig_type_info
*ret
;
50047 swig_cast_info
*cast
;
50049 #ifdef SWIGRUNTIME_DEBUG
50050 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
50053 /* if there is another module already loaded */
50054 if (swig_module
.next
!= &swig_module
) {
50055 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
50058 /* Overwrite clientdata field */
50059 #ifdef SWIGRUNTIME_DEBUG
50060 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
50062 if (swig_module
.type_initial
[i
]->clientdata
) {
50063 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
50064 #ifdef SWIGRUNTIME_DEBUG
50065 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
50069 type
= swig_module
.type_initial
[i
];
50072 /* Insert casting types */
50073 cast
= swig_module
.cast_initial
[i
];
50074 while (cast
->type
) {
50075 /* Don't need to add information already in the list */
50077 #ifdef SWIGRUNTIME_DEBUG
50078 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
50080 if (swig_module
.next
!= &swig_module
) {
50081 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
50082 #ifdef SWIGRUNTIME_DEBUG
50083 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
50087 if (type
== swig_module
.type_initial
[i
]) {
50088 #ifdef SWIGRUNTIME_DEBUG
50089 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
50094 /* Check for casting already in the list */
50095 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
50096 #ifdef SWIGRUNTIME_DEBUG
50097 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
50099 if (!ocast
) ret
= 0;
50104 #ifdef SWIGRUNTIME_DEBUG
50105 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
50108 type
->cast
->prev
= cast
;
50109 cast
->next
= type
->cast
;
50115 /* Set entry in modules->types array equal to the type */
50116 swig_module
.types
[i
] = type
;
50118 swig_module
.types
[i
] = 0;
50120 #ifdef SWIGRUNTIME_DEBUG
50121 printf("**** SWIG_InitializeModule: Cast List ******\n");
50122 for (i
= 0; i
< swig_module
.size
; ++i
) {
50124 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
50125 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
50126 while (cast
->type
) {
50127 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
50131 printf("---- Total casts: %d\n",j
);
50133 printf("**** SWIG_InitializeModule: Cast List ******\n");
50137 /* This function will propagate the clientdata field of type to
50138 * any new swig_type_info structures that have been added into the list
50139 * of equivalent types. It is like calling
50140 * SWIG_TypeClientData(type, clientdata) a second time.
50143 SWIG_PropagateClientData(void) {
50145 swig_cast_info
*equiv
;
50146 static int init_run
= 0;
50148 if (init_run
) return;
50151 for (i
= 0; i
< swig_module
.size
; i
++) {
50152 if (swig_module
.types
[i
]->clientdata
) {
50153 equiv
= swig_module
.types
[i
]->cast
;
50155 if (!equiv
->converter
) {
50156 if (equiv
->type
&& !equiv
->type
->clientdata
)
50157 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
50159 equiv
= equiv
->next
;
50179 /* Python-specific SWIG API */
50180 #define SWIG_newvarlink() SWIG_Python_newvarlink()
50181 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
50182 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
50184 /* -----------------------------------------------------------------------------
50185 * global variable support code.
50186 * ----------------------------------------------------------------------------- */
50188 typedef struct swig_globalvar
{
50189 char *name
; /* Name of global variable */
50190 PyObject
*(*get_attr
)(void); /* Return the current value */
50191 int (*set_attr
)(PyObject
*); /* Set the value */
50192 struct swig_globalvar
*next
;
50195 typedef struct swig_varlinkobject
{
50197 swig_globalvar
*vars
;
50198 } swig_varlinkobject
;
50200 SWIGINTERN PyObject
*
50201 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
50202 return PyString_FromString("<Swig global variables>");
50205 SWIGINTERN PyObject
*
50206 swig_varlink_str(swig_varlinkobject
*v
) {
50207 PyObject
*str
= PyString_FromString("(");
50208 swig_globalvar
*var
;
50209 for (var
= v
->vars
; var
; var
=var
->next
) {
50210 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
50211 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
50213 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
50218 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
50219 PyObject
*str
= swig_varlink_str(v
);
50220 fprintf(fp
,"Swig global variables ");
50221 fprintf(fp
,"%s\n", PyString_AsString(str
));
50227 swig_varlink_dealloc(swig_varlinkobject
*v
) {
50228 swig_globalvar
*var
= v
->vars
;
50230 swig_globalvar
*n
= var
->next
;
50237 SWIGINTERN PyObject
*
50238 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
50239 PyObject
*res
= NULL
;
50240 swig_globalvar
*var
= v
->vars
;
50242 if (strcmp(var
->name
,n
) == 0) {
50243 res
= (*var
->get_attr
)();
50248 if (res
== NULL
&& !PyErr_Occurred()) {
50249 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
50255 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
50257 swig_globalvar
*var
= v
->vars
;
50259 if (strcmp(var
->name
,n
) == 0) {
50260 res
= (*var
->set_attr
)(p
);
50265 if (res
== 1 && !PyErr_Occurred()) {
50266 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
50271 SWIGINTERN PyTypeObject
*
50272 swig_varlink_type(void) {
50273 static char varlink__doc__
[] = "Swig var link object";
50274 static PyTypeObject varlink_type
;
50275 static int type_init
= 0;
50277 const PyTypeObject tmp
50279 PyObject_HEAD_INIT(NULL
)
50280 0, /* Number of items in variable part (ob_size) */
50281 (char *)"swigvarlink", /* Type name (tp_name) */
50282 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
50283 0, /* Itemsize (tp_itemsize) */
50284 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
50285 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
50286 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
50287 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
50288 0, /* tp_compare */
50289 (reprfunc
) swig_varlink_repr
, /* tp_repr */
50290 0, /* tp_as_number */
50291 0, /* tp_as_sequence */
50292 0, /* tp_as_mapping */
50295 (reprfunc
)swig_varlink_str
, /* tp_str */
50296 0, /* tp_getattro */
50297 0, /* tp_setattro */
50298 0, /* tp_as_buffer */
50300 varlink__doc__
, /* tp_doc */
50301 0, /* tp_traverse */
50303 0, /* tp_richcompare */
50304 0, /* tp_weaklistoffset */
50305 #if PY_VERSION_HEX >= 0x02020000
50306 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
50308 #if PY_VERSION_HEX >= 0x02030000
50311 #ifdef COUNT_ALLOCS
50312 0,0,0,0 /* tp_alloc -> tp_next */
50315 varlink_type
= tmp
;
50316 varlink_type
.ob_type
= &PyType_Type
;
50319 return &varlink_type
;
50322 /* Create a variable linking object for use later */
50323 SWIGINTERN PyObject
*
50324 SWIG_Python_newvarlink(void) {
50325 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
50329 return ((PyObject
*) result
);
50333 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
50334 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
50335 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
50337 size_t size
= strlen(name
)+1;
50338 gv
->name
= (char *)malloc(size
);
50340 strncpy(gv
->name
,name
,size
);
50341 gv
->get_attr
= get_attr
;
50342 gv
->set_attr
= set_attr
;
50343 gv
->next
= v
->vars
;
50349 SWIGINTERN PyObject
*
50351 static PyObject
*_SWIG_globals
= 0;
50352 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
50353 return _SWIG_globals
;
50356 /* -----------------------------------------------------------------------------
50357 * constants/methods manipulation
50358 * ----------------------------------------------------------------------------- */
50360 /* Install Constants */
50362 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
50365 for (i
= 0; constants
[i
].type
; ++i
) {
50366 switch(constants
[i
].type
) {
50367 case SWIG_PY_POINTER
:
50368 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
50370 case SWIG_PY_BINARY
:
50371 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
50378 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
50384 /* -----------------------------------------------------------------------------*/
50385 /* Fix SwigMethods to carry the callback ptrs when needed */
50386 /* -----------------------------------------------------------------------------*/
50389 SWIG_Python_FixMethods(PyMethodDef
*methods
,
50390 swig_const_info
*const_table
,
50391 swig_type_info
**types
,
50392 swig_type_info
**types_initial
) {
50394 for (i
= 0; methods
[i
].ml_name
; ++i
) {
50395 const char *c
= methods
[i
].ml_doc
;
50396 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
50398 swig_const_info
*ci
= 0;
50399 const char *name
= c
+ 10;
50400 for (j
= 0; const_table
[j
].type
; ++j
) {
50401 if (strncmp(const_table
[j
].name
, name
,
50402 strlen(const_table
[j
].name
)) == 0) {
50403 ci
= &(const_table
[j
]);
50408 size_t shift
= (ci
->ptype
) - types
;
50409 swig_type_info
*ty
= types_initial
[shift
];
50410 size_t ldoc
= (c
- methods
[i
].ml_doc
);
50411 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
50412 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
50415 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
50417 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
50419 strncpy(buff
, "swig_ptr: ", 10);
50421 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
50422 methods
[i
].ml_doc
= ndoc
;
50434 /* -----------------------------------------------------------------------------*
50435 * Partial Init method
50436 * -----------------------------------------------------------------------------*/
50441 SWIGEXPORT
void SWIG_init(void) {
50444 /* Fix SwigMethods to carry the callback ptrs when needed */
50445 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
50447 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
50448 d
= PyModule_GetDict(m
);
50450 SWIG_InitializeModule(0);
50451 SWIG_InstallConstants(d
,swig_const_table
);
50454 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
50455 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
50456 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
50457 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
50458 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
50459 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
50460 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
50461 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
50462 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
50463 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
50464 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
50465 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
50466 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
50467 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
50468 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
50469 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
50470 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
50471 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
50472 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
50473 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
50474 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
50475 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
50476 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
50477 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
50478 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
50479 SWIG_addvarlink(SWIG_globals(),(char*)"StaticLineNameStr",StaticLineNameStr_get
, StaticLineNameStr_set
);
50480 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
50481 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
50482 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
50483 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
50484 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
50485 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
50486 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
50487 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
50488 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
50489 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
50490 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
50491 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
50492 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
50493 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
50494 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
50495 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
50496 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
50497 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
50498 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
50499 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
50500 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
50501 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
50502 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
50503 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
50504 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
50505 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
50506 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
50507 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
50508 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
50509 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
50510 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
50511 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
50512 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
50513 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
50514 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
50515 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
50516 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
50517 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
50518 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
50519 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
50520 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
50521 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
50522 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
50523 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
50524 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
50525 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
50526 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
50527 SWIG_Python_SetConstant(d
, "TEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxTEXT_TYPE_ANY
)));
50528 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
50529 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
50530 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
50531 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
50532 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
50533 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
50534 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
50535 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
50536 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
50537 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
50538 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
50539 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
50540 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
50541 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
50542 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
50543 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
50544 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
50545 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
50546 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
50547 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
50548 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
50549 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
50550 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
50551 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
50552 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
50553 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
50554 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
50555 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
50556 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
50557 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
50558 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
50559 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
50560 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
50561 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
50562 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
50563 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
50564 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
50565 SWIG_Python_SetConstant(d
, "BK_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_NOWHERE
)));
50566 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONICON
)));
50567 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONLABEL
)));
50568 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONITEM
)));
50569 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONPAGE
)));
50570 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
50571 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
50572 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
50573 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
50574 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
50575 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
50576 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
50577 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
50578 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
50579 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
50580 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
50581 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE
)));
50582 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
50583 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
50584 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
50585 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
50586 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
50587 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
50588 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
50589 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
50590 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
50591 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
50592 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
50593 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
50594 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
50595 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
50596 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
50597 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
50598 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
50599 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
50600 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
50601 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
50602 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
50603 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
50604 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
50605 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
50606 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
50607 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
50608 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
50609 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
50610 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
50611 SWIG_Python_SetConstant(d
, "TB_TOP",SWIG_From_int(static_cast< int >(wxTB_TOP
)));
50612 SWIG_Python_SetConstant(d
, "TB_LEFT",SWIG_From_int(static_cast< int >(wxTB_LEFT
)));
50613 SWIG_Python_SetConstant(d
, "TB_BOTTOM",SWIG_From_int(static_cast< int >(wxTB_BOTTOM
)));
50614 SWIG_Python_SetConstant(d
, "TB_RIGHT",SWIG_From_int(static_cast< int >(wxTB_RIGHT
)));
50615 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
50616 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
50617 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
50618 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
50619 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
50620 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
50621 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
50622 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
50623 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
50624 SWIG_Python_SetConstant(d
, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS
)));
50625 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
50626 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
50627 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
50628 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
50629 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
50630 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
50631 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
50632 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
50633 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
50634 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
50635 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
50636 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
50637 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
50638 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
50639 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
50640 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
50641 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
50642 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
50643 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
50644 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
50645 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
50646 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
50647 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
50648 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
50649 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
50650 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
50651 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
50652 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
50653 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
50654 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
50655 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
50656 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
50657 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
50658 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
50659 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
50660 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
50661 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
50662 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
50663 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
50664 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
50665 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
50666 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
50667 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
50668 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
50669 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
50670 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
50671 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
50672 SWIG_Python_SetConstant(d
, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM
)));
50673 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
50674 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
50675 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
50676 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
50677 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
50678 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
50679 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
50680 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
50681 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
50682 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
50683 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
50684 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
50685 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
50686 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
50687 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
50688 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
50689 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
50690 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
50691 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
50692 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
50693 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
50694 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
50695 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
50696 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
50697 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
50698 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
50699 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
50700 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
50701 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
50702 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
50703 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
50704 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
50705 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
50706 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
50707 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
50708 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
50709 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
50710 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
50711 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
50712 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
50713 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
50714 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
50716 // Map renamed classes back to their common name for OOR
50717 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
50719 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
50720 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
50721 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
50722 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
50723 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
50724 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
50725 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
50726 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
50727 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
50728 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
50729 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
50730 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
50731 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
50732 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
50733 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
50734 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
50735 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
50736 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
50737 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
50738 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
50739 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
50740 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
50741 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
50742 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
50743 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
50744 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
50745 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
50746 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
50747 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
50748 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
50749 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
50750 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
50751 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
50752 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
50753 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
50754 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
50755 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
50756 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
50757 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
50758 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
50759 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
50760 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
50761 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
50762 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
50763 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
50764 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
50765 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
50766 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
50767 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
50768 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
50769 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
50770 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
50771 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
50772 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
50773 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
50774 SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get
, NullTreeItemId_set
);
50776 // Map renamed classes back to their common name for OOR
50777 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
50778 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
50780 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
50781 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
50782 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
50783 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
50784 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
50785 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
50786 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
50787 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
50788 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown
)));
50789 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard
)));
50790 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton
)));
50792 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
50794 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
50795 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
50796 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
50797 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
50798 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
50799 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));
50800 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get
, HyperlinkCtrlNameStr_set
);
50801 SWIG_Python_SetConstant(d
, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU
)));
50802 SWIG_Python_SetConstant(d
, "HL_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_LEFT
)));
50803 SWIG_Python_SetConstant(d
, "HL_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_RIGHT
)));
50804 SWIG_Python_SetConstant(d
, "HL_ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxHL_ALIGN_CENTRE
)));
50805 SWIG_Python_SetConstant(d
, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE
)));
50806 PyDict_SetItemString(d
, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK
));
50807 SWIG_Python_SetConstant(d
, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL
)));
50808 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get
, ColourPickerCtrlNameStr_set
);
50809 SWIG_Python_SetConstant(d
, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL
)));
50810 SWIG_Python_SetConstant(d
, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL
)));
50811 SWIG_Python_SetConstant(d
, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE
)));
50812 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED
));
50813 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get
, FilePickerCtrlNameStr_set
);
50814 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
50815 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get
, DirPickerCtrlNameStr_set
);
50816 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
50817 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
50818 SWIG_Python_SetConstant(d
, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN
)));
50819 SWIG_Python_SetConstant(d
, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE
)));
50820 SWIG_Python_SetConstant(d
, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT
)));
50821 SWIG_Python_SetConstant(d
, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST
)));
50822 SWIG_Python_SetConstant(d
, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR
)));
50823 SWIG_Python_SetConstant(d
, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST
)));
50824 SWIG_Python_SetConstant(d
, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR
)));
50825 SWIG_Python_SetConstant(d
, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL
)));
50826 SWIG_Python_SetConstant(d
, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE
)));
50827 SWIG_Python_SetConstant(d
, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL
)));
50828 SWIG_Python_SetConstant(d
, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE
)));
50829 PyDict_SetItemString(d
, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED
));
50830 PyDict_SetItemString(d
, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED
));
50831 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get
, FontPickerCtrlNameStr_set
);
50832 SWIG_Python_SetConstant(d
, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL
)));
50833 SWIG_Python_SetConstant(d
, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL
)));
50834 SWIG_Python_SetConstant(d
, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL
)));
50835 SWIG_Python_SetConstant(d
, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE
)));
50836 PyDict_SetItemString(d
, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED
));
50837 SWIG_addvarlink(SWIG_globals(),(char*)"CollapsiblePaneNameStr",CollapsiblePaneNameStr_get
, CollapsiblePaneNameStr_set
);
50838 SWIG_Python_SetConstant(d
, "CP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCP_DEFAULT_STYLE
)));
50839 SWIG_Python_SetConstant(d
, "CP_NO_TLW_RESIZE",SWIG_From_int(static_cast< int >(wxCP_NO_TLW_RESIZE
)));
50840 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLLPANE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLLPANE_CHANGED
));
50841 SWIG_addvarlink(SWIG_globals(),(char*)"SearchCtrlNameStr",SearchCtrlNameStr_get
, SearchCtrlNameStr_set
);
50842 PyDict_SetItemString(d
, "wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN", PyInt_FromLong(wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN
));
50843 PyDict_SetItemString(d
, "wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN", PyInt_FromLong(wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN
));