1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1027 /* Runtime API implementation */
1029 /* Error manipulation */
1032 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1034 PyErr_SetObject(errtype
, obj
);
1036 SWIG_PYTHON_THREAD_END_BLOCK
;
1040 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1042 PyErr_SetString(errtype
, (char *) msg
);
1043 SWIG_PYTHON_THREAD_END_BLOCK
;
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1048 /* Set a constant value */
1051 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1052 PyDict_SetItemString(d
, (char*) name
, obj
);
1056 /* Append a value to the result obj */
1058 SWIGINTERN PyObject
*
1059 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1063 } else if (result
== Py_None
) {
1067 if (!PyList_Check(result
)) {
1068 PyObject
*o2
= result
;
1069 result
= PyList_New(1);
1070 PyList_SetItem(result
, 0, o2
);
1072 PyList_Append(result
,obj
);
1081 } else if (result
== Py_None
) {
1085 if (!PyTuple_Check(result
)) {
1087 result
= PyTuple_New(1);
1088 PyTuple_SET_ITEM(result
, 0, o2
);
1090 o3
= PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3
, 0, obj
);
1093 result
= PySequence_Concat(o2
, o3
);
1101 /* Unpack the argument tuple */
1104 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1110 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1111 name
, (min
== max
? "" : "at least "), min
);
1115 if (!PyTuple_Check(args
)) {
1116 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1119 register int l
= PyTuple_GET_SIZE(args
);
1121 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1122 name
, (min
== max
? "" : "at least "), min
, l
);
1124 } else if (l
> max
) {
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at most "), max
, l
);
1130 for (i
= 0; i
< l
; ++i
) {
1131 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1133 for (; l
< max
; ++l
) {
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1153 #define SWIG_STATIC_POINTER(var) var
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1187 # define Py_None SWIG_Py_None()
1189 SWIGRUNTIMEINLINE PyObject
*
1192 PyObject
*none
= Py_BuildValue("");
1196 SWIGRUNTIME PyObject
*
1199 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1204 /* The python void return value */
1206 SWIGRUNTIMEINLINE PyObject
*
1209 PyObject
*none
= Py_None
;
1214 /* PySwigClientData */
1225 SWIGRUNTIMEINLINE
int
1226 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1228 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1229 return data
? data
->implicitconv
: 0;
1232 SWIGRUNTIMEINLINE PyObject
*
1233 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1234 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1235 PyObject
*klass
= data
? data
->klass
: 0;
1236 return (klass
? klass
: PyExc_RuntimeError
);
1240 SWIGRUNTIME PySwigClientData
*
1241 PySwigClientData_New(PyObject
* obj
)
1246 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1247 /* the klass element */
1249 Py_INCREF(data
->klass
);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj
)) {
1253 data
->newargs
= obj
;
1256 #if (PY_VERSION_HEX < 0x02020000)
1259 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1262 Py_INCREF(data
->newraw
);
1263 data
->newargs
= PyTuple_New(1);
1264 PyTuple_SetItem(data
->newargs
, 0, obj
);
1266 data
->newargs
= obj
;
1268 Py_INCREF(data
->newargs
);
1270 /* the destroy method, aka as the C++ delete method */
1271 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1276 if (data
->destroy
) {
1278 Py_INCREF(data
->destroy
);
1279 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1281 data
->delargs
= !(flags
& (METH_O
));
1288 data
->implicitconv
= 0;
1294 PySwigClientData_Del(PySwigClientData
* data
)
1296 Py_XDECREF(data
->newraw
);
1297 Py_XDECREF(data
->newargs
);
1298 Py_XDECREF(data
->destroy
);
1301 /* =============== PySwigObject =====================*/
1311 SWIGRUNTIME PyObject
*
1312 PySwigObject_long(PySwigObject
*v
)
1314 return PyLong_FromVoidPtr(v
->ptr
);
1317 SWIGRUNTIME PyObject
*
1318 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1320 PyObject
*res
= NULL
;
1321 PyObject
*args
= PyTuple_New(1);
1323 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1324 PyObject
*ofmt
= PyString_FromString(fmt
);
1326 res
= PyString_Format(ofmt
,args
);
1335 SWIGRUNTIME PyObject
*
1336 PySwigObject_oct(PySwigObject
*v
)
1338 return PySwigObject_format("%o",v
);
1341 SWIGRUNTIME PyObject
*
1342 PySwigObject_hex(PySwigObject
*v
)
1344 return PySwigObject_format("%x",v
);
1347 SWIGRUNTIME PyObject
*
1349 PySwigObject_repr(PySwigObject
*v
)
1351 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1354 const char *name
= SWIG_TypePrettyName(v
->ty
);
1355 PyObject
*hex
= PySwigObject_hex(v
);
1356 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1360 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1362 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1364 PyString_ConcatAndDel(&repr
,nrep
);
1370 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1373 PyObject
*repr
= PySwigObject_repr(v
);
1375 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1378 fputs(PyString_AsString(repr
), fp
);
1386 SWIGRUNTIME PyObject
*
1387 PySwigObject_str(PySwigObject
*v
)
1389 char result
[SWIG_BUFFER_SIZE
];
1390 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1391 PyString_FromString(result
) : 0;
1395 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1399 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1402 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1404 SWIGRUNTIME PyTypeObject
*
1405 PySwigObject_type(void) {
1406 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1410 SWIGRUNTIMEINLINE
int
1411 PySwigObject_Check(PyObject
*op
) {
1412 return ((op
)->ob_type
== PySwigObject_type())
1413 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1416 SWIGRUNTIME PyObject
*
1417 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1420 PySwigObject_dealloc(PyObject
*v
)
1422 PySwigObject
*sobj
= (PySwigObject
*) v
;
1423 PyObject
*next
= sobj
->next
;
1425 swig_type_info
*ty
= sobj
->ty
;
1426 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1427 PyObject
*destroy
= data
? data
->destroy
: 0;
1429 /* destroy is always a VARARGS method */
1431 if (data
->delargs
) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1434 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1437 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1438 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1439 res
= ((*meth
)(mself
, v
));
1443 const char *name
= SWIG_TypePrettyName(ty
);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1453 SWIGRUNTIME PyObject
*
1454 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1456 PySwigObject
*sobj
= (PySwigObject
*) v
;
1459 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1462 if (!PySwigObject_Check(next
)) {
1467 return SWIG_Py_Void();
1470 SWIGRUNTIME PyObject
*
1472 PySwigObject_next(PyObject
* v
)
1474 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1477 PySwigObject
*sobj
= (PySwigObject
*) v
;
1479 Py_INCREF(sobj
->next
);
1482 return SWIG_Py_Void();
1486 SWIGINTERN PyObject
*
1488 PySwigObject_disown(PyObject
*v
)
1490 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1493 PySwigObject
*sobj
= (PySwigObject
*)v
;
1495 return SWIG_Py_Void();
1498 SWIGINTERN PyObject
*
1500 PySwigObject_acquire(PyObject
*v
)
1502 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1505 PySwigObject
*sobj
= (PySwigObject
*)v
;
1506 sobj
->own
= SWIG_POINTER_OWN
;
1507 return SWIG_Py_Void();
1510 SWIGINTERN PyObject
*
1511 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1517 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1524 PySwigObject
*sobj
= (PySwigObject
*)v
;
1525 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1528 if (PyObject_IsTrue(val
)) {
1529 PySwigObject_acquire(v
);
1531 PySwigObject_disown(v
);
1534 if (PyObject_IsTrue(val
)) {
1535 PySwigObject_acquire(v
,args
);
1537 PySwigObject_disown(v
,args
);
1547 swigobject_methods
[] = {
1548 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1558 swigobject_methods
[] = {
1559 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject
*
1571 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1573 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1577 SWIGRUNTIME PyTypeObject
*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1581 static PyNumberMethods PySwigObject_as_number
= {
1582 (binaryfunc
)0, /*nb_add*/
1583 (binaryfunc
)0, /*nb_subtract*/
1584 (binaryfunc
)0, /*nb_multiply*/
1585 (binaryfunc
)0, /*nb_divide*/
1586 (binaryfunc
)0, /*nb_remainder*/
1587 (binaryfunc
)0, /*nb_divmod*/
1588 (ternaryfunc
)0,/*nb_power*/
1589 (unaryfunc
)0, /*nb_negative*/
1590 (unaryfunc
)0, /*nb_positive*/
1591 (unaryfunc
)0, /*nb_absolute*/
1592 (inquiry
)0, /*nb_nonzero*/
1599 (coercion
)0, /*nb_coerce*/
1600 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1601 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1602 (unaryfunc
)0, /*nb_float*/
1603 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1604 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1612 static PyTypeObject pyswigobject_type
;
1613 static int type_init
= 0;
1615 const PyTypeObject tmp
1617 PyObject_HEAD_INIT(NULL
)
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject
), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1623 (printfunc
)PySwigObject_print
, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1627 (getattrfunc
)0, /* tp_getattr */
1629 (setattrfunc
)0, /* tp_setattr */
1630 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1631 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1632 &PySwigObject_as_number
, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc
)0, /* tp_hash */
1636 (ternaryfunc
)0, /* tp_call */
1637 (reprfunc
)PySwigObject_str
, /* tp_str */
1638 PyObject_GenericGetAttr
, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1642 swigobject_doc
, /* tp_doc */
1643 0, /* tp_traverse */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1649 0, /* tp_iternext */
1650 swigobject_methods
, /* tp_methods */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1669 #if PY_VERSION_HEX >= 0x02030000
1673 0,0,0,0 /* tp_alloc -> tp_next */
1676 pyswigobject_type
= tmp
;
1677 pyswigobject_type
.ob_type
= &PyType_Type
;
1680 return &pyswigobject_type
;
1683 SWIGRUNTIME PyObject
*
1684 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1686 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1693 return (PyObject
*)sobj
;
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1708 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1710 char result
[SWIG_BUFFER_SIZE
];
1711 fputs("<Swig Packed ", fp
);
1712 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1716 fputs(v
->ty
->name
,fp
);
1721 SWIGRUNTIME PyObject
*
1722 PySwigPacked_repr(PySwigPacked
*v
)
1724 char result
[SWIG_BUFFER_SIZE
];
1725 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1728 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1732 SWIGRUNTIME PyObject
*
1733 PySwigPacked_str(PySwigPacked
*v
)
1735 char result
[SWIG_BUFFER_SIZE
];
1736 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1737 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1739 return PyString_FromString(v
->ty
->name
);
1744 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1748 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1749 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1752 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1754 SWIGRUNTIME PyTypeObject
*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1760 SWIGRUNTIMEINLINE
int
1761 PySwigPacked_Check(PyObject
*op
) {
1762 return ((op
)->ob_type
== _PySwigPacked_type())
1763 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1767 PySwigPacked_dealloc(PyObject
*v
)
1769 if (PySwigPacked_Check(v
)) {
1770 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1776 SWIGRUNTIME PyTypeObject
*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type
;
1780 static int type_init
= 0;
1782 const PyTypeObject tmp
1784 PyObject_HEAD_INIT(NULL
)
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked
), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1790 (printfunc
)PySwigPacked_print
, /* tp_print */
1791 (getattrfunc
)0, /* tp_getattr */
1792 (setattrfunc
)0, /* tp_setattr */
1793 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1794 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc
)0, /* tp_hash */
1799 (ternaryfunc
)0, /* tp_call */
1800 (reprfunc
)PySwigPacked_str
, /* tp_str */
1801 PyObject_GenericGetAttr
, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1805 swigpacked_doc
, /* tp_doc */
1806 0, /* tp_traverse */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1812 0, /* tp_iternext */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1832 #if PY_VERSION_HEX >= 0x02030000
1836 0,0,0,0 /* tp_alloc -> tp_next */
1839 pyswigpacked_type
= tmp
;
1840 pyswigpacked_type
.ob_type
= &PyType_Type
;
1843 return &pyswigpacked_type
;
1846 SWIGRUNTIME PyObject
*
1847 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1849 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1851 void *pack
= malloc(size
);
1853 memcpy(pack
, ptr
, size
);
1858 PyObject_DEL((PyObject
*) sobj
);
1862 return (PyObject
*) sobj
;
1865 SWIGRUNTIME swig_type_info
*
1866 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1868 if (PySwigPacked_Check(obj
)) {
1869 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1870 if (sobj
->size
!= size
) return 0;
1871 memcpy(ptr
, sobj
->pack
, size
);
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1882 SWIGRUNTIMEINLINE PyObject
*
1885 return PyString_FromString("this");
1888 SWIGRUNTIME PyObject
*
1891 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1897 SWIGRUNTIME PySwigObject
*
1898 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1900 if (PySwigObject_Check(pyobj
)) {
1901 return (PySwigObject
*) pyobj
;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj
)) {
1906 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1908 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1909 if (dictptr
!= NULL
) {
1910 PyObject
*dict
= *dictptr
;
1911 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj
)) {
1915 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1916 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1919 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1923 if (PyErr_Occurred()) PyErr_Clear();
1929 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1933 if (PyErr_Occurred()) PyErr_Clear();
1937 if (obj
&& !PySwigObject_Check(obj
)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj
);
1942 return (PySwigObject
*)obj
;
1946 /* Acquire a pointer value */
1949 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1951 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1953 int oldown
= sobj
->own
;
1961 /* Convert a pointer value */
1964 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1965 if (!obj
) return SWIG_ERROR
;
1966 if (obj
== Py_None
) {
1970 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1972 void *vptr
= sobj
->ptr
;
1974 swig_type_info
*to
= sobj
->ty
;
1976 /* no type cast needed */
1977 if (ptr
) *ptr
= vptr
;
1980 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1982 sobj
= (PySwigObject
*)sobj
->next
;
1984 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1989 if (ptr
) *ptr
= vptr
;
1994 if (own
) *own
= sobj
->own
;
1995 if (flags
& SWIG_POINTER_DISOWN
) {
2000 int res
= SWIG_ERROR
;
2001 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2002 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2003 if (data
&& !data
->implicitconv
) {
2004 PyObject
*klass
= data
->klass
;
2007 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2009 data
->implicitconv
= 0;
2010 if (PyErr_Occurred()) {
2015 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2018 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2019 if (SWIG_IsOK(res
)) {
2022 /* transfer the ownership to 'ptr' */
2024 res
= SWIG_AddCast(res
);
2025 res
= SWIG_AddNewMask(res
);
2027 res
= SWIG_AddCast(res
);
2041 /* Convert a function ptr value */
2044 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2045 if (!PyCFunction_Check(obj
)) {
2046 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2050 /* here we get the method pointer for callbacks */
2051 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2052 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2054 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2055 if (!desc
) return SWIG_ERROR
;
2058 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2059 if (!tc
) return SWIG_ERROR
;
2060 *ptr
= SWIG_TypeCast(tc
,vptr
);
2068 /* Convert a packed value value */
2071 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2072 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2073 if (!to
) return SWIG_ERROR
;
2076 /* check type cast? */
2077 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2078 if (!tc
) return SWIG_ERROR
;
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2089 Create a new instance object, whitout calling __init__, and set the
2093 SWIGRUNTIME PyObject
*
2094 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2096 #if (PY_VERSION_HEX >= 0x02020000)
2098 PyObject
*newraw
= data
->newraw
;
2100 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2104 if (dictptr
!= NULL
) {
2105 PyObject
*dict
= *dictptr
;
2107 dict
= PyDict_New();
2109 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2113 PyObject
*key
= SWIG_This();
2114 PyObject_SetAttr(inst
, key
, swig_this
);
2118 PyObject
*dict
= PyDict_New();
2119 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2120 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2125 #if (PY_VERSION_HEX >= 0x02010000)
2127 PyObject
*dict
= PyDict_New();
2128 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2129 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2131 return (PyObject
*) inst
;
2133 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2137 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2138 Py_INCREF(inst
->in_class
);
2139 inst
->in_dict
= PyDict_New();
2140 if (inst
->in_dict
== NULL
) {
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst
->in_weakreflist
= NULL
;
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst
);
2150 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2151 return (PyObject
*) inst
;
2157 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2162 if (dictptr
!= NULL
) {
2165 dict
= PyDict_New();
2168 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2172 dict
= PyObject_GetAttrString(inst
, "__dict__");
2173 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2178 SWIGINTERN PyObject
*
2179 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2184 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2186 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2188 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2190 return SWIG_Py_Void();
2194 /* Create a new pointer object */
2196 SWIGRUNTIME PyObject
*
2197 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2199 return SWIG_Py_Void();
2201 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2202 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2203 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2204 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2205 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2215 /* Create a new packed object */
2217 SWIGRUNTIMEINLINE PyObject
*
2218 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2219 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2222 /* -----------------------------------------------------------------------------*
2224 * -----------------------------------------------------------------------------*/
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2230 SWIGRUNTIME swig_module_info
*
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer
= (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer
) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2238 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2240 if (PyErr_Occurred()) {
2242 type_pointer
= (void *)0;
2246 return (swig_module_info
*) type_pointer
;
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2253 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2256 if (!PyModule_Check(m
)) {
2257 PyErr_SetString(PyExc_TypeError
,
2258 "PyModule_AddObject() needs module as first arg");
2262 PyErr_SetString(PyExc_TypeError
,
2263 "PyModule_AddObject() needs non-NULL value");
2267 dict
= PyModule_GetDict(m
);
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2271 PyModule_GetName(m
));
2274 if (PyDict_SetItemString(dict
, name
, o
))
2282 SWIG_Python_DestroyModule(void *vptr
)
2284 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2285 swig_type_info
**types
= swig_module
->types
;
2287 for (i
=0; i
< swig_module
->size
; ++i
) {
2288 swig_type_info
*ty
= types
[i
];
2290 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2291 if (data
) PySwigClientData_Del(data
);
2294 Py_DECREF(SWIG_This());
2298 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2299 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2301 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2302 swig_empty_runtime_method_table
);
2303 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2304 if (pointer
&& module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2307 Py_XDECREF(pointer
);
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject
*
2313 SWIG_Python_TypeCache() {
2314 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2318 SWIGRUNTIME swig_type_info
*
2319 SWIG_Python_TypeQuery(const char *type
)
2321 PyObject
*cache
= SWIG_Python_TypeCache();
2322 PyObject
*key
= PyString_FromString(type
);
2323 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2324 swig_type_info
*descriptor
;
2326 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2328 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2329 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2331 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2332 PyDict_SetItem(cache
, key
, obj
);
2341 For backward compatibility only
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2348 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2350 if (PyErr_Occurred()) {
2352 PyObject
*value
= 0;
2353 PyObject
*traceback
= 0;
2354 PyErr_Fetch(&type
, &value
, &traceback
);
2356 PyObject
*old_str
= PyObject_Str(value
);
2360 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2362 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2373 SWIG_Python_ArgFail(int argnum
)
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2378 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2379 return SWIG_Python_AddErrMesg(mesg
, 1);
2385 SWIGRUNTIMEINLINE
const char *
2386 PySwigObject_GetDesc(PyObject
*self
)
2388 PySwigObject
*v
= (PySwigObject
*)self
;
2389 swig_type_info
*ty
= v
? v
->ty
: 0;
2390 return ty
? ty
->str
: (char*)"";
2394 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj
&& PySwigObject_Check(obj
)) {
2399 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2401 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2408 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2410 PyObject
*str
= PyObject_Str(obj
);
2411 const char *cstr
= str
? PyString_AsString(str
) : 0;
2413 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2416 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2423 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2425 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2432 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2434 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2436 if (flags
& SWIG_POINTER_EXCEPTION
) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2438 SWIG_Python_ArgFail(argnum
);
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2462 #define SWIGTYPE_p_bool swig_types[0]
2463 #define SWIGTYPE_p_char swig_types[1]
2464 #define SWIGTYPE_p_form_ops_t swig_types[2]
2465 #define SWIGTYPE_p_int swig_types[3]
2466 #define SWIGTYPE_p_long swig_types[4]
2467 #define SWIGTYPE_p_unsigned_char swig_types[5]
2468 #define SWIGTYPE_p_unsigned_int swig_types[6]
2469 #define SWIGTYPE_p_unsigned_long swig_types[7]
2470 #define SWIGTYPE_p_void swig_types[8]
2471 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2472 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2473 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2474 #define SWIGTYPE_p_wxArrayInt swig_types[12]
2475 #define SWIGTYPE_p_wxArrayString swig_types[13]
2476 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2477 #define SWIGTYPE_p_wxBitmap swig_types[15]
2478 #define SWIGTYPE_p_wxBitmapButton swig_types[16]
2479 #define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
2480 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
2481 #define SWIGTYPE_p_wxBoxSizer swig_types[19]
2482 #define SWIGTYPE_p_wxButton swig_types[20]
2483 #define SWIGTYPE_p_wxCURHandler swig_types[21]
2484 #define SWIGTYPE_p_wxCheckBox swig_types[22]
2485 #define SWIGTYPE_p_wxCheckListBox swig_types[23]
2486 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2487 #define SWIGTYPE_p_wxChoice swig_types[25]
2488 #define SWIGTYPE_p_wxChoicebook swig_types[26]
2489 #define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
2490 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[28]
2491 #define SWIGTYPE_p_wxCloseEvent swig_types[29]
2492 #define SWIGTYPE_p_wxColour swig_types[30]
2493 #define SWIGTYPE_p_wxColourPickerCtrl swig_types[31]
2494 #define SWIGTYPE_p_wxColourPickerEvent swig_types[32]
2495 #define SWIGTYPE_p_wxComboBox swig_types[33]
2496 #define SWIGTYPE_p_wxCommandEvent swig_types[34]
2497 #define SWIGTYPE_p_wxContextHelp swig_types[35]
2498 #define SWIGTYPE_p_wxContextHelpButton swig_types[36]
2499 #define SWIGTYPE_p_wxContextMenuEvent swig_types[37]
2500 #define SWIGTYPE_p_wxControl swig_types[38]
2501 #define SWIGTYPE_p_wxControlWithItems swig_types[39]
2502 #define SWIGTYPE_p_wxCursor swig_types[40]
2503 #define SWIGTYPE_p_wxDC swig_types[41]
2504 #define SWIGTYPE_p_wxDateEvent swig_types[42]
2505 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[43]
2506 #define SWIGTYPE_p_wxDateTime swig_types[44]
2507 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[45]
2508 #define SWIGTYPE_p_wxDirPickerCtrl swig_types[46]
2509 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[47]
2510 #define SWIGTYPE_p_wxDropFilesEvent swig_types[48]
2511 #define SWIGTYPE_p_wxDuplexMode swig_types[49]
2512 #define SWIGTYPE_p_wxEraseEvent swig_types[50]
2513 #define SWIGTYPE_p_wxEvent swig_types[51]
2514 #define SWIGTYPE_p_wxEvtHandler swig_types[52]
2515 #define SWIGTYPE_p_wxFSFile swig_types[53]
2516 #define SWIGTYPE_p_wxFileDirPickerEvent swig_types[54]
2517 #define SWIGTYPE_p_wxFilePickerCtrl swig_types[55]
2518 #define SWIGTYPE_p_wxFileSystem swig_types[56]
2519 #define SWIGTYPE_p_wxFlexGridSizer swig_types[57]
2520 #define SWIGTYPE_p_wxFocusEvent swig_types[58]
2521 #define SWIGTYPE_p_wxFont swig_types[59]
2522 #define SWIGTYPE_p_wxFontPickerCtrl swig_types[60]
2523 #define SWIGTYPE_p_wxFontPickerEvent swig_types[61]
2524 #define SWIGTYPE_p_wxGBSizerItem swig_types[62]
2525 #define SWIGTYPE_p_wxGIFHandler swig_types[63]
2526 #define SWIGTYPE_p_wxGauge swig_types[64]
2527 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[65]
2528 #define SWIGTYPE_p_wxGenericDragImage swig_types[66]
2529 #define SWIGTYPE_p_wxGridBagSizer swig_types[67]
2530 #define SWIGTYPE_p_wxGridSizer swig_types[68]
2531 #define SWIGTYPE_p_wxHelpEvent swig_types[69]
2532 #define SWIGTYPE_p_wxHelpProvider swig_types[70]
2533 #define SWIGTYPE_p_wxHyperlinkCtrl swig_types[71]
2534 #define SWIGTYPE_p_wxHyperlinkEvent swig_types[72]
2535 #define SWIGTYPE_p_wxICOHandler swig_types[73]
2536 #define SWIGTYPE_p_wxIcon swig_types[74]
2537 #define SWIGTYPE_p_wxIconizeEvent swig_types[75]
2538 #define SWIGTYPE_p_wxIdleEvent swig_types[76]
2539 #define SWIGTYPE_p_wxImage swig_types[77]
2540 #define SWIGTYPE_p_wxImageHandler swig_types[78]
2541 #define SWIGTYPE_p_wxImageList swig_types[79]
2542 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[80]
2543 #define SWIGTYPE_p_wxInitDialogEvent swig_types[81]
2544 #define SWIGTYPE_p_wxItemContainer swig_types[82]
2545 #define SWIGTYPE_p_wxJPEGHandler swig_types[83]
2546 #define SWIGTYPE_p_wxKeyEvent swig_types[84]
2547 #define SWIGTYPE_p_wxLayoutConstraints swig_types[85]
2548 #define SWIGTYPE_p_wxListBox swig_types[86]
2549 #define SWIGTYPE_p_wxListEvent swig_types[87]
2550 #define SWIGTYPE_p_wxListItem swig_types[88]
2551 #define SWIGTYPE_p_wxListItemAttr swig_types[89]
2552 #define SWIGTYPE_p_wxListView swig_types[90]
2553 #define SWIGTYPE_p_wxListbook swig_types[91]
2554 #define SWIGTYPE_p_wxListbookEvent swig_types[92]
2555 #define SWIGTYPE_p_wxMaximizeEvent swig_types[93]
2556 #define SWIGTYPE_p_wxMemoryDC swig_types[94]
2557 #define SWIGTYPE_p_wxMenu swig_types[95]
2558 #define SWIGTYPE_p_wxMenuBar swig_types[96]
2559 #define SWIGTYPE_p_wxMenuEvent swig_types[97]
2560 #define SWIGTYPE_p_wxMenuItem swig_types[98]
2561 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[99]
2562 #define SWIGTYPE_p_wxMouseEvent swig_types[100]
2563 #define SWIGTYPE_p_wxMoveEvent swig_types[101]
2564 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[102]
2565 #define SWIGTYPE_p_wxNcPaintEvent swig_types[103]
2566 #define SWIGTYPE_p_wxNotebook swig_types[104]
2567 #define SWIGTYPE_p_wxNotebookEvent swig_types[105]
2568 #define SWIGTYPE_p_wxNotifyEvent swig_types[106]
2569 #define SWIGTYPE_p_wxObject swig_types[107]
2570 #define SWIGTYPE_p_wxPCXHandler swig_types[108]
2571 #define SWIGTYPE_p_wxPNGHandler swig_types[109]
2572 #define SWIGTYPE_p_wxPNMHandler swig_types[110]
2573 #define SWIGTYPE_p_wxPaintEvent swig_types[111]
2574 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[112]
2575 #define SWIGTYPE_p_wxPaperSize swig_types[113]
2576 #define SWIGTYPE_p_wxPickerBase swig_types[114]
2577 #define SWIGTYPE_p_wxPoint swig_types[115]
2578 #define SWIGTYPE_p_wxPyApp swig_types[116]
2579 #define SWIGTYPE_p_wxPyCommandEvent swig_types[117]
2580 #define SWIGTYPE_p_wxPyControl swig_types[118]
2581 #define SWIGTYPE_p_wxPyEvent swig_types[119]
2582 #define SWIGTYPE_p_wxPyImageHandler swig_types[120]
2583 #define SWIGTYPE_p_wxPyListCtrl swig_types[121]
2584 #define SWIGTYPE_p_wxPySizer swig_types[122]
2585 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[123]
2586 #define SWIGTYPE_p_wxPyTreeItemData swig_types[124]
2587 #define SWIGTYPE_p_wxPyValidator swig_types[125]
2588 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[126]
2589 #define SWIGTYPE_p_wxRadioBox swig_types[127]
2590 #define SWIGTYPE_p_wxRadioButton swig_types[128]
2591 #define SWIGTYPE_p_wxRect swig_types[129]
2592 #define SWIGTYPE_p_wxScrollBar swig_types[130]
2593 #define SWIGTYPE_p_wxScrollEvent swig_types[131]
2594 #define SWIGTYPE_p_wxScrollWinEvent swig_types[132]
2595 #define SWIGTYPE_p_wxSetCursorEvent swig_types[133]
2596 #define SWIGTYPE_p_wxShowEvent swig_types[134]
2597 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[135]
2598 #define SWIGTYPE_p_wxSize swig_types[136]
2599 #define SWIGTYPE_p_wxSizeEvent swig_types[137]
2600 #define SWIGTYPE_p_wxSizer swig_types[138]
2601 #define SWIGTYPE_p_wxSizerItem swig_types[139]
2602 #define SWIGTYPE_p_wxSlider swig_types[140]
2603 #define SWIGTYPE_p_wxSpinButton swig_types[141]
2604 #define SWIGTYPE_p_wxSpinCtrl swig_types[142]
2605 #define SWIGTYPE_p_wxSpinEvent swig_types[143]
2606 #define SWIGTYPE_p_wxStaticBitmap swig_types[144]
2607 #define SWIGTYPE_p_wxStaticBox swig_types[145]
2608 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[146]
2609 #define SWIGTYPE_p_wxStaticLine swig_types[147]
2610 #define SWIGTYPE_p_wxStaticText swig_types[148]
2611 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[149]
2612 #define SWIGTYPE_p_wxString swig_types[150]
2613 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[151]
2614 #define SWIGTYPE_p_wxTIFFHandler swig_types[152]
2615 #define SWIGTYPE_p_wxTextAttr swig_types[153]
2616 #define SWIGTYPE_p_wxTextCtrl swig_types[154]
2617 #define SWIGTYPE_p_wxTextUrlEvent swig_types[155]
2618 #define SWIGTYPE_p_wxToggleButton swig_types[156]
2619 #define SWIGTYPE_p_wxToolBar swig_types[157]
2620 #define SWIGTYPE_p_wxToolBarBase swig_types[158]
2621 #define SWIGTYPE_p_wxToolBarToolBase swig_types[159]
2622 #define SWIGTYPE_p_wxToolbook swig_types[160]
2623 #define SWIGTYPE_p_wxToolbookEvent swig_types[161]
2624 #define SWIGTYPE_p_wxTreeCtrl swig_types[162]
2625 #define SWIGTYPE_p_wxTreeEvent swig_types[163]
2626 #define SWIGTYPE_p_wxTreeItemId swig_types[164]
2627 #define SWIGTYPE_p_wxTreebook swig_types[165]
2628 #define SWIGTYPE_p_wxTreebookEvent swig_types[166]
2629 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[167]
2630 #define SWIGTYPE_p_wxValidator swig_types[168]
2631 #define SWIGTYPE_p_wxVisualAttributes swig_types[169]
2632 #define SWIGTYPE_p_wxWindow swig_types[170]
2633 #define SWIGTYPE_p_wxWindowBase swig_types[171]
2634 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[172]
2635 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[173]
2636 #define SWIGTYPE_p_wxXPMHandler swig_types[174]
2637 static swig_type_info
*swig_types
[176];
2638 static swig_module_info swig_module
= {swig_types
, 175, 0, 0, 0, 0};
2639 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2640 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2642 /* -------- TYPES TABLE (END) -------- */
2644 #if (PY_VERSION_HEX <= 0x02000000)
2645 # if !defined(SWIG_PYTHON_CLASSIC)
2646 # error "This python version requires to use swig with the '-classic' option"
2649 #if (PY_VERSION_HEX <= 0x02020000)
2650 # error "This python version requires to use swig with the '-nomodern' option"
2652 #if (PY_VERSION_HEX <= 0x02020000)
2653 # error "This python version requires to use swig with the '-nomodernargs' option"
2656 # error "This python version requires to use swig with the '-nofastunpack' option"
2659 /*-----------------------------------------------
2660 @(target):= _controls_.so
2661 ------------------------------------------------*/
2662 #define SWIG_init init_controls_
2664 #define SWIG_name "_controls_"
2666 #define SWIGVERSION 0x010329
2669 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2670 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2673 #include <stdexcept>
2677 class PyObject_ptr
{
2682 PyObject_ptr() :_obj(0)
2686 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2691 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2693 if (initial_ref
) Py_XINCREF(_obj
);
2696 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2698 Py_XINCREF(item
._obj
);
2709 operator PyObject
*() const
2714 PyObject
*operator->() const
2723 struct PyObject_var
: PyObject_ptr
{
2724 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2726 PyObject_var
& operator = (PyObject
* obj
)
2736 #include "wx/wxPython/wxPython.h"
2737 #include "wx/wxPython/pyclasses.h"
2739 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2740 static const wxString
wxPyEmptyString(wxEmptyString
);
2741 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2743 const wxArrayString wxPyEmptyStringArray
;
2745 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
2747 #define SWIG_From_long PyInt_FromLong
2750 SWIGINTERNINLINE PyObject
*
2751 SWIG_From_int (int value
)
2753 return SWIG_From_long (value
);
2759 # define LLONG_MIN LONG_LONG_MIN
2762 # define LLONG_MAX LONG_LONG_MAX
2765 # define ULLONG_MAX ULONG_LONG_MAX
2770 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2772 if (PyNumber_Check(obj
)) {
2773 if (val
) *val
= PyInt_AsLong(obj
);
2776 return SWIG_TypeError
;
2781 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2784 int res
= SWIG_AsVal_long (obj
, &v
);
2785 if (SWIG_IsOK(res
)) {
2786 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2787 return SWIG_OverflowError
;
2789 if (val
) *val
= static_cast< int >(v
);
2795 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
2798 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2800 if (obj
== Py_True
) {
2801 if (val
) *val
= true;
2803 } else if (obj
== Py_False
) {
2804 if (val
) *val
= false;
2808 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2809 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2814 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
2815 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
2816 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
2817 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
2818 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
2819 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
2821 #include <wx/checklst.h>
2823 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
2824 SWIGINTERN
void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2827 wxPyClientData
* data
= new wxPyClientData(clientData
);
2828 self
->Insert(item
, pos
, data
);
2831 self
->Insert(item
, pos
);
2835 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2838 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2839 return SWIG_TypeError
;
2842 *val
= (unsigned long)v
;
2848 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2851 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2852 if (SWIG_IsOK(res
)) {
2853 if ((v
> UINT_MAX
)) {
2854 return SWIG_OverflowError
;
2856 if (val
) *val
= static_cast< unsigned int >(v
);
2862 SWIGINTERN PyObject
*wxListBox_GetSelections(wxListBox
*self
){
2863 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2865 self
->GetSelections(lst
);
2866 PyObject
*tup
= PyTuple_New(lst
.GetCount());
2867 for (size_t i
=0; i
<lst
.GetCount(); i
++)
2869 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
2871 wxPyEndBlockThreads(blocked
);
2874 SWIGINTERN
void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2876 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2877 self
->GetItem(item
)->SetTextColour(c
);
2880 SWIGINTERN
void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2882 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2883 self
->GetItem(item
)->SetBackgroundColour(c
);
2886 SWIGINTERN
void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
2888 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2889 self
->GetItem(item
)->SetFont(f
);
2892 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
2893 SWIGINTERN
void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
2894 self
->AppendText(text
);
2896 SWIGINTERN wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
2897 return self
->GetValue().Mid(from
, to
- from
);
2899 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
2900 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
2901 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2902 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
2903 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
2905 SWIGINTERNINLINE PyObject
*
2906 SWIG_From_unsigned_SS_long (unsigned long value
)
2908 return (value
> LONG_MAX
) ?
2909 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2913 SWIGINTERNINLINE PyObject
*
2914 SWIG_From_size_t (size_t value
)
2916 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2920 SWIGINTERNINLINE PyObject
*
2921 SWIG_From_unsigned_SS_int (unsigned int value
)
2923 return SWIG_From_unsigned_SS_long (value
);
2927 #include <wx/slider.h>
2930 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
2931 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
2933 #if !wxUSE_TOGGLEBTN
2934 // implement dummy items for platforms that don't have this class
2936 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2938 class wxToggleButton
: public wxControl
2941 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
2942 const wxPoint
&, const wxSize
&, long,
2943 const wxValidator
&, const wxString
&)
2944 { wxPyRaiseNotImplemented(); }
2947 { wxPyRaiseNotImplemented(); }
2951 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
2953 SWIGINTERNINLINE
int
2954 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2957 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2958 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2962 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2963 SWIGINTERN PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2964 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2966 Py_INCREF(udata
->m_obj
);
2967 return udata
->m_obj
;
2973 SWIGINTERN
void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2974 self
->SetClientData(new wxPyUserData(clientData
));
2976 SWIGINTERN wxToolBarToolBase
*wxToolBarBase_DoAddTool(wxToolBarBase
*self
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
2977 wxPyUserData
* udata
= NULL
;
2978 if (clientData
&& clientData
!= Py_None
)
2979 udata
= new wxPyUserData(clientData
);
2980 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2981 shortHelp
, longHelp
, udata
);
2983 SWIGINTERN wxToolBarToolBase
*wxToolBarBase_DoInsertTool(wxToolBarBase
*self
,size_t pos
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
2984 wxPyUserData
* udata
= NULL
;
2985 if (clientData
&& clientData
!= Py_None
)
2986 udata
= new wxPyUserData(clientData
);
2987 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2988 shortHelp
, longHelp
, udata
);
2990 SWIGINTERN PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
2991 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
2993 Py_INCREF(udata
->m_obj
);
2994 return udata
->m_obj
;
3000 SWIGINTERN
void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
3001 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
3004 #include <wx/listctrl.h>
3006 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
3007 SWIGINTERN
void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
3008 // Python aware sorting function for wxPyListCtrl
3009 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
3011 PyObject
* func
= (PyObject
*)funcPtr
;
3012 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3014 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
3015 PyObject
* result
= PyEval_CallObject(func
, args
);
3018 retval
= PyInt_AsLong(result
);
3022 wxPyEndBlockThreads(blocked
);
3026 // C++ Version of a Python aware class
3027 class wxPyListCtrl
: public wxListCtrl
{
3028 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
3030 wxPyListCtrl() : wxListCtrl() {}
3031 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
3035 const wxValidator
& validator
,
3036 const wxString
& name
) :
3037 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3039 bool Create(wxWindow
* parent
, wxWindowID id
,
3043 const wxValidator
& validator
,
3044 const wxString
& name
) {
3045 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3048 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
3049 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
3051 // use the virtual version to avoid a confusing assert in the base class
3052 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
3053 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
3058 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
3060 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
3061 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
3062 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
3063 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
3066 SWIGINTERN wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
3068 item
.SetMask( wxLIST_MASK_STATE
|
3076 if (self
->GetColumn(col
, item
))
3077 return new wxListItem(item
);
3081 SWIGINTERN wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
3082 wxListItem
* info
= new wxListItem
;
3083 info
->m_itemId
= itemId
;
3085 info
->m_mask
= 0xFFFF;
3086 self
->GetItem(*info
);
3089 SWIGINTERN wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
3091 self
->GetItemPosition(item
, pos
);
3094 SWIGINTERN wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
3096 self
->GetItemRect(item
, rect
, code
);
3099 SWIGINTERN
bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
3100 if (!PyCallable_Check(func
))
3102 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
3104 SWIGINTERN wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
3108 return (wxWindow
*)self
->m_mainWin
;
3112 #include <wx/treectrl.h>
3113 #include "wx/wxPython/pytree.h"
3115 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3116 SWIGINTERN
bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
3117 SWIGINTERN
bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
3118 SWIGINTERN
void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
3120 static wxTreeItemId wxNullTreeItemId
;
3122 // C++ version of Python aware wxTreeCtrl
3123 class wxPyTreeCtrl
: public wxTreeCtrl
{
3124 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3126 wxPyTreeCtrl() : wxTreeCtrl() {}
3127 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3131 const wxValidator
& validator
,
3132 const wxString
& name
) :
3133 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3135 bool Create(wxWindow
*parent
, wxWindowID id
,
3139 const wxValidator
& validator
,
3140 const wxString
& name
) {
3141 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3145 int OnCompareItems(const wxTreeItemId
& item1
,
3146 const wxTreeItemId
& item2
) {
3149 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3150 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3151 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3152 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3153 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3157 wxPyEndBlockThreads(blocked
);
3159 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3165 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
3168 SWIGINTERN wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3169 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3171 data
= new wxPyTreeItemData();
3172 data
->SetId(item
); // set the id
3173 self
->SetItemData(item
, data
);
3177 SWIGINTERN PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3178 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3180 data
= new wxPyTreeItemData();
3181 data
->SetId(item
); // set the id
3182 self
->SetItemData(item
, data
);
3184 return data
->GetData();
3186 SWIGINTERN
void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3187 data
->SetId(item
); // set the id
3188 self
->SetItemData(item
, data
);
3190 SWIGINTERN
void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3191 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3193 data
= new wxPyTreeItemData(obj
);
3194 data
->SetId(item
); // set the id
3195 self
->SetItemData(item
, data
);
3199 SWIGINTERN PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
3200 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3201 PyObject
* rval
= PyList_New(0);
3202 wxArrayTreeItemIds array
;
3204 num
= self
->GetSelections(array
);
3205 for (x
=0; x
< num
; x
++) {
3206 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3207 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3208 PyList_Append(rval
, item
);
3211 wxPyEndBlockThreads(blocked
);
3214 SWIGINTERN PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3216 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3217 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3218 PyObject
* tup
= PyTuple_New(2);
3219 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3220 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3221 wxPyEndBlockThreads(blocked
);
3224 SWIGINTERN PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3225 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3226 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3227 PyObject
* tup
= PyTuple_New(2);
3228 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3229 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3230 wxPyEndBlockThreads(blocked
);
3233 SWIGINTERN PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3235 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3236 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3237 wxRect
* r
= new wxRect(rect
);
3238 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
3239 wxPyEndBlockThreads(blocked
);
3245 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
3247 SWIGINTERNINLINE PyObject
*
3248 SWIG_From_bool (bool value
)
3250 return PyBool_FromLong(value
? 1 : 0);
3253 // C++ version of Python aware wxControl
3254 class wxPyControl
: public wxControl
3256 DECLARE_DYNAMIC_CLASS(wxPyControl
)
3258 wxPyControl() : wxControl() {}
3259 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
3260 const wxPoint
& pos
= wxDefaultPosition
,
3261 const wxSize
& size
= wxDefaultSize
,
3263 const wxValidator
& validator
=wxDefaultValidator
,
3264 const wxString
& name
= wxPyControlNameStr
)
3265 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3267 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
3269 bool DoEraseBackground(wxDC
* dc
) {
3271 return wxWindow::DoEraseBackground(dc
->GetHDC());
3273 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3279 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3280 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3281 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3282 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3284 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3285 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3286 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3288 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3289 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3291 DEC_PYCALLBACK__(InitDialog
);
3292 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3293 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3294 DEC_PYCALLBACK_BOOL_(Validate
);
3296 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3297 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3298 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3300 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3301 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3303 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3304 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3306 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3308 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3313 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
3315 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
3316 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
3317 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
3318 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
3320 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
3321 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
3322 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
3324 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
3325 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
3327 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
3328 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
3329 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
3330 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
3332 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
3333 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
3334 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
3336 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
3337 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
3339 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
3340 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
3342 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
3344 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
3348 SWIGINTERN
void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
3350 #include <wx/generic/dragimgg.h>
3352 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
3353 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
3355 self
->GetRange(&rv
, NULL
);
3358 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
3360 self
->GetRange(NULL
, &rv
);
3363 static const wxString
wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr
);
3364 static const wxString
wxPyColourPickerCtrlNameStr(wxColourPickerCtrlNameStr
);
3365 static const wxString
wxPyFilePickerCtrlNameStr(wxFilePickerCtrlNameStr
);
3366 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3367 static const wxString
wxPyDirPickerCtrlNameStr(wxDirPickerCtrlNameStr
);
3368 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3369 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3370 static const wxString
wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr
);
3374 SWIGINTERN
int ButtonNameStr_set(PyObject
*) {
3375 SWIG_Error(SWIG_AttributeError
,"Variable ButtonNameStr is read-only.");
3380 SWIGINTERN PyObject
*ButtonNameStr_get(void) {
3381 PyObject
*pyobj
= 0;
3385 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3387 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3394 SWIGINTERN PyObject
*_wrap_new_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3395 PyObject
*resultobj
= 0;
3396 wxWindow
*arg1
= (wxWindow
*) 0 ;
3397 int arg2
= (int) -1 ;
3398 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3399 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3400 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3401 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3402 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3403 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3404 long arg6
= (long) 0 ;
3405 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3406 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3407 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3408 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3409 wxButton
*result
= 0 ;
3414 bool temp3
= false ;
3421 bool temp8
= false ;
3422 PyObject
* obj0
= 0 ;
3423 PyObject
* obj1
= 0 ;
3424 PyObject
* obj2
= 0 ;
3425 PyObject
* obj3
= 0 ;
3426 PyObject
* obj4
= 0 ;
3427 PyObject
* obj5
= 0 ;
3428 PyObject
* obj6
= 0 ;
3429 PyObject
* obj7
= 0 ;
3430 char * kwnames
[] = {
3431 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3436 if (!SWIG_IsOK(res1
)) {
3437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3439 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3441 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3442 if (!SWIG_IsOK(ecode2
)) {
3443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3445 arg2
= static_cast< int >(val2
);
3449 arg3
= wxString_in_helper(obj2
);
3450 if (arg3
== NULL
) SWIG_fail
;
3457 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3463 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3467 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3468 if (!SWIG_IsOK(ecode6
)) {
3469 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3471 arg6
= static_cast< long >(val6
);
3474 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3475 if (!SWIG_IsOK(res7
)) {
3476 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3479 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3481 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3485 arg8
= wxString_in_helper(obj7
);
3486 if (arg8
== NULL
) SWIG_fail
;
3491 if (!wxPyCheckForApp()) SWIG_fail
;
3492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3493 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3494 wxPyEndAllowThreads(__tstate
);
3495 if (PyErr_Occurred()) SWIG_fail
;
3497 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_NEW
| 0 );
3520 SWIGINTERN PyObject
*_wrap_new_PreButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3521 PyObject
*resultobj
= 0;
3522 wxButton
*result
= 0 ;
3524 if (!SWIG_Python_UnpackTuple(args
,"new_PreButton",0,0,0)) SWIG_fail
;
3526 if (!wxPyCheckForApp()) SWIG_fail
;
3527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3528 result
= (wxButton
*)new wxButton();
3529 wxPyEndAllowThreads(__tstate
);
3530 if (PyErr_Occurred()) SWIG_fail
;
3532 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_OWN
| 0 );
3539 SWIGINTERN PyObject
*_wrap_Button_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3540 PyObject
*resultobj
= 0;
3541 wxButton
*arg1
= (wxButton
*) 0 ;
3542 wxWindow
*arg2
= (wxWindow
*) 0 ;
3543 int arg3
= (int) -1 ;
3544 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3545 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3546 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3547 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3548 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3549 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3550 long arg7
= (long) 0 ;
3551 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3552 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3553 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3554 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3562 bool temp4
= false ;
3569 bool temp9
= false ;
3570 PyObject
* obj0
= 0 ;
3571 PyObject
* obj1
= 0 ;
3572 PyObject
* obj2
= 0 ;
3573 PyObject
* obj3
= 0 ;
3574 PyObject
* obj4
= 0 ;
3575 PyObject
* obj5
= 0 ;
3576 PyObject
* obj6
= 0 ;
3577 PyObject
* obj7
= 0 ;
3578 PyObject
* obj8
= 0 ;
3579 char * kwnames
[] = {
3580 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3585 if (!SWIG_IsOK(res1
)) {
3586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3588 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3589 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3590 if (!SWIG_IsOK(res2
)) {
3591 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3593 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3595 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3596 if (!SWIG_IsOK(ecode3
)) {
3597 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3599 arg3
= static_cast< int >(val3
);
3603 arg4
= wxString_in_helper(obj3
);
3604 if (arg4
== NULL
) SWIG_fail
;
3611 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3617 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3621 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3622 if (!SWIG_IsOK(ecode7
)) {
3623 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3625 arg7
= static_cast< long >(val7
);
3628 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3629 if (!SWIG_IsOK(res8
)) {
3630 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3633 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3635 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3639 arg9
= wxString_in_helper(obj8
);
3640 if (arg9
== NULL
) SWIG_fail
;
3645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3646 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3647 wxPyEndAllowThreads(__tstate
);
3648 if (PyErr_Occurred()) SWIG_fail
;
3651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3675 SWIGINTERN PyObject
*_wrap_Button_SetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3676 PyObject
*resultobj
= 0;
3677 wxButton
*arg1
= (wxButton
*) 0 ;
3680 PyObject
*swig_obj
[1] ;
3682 if (!args
) SWIG_fail
;
3684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3685 if (!SWIG_IsOK(res1
)) {
3686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3688 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3691 (arg1
)->SetDefault();
3692 wxPyEndAllowThreads(__tstate
);
3693 if (PyErr_Occurred()) SWIG_fail
;
3695 resultobj
= SWIG_Py_Void();
3702 SWIGINTERN PyObject
*_wrap_Button_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3703 PyObject
*resultobj
= 0;
3706 if (!SWIG_Python_UnpackTuple(args
,"Button_GetDefaultSize",0,0,0)) SWIG_fail
;
3708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3709 result
= wxButton::GetDefaultSize();
3710 wxPyEndAllowThreads(__tstate
);
3711 if (PyErr_Occurred()) SWIG_fail
;
3713 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
3720 SWIGINTERN PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3721 PyObject
*resultobj
= 0;
3722 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3723 SwigValueWrapper
<wxVisualAttributes
> result
;
3726 PyObject
* obj0
= 0 ;
3727 char * kwnames
[] = {
3728 (char *) "variant", NULL
3731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3733 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3734 if (!SWIG_IsOK(ecode1
)) {
3735 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3737 arg1
= static_cast< wxWindowVariant
>(val1
);
3740 if (!wxPyCheckForApp()) SWIG_fail
;
3741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3742 result
= wxButton::GetClassDefaultAttributes(arg1
);
3743 wxPyEndAllowThreads(__tstate
);
3744 if (PyErr_Occurred()) SWIG_fail
;
3746 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3753 SWIGINTERN PyObject
*Button_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3755 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3756 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton
, SWIG_NewClientData(obj
));
3757 return SWIG_Py_Void();
3760 SWIGINTERN PyObject
*Button_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3761 return SWIG_Python_InitShadowInstance(args
);
3764 SWIGINTERN PyObject
*_wrap_new_BitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3765 PyObject
*resultobj
= 0;
3766 wxWindow
*arg1
= (wxWindow
*) 0 ;
3767 int arg2
= (int) -1 ;
3768 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
3769 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
3770 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3771 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3772 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3773 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3774 long arg6
= (long) wxBU_AUTODRAW
;
3775 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3776 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3777 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3778 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3779 wxBitmapButton
*result
= 0 ;
3792 bool temp8
= false ;
3793 PyObject
* obj0
= 0 ;
3794 PyObject
* obj1
= 0 ;
3795 PyObject
* obj2
= 0 ;
3796 PyObject
* obj3
= 0 ;
3797 PyObject
* obj4
= 0 ;
3798 PyObject
* obj5
= 0 ;
3799 PyObject
* obj6
= 0 ;
3800 PyObject
* obj7
= 0 ;
3801 char * kwnames
[] = {
3802 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3807 if (!SWIG_IsOK(res1
)) {
3808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3810 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3812 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3813 if (!SWIG_IsOK(ecode2
)) {
3814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3816 arg2
= static_cast< int >(val2
);
3819 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3820 if (!SWIG_IsOK(res3
)) {
3821 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3824 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3826 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
3831 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3837 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3841 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3842 if (!SWIG_IsOK(ecode6
)) {
3843 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3845 arg6
= static_cast< long >(val6
);
3848 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3849 if (!SWIG_IsOK(res7
)) {
3850 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3853 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3855 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3859 arg8
= wxString_in_helper(obj7
);
3860 if (arg8
== NULL
) SWIG_fail
;
3865 if (!wxPyCheckForApp()) SWIG_fail
;
3866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3867 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3868 wxPyEndAllowThreads(__tstate
);
3869 if (PyErr_Occurred()) SWIG_fail
;
3871 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_NEW
| 0 );
3886 SWIGINTERN PyObject
*_wrap_new_PreBitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3887 PyObject
*resultobj
= 0;
3888 wxBitmapButton
*result
= 0 ;
3890 if (!SWIG_Python_UnpackTuple(args
,"new_PreBitmapButton",0,0,0)) SWIG_fail
;
3892 if (!wxPyCheckForApp()) SWIG_fail
;
3893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3894 result
= (wxBitmapButton
*)new wxBitmapButton();
3895 wxPyEndAllowThreads(__tstate
);
3896 if (PyErr_Occurred()) SWIG_fail
;
3898 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_OWN
| 0 );
3905 SWIGINTERN PyObject
*_wrap_BitmapButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3906 PyObject
*resultobj
= 0;
3907 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3908 wxWindow
*arg2
= (wxWindow
*) 0 ;
3909 int arg3
= (int) -1 ;
3910 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
3911 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
3912 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3913 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3914 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3915 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3916 long arg7
= (long) wxBU_AUTODRAW
;
3917 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3918 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3919 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3920 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3936 bool temp9
= false ;
3937 PyObject
* obj0
= 0 ;
3938 PyObject
* obj1
= 0 ;
3939 PyObject
* obj2
= 0 ;
3940 PyObject
* obj3
= 0 ;
3941 PyObject
* obj4
= 0 ;
3942 PyObject
* obj5
= 0 ;
3943 PyObject
* obj6
= 0 ;
3944 PyObject
* obj7
= 0 ;
3945 PyObject
* obj8
= 0 ;
3946 char * kwnames
[] = {
3947 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
3952 if (!SWIG_IsOK(res1
)) {
3953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
3955 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
3956 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3957 if (!SWIG_IsOK(res2
)) {
3958 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3960 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3962 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3963 if (!SWIG_IsOK(ecode3
)) {
3964 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
3966 arg3
= static_cast< int >(val3
);
3969 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3970 if (!SWIG_IsOK(res4
)) {
3971 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3974 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3976 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
3981 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3987 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3991 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3992 if (!SWIG_IsOK(ecode7
)) {
3993 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
3995 arg7
= static_cast< long >(val7
);
3998 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3999 if (!SWIG_IsOK(res8
)) {
4000 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4003 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4005 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4009 arg9
= wxString_in_helper(obj8
);
4010 if (arg9
== NULL
) SWIG_fail
;
4015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4016 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4017 wxPyEndAllowThreads(__tstate
);
4018 if (PyErr_Occurred()) SWIG_fail
;
4021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4037 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4038 PyObject
*resultobj
= 0;
4039 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4043 PyObject
*swig_obj
[1] ;
4045 if (!args
) SWIG_fail
;
4047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4048 if (!SWIG_IsOK(res1
)) {
4049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4051 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4054 result
= (arg1
)->GetBitmapLabel();
4055 wxPyEndAllowThreads(__tstate
);
4056 if (PyErr_Occurred()) SWIG_fail
;
4058 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4065 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4066 PyObject
*resultobj
= 0;
4067 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4071 PyObject
*swig_obj
[1] ;
4073 if (!args
) SWIG_fail
;
4075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4076 if (!SWIG_IsOK(res1
)) {
4077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4079 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4082 result
= (arg1
)->GetBitmapDisabled();
4083 wxPyEndAllowThreads(__tstate
);
4084 if (PyErr_Occurred()) SWIG_fail
;
4086 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4093 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4094 PyObject
*resultobj
= 0;
4095 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4099 PyObject
*swig_obj
[1] ;
4101 if (!args
) SWIG_fail
;
4103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4104 if (!SWIG_IsOK(res1
)) {
4105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4107 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4110 result
= (arg1
)->GetBitmapFocus();
4111 wxPyEndAllowThreads(__tstate
);
4112 if (PyErr_Occurred()) SWIG_fail
;
4114 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4121 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4122 PyObject
*resultobj
= 0;
4123 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4127 PyObject
*swig_obj
[1] ;
4129 if (!args
) SWIG_fail
;
4131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4132 if (!SWIG_IsOK(res1
)) {
4133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4135 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4138 result
= (arg1
)->GetBitmapSelected();
4139 wxPyEndAllowThreads(__tstate
);
4140 if (PyErr_Occurred()) SWIG_fail
;
4142 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4149 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4150 PyObject
*resultobj
= 0;
4151 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4155 PyObject
*swig_obj
[1] ;
4157 if (!args
) SWIG_fail
;
4159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4160 if (!SWIG_IsOK(res1
)) {
4161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4163 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4166 result
= (arg1
)->GetBitmapHover();
4167 wxPyEndAllowThreads(__tstate
);
4168 if (PyErr_Occurred()) SWIG_fail
;
4170 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4177 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4178 PyObject
*resultobj
= 0;
4179 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4180 wxBitmap
*arg2
= 0 ;
4185 PyObject
* obj0
= 0 ;
4186 PyObject
* obj1
= 0 ;
4187 char * kwnames
[] = {
4188 (char *) "self",(char *) "bitmap", NULL
4191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4193 if (!SWIG_IsOK(res1
)) {
4194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4196 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4197 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4198 if (!SWIG_IsOK(res2
)) {
4199 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4202 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4204 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4207 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
4208 wxPyEndAllowThreads(__tstate
);
4209 if (PyErr_Occurred()) SWIG_fail
;
4211 resultobj
= SWIG_Py_Void();
4218 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4219 PyObject
*resultobj
= 0;
4220 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4221 wxBitmap
*arg2
= 0 ;
4226 PyObject
* obj0
= 0 ;
4227 PyObject
* obj1
= 0 ;
4228 char * kwnames
[] = {
4229 (char *) "self",(char *) "bitmap", NULL
4232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4234 if (!SWIG_IsOK(res1
)) {
4235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4237 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4238 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4239 if (!SWIG_IsOK(res2
)) {
4240 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4243 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4245 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4248 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
4249 wxPyEndAllowThreads(__tstate
);
4250 if (PyErr_Occurred()) SWIG_fail
;
4252 resultobj
= SWIG_Py_Void();
4259 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4260 PyObject
*resultobj
= 0;
4261 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4262 wxBitmap
*arg2
= 0 ;
4267 PyObject
* obj0
= 0 ;
4268 PyObject
* obj1
= 0 ;
4269 char * kwnames
[] = {
4270 (char *) "self",(char *) "bitmap", NULL
4273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4275 if (!SWIG_IsOK(res1
)) {
4276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4278 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4279 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4280 if (!SWIG_IsOK(res2
)) {
4281 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4284 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4286 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4289 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
4290 wxPyEndAllowThreads(__tstate
);
4291 if (PyErr_Occurred()) SWIG_fail
;
4293 resultobj
= SWIG_Py_Void();
4300 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4301 PyObject
*resultobj
= 0;
4302 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4303 wxBitmap
*arg2
= 0 ;
4308 PyObject
* obj0
= 0 ;
4309 PyObject
* obj1
= 0 ;
4310 char * kwnames
[] = {
4311 (char *) "self",(char *) "bitmap", NULL
4314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4316 if (!SWIG_IsOK(res1
)) {
4317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4319 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4320 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4321 if (!SWIG_IsOK(res2
)) {
4322 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4325 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4327 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4330 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
4331 wxPyEndAllowThreads(__tstate
);
4332 if (PyErr_Occurred()) SWIG_fail
;
4334 resultobj
= SWIG_Py_Void();
4341 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4342 PyObject
*resultobj
= 0;
4343 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4344 wxBitmap
*arg2
= 0 ;
4349 PyObject
* obj0
= 0 ;
4350 PyObject
* obj1
= 0 ;
4351 char * kwnames
[] = {
4352 (char *) "self",(char *) "hover", NULL
4355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4357 if (!SWIG_IsOK(res1
)) {
4358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4360 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4361 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4362 if (!SWIG_IsOK(res2
)) {
4363 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4366 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4368 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4371 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
4372 wxPyEndAllowThreads(__tstate
);
4373 if (PyErr_Occurred()) SWIG_fail
;
4375 resultobj
= SWIG_Py_Void();
4382 SWIGINTERN PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4383 PyObject
*resultobj
= 0;
4384 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4393 PyObject
* obj0
= 0 ;
4394 PyObject
* obj1
= 0 ;
4395 PyObject
* obj2
= 0 ;
4396 char * kwnames
[] = {
4397 (char *) "self",(char *) "x",(char *) "y", NULL
4400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4402 if (!SWIG_IsOK(res1
)) {
4403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4405 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4406 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4407 if (!SWIG_IsOK(ecode2
)) {
4408 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4410 arg2
= static_cast< int >(val2
);
4411 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4412 if (!SWIG_IsOK(ecode3
)) {
4413 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4415 arg3
= static_cast< int >(val3
);
4417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4418 (arg1
)->SetMargins(arg2
,arg3
);
4419 wxPyEndAllowThreads(__tstate
);
4420 if (PyErr_Occurred()) SWIG_fail
;
4422 resultobj
= SWIG_Py_Void();
4429 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4430 PyObject
*resultobj
= 0;
4431 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4435 PyObject
*swig_obj
[1] ;
4437 if (!args
) SWIG_fail
;
4439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4440 if (!SWIG_IsOK(res1
)) {
4441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4443 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4446 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
4447 wxPyEndAllowThreads(__tstate
);
4448 if (PyErr_Occurred()) SWIG_fail
;
4450 resultobj
= SWIG_From_int(static_cast< int >(result
));
4457 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4458 PyObject
*resultobj
= 0;
4459 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4463 PyObject
*swig_obj
[1] ;
4465 if (!args
) SWIG_fail
;
4467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4468 if (!SWIG_IsOK(res1
)) {
4469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4471 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4474 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
4475 wxPyEndAllowThreads(__tstate
);
4476 if (PyErr_Occurred()) SWIG_fail
;
4478 resultobj
= SWIG_From_int(static_cast< int >(result
));
4485 SWIGINTERN PyObject
*BitmapButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4487 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4488 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton
, SWIG_NewClientData(obj
));
4489 return SWIG_Py_Void();
4492 SWIGINTERN PyObject
*BitmapButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4493 return SWIG_Python_InitShadowInstance(args
);
4496 SWIGINTERN
int CheckBoxNameStr_set(PyObject
*) {
4497 SWIG_Error(SWIG_AttributeError
,"Variable CheckBoxNameStr is read-only.");
4502 SWIGINTERN PyObject
*CheckBoxNameStr_get(void) {
4503 PyObject
*pyobj
= 0;
4507 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4509 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4516 SWIGINTERN PyObject
*_wrap_new_CheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4517 PyObject
*resultobj
= 0;
4518 wxWindow
*arg1
= (wxWindow
*) 0 ;
4519 int arg2
= (int) -1 ;
4520 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4521 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4522 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4523 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4524 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4525 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4526 long arg6
= (long) 0 ;
4527 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4528 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4529 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
4530 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4531 wxCheckBox
*result
= 0 ;
4536 bool temp3
= false ;
4543 bool temp8
= false ;
4544 PyObject
* obj0
= 0 ;
4545 PyObject
* obj1
= 0 ;
4546 PyObject
* obj2
= 0 ;
4547 PyObject
* obj3
= 0 ;
4548 PyObject
* obj4
= 0 ;
4549 PyObject
* obj5
= 0 ;
4550 PyObject
* obj6
= 0 ;
4551 PyObject
* obj7
= 0 ;
4552 char * kwnames
[] = {
4553 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4558 if (!SWIG_IsOK(res1
)) {
4559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4561 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4563 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4564 if (!SWIG_IsOK(ecode2
)) {
4565 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4567 arg2
= static_cast< int >(val2
);
4571 arg3
= wxString_in_helper(obj2
);
4572 if (arg3
== NULL
) SWIG_fail
;
4579 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4585 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4589 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4590 if (!SWIG_IsOK(ecode6
)) {
4591 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4593 arg6
= static_cast< long >(val6
);
4596 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
4597 if (!SWIG_IsOK(res7
)) {
4598 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4601 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4603 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
4607 arg8
= wxString_in_helper(obj7
);
4608 if (arg8
== NULL
) SWIG_fail
;
4613 if (!wxPyCheckForApp()) SWIG_fail
;
4614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4615 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4616 wxPyEndAllowThreads(__tstate
);
4617 if (PyErr_Occurred()) SWIG_fail
;
4619 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_NEW
| 0 );
4642 SWIGINTERN PyObject
*_wrap_new_PreCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4643 PyObject
*resultobj
= 0;
4644 wxCheckBox
*result
= 0 ;
4646 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckBox",0,0,0)) SWIG_fail
;
4648 if (!wxPyCheckForApp()) SWIG_fail
;
4649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4650 result
= (wxCheckBox
*)new wxCheckBox();
4651 wxPyEndAllowThreads(__tstate
);
4652 if (PyErr_Occurred()) SWIG_fail
;
4654 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_OWN
| 0 );
4661 SWIGINTERN PyObject
*_wrap_CheckBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4662 PyObject
*resultobj
= 0;
4663 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4664 wxWindow
*arg2
= (wxWindow
*) 0 ;
4665 int arg3
= (int) -1 ;
4666 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4667 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4668 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4669 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4670 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4671 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4672 long arg7
= (long) 0 ;
4673 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4674 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4675 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
4676 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4684 bool temp4
= false ;
4691 bool temp9
= false ;
4692 PyObject
* obj0
= 0 ;
4693 PyObject
* obj1
= 0 ;
4694 PyObject
* obj2
= 0 ;
4695 PyObject
* obj3
= 0 ;
4696 PyObject
* obj4
= 0 ;
4697 PyObject
* obj5
= 0 ;
4698 PyObject
* obj6
= 0 ;
4699 PyObject
* obj7
= 0 ;
4700 PyObject
* obj8
= 0 ;
4701 char * kwnames
[] = {
4702 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4707 if (!SWIG_IsOK(res1
)) {
4708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4710 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4711 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4712 if (!SWIG_IsOK(res2
)) {
4713 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4715 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4717 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4718 if (!SWIG_IsOK(ecode3
)) {
4719 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4721 arg3
= static_cast< int >(val3
);
4725 arg4
= wxString_in_helper(obj3
);
4726 if (arg4
== NULL
) SWIG_fail
;
4733 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4739 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4743 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4744 if (!SWIG_IsOK(ecode7
)) {
4745 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4747 arg7
= static_cast< long >(val7
);
4750 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4751 if (!SWIG_IsOK(res8
)) {
4752 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4755 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4757 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4761 arg9
= wxString_in_helper(obj8
);
4762 if (arg9
== NULL
) SWIG_fail
;
4767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4768 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4769 wxPyEndAllowThreads(__tstate
);
4770 if (PyErr_Occurred()) SWIG_fail
;
4773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4797 SWIGINTERN PyObject
*_wrap_CheckBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4798 PyObject
*resultobj
= 0;
4799 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4803 PyObject
*swig_obj
[1] ;
4805 if (!args
) SWIG_fail
;
4807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4808 if (!SWIG_IsOK(res1
)) {
4809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4811 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4814 result
= (bool)(arg1
)->GetValue();
4815 wxPyEndAllowThreads(__tstate
);
4816 if (PyErr_Occurred()) SWIG_fail
;
4819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4827 SWIGINTERN PyObject
*_wrap_CheckBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4828 PyObject
*resultobj
= 0;
4829 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4833 PyObject
*swig_obj
[1] ;
4835 if (!args
) SWIG_fail
;
4837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4838 if (!SWIG_IsOK(res1
)) {
4839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4841 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4844 result
= (bool)(arg1
)->IsChecked();
4845 wxPyEndAllowThreads(__tstate
);
4846 if (PyErr_Occurred()) SWIG_fail
;
4849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4857 SWIGINTERN PyObject
*_wrap_CheckBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4858 PyObject
*resultobj
= 0;
4859 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4865 PyObject
* obj0
= 0 ;
4866 PyObject
* obj1
= 0 ;
4867 char * kwnames
[] = {
4868 (char *) "self",(char *) "state", NULL
4871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4873 if (!SWIG_IsOK(res1
)) {
4874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4876 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4877 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4878 if (!SWIG_IsOK(ecode2
)) {
4879 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4881 arg2
= static_cast< bool >(val2
);
4883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4884 (arg1
)->SetValue(arg2
);
4885 wxPyEndAllowThreads(__tstate
);
4886 if (PyErr_Occurred()) SWIG_fail
;
4888 resultobj
= SWIG_Py_Void();
4895 SWIGINTERN PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4896 PyObject
*resultobj
= 0;
4897 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4898 wxCheckBoxState result
;
4901 PyObject
*swig_obj
[1] ;
4903 if (!args
) SWIG_fail
;
4905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4906 if (!SWIG_IsOK(res1
)) {
4907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4909 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4912 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
4913 wxPyEndAllowThreads(__tstate
);
4914 if (PyErr_Occurred()) SWIG_fail
;
4916 resultobj
= SWIG_From_int(static_cast< int >(result
));
4923 SWIGINTERN PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4924 PyObject
*resultobj
= 0;
4925 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4926 wxCheckBoxState arg2
;
4931 PyObject
* obj0
= 0 ;
4932 PyObject
* obj1
= 0 ;
4933 char * kwnames
[] = {
4934 (char *) "self",(char *) "state", NULL
4937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4939 if (!SWIG_IsOK(res1
)) {
4940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4942 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4943 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4944 if (!SWIG_IsOK(ecode2
)) {
4945 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
4947 arg2
= static_cast< wxCheckBoxState
>(val2
);
4949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4950 (arg1
)->Set3StateValue(arg2
);
4951 wxPyEndAllowThreads(__tstate
);
4952 if (PyErr_Occurred()) SWIG_fail
;
4954 resultobj
= SWIG_Py_Void();
4961 SWIGINTERN PyObject
*_wrap_CheckBox_Is3State(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4962 PyObject
*resultobj
= 0;
4963 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4967 PyObject
*swig_obj
[1] ;
4969 if (!args
) SWIG_fail
;
4971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4972 if (!SWIG_IsOK(res1
)) {
4973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4975 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4978 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
4979 wxPyEndAllowThreads(__tstate
);
4980 if (PyErr_Occurred()) SWIG_fail
;
4983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4991 SWIGINTERN PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4992 PyObject
*resultobj
= 0;
4993 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4997 PyObject
*swig_obj
[1] ;
4999 if (!args
) SWIG_fail
;
5001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5002 if (!SWIG_IsOK(res1
)) {
5003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5005 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5008 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
5009 wxPyEndAllowThreads(__tstate
);
5010 if (PyErr_Occurred()) SWIG_fail
;
5013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5021 SWIGINTERN PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5022 PyObject
*resultobj
= 0;
5023 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5024 SwigValueWrapper
<wxVisualAttributes
> result
;
5027 PyObject
* obj0
= 0 ;
5028 char * kwnames
[] = {
5029 (char *) "variant", NULL
5032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5034 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5035 if (!SWIG_IsOK(ecode1
)) {
5036 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5038 arg1
= static_cast< wxWindowVariant
>(val1
);
5041 if (!wxPyCheckForApp()) SWIG_fail
;
5042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5043 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
5044 wxPyEndAllowThreads(__tstate
);
5045 if (PyErr_Occurred()) SWIG_fail
;
5047 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5054 SWIGINTERN PyObject
*CheckBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5056 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5057 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox
, SWIG_NewClientData(obj
));
5058 return SWIG_Py_Void();
5061 SWIGINTERN PyObject
*CheckBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5062 return SWIG_Python_InitShadowInstance(args
);
5065 SWIGINTERN
int ChoiceNameStr_set(PyObject
*) {
5066 SWIG_Error(SWIG_AttributeError
,"Variable ChoiceNameStr is read-only.");
5071 SWIGINTERN PyObject
*ChoiceNameStr_get(void) {
5072 PyObject
*pyobj
= 0;
5076 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5078 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5085 SWIGINTERN PyObject
*_wrap_new_Choice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5086 PyObject
*resultobj
= 0;
5087 wxWindow
*arg1
= (wxWindow
*) 0 ;
5088 int arg2
= (int) -1 ;
5089 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5090 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5091 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5092 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5093 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5094 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5095 long arg6
= (long) 0 ;
5096 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5097 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5098 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
5099 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5100 wxChoice
*result
= 0 ;
5107 bool temp5
= false ;
5112 bool temp8
= false ;
5113 PyObject
* obj0
= 0 ;
5114 PyObject
* obj1
= 0 ;
5115 PyObject
* obj2
= 0 ;
5116 PyObject
* obj3
= 0 ;
5117 PyObject
* obj4
= 0 ;
5118 PyObject
* obj5
= 0 ;
5119 PyObject
* obj6
= 0 ;
5120 PyObject
* obj7
= 0 ;
5121 char * kwnames
[] = {
5122 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5127 if (!SWIG_IsOK(res1
)) {
5128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5130 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5132 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5133 if (!SWIG_IsOK(ecode2
)) {
5134 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5136 arg2
= static_cast< int >(val2
);
5141 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5147 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5152 if (! PySequence_Check(obj4
)) {
5153 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5156 arg5
= new wxArrayString
;
5158 int i
, len
=PySequence_Length(obj4
);
5159 for (i
=0; i
<len
; i
++) {
5160 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5161 wxString
* s
= wxString_in_helper(item
);
5162 if (PyErr_Occurred()) SWIG_fail
;
5170 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5171 if (!SWIG_IsOK(ecode6
)) {
5172 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5174 arg6
= static_cast< long >(val6
);
5177 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5178 if (!SWIG_IsOK(res7
)) {
5179 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5182 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5184 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5188 arg8
= wxString_in_helper(obj7
);
5189 if (arg8
== NULL
) SWIG_fail
;
5194 if (!wxPyCheckForApp()) SWIG_fail
;
5195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5196 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5197 wxPyEndAllowThreads(__tstate
);
5198 if (PyErr_Occurred()) SWIG_fail
;
5200 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_NEW
| 0 );
5202 if (temp5
) delete arg5
;
5211 if (temp5
) delete arg5
;
5221 SWIGINTERN PyObject
*_wrap_new_PreChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5222 PyObject
*resultobj
= 0;
5223 wxChoice
*result
= 0 ;
5225 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoice",0,0,0)) SWIG_fail
;
5227 if (!wxPyCheckForApp()) SWIG_fail
;
5228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5229 result
= (wxChoice
*)new wxChoice();
5230 wxPyEndAllowThreads(__tstate
);
5231 if (PyErr_Occurred()) SWIG_fail
;
5233 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_OWN
| 0 );
5240 SWIGINTERN PyObject
*_wrap_Choice_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5241 PyObject
*resultobj
= 0;
5242 wxChoice
*arg1
= (wxChoice
*) 0 ;
5243 wxWindow
*arg2
= (wxWindow
*) 0 ;
5244 int arg3
= (int) -1 ;
5245 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5246 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5247 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5248 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5249 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5250 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5251 long arg7
= (long) 0 ;
5252 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5253 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5254 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
5255 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5265 bool temp6
= false ;
5270 bool temp9
= false ;
5271 PyObject
* obj0
= 0 ;
5272 PyObject
* obj1
= 0 ;
5273 PyObject
* obj2
= 0 ;
5274 PyObject
* obj3
= 0 ;
5275 PyObject
* obj4
= 0 ;
5276 PyObject
* obj5
= 0 ;
5277 PyObject
* obj6
= 0 ;
5278 PyObject
* obj7
= 0 ;
5279 PyObject
* obj8
= 0 ;
5280 char * kwnames
[] = {
5281 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5286 if (!SWIG_IsOK(res1
)) {
5287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5289 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5290 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5291 if (!SWIG_IsOK(res2
)) {
5292 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5294 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5296 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5297 if (!SWIG_IsOK(ecode3
)) {
5298 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5300 arg3
= static_cast< int >(val3
);
5305 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5311 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5316 if (! PySequence_Check(obj5
)) {
5317 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5320 arg6
= new wxArrayString
;
5322 int i
, len
=PySequence_Length(obj5
);
5323 for (i
=0; i
<len
; i
++) {
5324 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5325 wxString
* s
= wxString_in_helper(item
);
5326 if (PyErr_Occurred()) SWIG_fail
;
5334 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5335 if (!SWIG_IsOK(ecode7
)) {
5336 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5338 arg7
= static_cast< long >(val7
);
5341 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5342 if (!SWIG_IsOK(res8
)) {
5343 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5346 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5348 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5352 arg9
= wxString_in_helper(obj8
);
5353 if (arg9
== NULL
) SWIG_fail
;
5358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5359 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5360 wxPyEndAllowThreads(__tstate
);
5361 if (PyErr_Occurred()) SWIG_fail
;
5364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5367 if (temp6
) delete arg6
;
5376 if (temp6
) delete arg6
;
5386 SWIGINTERN PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5387 PyObject
*resultobj
= 0;
5388 wxChoice
*arg1
= (wxChoice
*) 0 ;
5392 PyObject
*swig_obj
[1] ;
5394 if (!args
) SWIG_fail
;
5396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5397 if (!SWIG_IsOK(res1
)) {
5398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5400 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5403 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
5404 wxPyEndAllowThreads(__tstate
);
5405 if (PyErr_Occurred()) SWIG_fail
;
5407 resultobj
= SWIG_From_int(static_cast< int >(result
));
5414 SWIGINTERN PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5415 PyObject
*resultobj
= 0;
5416 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5417 SwigValueWrapper
<wxVisualAttributes
> result
;
5420 PyObject
* obj0
= 0 ;
5421 char * kwnames
[] = {
5422 (char *) "variant", NULL
5425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5427 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5428 if (!SWIG_IsOK(ecode1
)) {
5429 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5431 arg1
= static_cast< wxWindowVariant
>(val1
);
5434 if (!wxPyCheckForApp()) SWIG_fail
;
5435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5436 result
= wxChoice::GetClassDefaultAttributes(arg1
);
5437 wxPyEndAllowThreads(__tstate
);
5438 if (PyErr_Occurred()) SWIG_fail
;
5440 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5447 SWIGINTERN PyObject
*Choice_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5449 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5450 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice
, SWIG_NewClientData(obj
));
5451 return SWIG_Py_Void();
5454 SWIGINTERN PyObject
*Choice_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5455 return SWIG_Python_InitShadowInstance(args
);
5458 SWIGINTERN
int ComboBoxNameStr_set(PyObject
*) {
5459 SWIG_Error(SWIG_AttributeError
,"Variable ComboBoxNameStr is read-only.");
5464 SWIGINTERN PyObject
*ComboBoxNameStr_get(void) {
5465 PyObject
*pyobj
= 0;
5469 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5471 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5478 SWIGINTERN PyObject
*_wrap_new_ComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5479 PyObject
*resultobj
= 0;
5480 wxWindow
*arg1
= (wxWindow
*) 0 ;
5481 int arg2
= (int) -1 ;
5482 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5483 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5484 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5485 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5486 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5487 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5488 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5489 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5490 long arg7
= (long) 0 ;
5491 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5492 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5493 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
5494 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5495 wxComboBox
*result
= 0 ;
5500 bool temp3
= false ;
5503 bool temp6
= false ;
5508 bool temp9
= false ;
5509 PyObject
* obj0
= 0 ;
5510 PyObject
* obj1
= 0 ;
5511 PyObject
* obj2
= 0 ;
5512 PyObject
* obj3
= 0 ;
5513 PyObject
* obj4
= 0 ;
5514 PyObject
* obj5
= 0 ;
5515 PyObject
* obj6
= 0 ;
5516 PyObject
* obj7
= 0 ;
5517 PyObject
* obj8
= 0 ;
5518 char * kwnames
[] = {
5519 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5524 if (!SWIG_IsOK(res1
)) {
5525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5527 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5529 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5530 if (!SWIG_IsOK(ecode2
)) {
5531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5533 arg2
= static_cast< int >(val2
);
5537 arg3
= wxString_in_helper(obj2
);
5538 if (arg3
== NULL
) SWIG_fail
;
5545 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5551 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5556 if (! PySequence_Check(obj5
)) {
5557 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5560 arg6
= new wxArrayString
;
5562 int i
, len
=PySequence_Length(obj5
);
5563 for (i
=0; i
<len
; i
++) {
5564 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5565 wxString
* s
= wxString_in_helper(item
);
5566 if (PyErr_Occurred()) SWIG_fail
;
5574 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5575 if (!SWIG_IsOK(ecode7
)) {
5576 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5578 arg7
= static_cast< long >(val7
);
5581 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5582 if (!SWIG_IsOK(res8
)) {
5583 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5586 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5588 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5592 arg9
= wxString_in_helper(obj8
);
5593 if (arg9
== NULL
) SWIG_fail
;
5598 if (!wxPyCheckForApp()) SWIG_fail
;
5599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5600 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
);
5601 wxPyEndAllowThreads(__tstate
);
5602 if (PyErr_Occurred()) SWIG_fail
;
5604 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_NEW
| 0 );
5610 if (temp6
) delete arg6
;
5623 if (temp6
) delete arg6
;
5633 SWIGINTERN PyObject
*_wrap_new_PreComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5634 PyObject
*resultobj
= 0;
5635 wxComboBox
*result
= 0 ;
5637 if (!SWIG_Python_UnpackTuple(args
,"new_PreComboBox",0,0,0)) SWIG_fail
;
5639 if (!wxPyCheckForApp()) SWIG_fail
;
5640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5641 result
= (wxComboBox
*)new wxComboBox();
5642 wxPyEndAllowThreads(__tstate
);
5643 if (PyErr_Occurred()) SWIG_fail
;
5645 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_OWN
| 0 );
5652 SWIGINTERN PyObject
*_wrap_ComboBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5653 PyObject
*resultobj
= 0;
5654 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5655 wxWindow
*arg2
= (wxWindow
*) 0 ;
5656 int arg3
= (int) -1 ;
5657 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5658 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5659 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5660 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5661 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5662 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5663 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
5664 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
5665 long arg8
= (long) 0 ;
5666 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5667 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5668 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
5669 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5677 bool temp4
= false ;
5680 bool temp7
= false ;
5685 bool temp10
= false ;
5686 PyObject
* obj0
= 0 ;
5687 PyObject
* obj1
= 0 ;
5688 PyObject
* obj2
= 0 ;
5689 PyObject
* obj3
= 0 ;
5690 PyObject
* obj4
= 0 ;
5691 PyObject
* obj5
= 0 ;
5692 PyObject
* obj6
= 0 ;
5693 PyObject
* obj7
= 0 ;
5694 PyObject
* obj8
= 0 ;
5695 PyObject
* obj9
= 0 ;
5696 char * kwnames
[] = {
5697 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
5701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5702 if (!SWIG_IsOK(res1
)) {
5703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5705 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5706 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5707 if (!SWIG_IsOK(res2
)) {
5708 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5710 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5712 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5713 if (!SWIG_IsOK(ecode3
)) {
5714 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5716 arg3
= static_cast< int >(val3
);
5720 arg4
= wxString_in_helper(obj3
);
5721 if (arg4
== NULL
) SWIG_fail
;
5728 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5734 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5739 if (! PySequence_Check(obj6
)) {
5740 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5743 arg7
= new wxArrayString
;
5745 int i
, len
=PySequence_Length(obj6
);
5746 for (i
=0; i
<len
; i
++) {
5747 PyObject
* item
= PySequence_GetItem(obj6
, i
);
5748 wxString
* s
= wxString_in_helper(item
);
5749 if (PyErr_Occurred()) SWIG_fail
;
5757 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
5758 if (!SWIG_IsOK(ecode8
)) {
5759 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5761 arg8
= static_cast< long >(val8
);
5764 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
5765 if (!SWIG_IsOK(res9
)) {
5766 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5769 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5771 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
5775 arg10
= wxString_in_helper(obj9
);
5776 if (arg10
== NULL
) SWIG_fail
;
5781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5782 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
);
5783 wxPyEndAllowThreads(__tstate
);
5784 if (PyErr_Occurred()) SWIG_fail
;
5787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5794 if (temp7
) delete arg7
;
5807 if (temp7
) delete arg7
;
5817 SWIGINTERN PyObject
*_wrap_ComboBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5818 PyObject
*resultobj
= 0;
5819 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5823 PyObject
*swig_obj
[1] ;
5825 if (!args
) SWIG_fail
;
5827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5828 if (!SWIG_IsOK(res1
)) {
5829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5831 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5834 result
= ((wxComboBox
const *)arg1
)->GetValue();
5835 wxPyEndAllowThreads(__tstate
);
5836 if (PyErr_Occurred()) SWIG_fail
;
5840 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5842 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5851 SWIGINTERN PyObject
*_wrap_ComboBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5852 PyObject
*resultobj
= 0;
5853 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5854 wxString
*arg2
= 0 ;
5857 bool temp2
= false ;
5858 PyObject
* obj0
= 0 ;
5859 PyObject
* obj1
= 0 ;
5860 char * kwnames
[] = {
5861 (char *) "self",(char *) "value", NULL
5864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5866 if (!SWIG_IsOK(res1
)) {
5867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5869 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5871 arg2
= wxString_in_helper(obj1
);
5872 if (arg2
== NULL
) SWIG_fail
;
5876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5877 (arg1
)->SetValue((wxString
const &)*arg2
);
5878 wxPyEndAllowThreads(__tstate
);
5879 if (PyErr_Occurred()) SWIG_fail
;
5881 resultobj
= SWIG_Py_Void();
5896 SWIGINTERN PyObject
*_wrap_ComboBox_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5897 PyObject
*resultobj
= 0;
5898 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5901 PyObject
*swig_obj
[1] ;
5903 if (!args
) SWIG_fail
;
5905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5906 if (!SWIG_IsOK(res1
)) {
5907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5909 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5913 wxPyEndAllowThreads(__tstate
);
5914 if (PyErr_Occurred()) SWIG_fail
;
5916 resultobj
= SWIG_Py_Void();
5923 SWIGINTERN PyObject
*_wrap_ComboBox_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5924 PyObject
*resultobj
= 0;
5925 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5928 PyObject
*swig_obj
[1] ;
5930 if (!args
) SWIG_fail
;
5932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5933 if (!SWIG_IsOK(res1
)) {
5934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5936 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5940 wxPyEndAllowThreads(__tstate
);
5941 if (PyErr_Occurred()) SWIG_fail
;
5943 resultobj
= SWIG_Py_Void();
5950 SWIGINTERN PyObject
*_wrap_ComboBox_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5951 PyObject
*resultobj
= 0;
5952 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5955 PyObject
*swig_obj
[1] ;
5957 if (!args
) SWIG_fail
;
5959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5960 if (!SWIG_IsOK(res1
)) {
5961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
5963 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5967 wxPyEndAllowThreads(__tstate
);
5968 if (PyErr_Occurred()) SWIG_fail
;
5970 resultobj
= SWIG_Py_Void();
5977 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5978 PyObject
*resultobj
= 0;
5979 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5985 PyObject
* obj0
= 0 ;
5986 PyObject
* obj1
= 0 ;
5987 char * kwnames
[] = {
5988 (char *) "self",(char *) "pos", NULL
5991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5993 if (!SWIG_IsOK(res1
)) {
5994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
5996 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5997 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
5998 if (!SWIG_IsOK(ecode2
)) {
5999 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6001 arg2
= static_cast< long >(val2
);
6003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6004 (arg1
)->SetInsertionPoint(arg2
);
6005 wxPyEndAllowThreads(__tstate
);
6006 if (PyErr_Occurred()) SWIG_fail
;
6008 resultobj
= SWIG_Py_Void();
6015 SWIGINTERN PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6016 PyObject
*resultobj
= 0;
6017 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6021 PyObject
*swig_obj
[1] ;
6023 if (!args
) SWIG_fail
;
6025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6026 if (!SWIG_IsOK(res1
)) {
6027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6029 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6032 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
6033 wxPyEndAllowThreads(__tstate
);
6034 if (PyErr_Occurred()) SWIG_fail
;
6036 resultobj
= SWIG_From_long(static_cast< long >(result
));
6043 SWIGINTERN PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6044 PyObject
*resultobj
= 0;
6045 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6049 PyObject
*swig_obj
[1] ;
6051 if (!args
) SWIG_fail
;
6053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6054 if (!SWIG_IsOK(res1
)) {
6055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6057 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6060 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
6061 wxPyEndAllowThreads(__tstate
);
6062 if (PyErr_Occurred()) SWIG_fail
;
6064 resultobj
= SWIG_From_long(static_cast< long >(result
));
6071 SWIGINTERN PyObject
*_wrap_ComboBox_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6072 PyObject
*resultobj
= 0;
6073 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6076 wxString
*arg4
= 0 ;
6083 bool temp4
= false ;
6084 PyObject
* obj0
= 0 ;
6085 PyObject
* obj1
= 0 ;
6086 PyObject
* obj2
= 0 ;
6087 PyObject
* obj3
= 0 ;
6088 char * kwnames
[] = {
6089 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6094 if (!SWIG_IsOK(res1
)) {
6095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6097 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6098 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6099 if (!SWIG_IsOK(ecode2
)) {
6100 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6102 arg2
= static_cast< long >(val2
);
6103 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6104 if (!SWIG_IsOK(ecode3
)) {
6105 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6107 arg3
= static_cast< long >(val3
);
6109 arg4
= wxString_in_helper(obj3
);
6110 if (arg4
== NULL
) SWIG_fail
;
6114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6115 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6116 wxPyEndAllowThreads(__tstate
);
6117 if (PyErr_Occurred()) SWIG_fail
;
6119 resultobj
= SWIG_Py_Void();
6134 SWIGINTERN PyObject
*_wrap_ComboBox_SetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6135 PyObject
*resultobj
= 0;
6136 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6145 PyObject
* obj0
= 0 ;
6146 PyObject
* obj1
= 0 ;
6147 PyObject
* obj2
= 0 ;
6148 char * kwnames
[] = {
6149 (char *) "self",(char *) "from",(char *) "to", NULL
6152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) 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_SetMark" "', 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_SetMark" "', 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_SetMark" "', expected argument " "3"" of type '" "long""'");
6167 arg3
= static_cast< long >(val3
);
6169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6170 (arg1
)->SetSelection(arg2
,arg3
);
6171 wxPyEndAllowThreads(__tstate
);
6172 if (PyErr_Occurred()) SWIG_fail
;
6174 resultobj
= SWIG_Py_Void();
6181 SWIGINTERN PyObject
*_wrap_ComboBox_GetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6182 PyObject
*resultobj
= 0;
6183 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6184 long *arg2
= (long *) 0 ;
6185 long *arg3
= (long *) 0 ;
6189 int res2
= SWIG_TMPOBJ
;
6191 int res3
= SWIG_TMPOBJ
;
6192 PyObject
*swig_obj
[1] ;
6196 if (!args
) SWIG_fail
;
6198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6199 if (!SWIG_IsOK(res1
)) {
6200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6202 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6205 (arg1
)->GetSelection(arg2
,arg3
);
6206 wxPyEndAllowThreads(__tstate
);
6207 if (PyErr_Occurred()) SWIG_fail
;
6209 resultobj
= SWIG_Py_Void();
6210 if (SWIG_IsTmpObj(res2
)) {
6211 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
6213 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6214 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
6216 if (SWIG_IsTmpObj(res3
)) {
6217 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
6219 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6220 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
6228 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6229 PyObject
*resultobj
= 0;
6230 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6234 PyObject
*swig_obj
[1] ;
6236 if (!args
) SWIG_fail
;
6238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6239 if (!SWIG_IsOK(res1
)) {
6240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6242 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6245 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6246 wxPyEndAllowThreads(__tstate
);
6247 if (PyErr_Occurred()) SWIG_fail
;
6249 resultobj
= SWIG_From_int(static_cast< int >(result
));
6256 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6257 PyObject
*resultobj
= 0;
6258 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6259 wxString
*arg2
= 0 ;
6263 bool temp2
= false ;
6264 PyObject
* obj0
= 0 ;
6265 PyObject
* obj1
= 0 ;
6266 char * kwnames
[] = {
6267 (char *) "self",(char *) "string", NULL
6270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6272 if (!SWIG_IsOK(res1
)) {
6273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6275 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6277 arg2
= wxString_in_helper(obj1
);
6278 if (arg2
== NULL
) SWIG_fail
;
6282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6283 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6284 wxPyEndAllowThreads(__tstate
);
6285 if (PyErr_Occurred()) SWIG_fail
;
6288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6304 SWIGINTERN PyObject
*_wrap_ComboBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6305 PyObject
*resultobj
= 0;
6306 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6308 wxString
*arg3
= 0 ;
6313 bool temp3
= false ;
6314 PyObject
* obj0
= 0 ;
6315 PyObject
* obj1
= 0 ;
6316 PyObject
* obj2
= 0 ;
6317 char * kwnames
[] = {
6318 (char *) "self",(char *) "n",(char *) "string", NULL
6321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6323 if (!SWIG_IsOK(res1
)) {
6324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetString" "', expected argument " "1"" of type '" "wxComboBox *""'");
6326 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6327 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6328 if (!SWIG_IsOK(ecode2
)) {
6329 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetString" "', expected argument " "2"" of type '" "int""'");
6331 arg2
= static_cast< int >(val2
);
6333 arg3
= wxString_in_helper(obj2
);
6334 if (arg3
== NULL
) SWIG_fail
;
6338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6339 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
6340 wxPyEndAllowThreads(__tstate
);
6341 if (PyErr_Occurred()) SWIG_fail
;
6343 resultobj
= SWIG_Py_Void();
6358 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6359 PyObject
*resultobj
= 0;
6360 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6366 PyObject
* obj0
= 0 ;
6367 PyObject
* obj1
= 0 ;
6368 char * kwnames
[] = {
6369 (char *) "self",(char *) "editable", NULL
6372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6374 if (!SWIG_IsOK(res1
)) {
6375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6377 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6378 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6379 if (!SWIG_IsOK(ecode2
)) {
6380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6382 arg2
= static_cast< bool >(val2
);
6384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6385 (arg1
)->SetEditable(arg2
);
6386 wxPyEndAllowThreads(__tstate
);
6387 if (PyErr_Occurred()) SWIG_fail
;
6389 resultobj
= SWIG_Py_Void();
6396 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6397 PyObject
*resultobj
= 0;
6398 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6401 PyObject
*swig_obj
[1] ;
6403 if (!args
) SWIG_fail
;
6405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6406 if (!SWIG_IsOK(res1
)) {
6407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6409 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6412 (arg1
)->SetInsertionPointEnd();
6413 wxPyEndAllowThreads(__tstate
);
6414 if (PyErr_Occurred()) SWIG_fail
;
6416 resultobj
= SWIG_Py_Void();
6423 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6424 PyObject
*resultobj
= 0;
6425 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6434 PyObject
* obj0
= 0 ;
6435 PyObject
* obj1
= 0 ;
6436 PyObject
* obj2
= 0 ;
6437 char * kwnames
[] = {
6438 (char *) "self",(char *) "from",(char *) "to", NULL
6441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6443 if (!SWIG_IsOK(res1
)) {
6444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6446 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6447 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6448 if (!SWIG_IsOK(ecode2
)) {
6449 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6451 arg2
= static_cast< long >(val2
);
6452 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6453 if (!SWIG_IsOK(ecode3
)) {
6454 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6456 arg3
= static_cast< long >(val3
);
6458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6459 (arg1
)->Remove(arg2
,arg3
);
6460 wxPyEndAllowThreads(__tstate
);
6461 if (PyErr_Occurred()) SWIG_fail
;
6463 resultobj
= SWIG_Py_Void();
6470 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6471 PyObject
*resultobj
= 0;
6472 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6476 PyObject
*swig_obj
[1] ;
6478 if (!args
) SWIG_fail
;
6480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6481 if (!SWIG_IsOK(res1
)) {
6482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6484 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6487 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6488 wxPyEndAllowThreads(__tstate
);
6489 if (PyErr_Occurred()) SWIG_fail
;
6492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6500 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6501 PyObject
*resultobj
= 0;
6502 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6505 PyObject
*swig_obj
[1] ;
6507 if (!args
) SWIG_fail
;
6509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6510 if (!SWIG_IsOK(res1
)) {
6511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6513 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6517 wxPyEndAllowThreads(__tstate
);
6518 if (PyErr_Occurred()) SWIG_fail
;
6520 resultobj
= SWIG_Py_Void();
6527 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6528 PyObject
*resultobj
= 0;
6529 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6532 PyObject
*swig_obj
[1] ;
6534 if (!args
) SWIG_fail
;
6536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6537 if (!SWIG_IsOK(res1
)) {
6538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6540 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6544 wxPyEndAllowThreads(__tstate
);
6545 if (PyErr_Occurred()) SWIG_fail
;
6547 resultobj
= SWIG_Py_Void();
6554 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6555 PyObject
*resultobj
= 0;
6556 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6559 PyObject
*swig_obj
[1] ;
6561 if (!args
) SWIG_fail
;
6563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6564 if (!SWIG_IsOK(res1
)) {
6565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6567 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6570 (arg1
)->SelectAll();
6571 wxPyEndAllowThreads(__tstate
);
6572 if (PyErr_Occurred()) SWIG_fail
;
6574 resultobj
= SWIG_Py_Void();
6581 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6582 PyObject
*resultobj
= 0;
6583 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6587 PyObject
*swig_obj
[1] ;
6589 if (!args
) SWIG_fail
;
6591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6592 if (!SWIG_IsOK(res1
)) {
6593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6595 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6598 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6599 wxPyEndAllowThreads(__tstate
);
6600 if (PyErr_Occurred()) SWIG_fail
;
6603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6611 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6612 PyObject
*resultobj
= 0;
6613 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6617 PyObject
*swig_obj
[1] ;
6619 if (!args
) SWIG_fail
;
6621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6622 if (!SWIG_IsOK(res1
)) {
6623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6625 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6628 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6629 wxPyEndAllowThreads(__tstate
);
6630 if (PyErr_Occurred()) SWIG_fail
;
6633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6641 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6642 PyObject
*resultobj
= 0;
6643 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6647 PyObject
*swig_obj
[1] ;
6649 if (!args
) SWIG_fail
;
6651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6652 if (!SWIG_IsOK(res1
)) {
6653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6655 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6658 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6659 wxPyEndAllowThreads(__tstate
);
6660 if (PyErr_Occurred()) SWIG_fail
;
6663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6671 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6672 PyObject
*resultobj
= 0;
6673 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6677 PyObject
*swig_obj
[1] ;
6679 if (!args
) SWIG_fail
;
6681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6682 if (!SWIG_IsOK(res1
)) {
6683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6685 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6688 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6689 wxPyEndAllowThreads(__tstate
);
6690 if (PyErr_Occurred()) SWIG_fail
;
6693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6701 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6702 PyObject
*resultobj
= 0;
6703 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6707 PyObject
*swig_obj
[1] ;
6709 if (!args
) SWIG_fail
;
6711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6712 if (!SWIG_IsOK(res1
)) {
6713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6715 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6718 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6719 wxPyEndAllowThreads(__tstate
);
6720 if (PyErr_Occurred()) SWIG_fail
;
6723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6731 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6732 PyObject
*resultobj
= 0;
6733 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6734 SwigValueWrapper
<wxVisualAttributes
> result
;
6737 PyObject
* obj0
= 0 ;
6738 char * kwnames
[] = {
6739 (char *) "variant", NULL
6742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6744 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6745 if (!SWIG_IsOK(ecode1
)) {
6746 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6748 arg1
= static_cast< wxWindowVariant
>(val1
);
6751 if (!wxPyCheckForApp()) SWIG_fail
;
6752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6753 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6754 wxPyEndAllowThreads(__tstate
);
6755 if (PyErr_Occurred()) SWIG_fail
;
6757 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6764 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6766 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6767 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6768 return SWIG_Py_Void();
6771 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6772 return SWIG_Python_InitShadowInstance(args
);
6775 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6776 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6781 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6782 PyObject
*pyobj
= 0;
6786 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6788 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6795 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6796 PyObject
*resultobj
= 0;
6797 wxWindow
*arg1
= (wxWindow
*) 0 ;
6798 int arg2
= (int) -1 ;
6799 int arg3
= (int) 100 ;
6800 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6801 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6802 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6803 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6804 long arg6
= (long) wxGA_HORIZONTAL
;
6805 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6806 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6807 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6808 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6809 wxGauge
*result
= 0 ;
6822 bool temp8
= false ;
6823 PyObject
* obj0
= 0 ;
6824 PyObject
* obj1
= 0 ;
6825 PyObject
* obj2
= 0 ;
6826 PyObject
* obj3
= 0 ;
6827 PyObject
* obj4
= 0 ;
6828 PyObject
* obj5
= 0 ;
6829 PyObject
* obj6
= 0 ;
6830 PyObject
* obj7
= 0 ;
6831 char * kwnames
[] = {
6832 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6837 if (!SWIG_IsOK(res1
)) {
6838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6840 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6842 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6843 if (!SWIG_IsOK(ecode2
)) {
6844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6846 arg2
= static_cast< int >(val2
);
6849 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6850 if (!SWIG_IsOK(ecode3
)) {
6851 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6853 arg3
= static_cast< int >(val3
);
6858 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6864 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6868 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6869 if (!SWIG_IsOK(ecode6
)) {
6870 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6872 arg6
= static_cast< long >(val6
);
6875 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6876 if (!SWIG_IsOK(res7
)) {
6877 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6880 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6882 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6886 arg8
= wxString_in_helper(obj7
);
6887 if (arg8
== NULL
) SWIG_fail
;
6892 if (!wxPyCheckForApp()) SWIG_fail
;
6893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6894 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6895 wxPyEndAllowThreads(__tstate
);
6896 if (PyErr_Occurred()) SWIG_fail
;
6898 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6913 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6914 PyObject
*resultobj
= 0;
6915 wxGauge
*result
= 0 ;
6917 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6919 if (!wxPyCheckForApp()) SWIG_fail
;
6920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6921 result
= (wxGauge
*)new wxGauge();
6922 wxPyEndAllowThreads(__tstate
);
6923 if (PyErr_Occurred()) SWIG_fail
;
6925 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6932 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6933 PyObject
*resultobj
= 0;
6934 wxGauge
*arg1
= (wxGauge
*) 0 ;
6935 wxWindow
*arg2
= (wxWindow
*) 0 ;
6936 int arg3
= (int) -1 ;
6937 int arg4
= (int) 100 ;
6938 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6939 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6940 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6941 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6942 long arg7
= (long) wxGA_HORIZONTAL
;
6943 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6944 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6945 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6946 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6962 bool temp9
= false ;
6963 PyObject
* obj0
= 0 ;
6964 PyObject
* obj1
= 0 ;
6965 PyObject
* obj2
= 0 ;
6966 PyObject
* obj3
= 0 ;
6967 PyObject
* obj4
= 0 ;
6968 PyObject
* obj5
= 0 ;
6969 PyObject
* obj6
= 0 ;
6970 PyObject
* obj7
= 0 ;
6971 PyObject
* obj8
= 0 ;
6972 char * kwnames
[] = {
6973 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6978 if (!SWIG_IsOK(res1
)) {
6979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6981 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6982 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6983 if (!SWIG_IsOK(res2
)) {
6984 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6986 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6988 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6989 if (!SWIG_IsOK(ecode3
)) {
6990 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6992 arg3
= static_cast< int >(val3
);
6995 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6996 if (!SWIG_IsOK(ecode4
)) {
6997 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
6999 arg4
= static_cast< int >(val4
);
7004 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7010 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7014 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7015 if (!SWIG_IsOK(ecode7
)) {
7016 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
7018 arg7
= static_cast< long >(val7
);
7021 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
7022 if (!SWIG_IsOK(res8
)) {
7023 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7026 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7028 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
7032 arg9
= wxString_in_helper(obj8
);
7033 if (arg9
== NULL
) SWIG_fail
;
7038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7039 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7040 wxPyEndAllowThreads(__tstate
);
7041 if (PyErr_Occurred()) SWIG_fail
;
7044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7060 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7061 PyObject
*resultobj
= 0;
7062 wxGauge
*arg1
= (wxGauge
*) 0 ;
7068 PyObject
* obj0
= 0 ;
7069 PyObject
* obj1
= 0 ;
7070 char * kwnames
[] = {
7071 (char *) "self",(char *) "range", NULL
7074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7076 if (!SWIG_IsOK(res1
)) {
7077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7079 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7080 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7081 if (!SWIG_IsOK(ecode2
)) {
7082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7084 arg2
= static_cast< int >(val2
);
7086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7087 (arg1
)->SetRange(arg2
);
7088 wxPyEndAllowThreads(__tstate
);
7089 if (PyErr_Occurred()) SWIG_fail
;
7091 resultobj
= SWIG_Py_Void();
7098 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7099 PyObject
*resultobj
= 0;
7100 wxGauge
*arg1
= (wxGauge
*) 0 ;
7104 PyObject
*swig_obj
[1] ;
7106 if (!args
) SWIG_fail
;
7108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7109 if (!SWIG_IsOK(res1
)) {
7110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7112 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7115 result
= (int)((wxGauge
const *)arg1
)->GetRange();
7116 wxPyEndAllowThreads(__tstate
);
7117 if (PyErr_Occurred()) SWIG_fail
;
7119 resultobj
= SWIG_From_int(static_cast< int >(result
));
7126 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7127 PyObject
*resultobj
= 0;
7128 wxGauge
*arg1
= (wxGauge
*) 0 ;
7134 PyObject
* obj0
= 0 ;
7135 PyObject
* obj1
= 0 ;
7136 char * kwnames
[] = {
7137 (char *) "self",(char *) "pos", NULL
7140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7142 if (!SWIG_IsOK(res1
)) {
7143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7145 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7146 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7147 if (!SWIG_IsOK(ecode2
)) {
7148 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7150 arg2
= static_cast< int >(val2
);
7152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7153 (arg1
)->SetValue(arg2
);
7154 wxPyEndAllowThreads(__tstate
);
7155 if (PyErr_Occurred()) SWIG_fail
;
7157 resultobj
= SWIG_Py_Void();
7164 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7165 PyObject
*resultobj
= 0;
7166 wxGauge
*arg1
= (wxGauge
*) 0 ;
7170 PyObject
*swig_obj
[1] ;
7172 if (!args
) SWIG_fail
;
7174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7175 if (!SWIG_IsOK(res1
)) {
7176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7178 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7181 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7182 wxPyEndAllowThreads(__tstate
);
7183 if (PyErr_Occurred()) SWIG_fail
;
7185 resultobj
= SWIG_From_int(static_cast< int >(result
));
7192 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7193 PyObject
*resultobj
= 0;
7194 wxGauge
*arg1
= (wxGauge
*) 0 ;
7198 PyObject
*swig_obj
[1] ;
7200 if (!args
) SWIG_fail
;
7202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7203 if (!SWIG_IsOK(res1
)) {
7204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7206 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7209 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7210 wxPyEndAllowThreads(__tstate
);
7211 if (PyErr_Occurred()) SWIG_fail
;
7214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7222 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7223 PyObject
*resultobj
= 0;
7224 wxGauge
*arg1
= (wxGauge
*) 0 ;
7230 PyObject
* obj0
= 0 ;
7231 PyObject
* obj1
= 0 ;
7232 char * kwnames
[] = {
7233 (char *) "self",(char *) "w", NULL
7236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7238 if (!SWIG_IsOK(res1
)) {
7239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7241 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7242 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7243 if (!SWIG_IsOK(ecode2
)) {
7244 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7246 arg2
= static_cast< int >(val2
);
7248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7249 (arg1
)->SetShadowWidth(arg2
);
7250 wxPyEndAllowThreads(__tstate
);
7251 if (PyErr_Occurred()) SWIG_fail
;
7253 resultobj
= SWIG_Py_Void();
7260 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7261 PyObject
*resultobj
= 0;
7262 wxGauge
*arg1
= (wxGauge
*) 0 ;
7266 PyObject
*swig_obj
[1] ;
7268 if (!args
) SWIG_fail
;
7270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7271 if (!SWIG_IsOK(res1
)) {
7272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7274 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7277 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7278 wxPyEndAllowThreads(__tstate
);
7279 if (PyErr_Occurred()) SWIG_fail
;
7281 resultobj
= SWIG_From_int(static_cast< int >(result
));
7288 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7289 PyObject
*resultobj
= 0;
7290 wxGauge
*arg1
= (wxGauge
*) 0 ;
7296 PyObject
* obj0
= 0 ;
7297 PyObject
* obj1
= 0 ;
7298 char * kwnames
[] = {
7299 (char *) "self",(char *) "w", NULL
7302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7304 if (!SWIG_IsOK(res1
)) {
7305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7307 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7308 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7309 if (!SWIG_IsOK(ecode2
)) {
7310 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7312 arg2
= static_cast< int >(val2
);
7314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7315 (arg1
)->SetBezelFace(arg2
);
7316 wxPyEndAllowThreads(__tstate
);
7317 if (PyErr_Occurred()) SWIG_fail
;
7319 resultobj
= SWIG_Py_Void();
7326 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7327 PyObject
*resultobj
= 0;
7328 wxGauge
*arg1
= (wxGauge
*) 0 ;
7332 PyObject
*swig_obj
[1] ;
7334 if (!args
) SWIG_fail
;
7336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7337 if (!SWIG_IsOK(res1
)) {
7338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7340 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7343 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7344 wxPyEndAllowThreads(__tstate
);
7345 if (PyErr_Occurred()) SWIG_fail
;
7347 resultobj
= SWIG_From_int(static_cast< int >(result
));
7354 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7355 PyObject
*resultobj
= 0;
7356 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7357 SwigValueWrapper
<wxVisualAttributes
> result
;
7360 PyObject
* obj0
= 0 ;
7361 char * kwnames
[] = {
7362 (char *) "variant", NULL
7365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7367 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7368 if (!SWIG_IsOK(ecode1
)) {
7369 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7371 arg1
= static_cast< wxWindowVariant
>(val1
);
7374 if (!wxPyCheckForApp()) SWIG_fail
;
7375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7376 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7377 wxPyEndAllowThreads(__tstate
);
7378 if (PyErr_Occurred()) SWIG_fail
;
7380 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7387 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7389 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7390 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7391 return SWIG_Py_Void();
7394 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7395 return SWIG_Python_InitShadowInstance(args
);
7398 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7399 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7404 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7405 PyObject
*pyobj
= 0;
7409 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7411 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7418 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7419 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7424 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7425 PyObject
*pyobj
= 0;
7429 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7431 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7438 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7439 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7444 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7445 PyObject
*pyobj
= 0;
7449 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7451 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7458 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7459 PyObject
*resultobj
= 0;
7460 wxWindow
*arg1
= (wxWindow
*) 0 ;
7461 int arg2
= (int) -1 ;
7462 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7463 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7464 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7465 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7466 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7467 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7468 long arg6
= (long) 0 ;
7469 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7470 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7471 wxStaticBox
*result
= 0 ;
7476 bool temp3
= false ;
7481 bool temp7
= false ;
7482 PyObject
* obj0
= 0 ;
7483 PyObject
* obj1
= 0 ;
7484 PyObject
* obj2
= 0 ;
7485 PyObject
* obj3
= 0 ;
7486 PyObject
* obj4
= 0 ;
7487 PyObject
* obj5
= 0 ;
7488 PyObject
* obj6
= 0 ;
7489 char * kwnames
[] = {
7490 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7495 if (!SWIG_IsOK(res1
)) {
7496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7498 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7500 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7501 if (!SWIG_IsOK(ecode2
)) {
7502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7504 arg2
= static_cast< int >(val2
);
7508 arg3
= wxString_in_helper(obj2
);
7509 if (arg3
== NULL
) SWIG_fail
;
7516 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7522 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7526 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7527 if (!SWIG_IsOK(ecode6
)) {
7528 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7530 arg6
= static_cast< long >(val6
);
7534 arg7
= wxString_in_helper(obj6
);
7535 if (arg7
== NULL
) SWIG_fail
;
7540 if (!wxPyCheckForApp()) SWIG_fail
;
7541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7542 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7543 wxPyEndAllowThreads(__tstate
);
7544 if (PyErr_Occurred()) SWIG_fail
;
7546 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7569 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7570 PyObject
*resultobj
= 0;
7571 wxStaticBox
*result
= 0 ;
7573 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7575 if (!wxPyCheckForApp()) SWIG_fail
;
7576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7577 result
= (wxStaticBox
*)new wxStaticBox();
7578 wxPyEndAllowThreads(__tstate
);
7579 if (PyErr_Occurred()) SWIG_fail
;
7581 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7588 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7589 PyObject
*resultobj
= 0;
7590 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7591 wxWindow
*arg2
= (wxWindow
*) 0 ;
7592 int arg3
= (int) -1 ;
7593 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7594 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7595 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7596 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7597 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7598 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7599 long arg7
= (long) 0 ;
7600 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7601 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7609 bool temp4
= false ;
7614 bool temp8
= false ;
7615 PyObject
* obj0
= 0 ;
7616 PyObject
* obj1
= 0 ;
7617 PyObject
* obj2
= 0 ;
7618 PyObject
* obj3
= 0 ;
7619 PyObject
* obj4
= 0 ;
7620 PyObject
* obj5
= 0 ;
7621 PyObject
* obj6
= 0 ;
7622 PyObject
* obj7
= 0 ;
7623 char * kwnames
[] = {
7624 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7629 if (!SWIG_IsOK(res1
)) {
7630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7632 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7633 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7634 if (!SWIG_IsOK(res2
)) {
7635 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7637 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7639 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7640 if (!SWIG_IsOK(ecode3
)) {
7641 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7643 arg3
= static_cast< int >(val3
);
7647 arg4
= wxString_in_helper(obj3
);
7648 if (arg4
== NULL
) SWIG_fail
;
7655 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7661 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7665 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7666 if (!SWIG_IsOK(ecode7
)) {
7667 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7669 arg7
= static_cast< long >(val7
);
7673 arg8
= wxString_in_helper(obj7
);
7674 if (arg8
== NULL
) SWIG_fail
;
7679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7680 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7681 wxPyEndAllowThreads(__tstate
);
7682 if (PyErr_Occurred()) SWIG_fail
;
7685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7709 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7710 PyObject
*resultobj
= 0;
7711 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7712 SwigValueWrapper
<wxVisualAttributes
> result
;
7715 PyObject
* obj0
= 0 ;
7716 char * kwnames
[] = {
7717 (char *) "variant", NULL
7720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7722 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7723 if (!SWIG_IsOK(ecode1
)) {
7724 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7726 arg1
= static_cast< wxWindowVariant
>(val1
);
7729 if (!wxPyCheckForApp()) SWIG_fail
;
7730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7731 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7732 wxPyEndAllowThreads(__tstate
);
7733 if (PyErr_Occurred()) SWIG_fail
;
7735 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7742 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7744 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7745 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7746 return SWIG_Py_Void();
7749 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7750 return SWIG_Python_InitShadowInstance(args
);
7753 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7754 PyObject
*resultobj
= 0;
7755 wxWindow
*arg1
= (wxWindow
*) 0 ;
7756 int arg2
= (int) -1 ;
7757 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7758 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7759 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7760 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7761 long arg5
= (long) wxLI_HORIZONTAL
;
7762 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
7763 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7764 wxStaticLine
*result
= 0 ;
7773 bool temp6
= false ;
7774 PyObject
* obj0
= 0 ;
7775 PyObject
* obj1
= 0 ;
7776 PyObject
* obj2
= 0 ;
7777 PyObject
* obj3
= 0 ;
7778 PyObject
* obj4
= 0 ;
7779 PyObject
* obj5
= 0 ;
7780 char * kwnames
[] = {
7781 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7786 if (!SWIG_IsOK(res1
)) {
7787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7789 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7791 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7792 if (!SWIG_IsOK(ecode2
)) {
7793 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7795 arg2
= static_cast< int >(val2
);
7800 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7806 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7810 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7811 if (!SWIG_IsOK(ecode5
)) {
7812 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7814 arg5
= static_cast< long >(val5
);
7818 arg6
= wxString_in_helper(obj5
);
7819 if (arg6
== NULL
) SWIG_fail
;
7824 if (!wxPyCheckForApp()) SWIG_fail
;
7825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7826 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7827 wxPyEndAllowThreads(__tstate
);
7828 if (PyErr_Occurred()) SWIG_fail
;
7830 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7845 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7846 PyObject
*resultobj
= 0;
7847 wxStaticLine
*result
= 0 ;
7849 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7851 if (!wxPyCheckForApp()) SWIG_fail
;
7852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7853 result
= (wxStaticLine
*)new wxStaticLine();
7854 wxPyEndAllowThreads(__tstate
);
7855 if (PyErr_Occurred()) SWIG_fail
;
7857 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7864 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7865 PyObject
*resultobj
= 0;
7866 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7867 wxWindow
*arg2
= (wxWindow
*) 0 ;
7868 int arg3
= (int) -1 ;
7869 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7870 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7871 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7872 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7873 long arg6
= (long) wxLI_HORIZONTAL
;
7874 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
7875 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7887 bool temp7
= false ;
7888 PyObject
* obj0
= 0 ;
7889 PyObject
* obj1
= 0 ;
7890 PyObject
* obj2
= 0 ;
7891 PyObject
* obj3
= 0 ;
7892 PyObject
* obj4
= 0 ;
7893 PyObject
* obj5
= 0 ;
7894 PyObject
* obj6
= 0 ;
7895 char * kwnames
[] = {
7896 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7901 if (!SWIG_IsOK(res1
)) {
7902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7904 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7905 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7906 if (!SWIG_IsOK(res2
)) {
7907 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7909 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7911 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7912 if (!SWIG_IsOK(ecode3
)) {
7913 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7915 arg3
= static_cast< int >(val3
);
7920 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7926 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7930 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7931 if (!SWIG_IsOK(ecode6
)) {
7932 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7934 arg6
= static_cast< long >(val6
);
7938 arg7
= wxString_in_helper(obj6
);
7939 if (arg7
== NULL
) SWIG_fail
;
7944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7945 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7946 wxPyEndAllowThreads(__tstate
);
7947 if (PyErr_Occurred()) SWIG_fail
;
7950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7966 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7967 PyObject
*resultobj
= 0;
7968 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7972 PyObject
*swig_obj
[1] ;
7974 if (!args
) SWIG_fail
;
7976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7977 if (!SWIG_IsOK(res1
)) {
7978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7980 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7983 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
7984 wxPyEndAllowThreads(__tstate
);
7985 if (PyErr_Occurred()) SWIG_fail
;
7988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7996 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7997 PyObject
*resultobj
= 0;
8000 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
8002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8003 result
= (int)wxStaticLine::GetDefaultSize();
8004 wxPyEndAllowThreads(__tstate
);
8005 if (PyErr_Occurred()) SWIG_fail
;
8007 resultobj
= SWIG_From_int(static_cast< int >(result
));
8014 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8015 PyObject
*resultobj
= 0;
8016 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8017 SwigValueWrapper
<wxVisualAttributes
> result
;
8020 PyObject
* obj0
= 0 ;
8021 char * kwnames
[] = {
8022 (char *) "variant", NULL
8025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8027 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8028 if (!SWIG_IsOK(ecode1
)) {
8029 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8031 arg1
= static_cast< wxWindowVariant
>(val1
);
8034 if (!wxPyCheckForApp()) SWIG_fail
;
8035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8036 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
8037 wxPyEndAllowThreads(__tstate
);
8038 if (PyErr_Occurred()) SWIG_fail
;
8040 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8047 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8049 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8050 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
8051 return SWIG_Py_Void();
8054 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8055 return SWIG_Python_InitShadowInstance(args
);
8058 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8059 PyObject
*resultobj
= 0;
8060 wxWindow
*arg1
= (wxWindow
*) 0 ;
8061 int arg2
= (int) -1 ;
8062 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8063 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8064 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8065 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8066 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8067 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8068 long arg6
= (long) 0 ;
8069 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8070 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8071 wxStaticText
*result
= 0 ;
8076 bool temp3
= false ;
8081 bool temp7
= false ;
8082 PyObject
* obj0
= 0 ;
8083 PyObject
* obj1
= 0 ;
8084 PyObject
* obj2
= 0 ;
8085 PyObject
* obj3
= 0 ;
8086 PyObject
* obj4
= 0 ;
8087 PyObject
* obj5
= 0 ;
8088 PyObject
* obj6
= 0 ;
8089 char * kwnames
[] = {
8090 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8095 if (!SWIG_IsOK(res1
)) {
8096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8098 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8100 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8101 if (!SWIG_IsOK(ecode2
)) {
8102 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8104 arg2
= static_cast< int >(val2
);
8108 arg3
= wxString_in_helper(obj2
);
8109 if (arg3
== NULL
) SWIG_fail
;
8116 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8122 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8126 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8127 if (!SWIG_IsOK(ecode6
)) {
8128 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8130 arg6
= static_cast< long >(val6
);
8134 arg7
= wxString_in_helper(obj6
);
8135 if (arg7
== NULL
) SWIG_fail
;
8140 if (!wxPyCheckForApp()) SWIG_fail
;
8141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8142 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8143 wxPyEndAllowThreads(__tstate
);
8144 if (PyErr_Occurred()) SWIG_fail
;
8146 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8169 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8170 PyObject
*resultobj
= 0;
8171 wxStaticText
*result
= 0 ;
8173 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8175 if (!wxPyCheckForApp()) SWIG_fail
;
8176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8177 result
= (wxStaticText
*)new wxStaticText();
8178 wxPyEndAllowThreads(__tstate
);
8179 if (PyErr_Occurred()) SWIG_fail
;
8181 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8188 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8189 PyObject
*resultobj
= 0;
8190 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8191 wxWindow
*arg2
= (wxWindow
*) 0 ;
8192 int arg3
= (int) -1 ;
8193 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8194 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8195 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8196 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8197 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8198 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8199 long arg7
= (long) 0 ;
8200 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8201 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8209 bool temp4
= false ;
8214 bool temp8
= false ;
8215 PyObject
* obj0
= 0 ;
8216 PyObject
* obj1
= 0 ;
8217 PyObject
* obj2
= 0 ;
8218 PyObject
* obj3
= 0 ;
8219 PyObject
* obj4
= 0 ;
8220 PyObject
* obj5
= 0 ;
8221 PyObject
* obj6
= 0 ;
8222 PyObject
* obj7
= 0 ;
8223 char * kwnames
[] = {
8224 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8229 if (!SWIG_IsOK(res1
)) {
8230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8232 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8233 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8234 if (!SWIG_IsOK(res2
)) {
8235 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8237 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8239 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8240 if (!SWIG_IsOK(ecode3
)) {
8241 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8243 arg3
= static_cast< int >(val3
);
8247 arg4
= wxString_in_helper(obj3
);
8248 if (arg4
== NULL
) SWIG_fail
;
8255 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8261 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8265 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8266 if (!SWIG_IsOK(ecode7
)) {
8267 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8269 arg7
= static_cast< long >(val7
);
8273 arg8
= wxString_in_helper(obj7
);
8274 if (arg8
== NULL
) SWIG_fail
;
8279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8280 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8281 wxPyEndAllowThreads(__tstate
);
8282 if (PyErr_Occurred()) SWIG_fail
;
8285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8309 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8310 PyObject
*resultobj
= 0;
8311 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8317 PyObject
* obj0
= 0 ;
8318 PyObject
* obj1
= 0 ;
8319 char * kwnames
[] = {
8320 (char *) "self",(char *) "width", NULL
8323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8325 if (!SWIG_IsOK(res1
)) {
8326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8328 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8329 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8330 if (!SWIG_IsOK(ecode2
)) {
8331 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8333 arg2
= static_cast< int >(val2
);
8335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8337 wxPyEndAllowThreads(__tstate
);
8338 if (PyErr_Occurred()) SWIG_fail
;
8340 resultobj
= SWIG_Py_Void();
8347 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8348 PyObject
*resultobj
= 0;
8349 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8350 SwigValueWrapper
<wxVisualAttributes
> result
;
8353 PyObject
* obj0
= 0 ;
8354 char * kwnames
[] = {
8355 (char *) "variant", NULL
8358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8360 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8361 if (!SWIG_IsOK(ecode1
)) {
8362 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8364 arg1
= static_cast< wxWindowVariant
>(val1
);
8367 if (!wxPyCheckForApp()) SWIG_fail
;
8368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8369 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8370 wxPyEndAllowThreads(__tstate
);
8371 if (PyErr_Occurred()) SWIG_fail
;
8373 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8380 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8382 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8383 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8384 return SWIG_Py_Void();
8387 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8388 return SWIG_Python_InitShadowInstance(args
);
8391 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8392 PyObject
*resultobj
= 0;
8393 wxWindow
*arg1
= (wxWindow
*) 0 ;
8394 int arg2
= (int) -1 ;
8395 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8396 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8397 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8398 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8399 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8400 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8401 long arg6
= (long) 0 ;
8402 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8403 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8404 wxStaticBitmap
*result
= 0 ;
8415 bool temp7
= false ;
8416 PyObject
* obj0
= 0 ;
8417 PyObject
* obj1
= 0 ;
8418 PyObject
* obj2
= 0 ;
8419 PyObject
* obj3
= 0 ;
8420 PyObject
* obj4
= 0 ;
8421 PyObject
* obj5
= 0 ;
8422 PyObject
* obj6
= 0 ;
8423 char * kwnames
[] = {
8424 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8429 if (!SWIG_IsOK(res1
)) {
8430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8432 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8434 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8435 if (!SWIG_IsOK(ecode2
)) {
8436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8438 arg2
= static_cast< int >(val2
);
8441 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8442 if (!SWIG_IsOK(res3
)) {
8443 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8446 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8448 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8453 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8459 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8463 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8464 if (!SWIG_IsOK(ecode6
)) {
8465 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8467 arg6
= static_cast< long >(val6
);
8471 arg7
= wxString_in_helper(obj6
);
8472 if (arg7
== NULL
) SWIG_fail
;
8477 if (!wxPyCheckForApp()) SWIG_fail
;
8478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8479 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8480 wxPyEndAllowThreads(__tstate
);
8481 if (PyErr_Occurred()) SWIG_fail
;
8483 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8498 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8499 PyObject
*resultobj
= 0;
8500 wxStaticBitmap
*result
= 0 ;
8502 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8504 if (!wxPyCheckForApp()) SWIG_fail
;
8505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8506 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8507 wxPyEndAllowThreads(__tstate
);
8508 if (PyErr_Occurred()) SWIG_fail
;
8510 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8517 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8518 PyObject
*resultobj
= 0;
8519 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8520 wxWindow
*arg2
= (wxWindow
*) 0 ;
8521 int arg3
= (int) -1 ;
8522 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8523 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8524 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8525 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8526 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8527 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8528 long arg7
= (long) 0 ;
8529 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8530 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8544 bool temp8
= false ;
8545 PyObject
* obj0
= 0 ;
8546 PyObject
* obj1
= 0 ;
8547 PyObject
* obj2
= 0 ;
8548 PyObject
* obj3
= 0 ;
8549 PyObject
* obj4
= 0 ;
8550 PyObject
* obj5
= 0 ;
8551 PyObject
* obj6
= 0 ;
8552 PyObject
* obj7
= 0 ;
8553 char * kwnames
[] = {
8554 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8559 if (!SWIG_IsOK(res1
)) {
8560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8562 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8563 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8564 if (!SWIG_IsOK(res2
)) {
8565 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8567 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8569 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8570 if (!SWIG_IsOK(ecode3
)) {
8571 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8573 arg3
= static_cast< int >(val3
);
8576 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8577 if (!SWIG_IsOK(res4
)) {
8578 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8581 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8583 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8588 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8594 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8598 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8599 if (!SWIG_IsOK(ecode7
)) {
8600 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8602 arg7
= static_cast< long >(val7
);
8606 arg8
= wxString_in_helper(obj7
);
8607 if (arg8
== NULL
) SWIG_fail
;
8612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8613 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8614 wxPyEndAllowThreads(__tstate
);
8615 if (PyErr_Occurred()) SWIG_fail
;
8618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8634 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8635 PyObject
*resultobj
= 0;
8636 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8640 PyObject
*swig_obj
[1] ;
8642 if (!args
) SWIG_fail
;
8644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8645 if (!SWIG_IsOK(res1
)) {
8646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8648 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8651 result
= (arg1
)->GetBitmap();
8652 wxPyEndAllowThreads(__tstate
);
8653 if (PyErr_Occurred()) SWIG_fail
;
8655 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8662 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8663 PyObject
*resultobj
= 0;
8664 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8665 wxBitmap
*arg2
= 0 ;
8670 PyObject
* obj0
= 0 ;
8671 PyObject
* obj1
= 0 ;
8672 char * kwnames
[] = {
8673 (char *) "self",(char *) "bitmap", NULL
8676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8678 if (!SWIG_IsOK(res1
)) {
8679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8681 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8682 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8683 if (!SWIG_IsOK(res2
)) {
8684 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8687 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8689 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8692 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8693 wxPyEndAllowThreads(__tstate
);
8694 if (PyErr_Occurred()) SWIG_fail
;
8696 resultobj
= SWIG_Py_Void();
8703 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8704 PyObject
*resultobj
= 0;
8705 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8711 PyObject
* obj0
= 0 ;
8712 PyObject
* obj1
= 0 ;
8713 char * kwnames
[] = {
8714 (char *) "self",(char *) "icon", NULL
8717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8719 if (!SWIG_IsOK(res1
)) {
8720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8722 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8723 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8724 if (!SWIG_IsOK(res2
)) {
8725 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8728 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8730 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8733 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8734 wxPyEndAllowThreads(__tstate
);
8735 if (PyErr_Occurred()) SWIG_fail
;
8737 resultobj
= SWIG_Py_Void();
8744 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8745 PyObject
*resultobj
= 0;
8746 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8747 SwigValueWrapper
<wxVisualAttributes
> result
;
8750 PyObject
* obj0
= 0 ;
8751 char * kwnames
[] = {
8752 (char *) "variant", NULL
8755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8757 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8758 if (!SWIG_IsOK(ecode1
)) {
8759 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8761 arg1
= static_cast< wxWindowVariant
>(val1
);
8764 if (!wxPyCheckForApp()) SWIG_fail
;
8765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8766 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8767 wxPyEndAllowThreads(__tstate
);
8768 if (PyErr_Occurred()) SWIG_fail
;
8770 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8777 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8779 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8780 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8781 return SWIG_Py_Void();
8784 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8785 return SWIG_Python_InitShadowInstance(args
);
8788 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8789 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8794 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8795 PyObject
*pyobj
= 0;
8799 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8801 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8808 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8809 PyObject
*resultobj
= 0;
8810 wxWindow
*arg1
= (wxWindow
*) 0 ;
8811 int arg2
= (int) -1 ;
8812 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8813 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8814 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8815 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8816 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8817 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8818 long arg6
= (long) 0 ;
8819 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8820 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8821 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8822 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8823 wxListBox
*result
= 0 ;
8830 bool temp5
= false ;
8835 bool temp8
= false ;
8836 PyObject
* obj0
= 0 ;
8837 PyObject
* obj1
= 0 ;
8838 PyObject
* obj2
= 0 ;
8839 PyObject
* obj3
= 0 ;
8840 PyObject
* obj4
= 0 ;
8841 PyObject
* obj5
= 0 ;
8842 PyObject
* obj6
= 0 ;
8843 PyObject
* obj7
= 0 ;
8844 char * kwnames
[] = {
8845 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8850 if (!SWIG_IsOK(res1
)) {
8851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8853 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8855 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8856 if (!SWIG_IsOK(ecode2
)) {
8857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8859 arg2
= static_cast< int >(val2
);
8864 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8870 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8875 if (! PySequence_Check(obj4
)) {
8876 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8879 arg5
= new wxArrayString
;
8881 int i
, len
=PySequence_Length(obj4
);
8882 for (i
=0; i
<len
; i
++) {
8883 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8884 wxString
* s
= wxString_in_helper(item
);
8885 if (PyErr_Occurred()) SWIG_fail
;
8893 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8894 if (!SWIG_IsOK(ecode6
)) {
8895 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8897 arg6
= static_cast< long >(val6
);
8900 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
8901 if (!SWIG_IsOK(res7
)) {
8902 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8905 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8907 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
8911 arg8
= wxString_in_helper(obj7
);
8912 if (arg8
== NULL
) SWIG_fail
;
8917 if (!wxPyCheckForApp()) SWIG_fail
;
8918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8919 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8920 wxPyEndAllowThreads(__tstate
);
8921 if (PyErr_Occurred()) SWIG_fail
;
8923 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
8925 if (temp5
) delete arg5
;
8934 if (temp5
) delete arg5
;
8944 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8945 PyObject
*resultobj
= 0;
8946 wxListBox
*result
= 0 ;
8948 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
8950 if (!wxPyCheckForApp()) SWIG_fail
;
8951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8952 result
= (wxListBox
*)new wxListBox();
8953 wxPyEndAllowThreads(__tstate
);
8954 if (PyErr_Occurred()) SWIG_fail
;
8956 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
8963 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8964 PyObject
*resultobj
= 0;
8965 wxListBox
*arg1
= (wxListBox
*) 0 ;
8966 wxWindow
*arg2
= (wxWindow
*) 0 ;
8967 int arg3
= (int) -1 ;
8968 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8969 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8970 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8971 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8972 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8973 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8974 long arg7
= (long) 0 ;
8975 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8976 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8977 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8978 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8988 bool temp6
= false ;
8993 bool temp9
= false ;
8994 PyObject
* obj0
= 0 ;
8995 PyObject
* obj1
= 0 ;
8996 PyObject
* obj2
= 0 ;
8997 PyObject
* obj3
= 0 ;
8998 PyObject
* obj4
= 0 ;
8999 PyObject
* obj5
= 0 ;
9000 PyObject
* obj6
= 0 ;
9001 PyObject
* obj7
= 0 ;
9002 PyObject
* obj8
= 0 ;
9003 char * kwnames
[] = {
9004 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
9008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9009 if (!SWIG_IsOK(res1
)) {
9010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
9012 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9013 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9014 if (!SWIG_IsOK(res2
)) {
9015 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9017 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9019 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9020 if (!SWIG_IsOK(ecode3
)) {
9021 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9023 arg3
= static_cast< int >(val3
);
9028 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9034 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9039 if (! PySequence_Check(obj5
)) {
9040 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9043 arg6
= new wxArrayString
;
9045 int i
, len
=PySequence_Length(obj5
);
9046 for (i
=0; i
<len
; i
++) {
9047 PyObject
* item
= PySequence_GetItem(obj5
, i
);
9048 wxString
* s
= wxString_in_helper(item
);
9049 if (PyErr_Occurred()) SWIG_fail
;
9057 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
9058 if (!SWIG_IsOK(ecode7
)) {
9059 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9061 arg7
= static_cast< long >(val7
);
9064 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
9065 if (!SWIG_IsOK(res8
)) {
9066 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9069 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9071 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9075 arg9
= wxString_in_helper(obj8
);
9076 if (arg9
== NULL
) SWIG_fail
;
9081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9082 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9083 wxPyEndAllowThreads(__tstate
);
9084 if (PyErr_Occurred()) SWIG_fail
;
9087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9090 if (temp6
) delete arg6
;
9099 if (temp6
) delete arg6
;
9109 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9110 PyObject
*resultobj
= 0;
9111 wxListBox
*arg1
= (wxListBox
*) 0 ;
9112 wxString
*arg2
= 0 ;
9114 PyObject
*arg4
= (PyObject
*) NULL
;
9117 bool temp2
= false ;
9120 PyObject
* obj0
= 0 ;
9121 PyObject
* obj1
= 0 ;
9122 PyObject
* obj2
= 0 ;
9123 PyObject
* obj3
= 0 ;
9124 char * kwnames
[] = {
9125 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9130 if (!SWIG_IsOK(res1
)) {
9131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9133 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9135 arg2
= wxString_in_helper(obj1
);
9136 if (arg2
== NULL
) SWIG_fail
;
9139 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9140 if (!SWIG_IsOK(ecode3
)) {
9141 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9143 arg3
= static_cast< int >(val3
);
9148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9149 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9150 wxPyEndAllowThreads(__tstate
);
9151 if (PyErr_Occurred()) SWIG_fail
;
9153 resultobj
= SWIG_Py_Void();
9168 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9169 PyObject
*resultobj
= 0;
9170 wxListBox
*arg1
= (wxListBox
*) 0 ;
9171 wxArrayString
*arg2
= 0 ;
9175 bool temp2
= false ;
9178 PyObject
* obj0
= 0 ;
9179 PyObject
* obj1
= 0 ;
9180 PyObject
* obj2
= 0 ;
9181 char * kwnames
[] = {
9182 (char *) "self",(char *) "items",(char *) "pos", NULL
9185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9187 if (!SWIG_IsOK(res1
)) {
9188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9190 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9192 if (! PySequence_Check(obj1
)) {
9193 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9196 arg2
= new wxArrayString
;
9198 int i
, len
=PySequence_Length(obj1
);
9199 for (i
=0; i
<len
; i
++) {
9200 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9201 wxString
* s
= wxString_in_helper(item
);
9202 if (PyErr_Occurred()) SWIG_fail
;
9208 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9209 if (!SWIG_IsOK(ecode3
)) {
9210 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9212 arg3
= static_cast< unsigned int >(val3
);
9214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9215 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9216 wxPyEndAllowThreads(__tstate
);
9217 if (PyErr_Occurred()) SWIG_fail
;
9219 resultobj
= SWIG_Py_Void();
9221 if (temp2
) delete arg2
;
9226 if (temp2
) delete arg2
;
9232 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9233 PyObject
*resultobj
= 0;
9234 wxListBox
*arg1
= (wxListBox
*) 0 ;
9235 wxArrayString
*arg2
= 0 ;
9238 bool temp2
= false ;
9239 PyObject
* obj0
= 0 ;
9240 PyObject
* obj1
= 0 ;
9241 char * kwnames
[] = {
9242 (char *) "self",(char *) "items", NULL
9245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9247 if (!SWIG_IsOK(res1
)) {
9248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9250 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9252 if (! PySequence_Check(obj1
)) {
9253 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9256 arg2
= new wxArrayString
;
9258 int i
, len
=PySequence_Length(obj1
);
9259 for (i
=0; i
<len
; i
++) {
9260 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9261 wxString
* s
= wxString_in_helper(item
);
9262 if (PyErr_Occurred()) SWIG_fail
;
9269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9270 (arg1
)->Set((wxArrayString
const &)*arg2
);
9271 wxPyEndAllowThreads(__tstate
);
9272 if (PyErr_Occurred()) SWIG_fail
;
9274 resultobj
= SWIG_Py_Void();
9276 if (temp2
) delete arg2
;
9281 if (temp2
) delete arg2
;
9287 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9288 PyObject
*resultobj
= 0;
9289 wxListBox
*arg1
= (wxListBox
*) 0 ;
9296 PyObject
* obj0
= 0 ;
9297 PyObject
* obj1
= 0 ;
9298 char * kwnames
[] = {
9299 (char *) "self",(char *) "n", NULL
9302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9304 if (!SWIG_IsOK(res1
)) {
9305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9307 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9308 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9309 if (!SWIG_IsOK(ecode2
)) {
9310 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9312 arg2
= static_cast< int >(val2
);
9314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9315 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9316 wxPyEndAllowThreads(__tstate
);
9317 if (PyErr_Occurred()) SWIG_fail
;
9320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9328 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9329 PyObject
*resultobj
= 0;
9330 wxListBox
*arg1
= (wxListBox
*) 0 ;
9332 bool arg3
= (bool) true ;
9339 PyObject
* obj0
= 0 ;
9340 PyObject
* obj1
= 0 ;
9341 PyObject
* obj2
= 0 ;
9342 char * kwnames
[] = {
9343 (char *) "self",(char *) "n",(char *) "select", NULL
9346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9348 if (!SWIG_IsOK(res1
)) {
9349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9351 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9352 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9353 if (!SWIG_IsOK(ecode2
)) {
9354 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9356 arg2
= static_cast< int >(val2
);
9358 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9359 if (!SWIG_IsOK(ecode3
)) {
9360 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9362 arg3
= static_cast< bool >(val3
);
9365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9366 (arg1
)->SetSelection(arg2
,arg3
);
9367 wxPyEndAllowThreads(__tstate
);
9368 if (PyErr_Occurred()) SWIG_fail
;
9370 resultobj
= SWIG_Py_Void();
9377 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9378 PyObject
*resultobj
= 0;
9379 wxListBox
*arg1
= (wxListBox
*) 0 ;
9385 PyObject
* obj0
= 0 ;
9386 PyObject
* obj1
= 0 ;
9387 char * kwnames
[] = {
9388 (char *) "self",(char *) "n", NULL
9391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9393 if (!SWIG_IsOK(res1
)) {
9394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9396 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9397 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9398 if (!SWIG_IsOK(ecode2
)) {
9399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9401 arg2
= static_cast< int >(val2
);
9403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9404 (arg1
)->Select(arg2
);
9405 wxPyEndAllowThreads(__tstate
);
9406 if (PyErr_Occurred()) SWIG_fail
;
9408 resultobj
= SWIG_Py_Void();
9415 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9416 PyObject
*resultobj
= 0;
9417 wxListBox
*arg1
= (wxListBox
*) 0 ;
9423 PyObject
* obj0
= 0 ;
9424 PyObject
* obj1
= 0 ;
9425 char * kwnames
[] = {
9426 (char *) "self",(char *) "n", NULL
9429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9431 if (!SWIG_IsOK(res1
)) {
9432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9434 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9435 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9436 if (!SWIG_IsOK(ecode2
)) {
9437 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9439 arg2
= static_cast< int >(val2
);
9441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9442 (arg1
)->Deselect(arg2
);
9443 wxPyEndAllowThreads(__tstate
);
9444 if (PyErr_Occurred()) SWIG_fail
;
9446 resultobj
= SWIG_Py_Void();
9453 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9454 PyObject
*resultobj
= 0;
9455 wxListBox
*arg1
= (wxListBox
*) 0 ;
9456 int arg2
= (int) -1 ;
9461 PyObject
* obj0
= 0 ;
9462 PyObject
* obj1
= 0 ;
9463 char * kwnames
[] = {
9464 (char *) "self",(char *) "itemToLeaveSelected", NULL
9467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9469 if (!SWIG_IsOK(res1
)) {
9470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9472 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9474 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9475 if (!SWIG_IsOK(ecode2
)) {
9476 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9478 arg2
= static_cast< int >(val2
);
9481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9482 (arg1
)->DeselectAll(arg2
);
9483 wxPyEndAllowThreads(__tstate
);
9484 if (PyErr_Occurred()) SWIG_fail
;
9486 resultobj
= SWIG_Py_Void();
9493 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9494 PyObject
*resultobj
= 0;
9495 wxListBox
*arg1
= (wxListBox
*) 0 ;
9496 wxString
*arg2
= 0 ;
9497 bool arg3
= (bool) true ;
9501 bool temp2
= false ;
9504 PyObject
* obj0
= 0 ;
9505 PyObject
* obj1
= 0 ;
9506 PyObject
* obj2
= 0 ;
9507 char * kwnames
[] = {
9508 (char *) "self",(char *) "s",(char *) "select", NULL
9511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9513 if (!SWIG_IsOK(res1
)) {
9514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9516 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9518 arg2
= wxString_in_helper(obj1
);
9519 if (arg2
== NULL
) SWIG_fail
;
9523 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9524 if (!SWIG_IsOK(ecode3
)) {
9525 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9527 arg3
= static_cast< bool >(val3
);
9530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9531 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9532 wxPyEndAllowThreads(__tstate
);
9533 if (PyErr_Occurred()) SWIG_fail
;
9536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9552 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9553 PyObject
*resultobj
= 0;
9554 wxListBox
*arg1
= (wxListBox
*) 0 ;
9555 PyObject
*result
= 0 ;
9558 PyObject
*swig_obj
[1] ;
9560 if (!args
) SWIG_fail
;
9562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9563 if (!SWIG_IsOK(res1
)) {
9564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9566 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9569 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9570 wxPyEndAllowThreads(__tstate
);
9571 if (PyErr_Occurred()) SWIG_fail
;
9580 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9581 PyObject
*resultobj
= 0;
9582 wxListBox
*arg1
= (wxListBox
*) 0 ;
9588 PyObject
* obj0
= 0 ;
9589 PyObject
* obj1
= 0 ;
9590 char * kwnames
[] = {
9591 (char *) "self",(char *) "n", NULL
9594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9596 if (!SWIG_IsOK(res1
)) {
9597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9599 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9600 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9601 if (!SWIG_IsOK(ecode2
)) {
9602 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9604 arg2
= static_cast< int >(val2
);
9606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9607 (arg1
)->SetFirstItem(arg2
);
9608 wxPyEndAllowThreads(__tstate
);
9609 if (PyErr_Occurred()) SWIG_fail
;
9611 resultobj
= SWIG_Py_Void();
9618 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9619 PyObject
*resultobj
= 0;
9620 wxListBox
*arg1
= (wxListBox
*) 0 ;
9621 wxString
*arg2
= 0 ;
9624 bool temp2
= false ;
9625 PyObject
* obj0
= 0 ;
9626 PyObject
* obj1
= 0 ;
9627 char * kwnames
[] = {
9628 (char *) "self",(char *) "s", NULL
9631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9633 if (!SWIG_IsOK(res1
)) {
9634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9636 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9638 arg2
= wxString_in_helper(obj1
);
9639 if (arg2
== NULL
) SWIG_fail
;
9643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9644 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9645 wxPyEndAllowThreads(__tstate
);
9646 if (PyErr_Occurred()) SWIG_fail
;
9648 resultobj
= SWIG_Py_Void();
9663 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9664 PyObject
*resultobj
= 0;
9665 wxListBox
*arg1
= (wxListBox
*) 0 ;
9671 PyObject
* obj0
= 0 ;
9672 PyObject
* obj1
= 0 ;
9673 char * kwnames
[] = {
9674 (char *) "self",(char *) "n", NULL
9677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9679 if (!SWIG_IsOK(res1
)) {
9680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9682 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9683 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9684 if (!SWIG_IsOK(ecode2
)) {
9685 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9687 arg2
= static_cast< int >(val2
);
9689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9690 (arg1
)->EnsureVisible(arg2
);
9691 wxPyEndAllowThreads(__tstate
);
9692 if (PyErr_Occurred()) SWIG_fail
;
9694 resultobj
= SWIG_Py_Void();
9701 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9702 PyObject
*resultobj
= 0;
9703 wxListBox
*arg1
= (wxListBox
*) 0 ;
9704 wxString
*arg2
= 0 ;
9707 bool temp2
= false ;
9708 PyObject
* obj0
= 0 ;
9709 PyObject
* obj1
= 0 ;
9710 char * kwnames
[] = {
9711 (char *) "self",(char *) "s", NULL
9714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9716 if (!SWIG_IsOK(res1
)) {
9717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9719 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9721 arg2
= wxString_in_helper(obj1
);
9722 if (arg2
== NULL
) SWIG_fail
;
9726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9727 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9728 wxPyEndAllowThreads(__tstate
);
9729 if (PyErr_Occurred()) SWIG_fail
;
9731 resultobj
= SWIG_Py_Void();
9746 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9747 PyObject
*resultobj
= 0;
9748 wxListBox
*arg1
= (wxListBox
*) 0 ;
9752 PyObject
*swig_obj
[1] ;
9754 if (!args
) SWIG_fail
;
9756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9757 if (!SWIG_IsOK(res1
)) {
9758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9760 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9763 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9764 wxPyEndAllowThreads(__tstate
);
9765 if (PyErr_Occurred()) SWIG_fail
;
9768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9776 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9777 PyObject
*resultobj
= 0;
9778 wxListBox
*arg1
= (wxListBox
*) 0 ;
9784 PyObject
* obj0
= 0 ;
9785 PyObject
* obj1
= 0 ;
9786 char * kwnames
[] = {
9787 (char *) "self",(char *) "pt", NULL
9790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9792 if (!SWIG_IsOK(res1
)) {
9793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9795 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9798 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9802 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9803 wxPyEndAllowThreads(__tstate
);
9804 if (PyErr_Occurred()) SWIG_fail
;
9806 resultobj
= SWIG_From_int(static_cast< int >(result
));
9813 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9814 PyObject
*resultobj
= 0;
9815 wxListBox
*arg1
= (wxListBox
*) 0 ;
9817 wxColour
*arg3
= 0 ;
9823 PyObject
* obj0
= 0 ;
9824 PyObject
* obj1
= 0 ;
9825 PyObject
* obj2
= 0 ;
9826 char * kwnames
[] = {
9827 (char *) "self",(char *) "item",(char *) "c", NULL
9830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9832 if (!SWIG_IsOK(res1
)) {
9833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9835 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9836 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9837 if (!SWIG_IsOK(ecode2
)) {
9838 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9840 arg2
= static_cast< int >(val2
);
9843 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9847 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9848 wxPyEndAllowThreads(__tstate
);
9849 if (PyErr_Occurred()) SWIG_fail
;
9851 resultobj
= SWIG_Py_Void();
9858 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9859 PyObject
*resultobj
= 0;
9860 wxListBox
*arg1
= (wxListBox
*) 0 ;
9862 wxColour
*arg3
= 0 ;
9868 PyObject
* obj0
= 0 ;
9869 PyObject
* obj1
= 0 ;
9870 PyObject
* obj2
= 0 ;
9871 char * kwnames
[] = {
9872 (char *) "self",(char *) "item",(char *) "c", NULL
9875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9877 if (!SWIG_IsOK(res1
)) {
9878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9880 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9881 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9882 if (!SWIG_IsOK(ecode2
)) {
9883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9885 arg2
= static_cast< int >(val2
);
9888 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9892 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9893 wxPyEndAllowThreads(__tstate
);
9894 if (PyErr_Occurred()) SWIG_fail
;
9896 resultobj
= SWIG_Py_Void();
9903 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9904 PyObject
*resultobj
= 0;
9905 wxListBox
*arg1
= (wxListBox
*) 0 ;
9914 PyObject
* obj0
= 0 ;
9915 PyObject
* obj1
= 0 ;
9916 PyObject
* obj2
= 0 ;
9917 char * kwnames
[] = {
9918 (char *) "self",(char *) "item",(char *) "f", NULL
9921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9923 if (!SWIG_IsOK(res1
)) {
9924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9926 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9927 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9928 if (!SWIG_IsOK(ecode2
)) {
9929 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9931 arg2
= static_cast< int >(val2
);
9932 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
9933 if (!SWIG_IsOK(res3
)) {
9934 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9937 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9939 arg3
= reinterpret_cast< wxFont
* >(argp3
);
9941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9942 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
9943 wxPyEndAllowThreads(__tstate
);
9944 if (PyErr_Occurred()) SWIG_fail
;
9946 resultobj
= SWIG_Py_Void();
9953 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9954 PyObject
*resultobj
= 0;
9955 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9956 SwigValueWrapper
<wxVisualAttributes
> result
;
9959 PyObject
* obj0
= 0 ;
9960 char * kwnames
[] = {
9961 (char *) "variant", NULL
9964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9966 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9967 if (!SWIG_IsOK(ecode1
)) {
9968 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9970 arg1
= static_cast< wxWindowVariant
>(val1
);
9973 if (!wxPyCheckForApp()) SWIG_fail
;
9974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9975 result
= wxListBox::GetClassDefaultAttributes(arg1
);
9976 wxPyEndAllowThreads(__tstate
);
9977 if (PyErr_Occurred()) SWIG_fail
;
9979 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9986 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9988 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9989 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
9990 return SWIG_Py_Void();
9993 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9994 return SWIG_Python_InitShadowInstance(args
);
9997 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9998 PyObject
*resultobj
= 0;
9999 wxWindow
*arg1
= (wxWindow
*) 0 ;
10000 int arg2
= (int) -1 ;
10001 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10002 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10003 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10004 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10005 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
10006 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
10007 long arg6
= (long) 0 ;
10008 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10009 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10010 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
10011 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10012 wxCheckListBox
*result
= 0 ;
10019 bool temp5
= false ;
10024 bool temp8
= false ;
10025 PyObject
* obj0
= 0 ;
10026 PyObject
* obj1
= 0 ;
10027 PyObject
* obj2
= 0 ;
10028 PyObject
* obj3
= 0 ;
10029 PyObject
* obj4
= 0 ;
10030 PyObject
* obj5
= 0 ;
10031 PyObject
* obj6
= 0 ;
10032 PyObject
* obj7
= 0 ;
10033 char * kwnames
[] = {
10034 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
10038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10039 if (!SWIG_IsOK(res1
)) {
10040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10042 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10044 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10045 if (!SWIG_IsOK(ecode2
)) {
10046 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10048 arg2
= static_cast< int >(val2
);
10053 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10059 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10064 if (! PySequence_Check(obj4
)) {
10065 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10068 arg5
= new wxArrayString
;
10070 int i
, len
=PySequence_Length(obj4
);
10071 for (i
=0; i
<len
; i
++) {
10072 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10073 wxString
* s
= wxString_in_helper(item
);
10074 if (PyErr_Occurred()) SWIG_fail
;
10082 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10083 if (!SWIG_IsOK(ecode6
)) {
10084 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10086 arg6
= static_cast< long >(val6
);
10089 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10090 if (!SWIG_IsOK(res7
)) {
10091 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10094 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10096 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10100 arg8
= wxString_in_helper(obj7
);
10101 if (arg8
== NULL
) SWIG_fail
;
10106 if (!wxPyCheckForApp()) SWIG_fail
;
10107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10108 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10109 wxPyEndAllowThreads(__tstate
);
10110 if (PyErr_Occurred()) SWIG_fail
;
10112 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10114 if (temp5
) delete arg5
;
10123 if (temp5
) delete arg5
;
10133 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10134 PyObject
*resultobj
= 0;
10135 wxCheckListBox
*result
= 0 ;
10137 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10139 if (!wxPyCheckForApp()) SWIG_fail
;
10140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10141 result
= (wxCheckListBox
*)new wxCheckListBox();
10142 wxPyEndAllowThreads(__tstate
);
10143 if (PyErr_Occurred()) SWIG_fail
;
10145 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10152 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10153 PyObject
*resultobj
= 0;
10154 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10155 wxWindow
*arg2
= (wxWindow
*) 0 ;
10156 int arg3
= (int) -1 ;
10157 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10158 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10159 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10160 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10161 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10162 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10163 long arg7
= (long) 0 ;
10164 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10165 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10166 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10167 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10177 bool temp6
= false ;
10182 bool temp9
= false ;
10183 PyObject
* obj0
= 0 ;
10184 PyObject
* obj1
= 0 ;
10185 PyObject
* obj2
= 0 ;
10186 PyObject
* obj3
= 0 ;
10187 PyObject
* obj4
= 0 ;
10188 PyObject
* obj5
= 0 ;
10189 PyObject
* obj6
= 0 ;
10190 PyObject
* obj7
= 0 ;
10191 PyObject
* obj8
= 0 ;
10192 char * kwnames
[] = {
10193 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10198 if (!SWIG_IsOK(res1
)) {
10199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10201 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10202 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10203 if (!SWIG_IsOK(res2
)) {
10204 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10206 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10208 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10209 if (!SWIG_IsOK(ecode3
)) {
10210 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10212 arg3
= static_cast< int >(val3
);
10217 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10223 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10228 if (! PySequence_Check(obj5
)) {
10229 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10232 arg6
= new wxArrayString
;
10234 int i
, len
=PySequence_Length(obj5
);
10235 for (i
=0; i
<len
; i
++) {
10236 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10237 wxString
* s
= wxString_in_helper(item
);
10238 if (PyErr_Occurred()) SWIG_fail
;
10246 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10247 if (!SWIG_IsOK(ecode7
)) {
10248 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10250 arg7
= static_cast< long >(val7
);
10253 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10254 if (!SWIG_IsOK(res8
)) {
10255 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10258 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10260 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10264 arg9
= wxString_in_helper(obj8
);
10265 if (arg9
== NULL
) SWIG_fail
;
10270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10271 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10272 wxPyEndAllowThreads(__tstate
);
10273 if (PyErr_Occurred()) SWIG_fail
;
10276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10279 if (temp6
) delete arg6
;
10288 if (temp6
) delete arg6
;
10298 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10299 PyObject
*resultobj
= 0;
10300 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10301 unsigned int arg2
;
10305 unsigned int val2
;
10307 PyObject
* obj0
= 0 ;
10308 PyObject
* obj1
= 0 ;
10309 char * kwnames
[] = {
10310 (char *) "self",(char *) "index", NULL
10313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10315 if (!SWIG_IsOK(res1
)) {
10316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10318 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10319 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10320 if (!SWIG_IsOK(ecode2
)) {
10321 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10323 arg2
= static_cast< unsigned int >(val2
);
10325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10326 result
= (bool)(arg1
)->IsChecked(arg2
);
10327 wxPyEndAllowThreads(__tstate
);
10328 if (PyErr_Occurred()) SWIG_fail
;
10331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10339 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10340 PyObject
*resultobj
= 0;
10341 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10342 unsigned int arg2
;
10343 int arg3
= (int) true ;
10346 unsigned int val2
;
10350 PyObject
* obj0
= 0 ;
10351 PyObject
* obj1
= 0 ;
10352 PyObject
* obj2
= 0 ;
10353 char * kwnames
[] = {
10354 (char *) "self",(char *) "index",(char *) "check", NULL
10357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10359 if (!SWIG_IsOK(res1
)) {
10360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10362 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10363 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10364 if (!SWIG_IsOK(ecode2
)) {
10365 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10367 arg2
= static_cast< unsigned int >(val2
);
10369 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10370 if (!SWIG_IsOK(ecode3
)) {
10371 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10373 arg3
= static_cast< int >(val3
);
10376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10377 (arg1
)->Check(arg2
,arg3
);
10378 wxPyEndAllowThreads(__tstate
);
10379 if (PyErr_Occurred()) SWIG_fail
;
10381 resultobj
= SWIG_Py_Void();
10388 SWIGINTERN PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10389 PyObject
*resultobj
= 0;
10390 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10394 PyObject
*swig_obj
[1] ;
10396 if (!args
) SWIG_fail
;
10397 swig_obj
[0] = args
;
10398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10399 if (!SWIG_IsOK(res1
)) {
10400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_GetItemHeight" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10402 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10405 result
= (int)(arg1
)->GetItemHeight();
10406 wxPyEndAllowThreads(__tstate
);
10407 if (PyErr_Occurred()) SWIG_fail
;
10409 resultobj
= SWIG_From_int(static_cast< int >(result
));
10416 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10418 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10419 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10420 return SWIG_Py_Void();
10423 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10424 return SWIG_Python_InitShadowInstance(args
);
10427 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10428 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10433 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10434 PyObject
*pyobj
= 0;
10438 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10440 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10447 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10448 PyObject
*resultobj
= 0;
10449 wxColour
const &arg1_defvalue
= wxNullColour
;
10450 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10451 wxColour
const &arg2_defvalue
= wxNullColour
;
10452 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10453 wxFont
const &arg3_defvalue
= wxNullFont
;
10454 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10455 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10456 wxTextAttr
*result
= 0 ;
10463 PyObject
* obj0
= 0 ;
10464 PyObject
* obj1
= 0 ;
10465 PyObject
* obj2
= 0 ;
10466 PyObject
* obj3
= 0 ;
10467 char * kwnames
[] = {
10468 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10475 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10481 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10485 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10486 if (!SWIG_IsOK(res3
)) {
10487 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10490 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10492 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10495 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10496 if (!SWIG_IsOK(ecode4
)) {
10497 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10499 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10503 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10504 wxPyEndAllowThreads(__tstate
);
10505 if (PyErr_Occurred()) SWIG_fail
;
10507 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10514 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10515 PyObject
*resultobj
= 0;
10516 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10519 PyObject
*swig_obj
[1] ;
10521 if (!args
) SWIG_fail
;
10522 swig_obj
[0] = args
;
10523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10524 if (!SWIG_IsOK(res1
)) {
10525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10527 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10532 wxPyEndAllowThreads(__tstate
);
10533 if (PyErr_Occurred()) SWIG_fail
;
10535 resultobj
= SWIG_Py_Void();
10542 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10543 PyObject
*resultobj
= 0;
10544 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10547 PyObject
*swig_obj
[1] ;
10549 if (!args
) SWIG_fail
;
10550 swig_obj
[0] = args
;
10551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10552 if (!SWIG_IsOK(res1
)) {
10553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10555 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10559 wxPyEndAllowThreads(__tstate
);
10560 if (PyErr_Occurred()) SWIG_fail
;
10562 resultobj
= SWIG_Py_Void();
10569 SWIGINTERN PyObject
*_wrap_TextAttr_Merge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10570 PyObject
*resultobj
= 0;
10571 wxTextAttr
*arg1
= 0 ;
10572 wxTextAttr
*arg2
= 0 ;
10578 PyObject
* obj0
= 0 ;
10579 PyObject
* obj1
= 0 ;
10580 char * kwnames
[] = {
10581 (char *) "base",(char *) "overlay", NULL
10584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_Merge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10585 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10586 if (!SWIG_IsOK(res1
)) {
10587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10590 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10592 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10593 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10594 if (!SWIG_IsOK(res2
)) {
10595 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10598 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10600 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
10602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10603 result
= wxTextAttr::Merge((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
);
10604 wxPyEndAllowThreads(__tstate
);
10605 if (PyErr_Occurred()) SWIG_fail
;
10607 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
10614 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10615 PyObject
*resultobj
= 0;
10616 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10617 wxColour
*arg2
= 0 ;
10621 PyObject
* obj0
= 0 ;
10622 PyObject
* obj1
= 0 ;
10623 char * kwnames
[] = {
10624 (char *) "self",(char *) "colText", NULL
10627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10629 if (!SWIG_IsOK(res1
)) {
10630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10632 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10635 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10639 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10640 wxPyEndAllowThreads(__tstate
);
10641 if (PyErr_Occurred()) SWIG_fail
;
10643 resultobj
= SWIG_Py_Void();
10650 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10651 PyObject
*resultobj
= 0;
10652 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10653 wxColour
*arg2
= 0 ;
10657 PyObject
* obj0
= 0 ;
10658 PyObject
* obj1
= 0 ;
10659 char * kwnames
[] = {
10660 (char *) "self",(char *) "colBack", NULL
10663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10665 if (!SWIG_IsOK(res1
)) {
10666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10668 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10671 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10675 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10676 wxPyEndAllowThreads(__tstate
);
10677 if (PyErr_Occurred()) SWIG_fail
;
10679 resultobj
= SWIG_Py_Void();
10686 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10687 PyObject
*resultobj
= 0;
10688 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10690 long arg3
= (long) wxTEXT_ATTR_FONT
;
10697 PyObject
* obj0
= 0 ;
10698 PyObject
* obj1
= 0 ;
10699 PyObject
* obj2
= 0 ;
10700 char * kwnames
[] = {
10701 (char *) "self",(char *) "font",(char *) "flags", NULL
10704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10706 if (!SWIG_IsOK(res1
)) {
10707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10709 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10710 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10711 if (!SWIG_IsOK(res2
)) {
10712 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10715 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10717 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10719 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10720 if (!SWIG_IsOK(ecode3
)) {
10721 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10723 arg3
= static_cast< long >(val3
);
10726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10727 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10728 wxPyEndAllowThreads(__tstate
);
10729 if (PyErr_Occurred()) SWIG_fail
;
10731 resultobj
= SWIG_Py_Void();
10738 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10739 PyObject
*resultobj
= 0;
10740 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10741 wxTextAttrAlignment arg2
;
10746 PyObject
* obj0
= 0 ;
10747 PyObject
* obj1
= 0 ;
10748 char * kwnames
[] = {
10749 (char *) "self",(char *) "alignment", NULL
10752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10754 if (!SWIG_IsOK(res1
)) {
10755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10757 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10758 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10759 if (!SWIG_IsOK(ecode2
)) {
10760 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10762 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10765 (arg1
)->SetAlignment(arg2
);
10766 wxPyEndAllowThreads(__tstate
);
10767 if (PyErr_Occurred()) SWIG_fail
;
10769 resultobj
= SWIG_Py_Void();
10776 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10777 PyObject
*resultobj
= 0;
10778 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10779 wxArrayInt
*arg2
= 0 ;
10782 bool temp2
= false ;
10783 PyObject
* obj0
= 0 ;
10784 PyObject
* obj1
= 0 ;
10785 char * kwnames
[] = {
10786 (char *) "self",(char *) "tabs", NULL
10789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10791 if (!SWIG_IsOK(res1
)) {
10792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10794 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10796 if (! PySequence_Check(obj1
)) {
10797 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10800 arg2
= new wxArrayInt
;
10802 int i
, len
=PySequence_Length(obj1
);
10803 for (i
=0; i
<len
; i
++) {
10804 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10805 PyObject
* number
= PyNumber_Int(item
);
10806 arg2
->Add(PyInt_AS_LONG(number
));
10812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10813 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10814 wxPyEndAllowThreads(__tstate
);
10815 if (PyErr_Occurred()) SWIG_fail
;
10817 resultobj
= SWIG_Py_Void();
10819 if (temp2
) delete arg2
;
10824 if (temp2
) delete arg2
;
10830 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10831 PyObject
*resultobj
= 0;
10832 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10834 int arg3
= (int) 0 ;
10841 PyObject
* obj0
= 0 ;
10842 PyObject
* obj1
= 0 ;
10843 PyObject
* obj2
= 0 ;
10844 char * kwnames
[] = {
10845 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10850 if (!SWIG_IsOK(res1
)) {
10851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10853 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10854 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10855 if (!SWIG_IsOK(ecode2
)) {
10856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10858 arg2
= static_cast< int >(val2
);
10860 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10861 if (!SWIG_IsOK(ecode3
)) {
10862 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10864 arg3
= static_cast< int >(val3
);
10867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10868 (arg1
)->SetLeftIndent(arg2
,arg3
);
10869 wxPyEndAllowThreads(__tstate
);
10870 if (PyErr_Occurred()) SWIG_fail
;
10872 resultobj
= SWIG_Py_Void();
10879 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10880 PyObject
*resultobj
= 0;
10881 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10887 PyObject
* obj0
= 0 ;
10888 PyObject
* obj1
= 0 ;
10889 char * kwnames
[] = {
10890 (char *) "self",(char *) "indent", NULL
10893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10895 if (!SWIG_IsOK(res1
)) {
10896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10898 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10899 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10900 if (!SWIG_IsOK(ecode2
)) {
10901 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10903 arg2
= static_cast< int >(val2
);
10905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10906 (arg1
)->SetRightIndent(arg2
);
10907 wxPyEndAllowThreads(__tstate
);
10908 if (PyErr_Occurred()) SWIG_fail
;
10910 resultobj
= SWIG_Py_Void();
10917 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10918 PyObject
*resultobj
= 0;
10919 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10925 PyObject
* obj0
= 0 ;
10926 PyObject
* obj1
= 0 ;
10927 char * kwnames
[] = {
10928 (char *) "self",(char *) "flags", NULL
10931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10933 if (!SWIG_IsOK(res1
)) {
10934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10936 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10937 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10938 if (!SWIG_IsOK(ecode2
)) {
10939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10941 arg2
= static_cast< long >(val2
);
10943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10944 (arg1
)->SetFlags(arg2
);
10945 wxPyEndAllowThreads(__tstate
);
10946 if (PyErr_Occurred()) SWIG_fail
;
10948 resultobj
= SWIG_Py_Void();
10955 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10956 PyObject
*resultobj
= 0;
10957 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10961 PyObject
*swig_obj
[1] ;
10963 if (!args
) SWIG_fail
;
10964 swig_obj
[0] = args
;
10965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10966 if (!SWIG_IsOK(res1
)) {
10967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10969 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10972 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
10973 wxPyEndAllowThreads(__tstate
);
10974 if (PyErr_Occurred()) SWIG_fail
;
10977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10985 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10986 PyObject
*resultobj
= 0;
10987 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10991 PyObject
*swig_obj
[1] ;
10993 if (!args
) SWIG_fail
;
10994 swig_obj
[0] = args
;
10995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10996 if (!SWIG_IsOK(res1
)) {
10997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10999 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11002 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
11003 wxPyEndAllowThreads(__tstate
);
11004 if (PyErr_Occurred()) SWIG_fail
;
11007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11015 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11016 PyObject
*resultobj
= 0;
11017 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11021 PyObject
*swig_obj
[1] ;
11023 if (!args
) SWIG_fail
;
11024 swig_obj
[0] = args
;
11025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11026 if (!SWIG_IsOK(res1
)) {
11027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11029 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11032 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
11033 wxPyEndAllowThreads(__tstate
);
11034 if (PyErr_Occurred()) SWIG_fail
;
11037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11045 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11046 PyObject
*resultobj
= 0;
11047 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11051 PyObject
*swig_obj
[1] ;
11053 if (!args
) SWIG_fail
;
11054 swig_obj
[0] = args
;
11055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11056 if (!SWIG_IsOK(res1
)) {
11057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11059 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11062 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
11063 wxPyEndAllowThreads(__tstate
);
11064 if (PyErr_Occurred()) SWIG_fail
;
11067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11075 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11076 PyObject
*resultobj
= 0;
11077 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11081 PyObject
*swig_obj
[1] ;
11083 if (!args
) SWIG_fail
;
11084 swig_obj
[0] = args
;
11085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11086 if (!SWIG_IsOK(res1
)) {
11087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11089 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11092 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
11093 wxPyEndAllowThreads(__tstate
);
11094 if (PyErr_Occurred()) SWIG_fail
;
11097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11105 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11106 PyObject
*resultobj
= 0;
11107 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11111 PyObject
*swig_obj
[1] ;
11113 if (!args
) SWIG_fail
;
11114 swig_obj
[0] = args
;
11115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11116 if (!SWIG_IsOK(res1
)) {
11117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11119 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11122 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11123 wxPyEndAllowThreads(__tstate
);
11124 if (PyErr_Occurred()) SWIG_fail
;
11127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11135 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11136 PyObject
*resultobj
= 0;
11137 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11141 PyObject
*swig_obj
[1] ;
11143 if (!args
) SWIG_fail
;
11144 swig_obj
[0] = args
;
11145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11146 if (!SWIG_IsOK(res1
)) {
11147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11149 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11152 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11153 wxPyEndAllowThreads(__tstate
);
11154 if (PyErr_Occurred()) SWIG_fail
;
11157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11165 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11166 PyObject
*resultobj
= 0;
11167 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11174 PyObject
* obj0
= 0 ;
11175 PyObject
* obj1
= 0 ;
11176 char * kwnames
[] = {
11177 (char *) "self",(char *) "flag", NULL
11180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11182 if (!SWIG_IsOK(res1
)) {
11183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11185 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11186 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11187 if (!SWIG_IsOK(ecode2
)) {
11188 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11190 arg2
= static_cast< long >(val2
);
11192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11193 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11194 wxPyEndAllowThreads(__tstate
);
11195 if (PyErr_Occurred()) SWIG_fail
;
11198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11206 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11207 PyObject
*resultobj
= 0;
11208 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11209 wxColour
*result
= 0 ;
11212 PyObject
*swig_obj
[1] ;
11214 if (!args
) SWIG_fail
;
11215 swig_obj
[0] = args
;
11216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11217 if (!SWIG_IsOK(res1
)) {
11218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11220 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11224 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11225 result
= (wxColour
*) &_result_ref
;
11227 wxPyEndAllowThreads(__tstate
);
11228 if (PyErr_Occurred()) SWIG_fail
;
11230 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11237 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11238 PyObject
*resultobj
= 0;
11239 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11240 wxColour
*result
= 0 ;
11243 PyObject
*swig_obj
[1] ;
11245 if (!args
) SWIG_fail
;
11246 swig_obj
[0] = args
;
11247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11248 if (!SWIG_IsOK(res1
)) {
11249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11251 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11255 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11256 result
= (wxColour
*) &_result_ref
;
11258 wxPyEndAllowThreads(__tstate
);
11259 if (PyErr_Occurred()) SWIG_fail
;
11261 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11268 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11269 PyObject
*resultobj
= 0;
11270 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11271 wxFont
*result
= 0 ;
11274 PyObject
*swig_obj
[1] ;
11276 if (!args
) SWIG_fail
;
11277 swig_obj
[0] = args
;
11278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11279 if (!SWIG_IsOK(res1
)) {
11280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11282 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11286 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11287 result
= (wxFont
*) &_result_ref
;
11289 wxPyEndAllowThreads(__tstate
);
11290 if (PyErr_Occurred()) SWIG_fail
;
11293 wxFont
* resultptr
= new wxFont(*result
);
11294 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11302 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11303 PyObject
*resultobj
= 0;
11304 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11305 wxTextAttrAlignment result
;
11308 PyObject
*swig_obj
[1] ;
11310 if (!args
) SWIG_fail
;
11311 swig_obj
[0] = args
;
11312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11313 if (!SWIG_IsOK(res1
)) {
11314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11316 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11319 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11320 wxPyEndAllowThreads(__tstate
);
11321 if (PyErr_Occurred()) SWIG_fail
;
11323 resultobj
= SWIG_From_int(static_cast< int >(result
));
11330 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11331 PyObject
*resultobj
= 0;
11332 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11333 wxArrayInt
*result
= 0 ;
11336 PyObject
*swig_obj
[1] ;
11338 if (!args
) SWIG_fail
;
11339 swig_obj
[0] = args
;
11340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11341 if (!SWIG_IsOK(res1
)) {
11342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11344 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11348 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11349 result
= (wxArrayInt
*) &_result_ref
;
11351 wxPyEndAllowThreads(__tstate
);
11352 if (PyErr_Occurred()) SWIG_fail
;
11355 resultobj
= PyList_New(0);
11357 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
11358 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
11359 PyList_Append(resultobj
, val
);
11369 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11370 PyObject
*resultobj
= 0;
11371 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11375 PyObject
*swig_obj
[1] ;
11377 if (!args
) SWIG_fail
;
11378 swig_obj
[0] = args
;
11379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11380 if (!SWIG_IsOK(res1
)) {
11381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11383 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11386 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11387 wxPyEndAllowThreads(__tstate
);
11388 if (PyErr_Occurred()) SWIG_fail
;
11390 resultobj
= SWIG_From_long(static_cast< long >(result
));
11397 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11398 PyObject
*resultobj
= 0;
11399 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11403 PyObject
*swig_obj
[1] ;
11405 if (!args
) SWIG_fail
;
11406 swig_obj
[0] = args
;
11407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11408 if (!SWIG_IsOK(res1
)) {
11409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11411 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11414 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11415 wxPyEndAllowThreads(__tstate
);
11416 if (PyErr_Occurred()) SWIG_fail
;
11418 resultobj
= SWIG_From_long(static_cast< long >(result
));
11425 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11426 PyObject
*resultobj
= 0;
11427 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11431 PyObject
*swig_obj
[1] ;
11433 if (!args
) SWIG_fail
;
11434 swig_obj
[0] = args
;
11435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11436 if (!SWIG_IsOK(res1
)) {
11437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11439 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11442 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11443 wxPyEndAllowThreads(__tstate
);
11444 if (PyErr_Occurred()) SWIG_fail
;
11446 resultobj
= SWIG_From_long(static_cast< long >(result
));
11453 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11454 PyObject
*resultobj
= 0;
11455 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11459 PyObject
*swig_obj
[1] ;
11461 if (!args
) SWIG_fail
;
11462 swig_obj
[0] = args
;
11463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11464 if (!SWIG_IsOK(res1
)) {
11465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11467 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11470 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11471 wxPyEndAllowThreads(__tstate
);
11472 if (PyErr_Occurred()) SWIG_fail
;
11474 resultobj
= SWIG_From_long(static_cast< long >(result
));
11481 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11482 PyObject
*resultobj
= 0;
11483 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11487 PyObject
*swig_obj
[1] ;
11489 if (!args
) SWIG_fail
;
11490 swig_obj
[0] = args
;
11491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11492 if (!SWIG_IsOK(res1
)) {
11493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11495 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11498 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11499 wxPyEndAllowThreads(__tstate
);
11500 if (PyErr_Occurred()) SWIG_fail
;
11503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11511 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11512 PyObject
*resultobj
= 0;
11513 wxTextAttr
*arg1
= 0 ;
11514 wxTextAttr
*arg2
= 0 ;
11515 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11523 PyObject
* obj0
= 0 ;
11524 PyObject
* obj1
= 0 ;
11525 PyObject
* obj2
= 0 ;
11526 char * kwnames
[] = {
11527 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11531 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11532 if (!SWIG_IsOK(res1
)) {
11533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11536 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11538 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11539 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11540 if (!SWIG_IsOK(res2
)) {
11541 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11544 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11546 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11547 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11548 if (!SWIG_IsOK(res3
)) {
11549 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11551 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11554 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11555 wxPyEndAllowThreads(__tstate
);
11556 if (PyErr_Occurred()) SWIG_fail
;
11558 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11565 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11567 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11568 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11569 return SWIG_Py_Void();
11572 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11573 return SWIG_Python_InitShadowInstance(args
);
11576 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11577 PyObject
*resultobj
= 0;
11578 wxWindow
*arg1
= (wxWindow
*) 0 ;
11579 int arg2
= (int) -1 ;
11580 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11581 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11582 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11583 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11584 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11585 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11586 long arg6
= (long) 0 ;
11587 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11588 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11589 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11590 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11591 wxTextCtrl
*result
= 0 ;
11596 bool temp3
= false ;
11603 bool temp8
= false ;
11604 PyObject
* obj0
= 0 ;
11605 PyObject
* obj1
= 0 ;
11606 PyObject
* obj2
= 0 ;
11607 PyObject
* obj3
= 0 ;
11608 PyObject
* obj4
= 0 ;
11609 PyObject
* obj5
= 0 ;
11610 PyObject
* obj6
= 0 ;
11611 PyObject
* obj7
= 0 ;
11612 char * kwnames
[] = {
11613 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11618 if (!SWIG_IsOK(res1
)) {
11619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11621 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11623 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11624 if (!SWIG_IsOK(ecode2
)) {
11625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11627 arg2
= static_cast< int >(val2
);
11631 arg3
= wxString_in_helper(obj2
);
11632 if (arg3
== NULL
) SWIG_fail
;
11639 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11645 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11649 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11650 if (!SWIG_IsOK(ecode6
)) {
11651 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11653 arg6
= static_cast< long >(val6
);
11656 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11657 if (!SWIG_IsOK(res7
)) {
11658 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11661 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11663 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11667 arg8
= wxString_in_helper(obj7
);
11668 if (arg8
== NULL
) SWIG_fail
;
11673 if (!wxPyCheckForApp()) SWIG_fail
;
11674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11675 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11676 wxPyEndAllowThreads(__tstate
);
11677 if (PyErr_Occurred()) SWIG_fail
;
11679 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11702 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11703 PyObject
*resultobj
= 0;
11704 wxTextCtrl
*result
= 0 ;
11706 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11708 if (!wxPyCheckForApp()) SWIG_fail
;
11709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11710 result
= (wxTextCtrl
*)new wxTextCtrl();
11711 wxPyEndAllowThreads(__tstate
);
11712 if (PyErr_Occurred()) SWIG_fail
;
11714 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11721 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11722 PyObject
*resultobj
= 0;
11723 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11724 wxWindow
*arg2
= (wxWindow
*) 0 ;
11725 int arg3
= (int) -1 ;
11726 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11727 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11728 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11729 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11730 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11731 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11732 long arg7
= (long) 0 ;
11733 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11734 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11735 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11736 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11744 bool temp4
= false ;
11751 bool temp9
= false ;
11752 PyObject
* obj0
= 0 ;
11753 PyObject
* obj1
= 0 ;
11754 PyObject
* obj2
= 0 ;
11755 PyObject
* obj3
= 0 ;
11756 PyObject
* obj4
= 0 ;
11757 PyObject
* obj5
= 0 ;
11758 PyObject
* obj6
= 0 ;
11759 PyObject
* obj7
= 0 ;
11760 PyObject
* obj8
= 0 ;
11761 char * kwnames
[] = {
11762 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11767 if (!SWIG_IsOK(res1
)) {
11768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11770 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11771 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11772 if (!SWIG_IsOK(res2
)) {
11773 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11775 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11777 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11778 if (!SWIG_IsOK(ecode3
)) {
11779 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11781 arg3
= static_cast< int >(val3
);
11785 arg4
= wxString_in_helper(obj3
);
11786 if (arg4
== NULL
) SWIG_fail
;
11793 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11799 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11803 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11804 if (!SWIG_IsOK(ecode7
)) {
11805 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11807 arg7
= static_cast< long >(val7
);
11810 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11811 if (!SWIG_IsOK(res8
)) {
11812 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11815 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11817 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11821 arg9
= wxString_in_helper(obj8
);
11822 if (arg9
== NULL
) SWIG_fail
;
11827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11828 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11829 wxPyEndAllowThreads(__tstate
);
11830 if (PyErr_Occurred()) SWIG_fail
;
11833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11857 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11858 PyObject
*resultobj
= 0;
11859 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11863 PyObject
*swig_obj
[1] ;
11865 if (!args
) SWIG_fail
;
11866 swig_obj
[0] = args
;
11867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11868 if (!SWIG_IsOK(res1
)) {
11869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11871 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11874 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11875 wxPyEndAllowThreads(__tstate
);
11876 if (PyErr_Occurred()) SWIG_fail
;
11880 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11882 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11891 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11892 PyObject
*resultobj
= 0;
11893 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11894 wxString
*arg2
= 0 ;
11897 bool temp2
= false ;
11898 PyObject
* obj0
= 0 ;
11899 PyObject
* obj1
= 0 ;
11900 char * kwnames
[] = {
11901 (char *) "self",(char *) "value", NULL
11904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11906 if (!SWIG_IsOK(res1
)) {
11907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11909 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11911 arg2
= wxString_in_helper(obj1
);
11912 if (arg2
== NULL
) SWIG_fail
;
11916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11917 (arg1
)->SetValue((wxString
const &)*arg2
);
11918 wxPyEndAllowThreads(__tstate
);
11919 if (PyErr_Occurred()) SWIG_fail
;
11921 resultobj
= SWIG_Py_Void();
11936 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11937 PyObject
*resultobj
= 0;
11938 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11948 PyObject
* obj0
= 0 ;
11949 PyObject
* obj1
= 0 ;
11950 PyObject
* obj2
= 0 ;
11951 char * kwnames
[] = {
11952 (char *) "self",(char *) "from",(char *) "to", NULL
11955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) 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_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11960 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11961 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11962 if (!SWIG_IsOK(ecode2
)) {
11963 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
11965 arg2
= static_cast< long >(val2
);
11966 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
11967 if (!SWIG_IsOK(ecode3
)) {
11968 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
11970 arg3
= static_cast< long >(val3
);
11972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11973 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
11974 wxPyEndAllowThreads(__tstate
);
11975 if (PyErr_Occurred()) SWIG_fail
;
11979 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11981 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11990 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11991 PyObject
*resultobj
= 0;
11992 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11999 PyObject
* obj0
= 0 ;
12000 PyObject
* obj1
= 0 ;
12001 char * kwnames
[] = {
12002 (char *) "self",(char *) "lineNo", NULL
12005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12007 if (!SWIG_IsOK(res1
)) {
12008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12010 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12011 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12012 if (!SWIG_IsOK(ecode2
)) {
12013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
12015 arg2
= static_cast< long >(val2
);
12017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12018 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
12019 wxPyEndAllowThreads(__tstate
);
12020 if (PyErr_Occurred()) SWIG_fail
;
12022 resultobj
= SWIG_From_int(static_cast< int >(result
));
12029 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12030 PyObject
*resultobj
= 0;
12031 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12038 PyObject
* obj0
= 0 ;
12039 PyObject
* obj1
= 0 ;
12040 char * kwnames
[] = {
12041 (char *) "self",(char *) "lineNo", NULL
12044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12046 if (!SWIG_IsOK(res1
)) {
12047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12049 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12050 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12051 if (!SWIG_IsOK(ecode2
)) {
12052 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12054 arg2
= static_cast< long >(val2
);
12056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12057 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
12058 wxPyEndAllowThreads(__tstate
);
12059 if (PyErr_Occurred()) SWIG_fail
;
12063 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12065 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12074 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12075 PyObject
*resultobj
= 0;
12076 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12080 PyObject
*swig_obj
[1] ;
12082 if (!args
) SWIG_fail
;
12083 swig_obj
[0] = args
;
12084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12085 if (!SWIG_IsOK(res1
)) {
12086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12088 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12091 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
12092 wxPyEndAllowThreads(__tstate
);
12093 if (PyErr_Occurred()) SWIG_fail
;
12095 resultobj
= SWIG_From_int(static_cast< int >(result
));
12102 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12103 PyObject
*resultobj
= 0;
12104 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12108 PyObject
*swig_obj
[1] ;
12110 if (!args
) SWIG_fail
;
12111 swig_obj
[0] = args
;
12112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12113 if (!SWIG_IsOK(res1
)) {
12114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12116 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12119 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12120 wxPyEndAllowThreads(__tstate
);
12121 if (PyErr_Occurred()) SWIG_fail
;
12124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12132 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12133 PyObject
*resultobj
= 0;
12134 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12138 PyObject
*swig_obj
[1] ;
12140 if (!args
) SWIG_fail
;
12141 swig_obj
[0] = args
;
12142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12143 if (!SWIG_IsOK(res1
)) {
12144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12146 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12149 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12150 wxPyEndAllowThreads(__tstate
);
12151 if (PyErr_Occurred()) SWIG_fail
;
12154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12162 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12163 PyObject
*resultobj
= 0;
12164 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12168 PyObject
*swig_obj
[1] ;
12170 if (!args
) SWIG_fail
;
12171 swig_obj
[0] = args
;
12172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12173 if (!SWIG_IsOK(res1
)) {
12174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12176 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12179 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12180 wxPyEndAllowThreads(__tstate
);
12181 if (PyErr_Occurred()) SWIG_fail
;
12184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12192 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12193 PyObject
*resultobj
= 0;
12194 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12198 PyObject
*swig_obj
[1] ;
12200 if (!args
) SWIG_fail
;
12201 swig_obj
[0] = args
;
12202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12203 if (!SWIG_IsOK(res1
)) {
12204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12206 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12209 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12210 wxPyEndAllowThreads(__tstate
);
12211 if (PyErr_Occurred()) SWIG_fail
;
12214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12222 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12223 PyObject
*resultobj
= 0;
12224 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12225 long *arg2
= (long *) 0 ;
12226 long *arg3
= (long *) 0 ;
12230 int res2
= SWIG_TMPOBJ
;
12232 int res3
= SWIG_TMPOBJ
;
12233 PyObject
*swig_obj
[1] ;
12237 if (!args
) SWIG_fail
;
12238 swig_obj
[0] = args
;
12239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12240 if (!SWIG_IsOK(res1
)) {
12241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12243 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12246 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12247 wxPyEndAllowThreads(__tstate
);
12248 if (PyErr_Occurred()) SWIG_fail
;
12250 resultobj
= SWIG_Py_Void();
12251 if (SWIG_IsTmpObj(res2
)) {
12252 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12254 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12255 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12257 if (SWIG_IsTmpObj(res3
)) {
12258 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12260 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12261 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12269 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12270 PyObject
*resultobj
= 0;
12271 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12275 PyObject
*swig_obj
[1] ;
12277 if (!args
) SWIG_fail
;
12278 swig_obj
[0] = args
;
12279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12280 if (!SWIG_IsOK(res1
)) {
12281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12283 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12286 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12287 wxPyEndAllowThreads(__tstate
);
12288 if (PyErr_Occurred()) SWIG_fail
;
12292 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12294 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12303 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12304 PyObject
*resultobj
= 0;
12305 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12308 PyObject
*swig_obj
[1] ;
12310 if (!args
) SWIG_fail
;
12311 swig_obj
[0] = args
;
12312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12313 if (!SWIG_IsOK(res1
)) {
12314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12316 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12320 wxPyEndAllowThreads(__tstate
);
12321 if (PyErr_Occurred()) SWIG_fail
;
12323 resultobj
= SWIG_Py_Void();
12330 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12331 PyObject
*resultobj
= 0;
12332 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12335 wxString
*arg4
= 0 ;
12342 bool temp4
= false ;
12343 PyObject
* obj0
= 0 ;
12344 PyObject
* obj1
= 0 ;
12345 PyObject
* obj2
= 0 ;
12346 PyObject
* obj3
= 0 ;
12347 char * kwnames
[] = {
12348 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12353 if (!SWIG_IsOK(res1
)) {
12354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12356 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12357 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12358 if (!SWIG_IsOK(ecode2
)) {
12359 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12361 arg2
= static_cast< long >(val2
);
12362 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12363 if (!SWIG_IsOK(ecode3
)) {
12364 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12366 arg3
= static_cast< long >(val3
);
12368 arg4
= wxString_in_helper(obj3
);
12369 if (arg4
== NULL
) SWIG_fail
;
12373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12374 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12375 wxPyEndAllowThreads(__tstate
);
12376 if (PyErr_Occurred()) SWIG_fail
;
12378 resultobj
= SWIG_Py_Void();
12393 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12394 PyObject
*resultobj
= 0;
12395 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12404 PyObject
* obj0
= 0 ;
12405 PyObject
* obj1
= 0 ;
12406 PyObject
* obj2
= 0 ;
12407 char * kwnames
[] = {
12408 (char *) "self",(char *) "from",(char *) "to", NULL
12411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12413 if (!SWIG_IsOK(res1
)) {
12414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12416 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12417 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12418 if (!SWIG_IsOK(ecode2
)) {
12419 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12421 arg2
= static_cast< long >(val2
);
12422 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12423 if (!SWIG_IsOK(ecode3
)) {
12424 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12426 arg3
= static_cast< long >(val3
);
12428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12429 (arg1
)->Remove(arg2
,arg3
);
12430 wxPyEndAllowThreads(__tstate
);
12431 if (PyErr_Occurred()) SWIG_fail
;
12433 resultobj
= SWIG_Py_Void();
12440 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12441 PyObject
*resultobj
= 0;
12442 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12443 wxString
*arg2
= 0 ;
12447 bool temp2
= false ;
12448 PyObject
* obj0
= 0 ;
12449 PyObject
* obj1
= 0 ;
12450 char * kwnames
[] = {
12451 (char *) "self",(char *) "file", NULL
12454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12456 if (!SWIG_IsOK(res1
)) {
12457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12459 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12461 arg2
= wxString_in_helper(obj1
);
12462 if (arg2
== NULL
) SWIG_fail
;
12466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12467 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
12468 wxPyEndAllowThreads(__tstate
);
12469 if (PyErr_Occurred()) SWIG_fail
;
12472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12488 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12489 PyObject
*resultobj
= 0;
12490 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12491 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12492 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12496 bool temp2
= false ;
12497 PyObject
* obj0
= 0 ;
12498 PyObject
* obj1
= 0 ;
12499 char * kwnames
[] = {
12500 (char *) "self",(char *) "file", NULL
12503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12505 if (!SWIG_IsOK(res1
)) {
12506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12508 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12511 arg2
= wxString_in_helper(obj1
);
12512 if (arg2
== NULL
) SWIG_fail
;
12517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12518 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
12519 wxPyEndAllowThreads(__tstate
);
12520 if (PyErr_Occurred()) SWIG_fail
;
12523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12539 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12540 PyObject
*resultobj
= 0;
12541 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12544 PyObject
*swig_obj
[1] ;
12546 if (!args
) SWIG_fail
;
12547 swig_obj
[0] = args
;
12548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12549 if (!SWIG_IsOK(res1
)) {
12550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12552 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12555 (arg1
)->MarkDirty();
12556 wxPyEndAllowThreads(__tstate
);
12557 if (PyErr_Occurred()) SWIG_fail
;
12559 resultobj
= SWIG_Py_Void();
12566 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12567 PyObject
*resultobj
= 0;
12568 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12571 PyObject
*swig_obj
[1] ;
12573 if (!args
) SWIG_fail
;
12574 swig_obj
[0] = args
;
12575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12576 if (!SWIG_IsOK(res1
)) {
12577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12579 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12582 (arg1
)->DiscardEdits();
12583 wxPyEndAllowThreads(__tstate
);
12584 if (PyErr_Occurred()) SWIG_fail
;
12586 resultobj
= SWIG_Py_Void();
12593 SWIGINTERN PyObject
*_wrap_TextCtrl_SetModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12594 PyObject
*resultobj
= 0;
12595 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12601 PyObject
* obj0
= 0 ;
12602 PyObject
* obj1
= 0 ;
12603 char * kwnames
[] = {
12604 (char *) "self",(char *) "modified", NULL
12607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetModified",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12609 if (!SWIG_IsOK(res1
)) {
12610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12612 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12613 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12614 if (!SWIG_IsOK(ecode2
)) {
12615 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
12617 arg2
= static_cast< bool >(val2
);
12619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12620 (arg1
)->SetModified(arg2
);
12621 wxPyEndAllowThreads(__tstate
);
12622 if (PyErr_Occurred()) SWIG_fail
;
12624 resultobj
= SWIG_Py_Void();
12631 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12632 PyObject
*resultobj
= 0;
12633 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12634 unsigned long arg2
;
12637 unsigned long val2
;
12639 PyObject
* obj0
= 0 ;
12640 PyObject
* obj1
= 0 ;
12641 char * kwnames
[] = {
12642 (char *) "self",(char *) "len", NULL
12645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12647 if (!SWIG_IsOK(res1
)) {
12648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12650 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12651 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12652 if (!SWIG_IsOK(ecode2
)) {
12653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12655 arg2
= static_cast< unsigned long >(val2
);
12657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12658 (arg1
)->SetMaxLength(arg2
);
12659 wxPyEndAllowThreads(__tstate
);
12660 if (PyErr_Occurred()) SWIG_fail
;
12662 resultobj
= SWIG_Py_Void();
12669 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12670 PyObject
*resultobj
= 0;
12671 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12672 wxString
*arg2
= 0 ;
12675 bool temp2
= false ;
12676 PyObject
* obj0
= 0 ;
12677 PyObject
* obj1
= 0 ;
12678 char * kwnames
[] = {
12679 (char *) "self",(char *) "text", NULL
12682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12684 if (!SWIG_IsOK(res1
)) {
12685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12687 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12689 arg2
= wxString_in_helper(obj1
);
12690 if (arg2
== NULL
) SWIG_fail
;
12694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12695 (arg1
)->WriteText((wxString
const &)*arg2
);
12696 wxPyEndAllowThreads(__tstate
);
12697 if (PyErr_Occurred()) SWIG_fail
;
12699 resultobj
= SWIG_Py_Void();
12714 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12715 PyObject
*resultobj
= 0;
12716 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12717 wxString
*arg2
= 0 ;
12720 bool temp2
= false ;
12721 PyObject
* obj0
= 0 ;
12722 PyObject
* obj1
= 0 ;
12723 char * kwnames
[] = {
12724 (char *) "self",(char *) "text", NULL
12727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12729 if (!SWIG_IsOK(res1
)) {
12730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12732 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12734 arg2
= wxString_in_helper(obj1
);
12735 if (arg2
== NULL
) SWIG_fail
;
12739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12740 (arg1
)->AppendText((wxString
const &)*arg2
);
12741 wxPyEndAllowThreads(__tstate
);
12742 if (PyErr_Occurred()) SWIG_fail
;
12744 resultobj
= SWIG_Py_Void();
12759 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12760 PyObject
*resultobj
= 0;
12761 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12762 wxKeyEvent
*arg2
= 0 ;
12768 PyObject
* obj0
= 0 ;
12769 PyObject
* obj1
= 0 ;
12770 char * kwnames
[] = {
12771 (char *) "self",(char *) "event", NULL
12774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12776 if (!SWIG_IsOK(res1
)) {
12777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12779 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12780 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12781 if (!SWIG_IsOK(res2
)) {
12782 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12785 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12787 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12790 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12791 wxPyEndAllowThreads(__tstate
);
12792 if (PyErr_Occurred()) SWIG_fail
;
12795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12803 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12804 PyObject
*resultobj
= 0;
12805 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12808 wxTextAttr
*arg4
= 0 ;
12818 PyObject
* obj0
= 0 ;
12819 PyObject
* obj1
= 0 ;
12820 PyObject
* obj2
= 0 ;
12821 PyObject
* obj3
= 0 ;
12822 char * kwnames
[] = {
12823 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12828 if (!SWIG_IsOK(res1
)) {
12829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12831 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12832 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12833 if (!SWIG_IsOK(ecode2
)) {
12834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12836 arg2
= static_cast< long >(val2
);
12837 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12838 if (!SWIG_IsOK(ecode3
)) {
12839 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12841 arg3
= static_cast< long >(val3
);
12842 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12843 if (!SWIG_IsOK(res4
)) {
12844 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12847 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12849 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12852 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12853 wxPyEndAllowThreads(__tstate
);
12854 if (PyErr_Occurred()) SWIG_fail
;
12857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12865 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12866 PyObject
*resultobj
= 0;
12867 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12869 wxTextAttr
*arg3
= 0 ;
12877 PyObject
* obj0
= 0 ;
12878 PyObject
* obj1
= 0 ;
12879 PyObject
* obj2
= 0 ;
12880 char * kwnames
[] = {
12881 (char *) "self",(char *) "position",(char *) "style", NULL
12884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12886 if (!SWIG_IsOK(res1
)) {
12887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12889 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12890 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12891 if (!SWIG_IsOK(ecode2
)) {
12892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12894 arg2
= static_cast< long >(val2
);
12895 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
12896 if (!SWIG_IsOK(res3
)) {
12897 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12900 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12902 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
12904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12905 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
12906 wxPyEndAllowThreads(__tstate
);
12907 if (PyErr_Occurred()) SWIG_fail
;
12910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12918 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12919 PyObject
*resultobj
= 0;
12920 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12921 wxTextAttr
*arg2
= 0 ;
12927 PyObject
* obj0
= 0 ;
12928 PyObject
* obj1
= 0 ;
12929 char * kwnames
[] = {
12930 (char *) "self",(char *) "style", NULL
12933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12935 if (!SWIG_IsOK(res1
)) {
12936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12938 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12939 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12940 if (!SWIG_IsOK(res2
)) {
12941 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12944 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12946 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
12948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12949 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
12950 wxPyEndAllowThreads(__tstate
);
12951 if (PyErr_Occurred()) SWIG_fail
;
12954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12962 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12963 PyObject
*resultobj
= 0;
12964 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12965 wxTextAttr
*result
= 0 ;
12968 PyObject
*swig_obj
[1] ;
12970 if (!args
) SWIG_fail
;
12971 swig_obj
[0] = args
;
12972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12973 if (!SWIG_IsOK(res1
)) {
12974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12976 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12980 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
12981 result
= (wxTextAttr
*) &_result_ref
;
12983 wxPyEndAllowThreads(__tstate
);
12984 if (PyErr_Occurred()) SWIG_fail
;
12986 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
12993 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12994 PyObject
*resultobj
= 0;
12995 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13005 PyObject
* obj0
= 0 ;
13006 PyObject
* obj1
= 0 ;
13007 PyObject
* obj2
= 0 ;
13008 char * kwnames
[] = {
13009 (char *) "self",(char *) "x",(char *) "y", NULL
13012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13014 if (!SWIG_IsOK(res1
)) {
13015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13017 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13018 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13019 if (!SWIG_IsOK(ecode2
)) {
13020 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
13022 arg2
= static_cast< long >(val2
);
13023 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13024 if (!SWIG_IsOK(ecode3
)) {
13025 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
13027 arg3
= static_cast< long >(val3
);
13029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13030 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
13031 wxPyEndAllowThreads(__tstate
);
13032 if (PyErr_Occurred()) SWIG_fail
;
13034 resultobj
= SWIG_From_long(static_cast< long >(result
));
13041 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13042 PyObject
*resultobj
= 0;
13043 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13045 long *arg3
= (long *) 0 ;
13046 long *arg4
= (long *) 0 ;
13052 int res3
= SWIG_TMPOBJ
;
13054 int res4
= SWIG_TMPOBJ
;
13055 PyObject
* obj0
= 0 ;
13056 PyObject
* obj1
= 0 ;
13057 char * kwnames
[] = {
13058 (char *) "self",(char *) "pos", NULL
13063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13065 if (!SWIG_IsOK(res1
)) {
13066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13068 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13069 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13070 if (!SWIG_IsOK(ecode2
)) {
13071 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13073 arg2
= static_cast< long >(val2
);
13075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13076 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
13077 wxPyEndAllowThreads(__tstate
);
13078 if (PyErr_Occurred()) SWIG_fail
;
13080 resultobj
= SWIG_Py_Void();
13081 if (SWIG_IsTmpObj(res3
)) {
13082 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13084 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13085 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13087 if (SWIG_IsTmpObj(res4
)) {
13088 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13090 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13091 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13099 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13100 PyObject
*resultobj
= 0;
13101 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13107 PyObject
* obj0
= 0 ;
13108 PyObject
* obj1
= 0 ;
13109 char * kwnames
[] = {
13110 (char *) "self",(char *) "pos", NULL
13113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13115 if (!SWIG_IsOK(res1
)) {
13116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13118 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13119 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13120 if (!SWIG_IsOK(ecode2
)) {
13121 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13123 arg2
= static_cast< long >(val2
);
13125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13126 (arg1
)->ShowPosition(arg2
);
13127 wxPyEndAllowThreads(__tstate
);
13128 if (PyErr_Occurred()) SWIG_fail
;
13130 resultobj
= SWIG_Py_Void();
13137 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13138 PyObject
*resultobj
= 0;
13139 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13140 wxPoint
*arg2
= 0 ;
13141 long *arg3
= (long *) 0 ;
13142 long *arg4
= (long *) 0 ;
13143 wxTextCtrlHitTestResult result
;
13148 int res3
= SWIG_TMPOBJ
;
13150 int res4
= SWIG_TMPOBJ
;
13151 PyObject
* obj0
= 0 ;
13152 PyObject
* obj1
= 0 ;
13153 char * kwnames
[] = {
13154 (char *) "self",(char *) "pt", NULL
13159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13161 if (!SWIG_IsOK(res1
)) {
13162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13164 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13167 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13171 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13172 wxPyEndAllowThreads(__tstate
);
13173 if (PyErr_Occurred()) SWIG_fail
;
13175 resultobj
= SWIG_From_int(static_cast< int >(result
));
13176 if (SWIG_IsTmpObj(res3
)) {
13177 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13179 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13180 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13182 if (SWIG_IsTmpObj(res4
)) {
13183 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13185 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13186 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13194 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13195 PyObject
*resultobj
= 0;
13196 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13197 wxPoint
*arg2
= 0 ;
13198 long *arg3
= (long *) 0 ;
13199 wxTextCtrlHitTestResult result
;
13204 int res3
= SWIG_TMPOBJ
;
13205 PyObject
* obj0
= 0 ;
13206 PyObject
* obj1
= 0 ;
13207 char * kwnames
[] = {
13208 (char *) "self",(char *) "pt", NULL
13212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13214 if (!SWIG_IsOK(res1
)) {
13215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13217 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13220 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13224 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13225 wxPyEndAllowThreads(__tstate
);
13226 if (PyErr_Occurred()) SWIG_fail
;
13228 resultobj
= SWIG_From_int(static_cast< int >(result
));
13229 if (SWIG_IsTmpObj(res3
)) {
13230 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13232 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13233 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13241 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13242 PyObject
*resultobj
= 0;
13243 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13246 PyObject
*swig_obj
[1] ;
13248 if (!args
) SWIG_fail
;
13249 swig_obj
[0] = args
;
13250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13251 if (!SWIG_IsOK(res1
)) {
13252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13254 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13258 wxPyEndAllowThreads(__tstate
);
13259 if (PyErr_Occurred()) SWIG_fail
;
13261 resultobj
= SWIG_Py_Void();
13268 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13269 PyObject
*resultobj
= 0;
13270 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13273 PyObject
*swig_obj
[1] ;
13275 if (!args
) SWIG_fail
;
13276 swig_obj
[0] = args
;
13277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13278 if (!SWIG_IsOK(res1
)) {
13279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13281 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13285 wxPyEndAllowThreads(__tstate
);
13286 if (PyErr_Occurred()) SWIG_fail
;
13288 resultobj
= SWIG_Py_Void();
13295 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13296 PyObject
*resultobj
= 0;
13297 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13300 PyObject
*swig_obj
[1] ;
13302 if (!args
) SWIG_fail
;
13303 swig_obj
[0] = args
;
13304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13305 if (!SWIG_IsOK(res1
)) {
13306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13308 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13312 wxPyEndAllowThreads(__tstate
);
13313 if (PyErr_Occurred()) SWIG_fail
;
13315 resultobj
= SWIG_Py_Void();
13322 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13323 PyObject
*resultobj
= 0;
13324 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13328 PyObject
*swig_obj
[1] ;
13330 if (!args
) SWIG_fail
;
13331 swig_obj
[0] = args
;
13332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13333 if (!SWIG_IsOK(res1
)) {
13334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13336 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13339 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13340 wxPyEndAllowThreads(__tstate
);
13341 if (PyErr_Occurred()) SWIG_fail
;
13344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13352 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13353 PyObject
*resultobj
= 0;
13354 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13358 PyObject
*swig_obj
[1] ;
13360 if (!args
) SWIG_fail
;
13361 swig_obj
[0] = args
;
13362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13363 if (!SWIG_IsOK(res1
)) {
13364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13366 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13369 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13370 wxPyEndAllowThreads(__tstate
);
13371 if (PyErr_Occurred()) SWIG_fail
;
13374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13382 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13383 PyObject
*resultobj
= 0;
13384 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13388 PyObject
*swig_obj
[1] ;
13390 if (!args
) SWIG_fail
;
13391 swig_obj
[0] = args
;
13392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13393 if (!SWIG_IsOK(res1
)) {
13394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13396 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13399 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13400 wxPyEndAllowThreads(__tstate
);
13401 if (PyErr_Occurred()) SWIG_fail
;
13404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13412 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13413 PyObject
*resultobj
= 0;
13414 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13417 PyObject
*swig_obj
[1] ;
13419 if (!args
) SWIG_fail
;
13420 swig_obj
[0] = args
;
13421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13422 if (!SWIG_IsOK(res1
)) {
13423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13425 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13429 wxPyEndAllowThreads(__tstate
);
13430 if (PyErr_Occurred()) SWIG_fail
;
13432 resultobj
= SWIG_Py_Void();
13439 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13440 PyObject
*resultobj
= 0;
13441 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13444 PyObject
*swig_obj
[1] ;
13446 if (!args
) SWIG_fail
;
13447 swig_obj
[0] = args
;
13448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13449 if (!SWIG_IsOK(res1
)) {
13450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13452 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13456 wxPyEndAllowThreads(__tstate
);
13457 if (PyErr_Occurred()) SWIG_fail
;
13459 resultobj
= SWIG_Py_Void();
13466 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13467 PyObject
*resultobj
= 0;
13468 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13472 PyObject
*swig_obj
[1] ;
13474 if (!args
) SWIG_fail
;
13475 swig_obj
[0] = args
;
13476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13477 if (!SWIG_IsOK(res1
)) {
13478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13480 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13483 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13484 wxPyEndAllowThreads(__tstate
);
13485 if (PyErr_Occurred()) SWIG_fail
;
13488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13496 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13497 PyObject
*resultobj
= 0;
13498 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13502 PyObject
*swig_obj
[1] ;
13504 if (!args
) SWIG_fail
;
13505 swig_obj
[0] = args
;
13506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13507 if (!SWIG_IsOK(res1
)) {
13508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13510 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13513 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13514 wxPyEndAllowThreads(__tstate
);
13515 if (PyErr_Occurred()) SWIG_fail
;
13518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13526 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13527 PyObject
*resultobj
= 0;
13528 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13534 PyObject
* obj0
= 0 ;
13535 PyObject
* obj1
= 0 ;
13536 char * kwnames
[] = {
13537 (char *) "self",(char *) "pos", NULL
13540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13542 if (!SWIG_IsOK(res1
)) {
13543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13545 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13546 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13547 if (!SWIG_IsOK(ecode2
)) {
13548 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13550 arg2
= static_cast< long >(val2
);
13552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13553 (arg1
)->SetInsertionPoint(arg2
);
13554 wxPyEndAllowThreads(__tstate
);
13555 if (PyErr_Occurred()) SWIG_fail
;
13557 resultobj
= SWIG_Py_Void();
13564 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13565 PyObject
*resultobj
= 0;
13566 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13569 PyObject
*swig_obj
[1] ;
13571 if (!args
) SWIG_fail
;
13572 swig_obj
[0] = args
;
13573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13574 if (!SWIG_IsOK(res1
)) {
13575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13577 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13580 (arg1
)->SetInsertionPointEnd();
13581 wxPyEndAllowThreads(__tstate
);
13582 if (PyErr_Occurred()) SWIG_fail
;
13584 resultobj
= SWIG_Py_Void();
13591 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13592 PyObject
*resultobj
= 0;
13593 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13597 PyObject
*swig_obj
[1] ;
13599 if (!args
) SWIG_fail
;
13600 swig_obj
[0] = args
;
13601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13602 if (!SWIG_IsOK(res1
)) {
13603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13605 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13608 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13609 wxPyEndAllowThreads(__tstate
);
13610 if (PyErr_Occurred()) SWIG_fail
;
13612 resultobj
= SWIG_From_long(static_cast< long >(result
));
13619 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13620 PyObject
*resultobj
= 0;
13621 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13625 PyObject
*swig_obj
[1] ;
13627 if (!args
) SWIG_fail
;
13628 swig_obj
[0] = args
;
13629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13630 if (!SWIG_IsOK(res1
)) {
13631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13633 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13636 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13637 wxPyEndAllowThreads(__tstate
);
13638 if (PyErr_Occurred()) SWIG_fail
;
13640 resultobj
= SWIG_From_long(static_cast< long >(result
));
13647 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13648 PyObject
*resultobj
= 0;
13649 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13658 PyObject
* obj0
= 0 ;
13659 PyObject
* obj1
= 0 ;
13660 PyObject
* obj2
= 0 ;
13661 char * kwnames
[] = {
13662 (char *) "self",(char *) "from",(char *) "to", NULL
13665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13667 if (!SWIG_IsOK(res1
)) {
13668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13670 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13671 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13672 if (!SWIG_IsOK(ecode2
)) {
13673 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13675 arg2
= static_cast< long >(val2
);
13676 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13677 if (!SWIG_IsOK(ecode3
)) {
13678 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13680 arg3
= static_cast< long >(val3
);
13682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13683 (arg1
)->SetSelection(arg2
,arg3
);
13684 wxPyEndAllowThreads(__tstate
);
13685 if (PyErr_Occurred()) SWIG_fail
;
13687 resultobj
= SWIG_Py_Void();
13694 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13695 PyObject
*resultobj
= 0;
13696 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13699 PyObject
*swig_obj
[1] ;
13701 if (!args
) SWIG_fail
;
13702 swig_obj
[0] = args
;
13703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13704 if (!SWIG_IsOK(res1
)) {
13705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13707 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13710 (arg1
)->SelectAll();
13711 wxPyEndAllowThreads(__tstate
);
13712 if (PyErr_Occurred()) SWIG_fail
;
13714 resultobj
= SWIG_Py_Void();
13721 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13722 PyObject
*resultobj
= 0;
13723 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13729 PyObject
* obj0
= 0 ;
13730 PyObject
* obj1
= 0 ;
13731 char * kwnames
[] = {
13732 (char *) "self",(char *) "editable", NULL
13735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13737 if (!SWIG_IsOK(res1
)) {
13738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13740 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13741 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13742 if (!SWIG_IsOK(ecode2
)) {
13743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13745 arg2
= static_cast< bool >(val2
);
13747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13748 (arg1
)->SetEditable(arg2
);
13749 wxPyEndAllowThreads(__tstate
);
13750 if (PyErr_Occurred()) SWIG_fail
;
13752 resultobj
= SWIG_Py_Void();
13759 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13760 PyObject
*resultobj
= 0;
13761 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13762 wxString
*arg2
= 0 ;
13765 bool temp2
= false ;
13766 PyObject
* obj0
= 0 ;
13767 PyObject
* obj1
= 0 ;
13768 char * kwnames
[] = {
13769 (char *) "self",(char *) "text", NULL
13772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13774 if (!SWIG_IsOK(res1
)) {
13775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13777 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13779 arg2
= wxString_in_helper(obj1
);
13780 if (arg2
== NULL
) SWIG_fail
;
13784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13785 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
13786 wxPyEndAllowThreads(__tstate
);
13787 if (PyErr_Occurred()) SWIG_fail
;
13789 resultobj
= SWIG_Py_Void();
13804 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13805 PyObject
*resultobj
= 0;
13806 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13816 PyObject
* obj0
= 0 ;
13817 PyObject
* obj1
= 0 ;
13818 PyObject
* obj2
= 0 ;
13819 char * kwnames
[] = {
13820 (char *) "self",(char *) "from",(char *) "to", NULL
13823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13825 if (!SWIG_IsOK(res1
)) {
13826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13828 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13829 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13830 if (!SWIG_IsOK(ecode2
)) {
13831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13833 arg2
= static_cast< long >(val2
);
13834 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13835 if (!SWIG_IsOK(ecode3
)) {
13836 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
13838 arg3
= static_cast< long >(val3
);
13840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13841 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
13842 wxPyEndAllowThreads(__tstate
);
13843 if (PyErr_Occurred()) SWIG_fail
;
13847 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13849 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13858 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13859 PyObject
*resultobj
= 0;
13860 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13861 SwigValueWrapper
<wxVisualAttributes
> result
;
13864 PyObject
* obj0
= 0 ;
13865 char * kwnames
[] = {
13866 (char *) "variant", NULL
13869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
13871 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13872 if (!SWIG_IsOK(ecode1
)) {
13873 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
13875 arg1
= static_cast< wxWindowVariant
>(val1
);
13878 if (!wxPyCheckForApp()) SWIG_fail
;
13879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13880 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
13881 wxPyEndAllowThreads(__tstate
);
13882 if (PyErr_Occurred()) SWIG_fail
;
13884 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
13891 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13893 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13894 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
13895 return SWIG_Py_Void();
13898 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13899 return SWIG_Python_InitShadowInstance(args
);
13902 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13903 PyObject
*resultobj
= 0;
13905 wxMouseEvent
*arg2
= 0 ;
13908 wxTextUrlEvent
*result
= 0 ;
13917 PyObject
* obj0
= 0 ;
13918 PyObject
* obj1
= 0 ;
13919 PyObject
* obj2
= 0 ;
13920 PyObject
* obj3
= 0 ;
13921 char * kwnames
[] = {
13922 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
13925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13926 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13927 if (!SWIG_IsOK(ecode1
)) {
13928 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
13930 arg1
= static_cast< int >(val1
);
13931 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
13932 if (!SWIG_IsOK(res2
)) {
13933 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13936 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13938 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
13939 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13940 if (!SWIG_IsOK(ecode3
)) {
13941 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
13943 arg3
= static_cast< long >(val3
);
13944 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
13945 if (!SWIG_IsOK(ecode4
)) {
13946 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
13948 arg4
= static_cast< long >(val4
);
13950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13951 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
13952 wxPyEndAllowThreads(__tstate
);
13953 if (PyErr_Occurred()) SWIG_fail
;
13955 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
13962 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13963 PyObject
*resultobj
= 0;
13964 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13965 wxMouseEvent
*result
= 0 ;
13968 PyObject
*swig_obj
[1] ;
13970 if (!args
) SWIG_fail
;
13971 swig_obj
[0] = args
;
13972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13973 if (!SWIG_IsOK(res1
)) {
13974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
13976 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13980 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
13981 result
= (wxMouseEvent
*) &_result_ref
;
13983 wxPyEndAllowThreads(__tstate
);
13984 if (PyErr_Occurred()) SWIG_fail
;
13986 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
13993 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13994 PyObject
*resultobj
= 0;
13995 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13999 PyObject
*swig_obj
[1] ;
14001 if (!args
) SWIG_fail
;
14002 swig_obj
[0] = args
;
14003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14004 if (!SWIG_IsOK(res1
)) {
14005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14007 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14010 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
14011 wxPyEndAllowThreads(__tstate
);
14012 if (PyErr_Occurred()) SWIG_fail
;
14014 resultobj
= SWIG_From_long(static_cast< long >(result
));
14021 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14022 PyObject
*resultobj
= 0;
14023 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14027 PyObject
*swig_obj
[1] ;
14029 if (!args
) SWIG_fail
;
14030 swig_obj
[0] = args
;
14031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14032 if (!SWIG_IsOK(res1
)) {
14033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14035 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14038 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
14039 wxPyEndAllowThreads(__tstate
);
14040 if (PyErr_Occurred()) SWIG_fail
;
14042 resultobj
= SWIG_From_long(static_cast< long >(result
));
14049 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14051 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14052 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
14053 return SWIG_Py_Void();
14056 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14057 return SWIG_Python_InitShadowInstance(args
);
14060 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
14061 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
14066 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
14067 PyObject
*pyobj
= 0;
14071 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14073 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14080 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14081 PyObject
*resultobj
= 0;
14082 wxWindow
*arg1
= (wxWindow
*) 0 ;
14083 int arg2
= (int) -1 ;
14084 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14085 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14086 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14087 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14088 long arg5
= (long) wxSB_HORIZONTAL
;
14089 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
14090 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
14091 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
14092 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14093 wxScrollBar
*result
= 0 ;
14104 bool temp7
= false ;
14105 PyObject
* obj0
= 0 ;
14106 PyObject
* obj1
= 0 ;
14107 PyObject
* obj2
= 0 ;
14108 PyObject
* obj3
= 0 ;
14109 PyObject
* obj4
= 0 ;
14110 PyObject
* obj5
= 0 ;
14111 PyObject
* obj6
= 0 ;
14112 char * kwnames
[] = {
14113 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14118 if (!SWIG_IsOK(res1
)) {
14119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14121 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14123 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14124 if (!SWIG_IsOK(ecode2
)) {
14125 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14127 arg2
= static_cast< int >(val2
);
14132 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14138 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14142 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14143 if (!SWIG_IsOK(ecode5
)) {
14144 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14146 arg5
= static_cast< long >(val5
);
14149 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14150 if (!SWIG_IsOK(res6
)) {
14151 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14154 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14156 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14160 arg7
= wxString_in_helper(obj6
);
14161 if (arg7
== NULL
) SWIG_fail
;
14166 if (!wxPyCheckForApp()) SWIG_fail
;
14167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14168 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14169 wxPyEndAllowThreads(__tstate
);
14170 if (PyErr_Occurred()) SWIG_fail
;
14172 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14187 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14188 PyObject
*resultobj
= 0;
14189 wxScrollBar
*result
= 0 ;
14191 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14193 if (!wxPyCheckForApp()) SWIG_fail
;
14194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14195 result
= (wxScrollBar
*)new wxScrollBar();
14196 wxPyEndAllowThreads(__tstate
);
14197 if (PyErr_Occurred()) SWIG_fail
;
14199 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14206 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14207 PyObject
*resultobj
= 0;
14208 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14209 wxWindow
*arg2
= (wxWindow
*) 0 ;
14210 int arg3
= (int) -1 ;
14211 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14212 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14213 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14214 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14215 long arg6
= (long) wxSB_HORIZONTAL
;
14216 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14217 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14218 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14219 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14233 bool temp8
= false ;
14234 PyObject
* obj0
= 0 ;
14235 PyObject
* obj1
= 0 ;
14236 PyObject
* obj2
= 0 ;
14237 PyObject
* obj3
= 0 ;
14238 PyObject
* obj4
= 0 ;
14239 PyObject
* obj5
= 0 ;
14240 PyObject
* obj6
= 0 ;
14241 PyObject
* obj7
= 0 ;
14242 char * kwnames
[] = {
14243 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14248 if (!SWIG_IsOK(res1
)) {
14249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14251 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14252 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14253 if (!SWIG_IsOK(res2
)) {
14254 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14256 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14258 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14259 if (!SWIG_IsOK(ecode3
)) {
14260 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14262 arg3
= static_cast< int >(val3
);
14267 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14273 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14277 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14278 if (!SWIG_IsOK(ecode6
)) {
14279 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14281 arg6
= static_cast< long >(val6
);
14284 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14285 if (!SWIG_IsOK(res7
)) {
14286 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14289 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14291 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14295 arg8
= wxString_in_helper(obj7
);
14296 if (arg8
== NULL
) SWIG_fail
;
14301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14302 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14303 wxPyEndAllowThreads(__tstate
);
14304 if (PyErr_Occurred()) SWIG_fail
;
14307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14323 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14324 PyObject
*resultobj
= 0;
14325 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14329 PyObject
*swig_obj
[1] ;
14331 if (!args
) SWIG_fail
;
14332 swig_obj
[0] = args
;
14333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14334 if (!SWIG_IsOK(res1
)) {
14335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14337 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14340 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14341 wxPyEndAllowThreads(__tstate
);
14342 if (PyErr_Occurred()) SWIG_fail
;
14344 resultobj
= SWIG_From_int(static_cast< int >(result
));
14351 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14352 PyObject
*resultobj
= 0;
14353 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14357 PyObject
*swig_obj
[1] ;
14359 if (!args
) SWIG_fail
;
14360 swig_obj
[0] = args
;
14361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14362 if (!SWIG_IsOK(res1
)) {
14363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14365 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14368 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14369 wxPyEndAllowThreads(__tstate
);
14370 if (PyErr_Occurred()) SWIG_fail
;
14372 resultobj
= SWIG_From_int(static_cast< int >(result
));
14379 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14380 PyObject
*resultobj
= 0;
14381 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14385 PyObject
*swig_obj
[1] ;
14387 if (!args
) SWIG_fail
;
14388 swig_obj
[0] = args
;
14389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14390 if (!SWIG_IsOK(res1
)) {
14391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14393 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14396 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14397 wxPyEndAllowThreads(__tstate
);
14398 if (PyErr_Occurred()) SWIG_fail
;
14400 resultobj
= SWIG_From_int(static_cast< int >(result
));
14407 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14408 PyObject
*resultobj
= 0;
14409 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14413 PyObject
*swig_obj
[1] ;
14415 if (!args
) SWIG_fail
;
14416 swig_obj
[0] = args
;
14417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14418 if (!SWIG_IsOK(res1
)) {
14419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14421 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14424 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14425 wxPyEndAllowThreads(__tstate
);
14426 if (PyErr_Occurred()) SWIG_fail
;
14428 resultobj
= SWIG_From_int(static_cast< int >(result
));
14435 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14436 PyObject
*resultobj
= 0;
14437 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14441 PyObject
*swig_obj
[1] ;
14443 if (!args
) SWIG_fail
;
14444 swig_obj
[0] = args
;
14445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14446 if (!SWIG_IsOK(res1
)) {
14447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14449 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14452 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14453 wxPyEndAllowThreads(__tstate
);
14454 if (PyErr_Occurred()) SWIG_fail
;
14457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14465 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14466 PyObject
*resultobj
= 0;
14467 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14473 PyObject
* obj0
= 0 ;
14474 PyObject
* obj1
= 0 ;
14475 char * kwnames
[] = {
14476 (char *) "self",(char *) "viewStart", NULL
14479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14481 if (!SWIG_IsOK(res1
)) {
14482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14484 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14485 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14486 if (!SWIG_IsOK(ecode2
)) {
14487 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14489 arg2
= static_cast< int >(val2
);
14491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14492 (arg1
)->SetThumbPosition(arg2
);
14493 wxPyEndAllowThreads(__tstate
);
14494 if (PyErr_Occurred()) SWIG_fail
;
14496 resultobj
= SWIG_Py_Void();
14503 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14504 PyObject
*resultobj
= 0;
14505 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14506 SwigValueWrapper
<wxVisualAttributes
> result
;
14509 PyObject
* obj0
= 0 ;
14510 char * kwnames
[] = {
14511 (char *) "variant", NULL
14514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14516 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14517 if (!SWIG_IsOK(ecode1
)) {
14518 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14520 arg1
= static_cast< wxWindowVariant
>(val1
);
14523 if (!wxPyCheckForApp()) SWIG_fail
;
14524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14525 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14526 wxPyEndAllowThreads(__tstate
);
14527 if (PyErr_Occurred()) SWIG_fail
;
14529 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14536 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14538 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14539 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14540 return SWIG_Py_Void();
14543 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14544 return SWIG_Python_InitShadowInstance(args
);
14547 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14548 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14553 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14554 PyObject
*pyobj
= 0;
14558 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14560 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14567 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14568 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14573 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14574 PyObject
*pyobj
= 0;
14578 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14580 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14587 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14588 PyObject
*resultobj
= 0;
14589 wxWindow
*arg1
= (wxWindow
*) 0 ;
14590 int arg2
= (int) -1 ;
14591 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14592 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14593 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14594 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14595 long arg5
= (long) wxSP_HORIZONTAL
;
14596 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14597 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14598 wxSpinButton
*result
= 0 ;
14607 bool temp6
= false ;
14608 PyObject
* obj0
= 0 ;
14609 PyObject
* obj1
= 0 ;
14610 PyObject
* obj2
= 0 ;
14611 PyObject
* obj3
= 0 ;
14612 PyObject
* obj4
= 0 ;
14613 PyObject
* obj5
= 0 ;
14614 char * kwnames
[] = {
14615 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14620 if (!SWIG_IsOK(res1
)) {
14621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14623 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14625 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14626 if (!SWIG_IsOK(ecode2
)) {
14627 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14629 arg2
= static_cast< int >(val2
);
14634 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14640 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14644 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14645 if (!SWIG_IsOK(ecode5
)) {
14646 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14648 arg5
= static_cast< long >(val5
);
14652 arg6
= wxString_in_helper(obj5
);
14653 if (arg6
== NULL
) SWIG_fail
;
14658 if (!wxPyCheckForApp()) SWIG_fail
;
14659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14660 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14661 wxPyEndAllowThreads(__tstate
);
14662 if (PyErr_Occurred()) SWIG_fail
;
14664 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14679 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14680 PyObject
*resultobj
= 0;
14681 wxSpinButton
*result
= 0 ;
14683 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14685 if (!wxPyCheckForApp()) SWIG_fail
;
14686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14687 result
= (wxSpinButton
*)new wxSpinButton();
14688 wxPyEndAllowThreads(__tstate
);
14689 if (PyErr_Occurred()) SWIG_fail
;
14691 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14698 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14699 PyObject
*resultobj
= 0;
14700 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14701 wxWindow
*arg2
= (wxWindow
*) 0 ;
14702 int arg3
= (int) -1 ;
14703 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14704 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14705 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14706 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14707 long arg6
= (long) wxSP_HORIZONTAL
;
14708 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14709 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14721 bool temp7
= false ;
14722 PyObject
* obj0
= 0 ;
14723 PyObject
* obj1
= 0 ;
14724 PyObject
* obj2
= 0 ;
14725 PyObject
* obj3
= 0 ;
14726 PyObject
* obj4
= 0 ;
14727 PyObject
* obj5
= 0 ;
14728 PyObject
* obj6
= 0 ;
14729 char * kwnames
[] = {
14730 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14735 if (!SWIG_IsOK(res1
)) {
14736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14738 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14739 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14740 if (!SWIG_IsOK(res2
)) {
14741 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14743 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14745 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14746 if (!SWIG_IsOK(ecode3
)) {
14747 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14749 arg3
= static_cast< int >(val3
);
14754 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14760 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14764 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14765 if (!SWIG_IsOK(ecode6
)) {
14766 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14768 arg6
= static_cast< long >(val6
);
14772 arg7
= wxString_in_helper(obj6
);
14773 if (arg7
== NULL
) SWIG_fail
;
14778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14779 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14780 wxPyEndAllowThreads(__tstate
);
14781 if (PyErr_Occurred()) SWIG_fail
;
14784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14800 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14801 PyObject
*resultobj
= 0;
14802 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14806 PyObject
*swig_obj
[1] ;
14808 if (!args
) SWIG_fail
;
14809 swig_obj
[0] = args
;
14810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14811 if (!SWIG_IsOK(res1
)) {
14812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14814 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14817 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
14818 wxPyEndAllowThreads(__tstate
);
14819 if (PyErr_Occurred()) SWIG_fail
;
14821 resultobj
= SWIG_From_int(static_cast< int >(result
));
14828 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14829 PyObject
*resultobj
= 0;
14830 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14834 PyObject
*swig_obj
[1] ;
14836 if (!args
) SWIG_fail
;
14837 swig_obj
[0] = args
;
14838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14839 if (!SWIG_IsOK(res1
)) {
14840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14842 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14845 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
14846 wxPyEndAllowThreads(__tstate
);
14847 if (PyErr_Occurred()) SWIG_fail
;
14849 resultobj
= SWIG_From_int(static_cast< int >(result
));
14856 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14857 PyObject
*resultobj
= 0;
14858 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14862 PyObject
*swig_obj
[1] ;
14864 if (!args
) SWIG_fail
;
14865 swig_obj
[0] = args
;
14866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14867 if (!SWIG_IsOK(res1
)) {
14868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14870 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14873 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
14874 wxPyEndAllowThreads(__tstate
);
14875 if (PyErr_Occurred()) SWIG_fail
;
14877 resultobj
= SWIG_From_int(static_cast< int >(result
));
14884 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14885 PyObject
*resultobj
= 0;
14886 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14892 PyObject
* obj0
= 0 ;
14893 PyObject
* obj1
= 0 ;
14894 char * kwnames
[] = {
14895 (char *) "self",(char *) "val", NULL
14898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14900 if (!SWIG_IsOK(res1
)) {
14901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14903 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14904 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14905 if (!SWIG_IsOK(ecode2
)) {
14906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
14908 arg2
= static_cast< int >(val2
);
14910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14911 (arg1
)->SetValue(arg2
);
14912 wxPyEndAllowThreads(__tstate
);
14913 if (PyErr_Occurred()) SWIG_fail
;
14915 resultobj
= SWIG_Py_Void();
14922 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14923 PyObject
*resultobj
= 0;
14924 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14930 PyObject
* obj0
= 0 ;
14931 PyObject
* obj1
= 0 ;
14932 char * kwnames
[] = {
14933 (char *) "self",(char *) "minVal", NULL
14936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14938 if (!SWIG_IsOK(res1
)) {
14939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14941 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14942 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14943 if (!SWIG_IsOK(ecode2
)) {
14944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
14946 arg2
= static_cast< int >(val2
);
14948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14949 (arg1
)->SetMin(arg2
);
14950 wxPyEndAllowThreads(__tstate
);
14951 if (PyErr_Occurred()) SWIG_fail
;
14953 resultobj
= SWIG_Py_Void();
14960 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14961 PyObject
*resultobj
= 0;
14962 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14968 PyObject
* obj0
= 0 ;
14969 PyObject
* obj1
= 0 ;
14970 char * kwnames
[] = {
14971 (char *) "self",(char *) "maxVal", NULL
14974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14976 if (!SWIG_IsOK(res1
)) {
14977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14979 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14980 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14981 if (!SWIG_IsOK(ecode2
)) {
14982 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
14984 arg2
= static_cast< int >(val2
);
14986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14987 (arg1
)->SetMax(arg2
);
14988 wxPyEndAllowThreads(__tstate
);
14989 if (PyErr_Occurred()) SWIG_fail
;
14991 resultobj
= SWIG_Py_Void();
14998 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14999 PyObject
*resultobj
= 0;
15000 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15009 PyObject
* obj0
= 0 ;
15010 PyObject
* obj1
= 0 ;
15011 PyObject
* obj2
= 0 ;
15012 char * kwnames
[] = {
15013 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15018 if (!SWIG_IsOK(res1
)) {
15019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15021 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15022 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15023 if (!SWIG_IsOK(ecode2
)) {
15024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15026 arg2
= static_cast< int >(val2
);
15027 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15028 if (!SWIG_IsOK(ecode3
)) {
15029 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15031 arg3
= static_cast< int >(val3
);
15033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15034 (arg1
)->SetRange(arg2
,arg3
);
15035 wxPyEndAllowThreads(__tstate
);
15036 if (PyErr_Occurred()) SWIG_fail
;
15038 resultobj
= SWIG_Py_Void();
15045 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15046 PyObject
*resultobj
= 0;
15047 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15051 PyObject
*swig_obj
[1] ;
15053 if (!args
) SWIG_fail
;
15054 swig_obj
[0] = args
;
15055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15056 if (!SWIG_IsOK(res1
)) {
15057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15059 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15062 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
15063 wxPyEndAllowThreads(__tstate
);
15064 if (PyErr_Occurred()) SWIG_fail
;
15067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15075 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15076 PyObject
*resultobj
= 0;
15077 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15078 SwigValueWrapper
<wxVisualAttributes
> result
;
15081 PyObject
* obj0
= 0 ;
15082 char * kwnames
[] = {
15083 (char *) "variant", NULL
15086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15088 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15089 if (!SWIG_IsOK(ecode1
)) {
15090 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15092 arg1
= static_cast< wxWindowVariant
>(val1
);
15095 if (!wxPyCheckForApp()) SWIG_fail
;
15096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15097 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
15098 wxPyEndAllowThreads(__tstate
);
15099 if (PyErr_Occurred()) SWIG_fail
;
15101 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15108 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15110 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15111 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15112 return SWIG_Py_Void();
15115 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15116 return SWIG_Python_InitShadowInstance(args
);
15119 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15120 PyObject
*resultobj
= 0;
15121 wxWindow
*arg1
= (wxWindow
*) 0 ;
15122 int arg2
= (int) -1 ;
15123 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15124 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15125 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15126 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15127 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15128 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15129 long arg6
= (long) wxSP_ARROW_KEYS
;
15130 int arg7
= (int) 0 ;
15131 int arg8
= (int) 100 ;
15132 int arg9
= (int) 0 ;
15133 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15134 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15135 wxSpinCtrl
*result
= 0 ;
15140 bool temp3
= false ;
15151 bool temp10
= false ;
15152 PyObject
* obj0
= 0 ;
15153 PyObject
* obj1
= 0 ;
15154 PyObject
* obj2
= 0 ;
15155 PyObject
* obj3
= 0 ;
15156 PyObject
* obj4
= 0 ;
15157 PyObject
* obj5
= 0 ;
15158 PyObject
* obj6
= 0 ;
15159 PyObject
* obj7
= 0 ;
15160 PyObject
* obj8
= 0 ;
15161 PyObject
* obj9
= 0 ;
15162 char * kwnames
[] = {
15163 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15168 if (!SWIG_IsOK(res1
)) {
15169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15171 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15173 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15174 if (!SWIG_IsOK(ecode2
)) {
15175 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15177 arg2
= static_cast< int >(val2
);
15181 arg3
= wxString_in_helper(obj2
);
15182 if (arg3
== NULL
) SWIG_fail
;
15189 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15195 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15199 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15200 if (!SWIG_IsOK(ecode6
)) {
15201 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15203 arg6
= static_cast< long >(val6
);
15206 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15207 if (!SWIG_IsOK(ecode7
)) {
15208 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15210 arg7
= static_cast< int >(val7
);
15213 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15214 if (!SWIG_IsOK(ecode8
)) {
15215 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15217 arg8
= static_cast< int >(val8
);
15220 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15221 if (!SWIG_IsOK(ecode9
)) {
15222 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15224 arg9
= static_cast< int >(val9
);
15228 arg10
= wxString_in_helper(obj9
);
15229 if (arg10
== NULL
) SWIG_fail
;
15234 if (!wxPyCheckForApp()) SWIG_fail
;
15235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15236 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15237 wxPyEndAllowThreads(__tstate
);
15238 if (PyErr_Occurred()) SWIG_fail
;
15240 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15263 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15264 PyObject
*resultobj
= 0;
15265 wxSpinCtrl
*result
= 0 ;
15267 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15269 if (!wxPyCheckForApp()) SWIG_fail
;
15270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15271 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15272 wxPyEndAllowThreads(__tstate
);
15273 if (PyErr_Occurred()) SWIG_fail
;
15275 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15282 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15283 PyObject
*resultobj
= 0;
15284 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15285 wxWindow
*arg2
= (wxWindow
*) 0 ;
15286 int arg3
= (int) -1 ;
15287 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15288 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15289 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15290 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15291 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15292 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15293 long arg7
= (long) wxSP_ARROW_KEYS
;
15294 int arg8
= (int) 0 ;
15295 int arg9
= (int) 100 ;
15296 int arg10
= (int) 0 ;
15297 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15298 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15306 bool temp4
= false ;
15317 bool temp11
= false ;
15318 PyObject
* obj0
= 0 ;
15319 PyObject
* obj1
= 0 ;
15320 PyObject
* obj2
= 0 ;
15321 PyObject
* obj3
= 0 ;
15322 PyObject
* obj4
= 0 ;
15323 PyObject
* obj5
= 0 ;
15324 PyObject
* obj6
= 0 ;
15325 PyObject
* obj7
= 0 ;
15326 PyObject
* obj8
= 0 ;
15327 PyObject
* obj9
= 0 ;
15328 PyObject
* obj10
= 0 ;
15329 char * kwnames
[] = {
15330 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15335 if (!SWIG_IsOK(res1
)) {
15336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15338 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15339 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15340 if (!SWIG_IsOK(res2
)) {
15341 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15343 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15345 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15346 if (!SWIG_IsOK(ecode3
)) {
15347 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15349 arg3
= static_cast< int >(val3
);
15353 arg4
= wxString_in_helper(obj3
);
15354 if (arg4
== NULL
) SWIG_fail
;
15361 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15367 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15371 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15372 if (!SWIG_IsOK(ecode7
)) {
15373 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15375 arg7
= static_cast< long >(val7
);
15378 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15379 if (!SWIG_IsOK(ecode8
)) {
15380 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15382 arg8
= static_cast< int >(val8
);
15385 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15386 if (!SWIG_IsOK(ecode9
)) {
15387 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15389 arg9
= static_cast< int >(val9
);
15392 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15393 if (!SWIG_IsOK(ecode10
)) {
15394 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15396 arg10
= static_cast< int >(val10
);
15400 arg11
= wxString_in_helper(obj10
);
15401 if (arg11
== NULL
) SWIG_fail
;
15406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15407 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15408 wxPyEndAllowThreads(__tstate
);
15409 if (PyErr_Occurred()) SWIG_fail
;
15412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15436 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15437 PyObject
*resultobj
= 0;
15438 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15442 PyObject
*swig_obj
[1] ;
15444 if (!args
) SWIG_fail
;
15445 swig_obj
[0] = args
;
15446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15447 if (!SWIG_IsOK(res1
)) {
15448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15450 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15453 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15454 wxPyEndAllowThreads(__tstate
);
15455 if (PyErr_Occurred()) SWIG_fail
;
15457 resultobj
= SWIG_From_int(static_cast< int >(result
));
15464 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15465 PyObject
*resultobj
= 0;
15466 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15472 PyObject
* obj0
= 0 ;
15473 PyObject
* obj1
= 0 ;
15474 char * kwnames
[] = {
15475 (char *) "self",(char *) "value", NULL
15478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15480 if (!SWIG_IsOK(res1
)) {
15481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15483 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15484 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15485 if (!SWIG_IsOK(ecode2
)) {
15486 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15488 arg2
= static_cast< int >(val2
);
15490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15491 (arg1
)->SetValue(arg2
);
15492 wxPyEndAllowThreads(__tstate
);
15493 if (PyErr_Occurred()) SWIG_fail
;
15495 resultobj
= SWIG_Py_Void();
15502 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15503 PyObject
*resultobj
= 0;
15504 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15505 wxString
*arg2
= 0 ;
15508 bool temp2
= false ;
15509 PyObject
* obj0
= 0 ;
15510 PyObject
* obj1
= 0 ;
15511 char * kwnames
[] = {
15512 (char *) "self",(char *) "text", NULL
15515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15517 if (!SWIG_IsOK(res1
)) {
15518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15520 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15522 arg2
= wxString_in_helper(obj1
);
15523 if (arg2
== NULL
) SWIG_fail
;
15527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15528 (arg1
)->SetValue((wxString
const &)*arg2
);
15529 wxPyEndAllowThreads(__tstate
);
15530 if (PyErr_Occurred()) SWIG_fail
;
15532 resultobj
= SWIG_Py_Void();
15547 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15548 PyObject
*resultobj
= 0;
15549 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15558 PyObject
* obj0
= 0 ;
15559 PyObject
* obj1
= 0 ;
15560 PyObject
* obj2
= 0 ;
15561 char * kwnames
[] = {
15562 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15567 if (!SWIG_IsOK(res1
)) {
15568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15570 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15571 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15572 if (!SWIG_IsOK(ecode2
)) {
15573 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15575 arg2
= static_cast< int >(val2
);
15576 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15577 if (!SWIG_IsOK(ecode3
)) {
15578 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15580 arg3
= static_cast< int >(val3
);
15582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15583 (arg1
)->SetRange(arg2
,arg3
);
15584 wxPyEndAllowThreads(__tstate
);
15585 if (PyErr_Occurred()) SWIG_fail
;
15587 resultobj
= SWIG_Py_Void();
15594 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15595 PyObject
*resultobj
= 0;
15596 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15600 PyObject
*swig_obj
[1] ;
15602 if (!args
) SWIG_fail
;
15603 swig_obj
[0] = args
;
15604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15605 if (!SWIG_IsOK(res1
)) {
15606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15608 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15611 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15612 wxPyEndAllowThreads(__tstate
);
15613 if (PyErr_Occurred()) SWIG_fail
;
15615 resultobj
= SWIG_From_int(static_cast< int >(result
));
15622 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15623 PyObject
*resultobj
= 0;
15624 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15628 PyObject
*swig_obj
[1] ;
15630 if (!args
) SWIG_fail
;
15631 swig_obj
[0] = args
;
15632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15633 if (!SWIG_IsOK(res1
)) {
15634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15636 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15639 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15640 wxPyEndAllowThreads(__tstate
);
15641 if (PyErr_Occurred()) SWIG_fail
;
15643 resultobj
= SWIG_From_int(static_cast< int >(result
));
15650 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15651 PyObject
*resultobj
= 0;
15652 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15661 PyObject
* obj0
= 0 ;
15662 PyObject
* obj1
= 0 ;
15663 PyObject
* obj2
= 0 ;
15664 char * kwnames
[] = {
15665 (char *) "self",(char *) "from",(char *) "to", NULL
15668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15670 if (!SWIG_IsOK(res1
)) {
15671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15673 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15674 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15675 if (!SWIG_IsOK(ecode2
)) {
15676 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15678 arg2
= static_cast< long >(val2
);
15679 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15680 if (!SWIG_IsOK(ecode3
)) {
15681 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15683 arg3
= static_cast< long >(val3
);
15685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15686 (arg1
)->SetSelection(arg2
,arg3
);
15687 wxPyEndAllowThreads(__tstate
);
15688 if (PyErr_Occurred()) SWIG_fail
;
15690 resultobj
= SWIG_Py_Void();
15697 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15698 PyObject
*resultobj
= 0;
15699 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15700 SwigValueWrapper
<wxVisualAttributes
> result
;
15703 PyObject
* obj0
= 0 ;
15704 char * kwnames
[] = {
15705 (char *) "variant", NULL
15708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15710 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15711 if (!SWIG_IsOK(ecode1
)) {
15712 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15714 arg1
= static_cast< wxWindowVariant
>(val1
);
15717 if (!wxPyCheckForApp()) SWIG_fail
;
15718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15719 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15720 wxPyEndAllowThreads(__tstate
);
15721 if (PyErr_Occurred()) SWIG_fail
;
15723 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15730 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15732 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15733 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15734 return SWIG_Py_Void();
15737 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15738 return SWIG_Python_InitShadowInstance(args
);
15741 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15742 PyObject
*resultobj
= 0;
15743 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15744 int arg2
= (int) 0 ;
15745 wxSpinEvent
*result
= 0 ;
15750 PyObject
* obj0
= 0 ;
15751 PyObject
* obj1
= 0 ;
15752 char * kwnames
[] = {
15753 (char *) "commandType",(char *) "winid", NULL
15756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15758 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15759 if (!SWIG_IsOK(ecode1
)) {
15760 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15762 arg1
= static_cast< wxEventType
>(val1
);
15765 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15766 if (!SWIG_IsOK(ecode2
)) {
15767 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15769 arg2
= static_cast< int >(val2
);
15772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15773 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
15774 wxPyEndAllowThreads(__tstate
);
15775 if (PyErr_Occurred()) SWIG_fail
;
15777 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
15784 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15785 PyObject
*resultobj
= 0;
15786 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15790 PyObject
*swig_obj
[1] ;
15792 if (!args
) SWIG_fail
;
15793 swig_obj
[0] = args
;
15794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15795 if (!SWIG_IsOK(res1
)) {
15796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15798 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15801 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
15802 wxPyEndAllowThreads(__tstate
);
15803 if (PyErr_Occurred()) SWIG_fail
;
15805 resultobj
= SWIG_From_int(static_cast< int >(result
));
15812 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15813 PyObject
*resultobj
= 0;
15814 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15820 PyObject
* obj0
= 0 ;
15821 PyObject
* obj1
= 0 ;
15822 char * kwnames
[] = {
15823 (char *) "self",(char *) "pos", NULL
15826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15828 if (!SWIG_IsOK(res1
)) {
15829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15831 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15832 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15833 if (!SWIG_IsOK(ecode2
)) {
15834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
15836 arg2
= static_cast< int >(val2
);
15838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15839 (arg1
)->SetPosition(arg2
);
15840 wxPyEndAllowThreads(__tstate
);
15841 if (PyErr_Occurred()) SWIG_fail
;
15843 resultobj
= SWIG_Py_Void();
15850 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15852 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15853 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
15854 return SWIG_Py_Void();
15857 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15858 return SWIG_Python_InitShadowInstance(args
);
15861 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
15862 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
15867 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
15868 PyObject
*pyobj
= 0;
15872 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15874 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15881 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
15882 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
15887 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
15888 PyObject
*pyobj
= 0;
15892 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15894 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15901 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15902 PyObject
*resultobj
= 0;
15903 wxWindow
*arg1
= (wxWindow
*) 0 ;
15904 int arg2
= (int) -1 ;
15905 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15906 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15907 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15908 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15909 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15910 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15911 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
15912 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
15913 int arg7
= (int) 0 ;
15914 long arg8
= (long) wxRA_HORIZONTAL
;
15915 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
15916 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
15917 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
15918 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15919 wxRadioBox
*result
= 0 ;
15924 bool temp3
= false ;
15927 bool temp6
= false ;
15934 bool temp10
= false ;
15935 PyObject
* obj0
= 0 ;
15936 PyObject
* obj1
= 0 ;
15937 PyObject
* obj2
= 0 ;
15938 PyObject
* obj3
= 0 ;
15939 PyObject
* obj4
= 0 ;
15940 PyObject
* obj5
= 0 ;
15941 PyObject
* obj6
= 0 ;
15942 PyObject
* obj7
= 0 ;
15943 PyObject
* obj8
= 0 ;
15944 PyObject
* obj9
= 0 ;
15945 char * kwnames
[] = {
15946 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
15949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15951 if (!SWIG_IsOK(res1
)) {
15952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15954 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15956 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15957 if (!SWIG_IsOK(ecode2
)) {
15958 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
15960 arg2
= static_cast< int >(val2
);
15964 arg3
= wxString_in_helper(obj2
);
15965 if (arg3
== NULL
) SWIG_fail
;
15972 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15978 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15983 if (! PySequence_Check(obj5
)) {
15984 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
15987 arg6
= new wxArrayString
;
15989 int i
, len
=PySequence_Length(obj5
);
15990 for (i
=0; i
<len
; i
++) {
15991 PyObject
* item
= PySequence_GetItem(obj5
, i
);
15992 wxString
* s
= wxString_in_helper(item
);
15993 if (PyErr_Occurred()) SWIG_fail
;
16001 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
16002 if (!SWIG_IsOK(ecode7
)) {
16003 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16005 arg7
= static_cast< int >(val7
);
16008 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
16009 if (!SWIG_IsOK(ecode8
)) {
16010 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16012 arg8
= static_cast< long >(val8
);
16015 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
16016 if (!SWIG_IsOK(res9
)) {
16017 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16020 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16022 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
16026 arg10
= wxString_in_helper(obj9
);
16027 if (arg10
== NULL
) SWIG_fail
;
16032 if (!wxPyCheckForApp()) SWIG_fail
;
16033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16034 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
);
16035 wxPyEndAllowThreads(__tstate
);
16036 if (PyErr_Occurred()) SWIG_fail
;
16038 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
16044 if (temp6
) delete arg6
;
16057 if (temp6
) delete arg6
;
16067 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16068 PyObject
*resultobj
= 0;
16069 wxRadioBox
*result
= 0 ;
16071 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
16073 if (!wxPyCheckForApp()) SWIG_fail
;
16074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16075 result
= (wxRadioBox
*)new wxRadioBox();
16076 wxPyEndAllowThreads(__tstate
);
16077 if (PyErr_Occurred()) SWIG_fail
;
16079 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
16086 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16087 PyObject
*resultobj
= 0;
16088 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16089 wxWindow
*arg2
= (wxWindow
*) 0 ;
16090 int arg3
= (int) -1 ;
16091 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16092 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16093 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16094 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16095 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16096 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16097 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
16098 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
16099 int arg8
= (int) 0 ;
16100 long arg9
= (long) wxRA_HORIZONTAL
;
16101 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
16102 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
16103 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
16104 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16112 bool temp4
= false ;
16115 bool temp7
= false ;
16122 bool temp11
= false ;
16123 PyObject
* obj0
= 0 ;
16124 PyObject
* obj1
= 0 ;
16125 PyObject
* obj2
= 0 ;
16126 PyObject
* obj3
= 0 ;
16127 PyObject
* obj4
= 0 ;
16128 PyObject
* obj5
= 0 ;
16129 PyObject
* obj6
= 0 ;
16130 PyObject
* obj7
= 0 ;
16131 PyObject
* obj8
= 0 ;
16132 PyObject
* obj9
= 0 ;
16133 PyObject
* obj10
= 0 ;
16134 char * kwnames
[] = {
16135 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16140 if (!SWIG_IsOK(res1
)) {
16141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16143 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16144 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16145 if (!SWIG_IsOK(res2
)) {
16146 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16148 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16150 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16151 if (!SWIG_IsOK(ecode3
)) {
16152 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16154 arg3
= static_cast< int >(val3
);
16158 arg4
= wxString_in_helper(obj3
);
16159 if (arg4
== NULL
) SWIG_fail
;
16166 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16172 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16177 if (! PySequence_Check(obj6
)) {
16178 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16181 arg7
= new wxArrayString
;
16183 int i
, len
=PySequence_Length(obj6
);
16184 for (i
=0; i
<len
; i
++) {
16185 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16186 wxString
* s
= wxString_in_helper(item
);
16187 if (PyErr_Occurred()) SWIG_fail
;
16195 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16196 if (!SWIG_IsOK(ecode8
)) {
16197 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16199 arg8
= static_cast< int >(val8
);
16202 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16203 if (!SWIG_IsOK(ecode9
)) {
16204 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16206 arg9
= static_cast< long >(val9
);
16209 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16210 if (!SWIG_IsOK(res10
)) {
16211 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16214 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16216 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16220 arg11
= wxString_in_helper(obj10
);
16221 if (arg11
== NULL
) SWIG_fail
;
16226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16227 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
);
16228 wxPyEndAllowThreads(__tstate
);
16229 if (PyErr_Occurred()) SWIG_fail
;
16232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16239 if (temp7
) delete arg7
;
16252 if (temp7
) delete arg7
;
16262 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16263 PyObject
*resultobj
= 0;
16264 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16270 PyObject
* obj0
= 0 ;
16271 PyObject
* obj1
= 0 ;
16272 char * kwnames
[] = {
16273 (char *) "self",(char *) "n", NULL
16276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) 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_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16281 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16282 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16283 if (!SWIG_IsOK(ecode2
)) {
16284 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16286 arg2
= static_cast< int >(val2
);
16288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16289 (arg1
)->SetSelection(arg2
);
16290 wxPyEndAllowThreads(__tstate
);
16291 if (PyErr_Occurred()) SWIG_fail
;
16293 resultobj
= SWIG_Py_Void();
16300 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16301 PyObject
*resultobj
= 0;
16302 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16306 PyObject
*swig_obj
[1] ;
16308 if (!args
) SWIG_fail
;
16309 swig_obj
[0] = args
;
16310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16311 if (!SWIG_IsOK(res1
)) {
16312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16314 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16317 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16318 wxPyEndAllowThreads(__tstate
);
16319 if (PyErr_Occurred()) SWIG_fail
;
16321 resultobj
= SWIG_From_int(static_cast< int >(result
));
16328 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16329 PyObject
*resultobj
= 0;
16330 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16334 PyObject
*swig_obj
[1] ;
16336 if (!args
) SWIG_fail
;
16337 swig_obj
[0] = args
;
16338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16339 if (!SWIG_IsOK(res1
)) {
16340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16342 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16345 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16346 wxPyEndAllowThreads(__tstate
);
16347 if (PyErr_Occurred()) SWIG_fail
;
16351 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16353 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16362 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16363 PyObject
*resultobj
= 0;
16364 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16365 wxString
*arg2
= 0 ;
16369 bool temp2
= false ;
16370 PyObject
* obj0
= 0 ;
16371 PyObject
* obj1
= 0 ;
16372 char * kwnames
[] = {
16373 (char *) "self",(char *) "s", NULL
16376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16378 if (!SWIG_IsOK(res1
)) {
16379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16381 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16383 arg2
= wxString_in_helper(obj1
);
16384 if (arg2
== NULL
) SWIG_fail
;
16388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16389 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16390 wxPyEndAllowThreads(__tstate
);
16391 if (PyErr_Occurred()) SWIG_fail
;
16394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16410 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16411 PyObject
*resultobj
= 0;
16412 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16416 PyObject
*swig_obj
[1] ;
16418 if (!args
) SWIG_fail
;
16419 swig_obj
[0] = args
;
16420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16421 if (!SWIG_IsOK(res1
)) {
16422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16424 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16427 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16428 wxPyEndAllowThreads(__tstate
);
16429 if (PyErr_Occurred()) SWIG_fail
;
16431 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16438 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16439 PyObject
*resultobj
= 0;
16440 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16441 wxString
*arg2
= 0 ;
16445 bool temp2
= false ;
16446 PyObject
* obj0
= 0 ;
16447 PyObject
* obj1
= 0 ;
16448 char * kwnames
[] = {
16449 (char *) "self",(char *) "s", NULL
16452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16454 if (!SWIG_IsOK(res1
)) {
16455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16457 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16459 arg2
= wxString_in_helper(obj1
);
16460 if (arg2
== NULL
) SWIG_fail
;
16464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16465 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16466 wxPyEndAllowThreads(__tstate
);
16467 if (PyErr_Occurred()) SWIG_fail
;
16469 resultobj
= SWIG_From_int(static_cast< int >(result
));
16484 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16485 PyObject
*resultobj
= 0;
16486 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16493 PyObject
* obj0
= 0 ;
16494 PyObject
* obj1
= 0 ;
16495 char * kwnames
[] = {
16496 (char *) "self",(char *) "n", NULL
16499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16501 if (!SWIG_IsOK(res1
)) {
16502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16504 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16505 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16506 if (!SWIG_IsOK(ecode2
)) {
16507 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16509 arg2
= static_cast< int >(val2
);
16511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16512 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16513 wxPyEndAllowThreads(__tstate
);
16514 if (PyErr_Occurred()) SWIG_fail
;
16518 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16520 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16529 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16530 PyObject
*resultobj
= 0;
16531 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16533 wxString
*arg3
= 0 ;
16538 bool temp3
= false ;
16539 PyObject
* obj0
= 0 ;
16540 PyObject
* obj1
= 0 ;
16541 PyObject
* obj2
= 0 ;
16542 char * kwnames
[] = {
16543 (char *) "self",(char *) "n",(char *) "label", NULL
16546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16548 if (!SWIG_IsOK(res1
)) {
16549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16551 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16552 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16553 if (!SWIG_IsOK(ecode2
)) {
16554 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16556 arg2
= static_cast< int >(val2
);
16558 arg3
= wxString_in_helper(obj2
);
16559 if (arg3
== NULL
) SWIG_fail
;
16563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16564 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16565 wxPyEndAllowThreads(__tstate
);
16566 if (PyErr_Occurred()) SWIG_fail
;
16568 resultobj
= SWIG_Py_Void();
16583 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16584 PyObject
*resultobj
= 0;
16585 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16586 unsigned int arg2
;
16587 bool arg3
= (bool) true ;
16590 unsigned int val2
;
16594 PyObject
* obj0
= 0 ;
16595 PyObject
* obj1
= 0 ;
16596 PyObject
* obj2
= 0 ;
16597 char * kwnames
[] = {
16598 (char *) "self",(char *) "n",(char *) "enable", NULL
16601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16603 if (!SWIG_IsOK(res1
)) {
16604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16606 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16607 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16608 if (!SWIG_IsOK(ecode2
)) {
16609 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16611 arg2
= static_cast< unsigned int >(val2
);
16613 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16614 if (!SWIG_IsOK(ecode3
)) {
16615 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16617 arg3
= static_cast< bool >(val3
);
16620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16621 (arg1
)->Enable(arg2
,arg3
);
16622 wxPyEndAllowThreads(__tstate
);
16623 if (PyErr_Occurred()) SWIG_fail
;
16625 resultobj
= SWIG_Py_Void();
16632 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16633 PyObject
*resultobj
= 0;
16634 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16635 unsigned int arg2
;
16636 bool arg3
= (bool) true ;
16639 unsigned int val2
;
16643 PyObject
* obj0
= 0 ;
16644 PyObject
* obj1
= 0 ;
16645 PyObject
* obj2
= 0 ;
16646 char * kwnames
[] = {
16647 (char *) "self",(char *) "n",(char *) "show", NULL
16650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16652 if (!SWIG_IsOK(res1
)) {
16653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16655 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16656 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16657 if (!SWIG_IsOK(ecode2
)) {
16658 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16660 arg2
= static_cast< unsigned int >(val2
);
16662 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16663 if (!SWIG_IsOK(ecode3
)) {
16664 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16666 arg3
= static_cast< bool >(val3
);
16669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16670 (arg1
)->Show(arg2
,arg3
);
16671 wxPyEndAllowThreads(__tstate
);
16672 if (PyErr_Occurred()) SWIG_fail
;
16674 resultobj
= SWIG_Py_Void();
16681 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16682 PyObject
*resultobj
= 0;
16683 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16684 unsigned int arg2
;
16688 unsigned int val2
;
16690 PyObject
* obj0
= 0 ;
16691 PyObject
* obj1
= 0 ;
16692 char * kwnames
[] = {
16693 (char *) "self",(char *) "n", NULL
16696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16698 if (!SWIG_IsOK(res1
)) {
16699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16701 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16702 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16703 if (!SWIG_IsOK(ecode2
)) {
16704 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16706 arg2
= static_cast< unsigned int >(val2
);
16708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16709 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16710 wxPyEndAllowThreads(__tstate
);
16711 if (PyErr_Occurred()) SWIG_fail
;
16714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16722 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16723 PyObject
*resultobj
= 0;
16724 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16725 unsigned int arg2
;
16729 unsigned int val2
;
16731 PyObject
* obj0
= 0 ;
16732 PyObject
* obj1
= 0 ;
16733 char * kwnames
[] = {
16734 (char *) "self",(char *) "n", NULL
16737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16739 if (!SWIG_IsOK(res1
)) {
16740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16742 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16743 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16744 if (!SWIG_IsOK(ecode2
)) {
16745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16747 arg2
= static_cast< unsigned int >(val2
);
16749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16750 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
16751 wxPyEndAllowThreads(__tstate
);
16752 if (PyErr_Occurred()) SWIG_fail
;
16755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16763 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16764 PyObject
*resultobj
= 0;
16765 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16766 unsigned int result
;
16769 PyObject
*swig_obj
[1] ;
16771 if (!args
) SWIG_fail
;
16772 swig_obj
[0] = args
;
16773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16774 if (!SWIG_IsOK(res1
)) {
16775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16777 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16780 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
16781 wxPyEndAllowThreads(__tstate
);
16782 if (PyErr_Occurred()) SWIG_fail
;
16784 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16791 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16792 PyObject
*resultobj
= 0;
16793 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16794 unsigned int result
;
16797 PyObject
*swig_obj
[1] ;
16799 if (!args
) SWIG_fail
;
16800 swig_obj
[0] = args
;
16801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16802 if (!SWIG_IsOK(res1
)) {
16803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16805 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16808 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
16809 wxPyEndAllowThreads(__tstate
);
16810 if (PyErr_Occurred()) SWIG_fail
;
16812 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16819 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16820 PyObject
*resultobj
= 0;
16821 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16834 PyObject
* obj0
= 0 ;
16835 PyObject
* obj1
= 0 ;
16836 PyObject
* obj2
= 0 ;
16837 PyObject
* obj3
= 0 ;
16838 char * kwnames
[] = {
16839 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
16842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16844 if (!SWIG_IsOK(res1
)) {
16845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16847 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16848 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16849 if (!SWIG_IsOK(ecode2
)) {
16850 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
16852 arg2
= static_cast< int >(val2
);
16853 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16854 if (!SWIG_IsOK(ecode3
)) {
16855 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
16857 arg3
= static_cast< wxDirection
>(val3
);
16858 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16859 if (!SWIG_IsOK(ecode4
)) {
16860 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
16862 arg4
= static_cast< long >(val4
);
16864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16865 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
16866 wxPyEndAllowThreads(__tstate
);
16867 if (PyErr_Occurred()) SWIG_fail
;
16869 resultobj
= SWIG_From_int(static_cast< int >(result
));
16876 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16877 PyObject
*resultobj
= 0;
16878 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16879 unsigned int arg2
;
16880 wxString
*arg3
= 0 ;
16883 unsigned int val2
;
16885 bool temp3
= false ;
16886 PyObject
* obj0
= 0 ;
16887 PyObject
* obj1
= 0 ;
16888 PyObject
* obj2
= 0 ;
16889 char * kwnames
[] = {
16890 (char *) "self",(char *) "item",(char *) "text", NULL
16893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemToolTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16895 if (!SWIG_IsOK(res1
)) {
16896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16898 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16899 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16900 if (!SWIG_IsOK(ecode2
)) {
16901 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16903 arg2
= static_cast< unsigned int >(val2
);
16905 arg3
= wxString_in_helper(obj2
);
16906 if (arg3
== NULL
) SWIG_fail
;
16910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16911 (arg1
)->SetItemToolTip(arg2
,(wxString
const &)*arg3
);
16912 wxPyEndAllowThreads(__tstate
);
16913 if (PyErr_Occurred()) SWIG_fail
;
16915 resultobj
= SWIG_Py_Void();
16930 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16931 PyObject
*resultobj
= 0;
16932 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16933 unsigned int arg2
;
16934 wxToolTip
*result
= 0 ;
16937 unsigned int val2
;
16939 PyObject
* obj0
= 0 ;
16940 PyObject
* obj1
= 0 ;
16941 char * kwnames
[] = {
16942 (char *) "self",(char *) "item", NULL
16945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16947 if (!SWIG_IsOK(res1
)) {
16948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16950 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16951 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16952 if (!SWIG_IsOK(ecode2
)) {
16953 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16955 arg2
= static_cast< unsigned int >(val2
);
16957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16958 result
= (wxToolTip
*)((wxRadioBox
const *)arg1
)->GetItemToolTip(arg2
);
16959 wxPyEndAllowThreads(__tstate
);
16960 if (PyErr_Occurred()) SWIG_fail
;
16963 resultobj
= wxPyMake_wxObject(result
, (bool)0);
16971 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16972 PyObject
*resultobj
= 0;
16973 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16974 unsigned int arg2
;
16975 wxString
*arg3
= 0 ;
16978 unsigned int val2
;
16980 bool temp3
= false ;
16981 PyObject
* obj0
= 0 ;
16982 PyObject
* obj1
= 0 ;
16983 PyObject
* obj2
= 0 ;
16984 char * kwnames
[] = {
16985 (char *) "self",(char *) "n",(char *) "helpText", NULL
16988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemHelpText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16990 if (!SWIG_IsOK(res1
)) {
16991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16993 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16994 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16995 if (!SWIG_IsOK(ecode2
)) {
16996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
16998 arg2
= static_cast< unsigned int >(val2
);
17000 arg3
= wxString_in_helper(obj2
);
17001 if (arg3
== NULL
) SWIG_fail
;
17005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17006 (arg1
)->SetItemHelpText(arg2
,(wxString
const &)*arg3
);
17007 wxPyEndAllowThreads(__tstate
);
17008 if (PyErr_Occurred()) SWIG_fail
;
17010 resultobj
= SWIG_Py_Void();
17025 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17026 PyObject
*resultobj
= 0;
17027 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17028 unsigned int arg2
;
17032 unsigned int val2
;
17034 PyObject
* obj0
= 0 ;
17035 PyObject
* obj1
= 0 ;
17036 char * kwnames
[] = {
17037 (char *) "self",(char *) "n", NULL
17040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemHelpText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17042 if (!SWIG_IsOK(res1
)) {
17043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17045 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17046 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17047 if (!SWIG_IsOK(ecode2
)) {
17048 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17050 arg2
= static_cast< unsigned int >(val2
);
17052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17053 result
= ((wxRadioBox
const *)arg1
)->GetItemHelpText(arg2
);
17054 wxPyEndAllowThreads(__tstate
);
17055 if (PyErr_Occurred()) SWIG_fail
;
17059 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17061 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17070 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17071 PyObject
*resultobj
= 0;
17072 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17073 SwigValueWrapper
<wxVisualAttributes
> result
;
17076 PyObject
* obj0
= 0 ;
17077 char * kwnames
[] = {
17078 (char *) "variant", NULL
17081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17083 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17084 if (!SWIG_IsOK(ecode1
)) {
17085 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17087 arg1
= static_cast< wxWindowVariant
>(val1
);
17090 if (!wxPyCheckForApp()) SWIG_fail
;
17091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17092 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
17093 wxPyEndAllowThreads(__tstate
);
17094 if (PyErr_Occurred()) SWIG_fail
;
17096 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17103 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17105 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17106 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
17107 return SWIG_Py_Void();
17110 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17111 return SWIG_Python_InitShadowInstance(args
);
17114 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17115 PyObject
*resultobj
= 0;
17116 wxWindow
*arg1
= (wxWindow
*) 0 ;
17117 int arg2
= (int) -1 ;
17118 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17119 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17120 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17121 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17122 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17123 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17124 long arg6
= (long) 0 ;
17125 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17126 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17127 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
17128 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17129 wxRadioButton
*result
= 0 ;
17134 bool temp3
= false ;
17141 bool temp8
= false ;
17142 PyObject
* obj0
= 0 ;
17143 PyObject
* obj1
= 0 ;
17144 PyObject
* obj2
= 0 ;
17145 PyObject
* obj3
= 0 ;
17146 PyObject
* obj4
= 0 ;
17147 PyObject
* obj5
= 0 ;
17148 PyObject
* obj6
= 0 ;
17149 PyObject
* obj7
= 0 ;
17150 char * kwnames
[] = {
17151 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17156 if (!SWIG_IsOK(res1
)) {
17157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17159 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17161 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17162 if (!SWIG_IsOK(ecode2
)) {
17163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17165 arg2
= static_cast< int >(val2
);
17169 arg3
= wxString_in_helper(obj2
);
17170 if (arg3
== NULL
) SWIG_fail
;
17177 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17183 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17187 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17188 if (!SWIG_IsOK(ecode6
)) {
17189 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17191 arg6
= static_cast< long >(val6
);
17194 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
17195 if (!SWIG_IsOK(res7
)) {
17196 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17199 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17201 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
17205 arg8
= wxString_in_helper(obj7
);
17206 if (arg8
== NULL
) SWIG_fail
;
17211 if (!wxPyCheckForApp()) SWIG_fail
;
17212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17213 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17214 wxPyEndAllowThreads(__tstate
);
17215 if (PyErr_Occurred()) SWIG_fail
;
17217 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17240 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17241 PyObject
*resultobj
= 0;
17242 wxRadioButton
*result
= 0 ;
17244 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17246 if (!wxPyCheckForApp()) SWIG_fail
;
17247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17248 result
= (wxRadioButton
*)new wxRadioButton();
17249 wxPyEndAllowThreads(__tstate
);
17250 if (PyErr_Occurred()) SWIG_fail
;
17252 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17259 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17260 PyObject
*resultobj
= 0;
17261 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17262 wxWindow
*arg2
= (wxWindow
*) 0 ;
17263 int arg3
= (int) -1 ;
17264 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17265 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17266 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17267 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17268 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17269 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17270 long arg7
= (long) 0 ;
17271 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17272 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17273 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17274 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17282 bool temp4
= false ;
17289 bool temp9
= false ;
17290 PyObject
* obj0
= 0 ;
17291 PyObject
* obj1
= 0 ;
17292 PyObject
* obj2
= 0 ;
17293 PyObject
* obj3
= 0 ;
17294 PyObject
* obj4
= 0 ;
17295 PyObject
* obj5
= 0 ;
17296 PyObject
* obj6
= 0 ;
17297 PyObject
* obj7
= 0 ;
17298 PyObject
* obj8
= 0 ;
17299 char * kwnames
[] = {
17300 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17305 if (!SWIG_IsOK(res1
)) {
17306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17308 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17309 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17310 if (!SWIG_IsOK(res2
)) {
17311 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17313 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17315 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17316 if (!SWIG_IsOK(ecode3
)) {
17317 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17319 arg3
= static_cast< int >(val3
);
17323 arg4
= wxString_in_helper(obj3
);
17324 if (arg4
== NULL
) SWIG_fail
;
17331 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17337 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17341 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17342 if (!SWIG_IsOK(ecode7
)) {
17343 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17345 arg7
= static_cast< long >(val7
);
17348 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17349 if (!SWIG_IsOK(res8
)) {
17350 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17353 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17355 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17359 arg9
= wxString_in_helper(obj8
);
17360 if (arg9
== NULL
) SWIG_fail
;
17365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17366 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17367 wxPyEndAllowThreads(__tstate
);
17368 if (PyErr_Occurred()) SWIG_fail
;
17371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17395 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17396 PyObject
*resultobj
= 0;
17397 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17401 PyObject
*swig_obj
[1] ;
17403 if (!args
) SWIG_fail
;
17404 swig_obj
[0] = args
;
17405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17406 if (!SWIG_IsOK(res1
)) {
17407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17409 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17412 result
= (bool)(arg1
)->GetValue();
17413 wxPyEndAllowThreads(__tstate
);
17414 if (PyErr_Occurred()) SWIG_fail
;
17417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17425 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17426 PyObject
*resultobj
= 0;
17427 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17433 PyObject
* obj0
= 0 ;
17434 PyObject
* obj1
= 0 ;
17435 char * kwnames
[] = {
17436 (char *) "self",(char *) "value", NULL
17439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17441 if (!SWIG_IsOK(res1
)) {
17442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17444 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17445 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17446 if (!SWIG_IsOK(ecode2
)) {
17447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17449 arg2
= static_cast< bool >(val2
);
17451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17452 (arg1
)->SetValue(arg2
);
17453 wxPyEndAllowThreads(__tstate
);
17454 if (PyErr_Occurred()) SWIG_fail
;
17456 resultobj
= SWIG_Py_Void();
17463 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17464 PyObject
*resultobj
= 0;
17465 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17466 SwigValueWrapper
<wxVisualAttributes
> result
;
17469 PyObject
* obj0
= 0 ;
17470 char * kwnames
[] = {
17471 (char *) "variant", NULL
17474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17476 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17477 if (!SWIG_IsOK(ecode1
)) {
17478 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17480 arg1
= static_cast< wxWindowVariant
>(val1
);
17483 if (!wxPyCheckForApp()) SWIG_fail
;
17484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17485 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17486 wxPyEndAllowThreads(__tstate
);
17487 if (PyErr_Occurred()) SWIG_fail
;
17489 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17496 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17498 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17499 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17500 return SWIG_Py_Void();
17503 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17504 return SWIG_Python_InitShadowInstance(args
);
17507 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17508 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17513 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17514 PyObject
*pyobj
= 0;
17518 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17520 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17527 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17528 PyObject
*resultobj
= 0;
17529 wxWindow
*arg1
= (wxWindow
*) 0 ;
17530 int arg2
= (int) -1 ;
17531 int arg3
= (int) 0 ;
17532 int arg4
= (int) 0 ;
17533 int arg5
= (int) 100 ;
17534 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17535 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17536 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17537 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17538 long arg8
= (long) wxSL_HORIZONTAL
;
17539 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17540 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17541 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17542 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17543 wxSlider
*result
= 0 ;
17560 bool temp10
= false ;
17561 PyObject
* obj0
= 0 ;
17562 PyObject
* obj1
= 0 ;
17563 PyObject
* obj2
= 0 ;
17564 PyObject
* obj3
= 0 ;
17565 PyObject
* obj4
= 0 ;
17566 PyObject
* obj5
= 0 ;
17567 PyObject
* obj6
= 0 ;
17568 PyObject
* obj7
= 0 ;
17569 PyObject
* obj8
= 0 ;
17570 PyObject
* obj9
= 0 ;
17571 char * kwnames
[] = {
17572 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17577 if (!SWIG_IsOK(res1
)) {
17578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17580 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17582 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17583 if (!SWIG_IsOK(ecode2
)) {
17584 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17586 arg2
= static_cast< int >(val2
);
17589 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17590 if (!SWIG_IsOK(ecode3
)) {
17591 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17593 arg3
= static_cast< int >(val3
);
17596 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17597 if (!SWIG_IsOK(ecode4
)) {
17598 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17600 arg4
= static_cast< int >(val4
);
17603 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17604 if (!SWIG_IsOK(ecode5
)) {
17605 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17607 arg5
= static_cast< int >(val5
);
17612 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17618 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17622 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17623 if (!SWIG_IsOK(ecode8
)) {
17624 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17626 arg8
= static_cast< long >(val8
);
17629 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17630 if (!SWIG_IsOK(res9
)) {
17631 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17634 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17636 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17640 arg10
= wxString_in_helper(obj9
);
17641 if (arg10
== NULL
) SWIG_fail
;
17646 if (!wxPyCheckForApp()) SWIG_fail
;
17647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17648 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17649 wxPyEndAllowThreads(__tstate
);
17650 if (PyErr_Occurred()) SWIG_fail
;
17652 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17667 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17668 PyObject
*resultobj
= 0;
17669 wxSlider
*result
= 0 ;
17671 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17673 if (!wxPyCheckForApp()) SWIG_fail
;
17674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17675 result
= (wxSlider
*)new wxSlider();
17676 wxPyEndAllowThreads(__tstate
);
17677 if (PyErr_Occurred()) SWIG_fail
;
17679 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17686 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17687 PyObject
*resultobj
= 0;
17688 wxSlider
*arg1
= (wxSlider
*) 0 ;
17689 wxWindow
*arg2
= (wxWindow
*) 0 ;
17690 int arg3
= (int) -1 ;
17691 int arg4
= (int) 0 ;
17692 int arg5
= (int) 0 ;
17693 int arg6
= (int) 100 ;
17694 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17695 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17696 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17697 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17698 long arg9
= (long) wxSL_HORIZONTAL
;
17699 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17700 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17701 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17702 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17722 bool temp11
= false ;
17723 PyObject
* obj0
= 0 ;
17724 PyObject
* obj1
= 0 ;
17725 PyObject
* obj2
= 0 ;
17726 PyObject
* obj3
= 0 ;
17727 PyObject
* obj4
= 0 ;
17728 PyObject
* obj5
= 0 ;
17729 PyObject
* obj6
= 0 ;
17730 PyObject
* obj7
= 0 ;
17731 PyObject
* obj8
= 0 ;
17732 PyObject
* obj9
= 0 ;
17733 PyObject
* obj10
= 0 ;
17734 char * kwnames
[] = {
17735 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17740 if (!SWIG_IsOK(res1
)) {
17741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17743 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17744 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17745 if (!SWIG_IsOK(res2
)) {
17746 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17748 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17750 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17751 if (!SWIG_IsOK(ecode3
)) {
17752 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17754 arg3
= static_cast< int >(val3
);
17757 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17758 if (!SWIG_IsOK(ecode4
)) {
17759 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17761 arg4
= static_cast< int >(val4
);
17764 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17765 if (!SWIG_IsOK(ecode5
)) {
17766 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17768 arg5
= static_cast< int >(val5
);
17771 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17772 if (!SWIG_IsOK(ecode6
)) {
17773 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17775 arg6
= static_cast< int >(val6
);
17780 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17786 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
17790 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
17791 if (!SWIG_IsOK(ecode9
)) {
17792 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17794 arg9
= static_cast< long >(val9
);
17797 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
17798 if (!SWIG_IsOK(res10
)) {
17799 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17802 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17804 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
17808 arg11
= wxString_in_helper(obj10
);
17809 if (arg11
== NULL
) SWIG_fail
;
17814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17815 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
17816 wxPyEndAllowThreads(__tstate
);
17817 if (PyErr_Occurred()) SWIG_fail
;
17820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17836 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17837 PyObject
*resultobj
= 0;
17838 wxSlider
*arg1
= (wxSlider
*) 0 ;
17842 PyObject
*swig_obj
[1] ;
17844 if (!args
) SWIG_fail
;
17845 swig_obj
[0] = args
;
17846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17847 if (!SWIG_IsOK(res1
)) {
17848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
17850 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17853 result
= (int)((wxSlider
const *)arg1
)->GetValue();
17854 wxPyEndAllowThreads(__tstate
);
17855 if (PyErr_Occurred()) SWIG_fail
;
17857 resultobj
= SWIG_From_int(static_cast< int >(result
));
17864 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17865 PyObject
*resultobj
= 0;
17866 wxSlider
*arg1
= (wxSlider
*) 0 ;
17872 PyObject
* obj0
= 0 ;
17873 PyObject
* obj1
= 0 ;
17874 char * kwnames
[] = {
17875 (char *) "self",(char *) "value", NULL
17878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17880 if (!SWIG_IsOK(res1
)) {
17881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
17883 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17884 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17885 if (!SWIG_IsOK(ecode2
)) {
17886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
17888 arg2
= static_cast< int >(val2
);
17890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17891 (arg1
)->SetValue(arg2
);
17892 wxPyEndAllowThreads(__tstate
);
17893 if (PyErr_Occurred()) SWIG_fail
;
17895 resultobj
= SWIG_Py_Void();
17902 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17903 PyObject
*resultobj
= 0;
17904 wxSlider
*arg1
= (wxSlider
*) 0 ;
17913 PyObject
* obj0
= 0 ;
17914 PyObject
* obj1
= 0 ;
17915 PyObject
* obj2
= 0 ;
17916 char * kwnames
[] = {
17917 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
17920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17922 if (!SWIG_IsOK(res1
)) {
17923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
17925 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17926 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17927 if (!SWIG_IsOK(ecode2
)) {
17928 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
17930 arg2
= static_cast< int >(val2
);
17931 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17932 if (!SWIG_IsOK(ecode3
)) {
17933 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
17935 arg3
= static_cast< int >(val3
);
17937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17938 (arg1
)->SetRange(arg2
,arg3
);
17939 wxPyEndAllowThreads(__tstate
);
17940 if (PyErr_Occurred()) SWIG_fail
;
17942 resultobj
= SWIG_Py_Void();
17949 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17950 PyObject
*resultobj
= 0;
17951 wxSlider
*arg1
= (wxSlider
*) 0 ;
17955 PyObject
*swig_obj
[1] ;
17957 if (!args
) SWIG_fail
;
17958 swig_obj
[0] = args
;
17959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17960 if (!SWIG_IsOK(res1
)) {
17961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
17963 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17966 result
= (int)((wxSlider
const *)arg1
)->GetMin();
17967 wxPyEndAllowThreads(__tstate
);
17968 if (PyErr_Occurred()) SWIG_fail
;
17970 resultobj
= SWIG_From_int(static_cast< int >(result
));
17977 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17978 PyObject
*resultobj
= 0;
17979 wxSlider
*arg1
= (wxSlider
*) 0 ;
17983 PyObject
*swig_obj
[1] ;
17985 if (!args
) SWIG_fail
;
17986 swig_obj
[0] = args
;
17987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17988 if (!SWIG_IsOK(res1
)) {
17989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
17991 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17994 result
= (int)((wxSlider
const *)arg1
)->GetMax();
17995 wxPyEndAllowThreads(__tstate
);
17996 if (PyErr_Occurred()) SWIG_fail
;
17998 resultobj
= SWIG_From_int(static_cast< int >(result
));
18005 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18006 PyObject
*resultobj
= 0;
18007 wxSlider
*arg1
= (wxSlider
*) 0 ;
18013 PyObject
* obj0
= 0 ;
18014 PyObject
* obj1
= 0 ;
18015 char * kwnames
[] = {
18016 (char *) "self",(char *) "minValue", NULL
18019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18021 if (!SWIG_IsOK(res1
)) {
18022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
18024 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18025 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18026 if (!SWIG_IsOK(ecode2
)) {
18027 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
18029 arg2
= static_cast< int >(val2
);
18031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18032 (arg1
)->SetMin(arg2
);
18033 wxPyEndAllowThreads(__tstate
);
18034 if (PyErr_Occurred()) SWIG_fail
;
18036 resultobj
= SWIG_Py_Void();
18043 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18044 PyObject
*resultobj
= 0;
18045 wxSlider
*arg1
= (wxSlider
*) 0 ;
18051 PyObject
* obj0
= 0 ;
18052 PyObject
* obj1
= 0 ;
18053 char * kwnames
[] = {
18054 (char *) "self",(char *) "maxValue", NULL
18057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18059 if (!SWIG_IsOK(res1
)) {
18060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
18062 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18063 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18064 if (!SWIG_IsOK(ecode2
)) {
18065 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
18067 arg2
= static_cast< int >(val2
);
18069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18070 (arg1
)->SetMax(arg2
);
18071 wxPyEndAllowThreads(__tstate
);
18072 if (PyErr_Occurred()) SWIG_fail
;
18074 resultobj
= SWIG_Py_Void();
18081 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18082 PyObject
*resultobj
= 0;
18083 wxSlider
*arg1
= (wxSlider
*) 0 ;
18089 PyObject
* obj0
= 0 ;
18090 PyObject
* obj1
= 0 ;
18091 char * kwnames
[] = {
18092 (char *) "self",(char *) "lineSize", NULL
18095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18097 if (!SWIG_IsOK(res1
)) {
18098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18100 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18101 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18102 if (!SWIG_IsOK(ecode2
)) {
18103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18105 arg2
= static_cast< int >(val2
);
18107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18108 (arg1
)->SetLineSize(arg2
);
18109 wxPyEndAllowThreads(__tstate
);
18110 if (PyErr_Occurred()) SWIG_fail
;
18112 resultobj
= SWIG_Py_Void();
18119 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18120 PyObject
*resultobj
= 0;
18121 wxSlider
*arg1
= (wxSlider
*) 0 ;
18127 PyObject
* obj0
= 0 ;
18128 PyObject
* obj1
= 0 ;
18129 char * kwnames
[] = {
18130 (char *) "self",(char *) "pageSize", NULL
18133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18135 if (!SWIG_IsOK(res1
)) {
18136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18138 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18139 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18140 if (!SWIG_IsOK(ecode2
)) {
18141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18143 arg2
= static_cast< int >(val2
);
18145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18146 (arg1
)->SetPageSize(arg2
);
18147 wxPyEndAllowThreads(__tstate
);
18148 if (PyErr_Occurred()) SWIG_fail
;
18150 resultobj
= SWIG_Py_Void();
18157 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18158 PyObject
*resultobj
= 0;
18159 wxSlider
*arg1
= (wxSlider
*) 0 ;
18163 PyObject
*swig_obj
[1] ;
18165 if (!args
) SWIG_fail
;
18166 swig_obj
[0] = args
;
18167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18168 if (!SWIG_IsOK(res1
)) {
18169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18171 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18174 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
18175 wxPyEndAllowThreads(__tstate
);
18176 if (PyErr_Occurred()) SWIG_fail
;
18178 resultobj
= SWIG_From_int(static_cast< int >(result
));
18185 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18186 PyObject
*resultobj
= 0;
18187 wxSlider
*arg1
= (wxSlider
*) 0 ;
18191 PyObject
*swig_obj
[1] ;
18193 if (!args
) SWIG_fail
;
18194 swig_obj
[0] = args
;
18195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18196 if (!SWIG_IsOK(res1
)) {
18197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18199 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18202 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
18203 wxPyEndAllowThreads(__tstate
);
18204 if (PyErr_Occurred()) SWIG_fail
;
18206 resultobj
= SWIG_From_int(static_cast< int >(result
));
18213 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18214 PyObject
*resultobj
= 0;
18215 wxSlider
*arg1
= (wxSlider
*) 0 ;
18221 PyObject
* obj0
= 0 ;
18222 PyObject
* obj1
= 0 ;
18223 char * kwnames
[] = {
18224 (char *) "self",(char *) "lenPixels", NULL
18227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18229 if (!SWIG_IsOK(res1
)) {
18230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18232 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18233 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18234 if (!SWIG_IsOK(ecode2
)) {
18235 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18237 arg2
= static_cast< int >(val2
);
18239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18240 (arg1
)->SetThumbLength(arg2
);
18241 wxPyEndAllowThreads(__tstate
);
18242 if (PyErr_Occurred()) SWIG_fail
;
18244 resultobj
= SWIG_Py_Void();
18251 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18252 PyObject
*resultobj
= 0;
18253 wxSlider
*arg1
= (wxSlider
*) 0 ;
18257 PyObject
*swig_obj
[1] ;
18259 if (!args
) SWIG_fail
;
18260 swig_obj
[0] = args
;
18261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18262 if (!SWIG_IsOK(res1
)) {
18263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18265 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18268 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18269 wxPyEndAllowThreads(__tstate
);
18270 if (PyErr_Occurred()) SWIG_fail
;
18272 resultobj
= SWIG_From_int(static_cast< int >(result
));
18279 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18280 PyObject
*resultobj
= 0;
18281 wxSlider
*arg1
= (wxSlider
*) 0 ;
18283 int arg3
= (int) 1 ;
18290 PyObject
* obj0
= 0 ;
18291 PyObject
* obj1
= 0 ;
18292 PyObject
* obj2
= 0 ;
18293 char * kwnames
[] = {
18294 (char *) "self",(char *) "n",(char *) "pos", NULL
18297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18299 if (!SWIG_IsOK(res1
)) {
18300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18302 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18303 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18304 if (!SWIG_IsOK(ecode2
)) {
18305 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18307 arg2
= static_cast< int >(val2
);
18309 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18310 if (!SWIG_IsOK(ecode3
)) {
18311 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18313 arg3
= static_cast< int >(val3
);
18316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18317 (arg1
)->SetTickFreq(arg2
,arg3
);
18318 wxPyEndAllowThreads(__tstate
);
18319 if (PyErr_Occurred()) SWIG_fail
;
18321 resultobj
= SWIG_Py_Void();
18328 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18329 PyObject
*resultobj
= 0;
18330 wxSlider
*arg1
= (wxSlider
*) 0 ;
18334 PyObject
*swig_obj
[1] ;
18336 if (!args
) SWIG_fail
;
18337 swig_obj
[0] = args
;
18338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18339 if (!SWIG_IsOK(res1
)) {
18340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18342 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18345 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18346 wxPyEndAllowThreads(__tstate
);
18347 if (PyErr_Occurred()) SWIG_fail
;
18349 resultobj
= SWIG_From_int(static_cast< int >(result
));
18356 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18357 PyObject
*resultobj
= 0;
18358 wxSlider
*arg1
= (wxSlider
*) 0 ;
18361 PyObject
*swig_obj
[1] ;
18363 if (!args
) SWIG_fail
;
18364 swig_obj
[0] = args
;
18365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18366 if (!SWIG_IsOK(res1
)) {
18367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18369 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18372 (arg1
)->ClearTicks();
18373 wxPyEndAllowThreads(__tstate
);
18374 if (PyErr_Occurred()) SWIG_fail
;
18376 resultobj
= SWIG_Py_Void();
18383 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18384 PyObject
*resultobj
= 0;
18385 wxSlider
*arg1
= (wxSlider
*) 0 ;
18391 PyObject
* obj0
= 0 ;
18392 PyObject
* obj1
= 0 ;
18393 char * kwnames
[] = {
18394 (char *) "self",(char *) "tickPos", NULL
18397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18399 if (!SWIG_IsOK(res1
)) {
18400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18402 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18403 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18404 if (!SWIG_IsOK(ecode2
)) {
18405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18407 arg2
= static_cast< int >(val2
);
18409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18410 (arg1
)->SetTick(arg2
);
18411 wxPyEndAllowThreads(__tstate
);
18412 if (PyErr_Occurred()) SWIG_fail
;
18414 resultobj
= SWIG_Py_Void();
18421 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18422 PyObject
*resultobj
= 0;
18423 wxSlider
*arg1
= (wxSlider
*) 0 ;
18426 PyObject
*swig_obj
[1] ;
18428 if (!args
) SWIG_fail
;
18429 swig_obj
[0] = args
;
18430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18431 if (!SWIG_IsOK(res1
)) {
18432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18434 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18437 (arg1
)->ClearSel();
18438 wxPyEndAllowThreads(__tstate
);
18439 if (PyErr_Occurred()) SWIG_fail
;
18441 resultobj
= SWIG_Py_Void();
18448 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18449 PyObject
*resultobj
= 0;
18450 wxSlider
*arg1
= (wxSlider
*) 0 ;
18454 PyObject
*swig_obj
[1] ;
18456 if (!args
) SWIG_fail
;
18457 swig_obj
[0] = args
;
18458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18459 if (!SWIG_IsOK(res1
)) {
18460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18462 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18465 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18466 wxPyEndAllowThreads(__tstate
);
18467 if (PyErr_Occurred()) SWIG_fail
;
18469 resultobj
= SWIG_From_int(static_cast< int >(result
));
18476 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18477 PyObject
*resultobj
= 0;
18478 wxSlider
*arg1
= (wxSlider
*) 0 ;
18482 PyObject
*swig_obj
[1] ;
18484 if (!args
) SWIG_fail
;
18485 swig_obj
[0] = args
;
18486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18487 if (!SWIG_IsOK(res1
)) {
18488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18490 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18493 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18494 wxPyEndAllowThreads(__tstate
);
18495 if (PyErr_Occurred()) SWIG_fail
;
18497 resultobj
= SWIG_From_int(static_cast< int >(result
));
18504 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18505 PyObject
*resultobj
= 0;
18506 wxSlider
*arg1
= (wxSlider
*) 0 ;
18515 PyObject
* obj0
= 0 ;
18516 PyObject
* obj1
= 0 ;
18517 PyObject
* obj2
= 0 ;
18518 char * kwnames
[] = {
18519 (char *) "self",(char *) "min",(char *) "max", NULL
18522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18524 if (!SWIG_IsOK(res1
)) {
18525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18527 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18528 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18529 if (!SWIG_IsOK(ecode2
)) {
18530 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18532 arg2
= static_cast< int >(val2
);
18533 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18534 if (!SWIG_IsOK(ecode3
)) {
18535 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18537 arg3
= static_cast< int >(val3
);
18539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18540 (arg1
)->SetSelection(arg2
,arg3
);
18541 wxPyEndAllowThreads(__tstate
);
18542 if (PyErr_Occurred()) SWIG_fail
;
18544 resultobj
= SWIG_Py_Void();
18551 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18552 PyObject
*resultobj
= 0;
18553 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18554 SwigValueWrapper
<wxVisualAttributes
> result
;
18557 PyObject
* obj0
= 0 ;
18558 char * kwnames
[] = {
18559 (char *) "variant", NULL
18562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18564 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18565 if (!SWIG_IsOK(ecode1
)) {
18566 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18568 arg1
= static_cast< wxWindowVariant
>(val1
);
18571 if (!wxPyCheckForApp()) SWIG_fail
;
18572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18573 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18574 wxPyEndAllowThreads(__tstate
);
18575 if (PyErr_Occurred()) SWIG_fail
;
18577 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18584 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18586 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18587 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18588 return SWIG_Py_Void();
18591 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18592 return SWIG_Python_InitShadowInstance(args
);
18595 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18596 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18601 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18602 PyObject
*pyobj
= 0;
18606 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18608 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18615 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18616 PyObject
*resultobj
= 0;
18617 wxWindow
*arg1
= (wxWindow
*) 0 ;
18618 int arg2
= (int) -1 ;
18619 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18620 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18621 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18622 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18623 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18624 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18625 long arg6
= (long) 0 ;
18626 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18627 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18628 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18629 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18630 wxToggleButton
*result
= 0 ;
18635 bool temp3
= false ;
18642 bool temp8
= false ;
18643 PyObject
* obj0
= 0 ;
18644 PyObject
* obj1
= 0 ;
18645 PyObject
* obj2
= 0 ;
18646 PyObject
* obj3
= 0 ;
18647 PyObject
* obj4
= 0 ;
18648 PyObject
* obj5
= 0 ;
18649 PyObject
* obj6
= 0 ;
18650 PyObject
* obj7
= 0 ;
18651 char * kwnames
[] = {
18652 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18657 if (!SWIG_IsOK(res1
)) {
18658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18660 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18662 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18663 if (!SWIG_IsOK(ecode2
)) {
18664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18666 arg2
= static_cast< int >(val2
);
18670 arg3
= wxString_in_helper(obj2
);
18671 if (arg3
== NULL
) SWIG_fail
;
18678 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18684 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18688 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18689 if (!SWIG_IsOK(ecode6
)) {
18690 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18692 arg6
= static_cast< long >(val6
);
18695 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18696 if (!SWIG_IsOK(res7
)) {
18697 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18700 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18702 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18706 arg8
= wxString_in_helper(obj7
);
18707 if (arg8
== NULL
) SWIG_fail
;
18712 if (!wxPyCheckForApp()) SWIG_fail
;
18713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18714 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18715 wxPyEndAllowThreads(__tstate
);
18716 if (PyErr_Occurred()) SWIG_fail
;
18718 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18741 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18742 PyObject
*resultobj
= 0;
18743 wxToggleButton
*result
= 0 ;
18745 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
18747 if (!wxPyCheckForApp()) SWIG_fail
;
18748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18749 result
= (wxToggleButton
*)new wxToggleButton();
18750 wxPyEndAllowThreads(__tstate
);
18751 if (PyErr_Occurred()) SWIG_fail
;
18753 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
18760 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18761 PyObject
*resultobj
= 0;
18762 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18763 wxWindow
*arg2
= (wxWindow
*) 0 ;
18764 int arg3
= (int) -1 ;
18765 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18766 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18767 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18768 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18769 wxSize
const &arg6_defvalue
= wxDefaultSize
;
18770 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
18771 long arg7
= (long) 0 ;
18772 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18773 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18774 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
18775 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
18783 bool temp4
= false ;
18790 bool temp9
= false ;
18791 PyObject
* obj0
= 0 ;
18792 PyObject
* obj1
= 0 ;
18793 PyObject
* obj2
= 0 ;
18794 PyObject
* obj3
= 0 ;
18795 PyObject
* obj4
= 0 ;
18796 PyObject
* obj5
= 0 ;
18797 PyObject
* obj6
= 0 ;
18798 PyObject
* obj7
= 0 ;
18799 PyObject
* obj8
= 0 ;
18800 char * kwnames
[] = {
18801 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
18805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18806 if (!SWIG_IsOK(res1
)) {
18807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18809 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18810 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18811 if (!SWIG_IsOK(res2
)) {
18812 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18814 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18816 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18817 if (!SWIG_IsOK(ecode3
)) {
18818 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18820 arg3
= static_cast< int >(val3
);
18824 arg4
= wxString_in_helper(obj3
);
18825 if (arg4
== NULL
) SWIG_fail
;
18832 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18838 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
18842 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18843 if (!SWIG_IsOK(ecode7
)) {
18844 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
18846 arg7
= static_cast< long >(val7
);
18849 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
18850 if (!SWIG_IsOK(res8
)) {
18851 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18854 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18856 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
18860 arg9
= wxString_in_helper(obj8
);
18861 if (arg9
== NULL
) SWIG_fail
;
18866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18867 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
18868 wxPyEndAllowThreads(__tstate
);
18869 if (PyErr_Occurred()) SWIG_fail
;
18872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18896 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18897 PyObject
*resultobj
= 0;
18898 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18904 PyObject
* obj0
= 0 ;
18905 PyObject
* obj1
= 0 ;
18906 char * kwnames
[] = {
18907 (char *) "self",(char *) "value", NULL
18910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18912 if (!SWIG_IsOK(res1
)) {
18913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18915 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18916 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18917 if (!SWIG_IsOK(ecode2
)) {
18918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
18920 arg2
= static_cast< bool >(val2
);
18922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18923 (arg1
)->SetValue(arg2
);
18924 wxPyEndAllowThreads(__tstate
);
18925 if (PyErr_Occurred()) SWIG_fail
;
18927 resultobj
= SWIG_Py_Void();
18934 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18935 PyObject
*resultobj
= 0;
18936 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18940 PyObject
*swig_obj
[1] ;
18942 if (!args
) SWIG_fail
;
18943 swig_obj
[0] = args
;
18944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18945 if (!SWIG_IsOK(res1
)) {
18946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
18948 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18951 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
18952 wxPyEndAllowThreads(__tstate
);
18953 if (PyErr_Occurred()) SWIG_fail
;
18956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18964 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18965 PyObject
*resultobj
= 0;
18966 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18967 SwigValueWrapper
<wxVisualAttributes
> result
;
18970 PyObject
* obj0
= 0 ;
18971 char * kwnames
[] = {
18972 (char *) "variant", NULL
18975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18977 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18978 if (!SWIG_IsOK(ecode1
)) {
18979 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18981 arg1
= static_cast< wxWindowVariant
>(val1
);
18984 if (!wxPyCheckForApp()) SWIG_fail
;
18985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18986 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
18987 wxPyEndAllowThreads(__tstate
);
18988 if (PyErr_Occurred()) SWIG_fail
;
18990 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18997 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18999 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19000 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
19001 return SWIG_Py_Void();
19004 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19005 return SWIG_Python_InitShadowInstance(args
);
19008 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
19009 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
19014 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
19015 PyObject
*pyobj
= 0;
19019 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19021 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19028 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19029 PyObject
*resultobj
= 0;
19030 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19034 PyObject
*swig_obj
[1] ;
19036 if (!args
) SWIG_fail
;
19037 swig_obj
[0] = args
;
19038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19039 if (!SWIG_IsOK(res1
)) {
19040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19042 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19045 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
19046 wxPyEndAllowThreads(__tstate
);
19047 if (PyErr_Occurred()) SWIG_fail
;
19049 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19056 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19057 PyObject
*resultobj
= 0;
19058 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19060 wxWindow
*result
= 0 ;
19065 PyObject
* obj0
= 0 ;
19066 PyObject
* obj1
= 0 ;
19067 char * kwnames
[] = {
19068 (char *) "self",(char *) "n", NULL
19071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19073 if (!SWIG_IsOK(res1
)) {
19074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19076 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19077 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19078 if (!SWIG_IsOK(ecode2
)) {
19079 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19081 arg2
= static_cast< size_t >(val2
);
19083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19084 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
19085 wxPyEndAllowThreads(__tstate
);
19086 if (PyErr_Occurred()) SWIG_fail
;
19089 resultobj
= wxPyMake_wxObject(result
, 0);
19097 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19098 PyObject
*resultobj
= 0;
19099 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19100 wxWindow
*result
= 0 ;
19103 PyObject
*swig_obj
[1] ;
19105 if (!args
) SWIG_fail
;
19106 swig_obj
[0] = args
;
19107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19108 if (!SWIG_IsOK(res1
)) {
19109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19111 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19114 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
19115 wxPyEndAllowThreads(__tstate
);
19116 if (PyErr_Occurred()) SWIG_fail
;
19119 resultobj
= wxPyMake_wxObject(result
, 0);
19127 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19128 PyObject
*resultobj
= 0;
19129 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19133 PyObject
*swig_obj
[1] ;
19135 if (!args
) SWIG_fail
;
19136 swig_obj
[0] = args
;
19137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19138 if (!SWIG_IsOK(res1
)) {
19139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19141 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19144 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
19145 wxPyEndAllowThreads(__tstate
);
19146 if (PyErr_Occurred()) SWIG_fail
;
19148 resultobj
= SWIG_From_int(static_cast< int >(result
));
19155 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19156 PyObject
*resultobj
= 0;
19157 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19159 wxString
*arg3
= 0 ;
19165 bool temp3
= false ;
19166 PyObject
* obj0
= 0 ;
19167 PyObject
* obj1
= 0 ;
19168 PyObject
* obj2
= 0 ;
19169 char * kwnames
[] = {
19170 (char *) "self",(char *) "n",(char *) "strText", NULL
19173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19175 if (!SWIG_IsOK(res1
)) {
19176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19178 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19179 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19180 if (!SWIG_IsOK(ecode2
)) {
19181 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19183 arg2
= static_cast< size_t >(val2
);
19185 arg3
= wxString_in_helper(obj2
);
19186 if (arg3
== NULL
) SWIG_fail
;
19190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19191 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
19192 wxPyEndAllowThreads(__tstate
);
19193 if (PyErr_Occurred()) SWIG_fail
;
19196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19212 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19213 PyObject
*resultobj
= 0;
19214 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19221 PyObject
* obj0
= 0 ;
19222 PyObject
* obj1
= 0 ;
19223 char * kwnames
[] = {
19224 (char *) "self",(char *) "n", NULL
19227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19229 if (!SWIG_IsOK(res1
)) {
19230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19232 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19233 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19234 if (!SWIG_IsOK(ecode2
)) {
19235 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19237 arg2
= static_cast< size_t >(val2
);
19239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19240 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19241 wxPyEndAllowThreads(__tstate
);
19242 if (PyErr_Occurred()) SWIG_fail
;
19246 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19248 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19257 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19258 PyObject
*resultobj
= 0;
19259 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19260 wxImageList
*arg2
= (wxImageList
*) 0 ;
19265 PyObject
* obj0
= 0 ;
19266 PyObject
* obj1
= 0 ;
19267 char * kwnames
[] = {
19268 (char *) "self",(char *) "imageList", NULL
19271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19273 if (!SWIG_IsOK(res1
)) {
19274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19276 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19277 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19278 if (!SWIG_IsOK(res2
)) {
19279 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19281 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19284 (arg1
)->SetImageList(arg2
);
19285 wxPyEndAllowThreads(__tstate
);
19286 if (PyErr_Occurred()) SWIG_fail
;
19288 resultobj
= SWIG_Py_Void();
19295 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19296 PyObject
*resultobj
= 0;
19297 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19298 wxImageList
*arg2
= (wxImageList
*) 0 ;
19302 PyObject
* obj0
= 0 ;
19303 PyObject
* obj1
= 0 ;
19304 char * kwnames
[] = {
19305 (char *) "self",(char *) "imageList", NULL
19308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19310 if (!SWIG_IsOK(res1
)) {
19311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19313 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19314 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19315 if (!SWIG_IsOK(res2
)) {
19316 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19320 (arg1
)->AssignImageList(arg2
);
19321 wxPyEndAllowThreads(__tstate
);
19322 if (PyErr_Occurred()) SWIG_fail
;
19324 resultobj
= SWIG_Py_Void();
19331 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19332 PyObject
*resultobj
= 0;
19333 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19334 wxImageList
*result
= 0 ;
19337 PyObject
*swig_obj
[1] ;
19339 if (!args
) SWIG_fail
;
19340 swig_obj
[0] = args
;
19341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19342 if (!SWIG_IsOK(res1
)) {
19343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19345 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19348 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19349 wxPyEndAllowThreads(__tstate
);
19350 if (PyErr_Occurred()) SWIG_fail
;
19353 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19361 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19362 PyObject
*resultobj
= 0;
19363 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19370 PyObject
* obj0
= 0 ;
19371 PyObject
* obj1
= 0 ;
19372 char * kwnames
[] = {
19373 (char *) "self",(char *) "n", NULL
19376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19378 if (!SWIG_IsOK(res1
)) {
19379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19381 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19382 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19383 if (!SWIG_IsOK(ecode2
)) {
19384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19386 arg2
= static_cast< size_t >(val2
);
19388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19389 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19390 wxPyEndAllowThreads(__tstate
);
19391 if (PyErr_Occurred()) SWIG_fail
;
19393 resultobj
= SWIG_From_int(static_cast< int >(result
));
19400 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19401 PyObject
*resultobj
= 0;
19402 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19412 PyObject
* obj0
= 0 ;
19413 PyObject
* obj1
= 0 ;
19414 PyObject
* obj2
= 0 ;
19415 char * kwnames
[] = {
19416 (char *) "self",(char *) "n",(char *) "imageId", NULL
19419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19421 if (!SWIG_IsOK(res1
)) {
19422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19424 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19425 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19426 if (!SWIG_IsOK(ecode2
)) {
19427 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19429 arg2
= static_cast< size_t >(val2
);
19430 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19431 if (!SWIG_IsOK(ecode3
)) {
19432 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19434 arg3
= static_cast< int >(val3
);
19436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19437 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19438 wxPyEndAllowThreads(__tstate
);
19439 if (PyErr_Occurred()) SWIG_fail
;
19442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19450 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19451 PyObject
*resultobj
= 0;
19452 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19457 PyObject
* obj0
= 0 ;
19458 PyObject
* obj1
= 0 ;
19459 char * kwnames
[] = {
19460 (char *) "self",(char *) "size", NULL
19463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19465 if (!SWIG_IsOK(res1
)) {
19466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19468 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19471 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19475 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19476 wxPyEndAllowThreads(__tstate
);
19477 if (PyErr_Occurred()) SWIG_fail
;
19479 resultobj
= SWIG_Py_Void();
19486 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19487 PyObject
*resultobj
= 0;
19488 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19494 PyObject
* obj0
= 0 ;
19495 PyObject
* obj1
= 0 ;
19496 char * kwnames
[] = {
19497 (char *) "self",(char *) "sizePage", NULL
19500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19502 if (!SWIG_IsOK(res1
)) {
19503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19505 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19508 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19512 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19513 wxPyEndAllowThreads(__tstate
);
19514 if (PyErr_Occurred()) SWIG_fail
;
19516 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19523 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19524 PyObject
*resultobj
= 0;
19525 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19526 unsigned int result
;
19529 PyObject
*swig_obj
[1] ;
19531 if (!args
) SWIG_fail
;
19532 swig_obj
[0] = args
;
19533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19534 if (!SWIG_IsOK(res1
)) {
19535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19537 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19540 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19541 wxPyEndAllowThreads(__tstate
);
19542 if (PyErr_Occurred()) SWIG_fail
;
19544 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19551 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19552 PyObject
*resultobj
= 0;
19553 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19554 unsigned int arg2
;
19557 unsigned int val2
;
19559 PyObject
* obj0
= 0 ;
19560 PyObject
* obj1
= 0 ;
19561 char * kwnames
[] = {
19562 (char *) "self",(char *) "internalBorder", NULL
19565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19567 if (!SWIG_IsOK(res1
)) {
19568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19570 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19571 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19572 if (!SWIG_IsOK(ecode2
)) {
19573 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19575 arg2
= static_cast< unsigned int >(val2
);
19577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19578 (arg1
)->SetInternalBorder(arg2
);
19579 wxPyEndAllowThreads(__tstate
);
19580 if (PyErr_Occurred()) SWIG_fail
;
19582 resultobj
= SWIG_Py_Void();
19589 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19590 PyObject
*resultobj
= 0;
19591 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19595 PyObject
*swig_obj
[1] ;
19597 if (!args
) SWIG_fail
;
19598 swig_obj
[0] = args
;
19599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19600 if (!SWIG_IsOK(res1
)) {
19601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19603 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19606 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19607 wxPyEndAllowThreads(__tstate
);
19608 if (PyErr_Occurred()) SWIG_fail
;
19611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19619 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19620 PyObject
*resultobj
= 0;
19621 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19627 PyObject
* obj0
= 0 ;
19628 PyObject
* obj1
= 0 ;
19629 char * kwnames
[] = {
19630 (char *) "self",(char *) "margin", NULL
19633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19635 if (!SWIG_IsOK(res1
)) {
19636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19638 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19639 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19640 if (!SWIG_IsOK(ecode2
)) {
19641 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19643 arg2
= static_cast< int >(val2
);
19645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19646 (arg1
)->SetControlMargin(arg2
);
19647 wxPyEndAllowThreads(__tstate
);
19648 if (PyErr_Occurred()) SWIG_fail
;
19650 resultobj
= SWIG_Py_Void();
19657 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19658 PyObject
*resultobj
= 0;
19659 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19663 PyObject
*swig_obj
[1] ;
19665 if (!args
) SWIG_fail
;
19666 swig_obj
[0] = args
;
19667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19668 if (!SWIG_IsOK(res1
)) {
19669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19671 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19674 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
19675 wxPyEndAllowThreads(__tstate
);
19676 if (PyErr_Occurred()) SWIG_fail
;
19678 resultobj
= SWIG_From_int(static_cast< int >(result
));
19685 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19686 PyObject
*resultobj
= 0;
19687 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19693 PyObject
* obj0
= 0 ;
19694 PyObject
* obj1
= 0 ;
19695 char * kwnames
[] = {
19696 (char *) "self",(char *) "fit", NULL
19699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19701 if (!SWIG_IsOK(res1
)) {
19702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19704 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19705 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19706 if (!SWIG_IsOK(ecode2
)) {
19707 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19709 arg2
= static_cast< bool >(val2
);
19711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19712 (arg1
)->SetFitToCurrentPage(arg2
);
19713 wxPyEndAllowThreads(__tstate
);
19714 if (PyErr_Occurred()) SWIG_fail
;
19716 resultobj
= SWIG_Py_Void();
19723 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19724 PyObject
*resultobj
= 0;
19725 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19729 PyObject
*swig_obj
[1] ;
19731 if (!args
) SWIG_fail
;
19732 swig_obj
[0] = args
;
19733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19734 if (!SWIG_IsOK(res1
)) {
19735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19737 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19740 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19741 wxPyEndAllowThreads(__tstate
);
19742 if (PyErr_Occurred()) SWIG_fail
;
19745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19753 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19754 PyObject
*resultobj
= 0;
19755 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19756 wxSizer
*result
= 0 ;
19759 PyObject
*swig_obj
[1] ;
19761 if (!args
) SWIG_fail
;
19762 swig_obj
[0] = args
;
19763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19764 if (!SWIG_IsOK(res1
)) {
19765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19767 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19770 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
19771 wxPyEndAllowThreads(__tstate
);
19772 if (PyErr_Occurred()) SWIG_fail
;
19775 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19783 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19784 PyObject
*resultobj
= 0;
19785 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19792 PyObject
* obj0
= 0 ;
19793 PyObject
* obj1
= 0 ;
19794 char * kwnames
[] = {
19795 (char *) "self",(char *) "n", NULL
19798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19800 if (!SWIG_IsOK(res1
)) {
19801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19803 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19804 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19805 if (!SWIG_IsOK(ecode2
)) {
19806 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19808 arg2
= static_cast< size_t >(val2
);
19810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19811 result
= (bool)(arg1
)->DeletePage(arg2
);
19812 wxPyEndAllowThreads(__tstate
);
19813 if (PyErr_Occurred()) SWIG_fail
;
19816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19824 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19825 PyObject
*resultobj
= 0;
19826 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19833 PyObject
* obj0
= 0 ;
19834 PyObject
* obj1
= 0 ;
19835 char * kwnames
[] = {
19836 (char *) "self",(char *) "n", NULL
19839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19841 if (!SWIG_IsOK(res1
)) {
19842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19844 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19845 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19846 if (!SWIG_IsOK(ecode2
)) {
19847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
19849 arg2
= static_cast< size_t >(val2
);
19851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19852 result
= (bool)(arg1
)->RemovePage(arg2
);
19853 wxPyEndAllowThreads(__tstate
);
19854 if (PyErr_Occurred()) SWIG_fail
;
19857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19865 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19866 PyObject
*resultobj
= 0;
19867 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19871 PyObject
*swig_obj
[1] ;
19873 if (!args
) SWIG_fail
;
19874 swig_obj
[0] = args
;
19875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19876 if (!SWIG_IsOK(res1
)) {
19877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19879 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19882 result
= (bool)(arg1
)->DeleteAllPages();
19883 wxPyEndAllowThreads(__tstate
);
19884 if (PyErr_Occurred()) SWIG_fail
;
19887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19895 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19896 PyObject
*resultobj
= 0;
19897 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19898 wxWindow
*arg2
= (wxWindow
*) 0 ;
19899 wxString
*arg3
= 0 ;
19900 bool arg4
= (bool) false ;
19901 int arg5
= (int) -1 ;
19907 bool temp3
= false ;
19912 PyObject
* obj0
= 0 ;
19913 PyObject
* obj1
= 0 ;
19914 PyObject
* obj2
= 0 ;
19915 PyObject
* obj3
= 0 ;
19916 PyObject
* obj4
= 0 ;
19917 char * kwnames
[] = {
19918 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19923 if (!SWIG_IsOK(res1
)) {
19924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19926 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19927 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19928 if (!SWIG_IsOK(res2
)) {
19929 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
19931 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
19933 arg3
= wxString_in_helper(obj2
);
19934 if (arg3
== NULL
) SWIG_fail
;
19938 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19939 if (!SWIG_IsOK(ecode4
)) {
19940 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
19942 arg4
= static_cast< bool >(val4
);
19945 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19946 if (!SWIG_IsOK(ecode5
)) {
19947 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
19949 arg5
= static_cast< int >(val5
);
19952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19953 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
19954 wxPyEndAllowThreads(__tstate
);
19955 if (PyErr_Occurred()) SWIG_fail
;
19958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19974 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19975 PyObject
*resultobj
= 0;
19976 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19978 wxWindow
*arg3
= (wxWindow
*) 0 ;
19979 wxString
*arg4
= 0 ;
19980 bool arg5
= (bool) false ;
19981 int arg6
= (int) -1 ;
19989 bool temp4
= false ;
19994 PyObject
* obj0
= 0 ;
19995 PyObject
* obj1
= 0 ;
19996 PyObject
* obj2
= 0 ;
19997 PyObject
* obj3
= 0 ;
19998 PyObject
* obj4
= 0 ;
19999 PyObject
* obj5
= 0 ;
20000 char * kwnames
[] = {
20001 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20006 if (!SWIG_IsOK(res1
)) {
20007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20009 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20010 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20011 if (!SWIG_IsOK(ecode2
)) {
20012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
20014 arg2
= static_cast< size_t >(val2
);
20015 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20016 if (!SWIG_IsOK(res3
)) {
20017 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
20019 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
20021 arg4
= wxString_in_helper(obj3
);
20022 if (arg4
== NULL
) SWIG_fail
;
20026 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
20027 if (!SWIG_IsOK(ecode5
)) {
20028 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
20030 arg5
= static_cast< bool >(val5
);
20033 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20034 if (!SWIG_IsOK(ecode6
)) {
20035 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
20037 arg6
= static_cast< int >(val6
);
20040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20041 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
20042 wxPyEndAllowThreads(__tstate
);
20043 if (PyErr_Occurred()) SWIG_fail
;
20046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20062 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20063 PyObject
*resultobj
= 0;
20064 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20071 PyObject
* obj0
= 0 ;
20072 PyObject
* obj1
= 0 ;
20073 char * kwnames
[] = {
20074 (char *) "self",(char *) "n", NULL
20077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20079 if (!SWIG_IsOK(res1
)) {
20080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20082 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20083 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20084 if (!SWIG_IsOK(ecode2
)) {
20085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20087 arg2
= static_cast< size_t >(val2
);
20089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20090 result
= (int)(arg1
)->SetSelection(arg2
);
20091 wxPyEndAllowThreads(__tstate
);
20092 if (PyErr_Occurred()) SWIG_fail
;
20094 resultobj
= SWIG_From_int(static_cast< int >(result
));
20101 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20102 PyObject
*resultobj
= 0;
20103 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20104 bool arg2
= (bool) true ;
20109 PyObject
* obj0
= 0 ;
20110 PyObject
* obj1
= 0 ;
20111 char * kwnames
[] = {
20112 (char *) "self",(char *) "forward", NULL
20115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20117 if (!SWIG_IsOK(res1
)) {
20118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20120 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20122 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20123 if (!SWIG_IsOK(ecode2
)) {
20124 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20126 arg2
= static_cast< bool >(val2
);
20129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20130 (arg1
)->AdvanceSelection(arg2
);
20131 wxPyEndAllowThreads(__tstate
);
20132 if (PyErr_Occurred()) SWIG_fail
;
20134 resultobj
= SWIG_Py_Void();
20141 SWIGINTERN PyObject
*_wrap_BookCtrlBase_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20142 PyObject
*resultobj
= 0;
20143 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20144 wxPoint
*arg2
= 0 ;
20145 long *arg3
= (long *) 0 ;
20151 int res3
= SWIG_TMPOBJ
;
20152 PyObject
* obj0
= 0 ;
20153 PyObject
* obj1
= 0 ;
20154 char * kwnames
[] = {
20155 (char *) "self",(char *) "pt", NULL
20159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20161 if (!SWIG_IsOK(res1
)) {
20162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20164 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20167 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20171 result
= (int)((wxBookCtrlBase
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20172 wxPyEndAllowThreads(__tstate
);
20173 if (PyErr_Occurred()) SWIG_fail
;
20175 resultobj
= SWIG_From_int(static_cast< int >(result
));
20176 if (SWIG_IsTmpObj(res3
)) {
20177 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20179 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20180 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20188 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20189 PyObject
*resultobj
= 0;
20190 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20191 SwigValueWrapper
<wxVisualAttributes
> result
;
20194 PyObject
* obj0
= 0 ;
20195 char * kwnames
[] = {
20196 (char *) "variant", NULL
20199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20201 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20202 if (!SWIG_IsOK(ecode1
)) {
20203 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20205 arg1
= static_cast< wxWindowVariant
>(val1
);
20208 if (!wxPyCheckForApp()) SWIG_fail
;
20209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20210 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
20211 wxPyEndAllowThreads(__tstate
);
20212 if (PyErr_Occurred()) SWIG_fail
;
20214 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20221 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20223 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20224 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
20225 return SWIG_Py_Void();
20228 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20229 PyObject
*resultobj
= 0;
20230 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20231 int arg2
= (int) 0 ;
20232 int arg3
= (int) -1 ;
20233 int arg4
= (int) -1 ;
20234 wxBookCtrlBaseEvent
*result
= 0 ;
20243 PyObject
* obj0
= 0 ;
20244 PyObject
* obj1
= 0 ;
20245 PyObject
* obj2
= 0 ;
20246 PyObject
* obj3
= 0 ;
20247 char * kwnames
[] = {
20248 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20253 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20254 if (!SWIG_IsOK(ecode1
)) {
20255 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20257 arg1
= static_cast< wxEventType
>(val1
);
20260 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20261 if (!SWIG_IsOK(ecode2
)) {
20262 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20264 arg2
= static_cast< int >(val2
);
20267 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20268 if (!SWIG_IsOK(ecode3
)) {
20269 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20271 arg3
= static_cast< int >(val3
);
20274 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20275 if (!SWIG_IsOK(ecode4
)) {
20276 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20278 arg4
= static_cast< int >(val4
);
20281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20282 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
20283 wxPyEndAllowThreads(__tstate
);
20284 if (PyErr_Occurred()) SWIG_fail
;
20286 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
20293 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20294 PyObject
*resultobj
= 0;
20295 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20299 PyObject
*swig_obj
[1] ;
20301 if (!args
) SWIG_fail
;
20302 swig_obj
[0] = args
;
20303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20304 if (!SWIG_IsOK(res1
)) {
20305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20307 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20310 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
20311 wxPyEndAllowThreads(__tstate
);
20312 if (PyErr_Occurred()) SWIG_fail
;
20314 resultobj
= SWIG_From_int(static_cast< int >(result
));
20321 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20322 PyObject
*resultobj
= 0;
20323 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20329 PyObject
* obj0
= 0 ;
20330 PyObject
* obj1
= 0 ;
20331 char * kwnames
[] = {
20332 (char *) "self",(char *) "nSel", NULL
20335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20337 if (!SWIG_IsOK(res1
)) {
20338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20340 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20341 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20342 if (!SWIG_IsOK(ecode2
)) {
20343 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20345 arg2
= static_cast< int >(val2
);
20347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20348 (arg1
)->SetSelection(arg2
);
20349 wxPyEndAllowThreads(__tstate
);
20350 if (PyErr_Occurred()) SWIG_fail
;
20352 resultobj
= SWIG_Py_Void();
20359 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20360 PyObject
*resultobj
= 0;
20361 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20365 PyObject
*swig_obj
[1] ;
20367 if (!args
) SWIG_fail
;
20368 swig_obj
[0] = args
;
20369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20370 if (!SWIG_IsOK(res1
)) {
20371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20373 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20376 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20377 wxPyEndAllowThreads(__tstate
);
20378 if (PyErr_Occurred()) SWIG_fail
;
20380 resultobj
= SWIG_From_int(static_cast< int >(result
));
20387 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20388 PyObject
*resultobj
= 0;
20389 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20395 PyObject
* obj0
= 0 ;
20396 PyObject
* obj1
= 0 ;
20397 char * kwnames
[] = {
20398 (char *) "self",(char *) "nOldSel", NULL
20401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20403 if (!SWIG_IsOK(res1
)) {
20404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20406 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20407 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20408 if (!SWIG_IsOK(ecode2
)) {
20409 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20411 arg2
= static_cast< int >(val2
);
20413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20414 (arg1
)->SetOldSelection(arg2
);
20415 wxPyEndAllowThreads(__tstate
);
20416 if (PyErr_Occurred()) SWIG_fail
;
20418 resultobj
= SWIG_Py_Void();
20425 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20427 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20428 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20429 return SWIG_Py_Void();
20432 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20433 return SWIG_Python_InitShadowInstance(args
);
20436 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20437 PyObject
*resultobj
= 0;
20438 wxWindow
*arg1
= (wxWindow
*) 0 ;
20439 int arg2
= (int) -1 ;
20440 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20441 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20442 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20443 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20444 long arg5
= (long) 0 ;
20445 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20446 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20447 wxNotebook
*result
= 0 ;
20456 bool temp6
= false ;
20457 PyObject
* obj0
= 0 ;
20458 PyObject
* obj1
= 0 ;
20459 PyObject
* obj2
= 0 ;
20460 PyObject
* obj3
= 0 ;
20461 PyObject
* obj4
= 0 ;
20462 PyObject
* obj5
= 0 ;
20463 char * kwnames
[] = {
20464 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20469 if (!SWIG_IsOK(res1
)) {
20470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20472 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20474 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20475 if (!SWIG_IsOK(ecode2
)) {
20476 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20478 arg2
= static_cast< int >(val2
);
20483 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20489 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20493 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20494 if (!SWIG_IsOK(ecode5
)) {
20495 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20497 arg5
= static_cast< long >(val5
);
20501 arg6
= wxString_in_helper(obj5
);
20502 if (arg6
== NULL
) SWIG_fail
;
20507 if (!wxPyCheckForApp()) SWIG_fail
;
20508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20509 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20510 wxPyEndAllowThreads(__tstate
);
20511 if (PyErr_Occurred()) SWIG_fail
;
20513 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20528 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20529 PyObject
*resultobj
= 0;
20530 wxNotebook
*result
= 0 ;
20532 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20534 if (!wxPyCheckForApp()) SWIG_fail
;
20535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20536 result
= (wxNotebook
*)new wxNotebook();
20537 wxPyEndAllowThreads(__tstate
);
20538 if (PyErr_Occurred()) SWIG_fail
;
20540 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20547 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20548 PyObject
*resultobj
= 0;
20549 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20550 wxWindow
*arg2
= (wxWindow
*) 0 ;
20551 int arg3
= (int) -1 ;
20552 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20553 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20554 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20555 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20556 long arg6
= (long) 0 ;
20557 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20558 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20570 bool temp7
= false ;
20571 PyObject
* obj0
= 0 ;
20572 PyObject
* obj1
= 0 ;
20573 PyObject
* obj2
= 0 ;
20574 PyObject
* obj3
= 0 ;
20575 PyObject
* obj4
= 0 ;
20576 PyObject
* obj5
= 0 ;
20577 PyObject
* obj6
= 0 ;
20578 char * kwnames
[] = {
20579 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20584 if (!SWIG_IsOK(res1
)) {
20585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20587 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20588 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20589 if (!SWIG_IsOK(res2
)) {
20590 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20592 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20594 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20595 if (!SWIG_IsOK(ecode3
)) {
20596 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20598 arg3
= static_cast< int >(val3
);
20603 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20609 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20613 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20614 if (!SWIG_IsOK(ecode6
)) {
20615 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20617 arg6
= static_cast< long >(val6
);
20621 arg7
= wxString_in_helper(obj6
);
20622 if (arg7
== NULL
) SWIG_fail
;
20627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20628 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20629 wxPyEndAllowThreads(__tstate
);
20630 if (PyErr_Occurred()) SWIG_fail
;
20633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20649 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20650 PyObject
*resultobj
= 0;
20651 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20655 PyObject
*swig_obj
[1] ;
20657 if (!args
) SWIG_fail
;
20658 swig_obj
[0] = args
;
20659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20660 if (!SWIG_IsOK(res1
)) {
20661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20663 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20666 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20667 wxPyEndAllowThreads(__tstate
);
20668 if (PyErr_Occurred()) SWIG_fail
;
20670 resultobj
= SWIG_From_int(static_cast< int >(result
));
20677 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20678 PyObject
*resultobj
= 0;
20679 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20684 PyObject
* obj0
= 0 ;
20685 PyObject
* obj1
= 0 ;
20686 char * kwnames
[] = {
20687 (char *) "self",(char *) "padding", NULL
20690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20692 if (!SWIG_IsOK(res1
)) {
20693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20695 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20698 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20702 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20703 wxPyEndAllowThreads(__tstate
);
20704 if (PyErr_Occurred()) SWIG_fail
;
20706 resultobj
= SWIG_Py_Void();
20713 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20714 PyObject
*resultobj
= 0;
20715 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20720 PyObject
* obj0
= 0 ;
20721 PyObject
* obj1
= 0 ;
20722 char * kwnames
[] = {
20723 (char *) "self",(char *) "sz", NULL
20726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20728 if (!SWIG_IsOK(res1
)) {
20729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20731 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20734 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20738 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
20739 wxPyEndAllowThreads(__tstate
);
20740 if (PyErr_Occurred()) SWIG_fail
;
20742 resultobj
= SWIG_Py_Void();
20749 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20750 PyObject
*resultobj
= 0;
20751 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20755 PyObject
*swig_obj
[1] ;
20757 if (!args
) SWIG_fail
;
20758 swig_obj
[0] = args
;
20759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20760 if (!SWIG_IsOK(res1
)) {
20761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20763 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20766 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
20767 wxPyEndAllowThreads(__tstate
);
20768 if (PyErr_Occurred()) SWIG_fail
;
20770 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
20777 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20778 PyObject
*resultobj
= 0;
20779 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20780 SwigValueWrapper
<wxVisualAttributes
> result
;
20783 PyObject
* obj0
= 0 ;
20784 char * kwnames
[] = {
20785 (char *) "variant", NULL
20788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20790 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20791 if (!SWIG_IsOK(ecode1
)) {
20792 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20794 arg1
= static_cast< wxWindowVariant
>(val1
);
20797 if (!wxPyCheckForApp()) SWIG_fail
;
20798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20799 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
20800 wxPyEndAllowThreads(__tstate
);
20801 if (PyErr_Occurred()) SWIG_fail
;
20803 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20810 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20812 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20813 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
20814 return SWIG_Py_Void();
20817 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20818 return SWIG_Python_InitShadowInstance(args
);
20821 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20822 PyObject
*resultobj
= 0;
20823 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20824 int arg2
= (int) 0 ;
20825 int arg3
= (int) -1 ;
20826 int arg4
= (int) -1 ;
20827 wxNotebookEvent
*result
= 0 ;
20836 PyObject
* obj0
= 0 ;
20837 PyObject
* obj1
= 0 ;
20838 PyObject
* obj2
= 0 ;
20839 PyObject
* obj3
= 0 ;
20840 char * kwnames
[] = {
20841 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20846 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20847 if (!SWIG_IsOK(ecode1
)) {
20848 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20850 arg1
= static_cast< wxEventType
>(val1
);
20853 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20854 if (!SWIG_IsOK(ecode2
)) {
20855 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
20857 arg2
= static_cast< int >(val2
);
20860 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20861 if (!SWIG_IsOK(ecode3
)) {
20862 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
20864 arg3
= static_cast< int >(val3
);
20867 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20868 if (!SWIG_IsOK(ecode4
)) {
20869 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
20871 arg4
= static_cast< int >(val4
);
20874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20875 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
20876 wxPyEndAllowThreads(__tstate
);
20877 if (PyErr_Occurred()) SWIG_fail
;
20879 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
20886 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20888 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20889 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
20890 return SWIG_Py_Void();
20893 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20894 return SWIG_Python_InitShadowInstance(args
);
20897 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20898 PyObject
*resultobj
= 0;
20899 wxWindow
*arg1
= (wxWindow
*) 0 ;
20900 int arg2
= (int) -1 ;
20901 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20902 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20903 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20904 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20905 long arg5
= (long) 0 ;
20906 wxString
const &arg6_defvalue
= wxPyEmptyString
;
20907 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20908 wxListbook
*result
= 0 ;
20917 bool temp6
= false ;
20918 PyObject
* obj0
= 0 ;
20919 PyObject
* obj1
= 0 ;
20920 PyObject
* obj2
= 0 ;
20921 PyObject
* obj3
= 0 ;
20922 PyObject
* obj4
= 0 ;
20923 PyObject
* obj5
= 0 ;
20924 char * kwnames
[] = {
20925 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20930 if (!SWIG_IsOK(res1
)) {
20931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
20933 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20935 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20936 if (!SWIG_IsOK(ecode2
)) {
20937 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
20939 arg2
= static_cast< int >(val2
);
20944 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20950 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20954 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20955 if (!SWIG_IsOK(ecode5
)) {
20956 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
20958 arg5
= static_cast< long >(val5
);
20962 arg6
= wxString_in_helper(obj5
);
20963 if (arg6
== NULL
) SWIG_fail
;
20968 if (!wxPyCheckForApp()) SWIG_fail
;
20969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20970 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20971 wxPyEndAllowThreads(__tstate
);
20972 if (PyErr_Occurred()) SWIG_fail
;
20974 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
20989 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20990 PyObject
*resultobj
= 0;
20991 wxListbook
*result
= 0 ;
20993 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
20995 if (!wxPyCheckForApp()) SWIG_fail
;
20996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20997 result
= (wxListbook
*)new wxListbook();
20998 wxPyEndAllowThreads(__tstate
);
20999 if (PyErr_Occurred()) SWIG_fail
;
21001 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
21008 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21009 PyObject
*resultobj
= 0;
21010 wxListbook
*arg1
= (wxListbook
*) 0 ;
21011 wxWindow
*arg2
= (wxWindow
*) 0 ;
21012 int arg3
= (int) -1 ;
21013 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21014 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21015 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21016 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21017 long arg6
= (long) 0 ;
21018 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21019 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21031 bool temp7
= false ;
21032 PyObject
* obj0
= 0 ;
21033 PyObject
* obj1
= 0 ;
21034 PyObject
* obj2
= 0 ;
21035 PyObject
* obj3
= 0 ;
21036 PyObject
* obj4
= 0 ;
21037 PyObject
* obj5
= 0 ;
21038 PyObject
* obj6
= 0 ;
21039 char * kwnames
[] = {
21040 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21045 if (!SWIG_IsOK(res1
)) {
21046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
21048 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21049 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21050 if (!SWIG_IsOK(res2
)) {
21051 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21053 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21055 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21056 if (!SWIG_IsOK(ecode3
)) {
21057 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
21059 arg3
= static_cast< int >(val3
);
21064 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21070 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21074 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21075 if (!SWIG_IsOK(ecode6
)) {
21076 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21078 arg6
= static_cast< long >(val6
);
21082 arg7
= wxString_in_helper(obj6
);
21083 if (arg7
== NULL
) SWIG_fail
;
21088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21089 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21090 wxPyEndAllowThreads(__tstate
);
21091 if (PyErr_Occurred()) SWIG_fail
;
21094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21110 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21111 PyObject
*resultobj
= 0;
21112 wxListbook
*arg1
= (wxListbook
*) 0 ;
21113 wxListView
*result
= 0 ;
21116 PyObject
*swig_obj
[1] ;
21118 if (!args
) SWIG_fail
;
21119 swig_obj
[0] = args
;
21120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21121 if (!SWIG_IsOK(res1
)) {
21122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21124 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21127 result
= (wxListView
*)(arg1
)->GetListView();
21128 wxPyEndAllowThreads(__tstate
);
21129 if (PyErr_Occurred()) SWIG_fail
;
21131 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
21138 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21140 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21141 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
21142 return SWIG_Py_Void();
21145 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21146 return SWIG_Python_InitShadowInstance(args
);
21149 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21150 PyObject
*resultobj
= 0;
21151 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21152 int arg2
= (int) 0 ;
21153 int arg3
= (int) -1 ;
21154 int arg4
= (int) -1 ;
21155 wxListbookEvent
*result
= 0 ;
21164 PyObject
* obj0
= 0 ;
21165 PyObject
* obj1
= 0 ;
21166 PyObject
* obj2
= 0 ;
21167 PyObject
* obj3
= 0 ;
21168 char * kwnames
[] = {
21169 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21174 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21175 if (!SWIG_IsOK(ecode1
)) {
21176 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21178 arg1
= static_cast< wxEventType
>(val1
);
21181 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21182 if (!SWIG_IsOK(ecode2
)) {
21183 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21185 arg2
= static_cast< int >(val2
);
21188 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21189 if (!SWIG_IsOK(ecode3
)) {
21190 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21192 arg3
= static_cast< int >(val3
);
21195 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21196 if (!SWIG_IsOK(ecode4
)) {
21197 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21199 arg4
= static_cast< int >(val4
);
21202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21203 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
21204 wxPyEndAllowThreads(__tstate
);
21205 if (PyErr_Occurred()) SWIG_fail
;
21207 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
21214 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21216 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21217 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
21218 return SWIG_Py_Void();
21221 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21222 return SWIG_Python_InitShadowInstance(args
);
21225 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21226 PyObject
*resultobj
= 0;
21227 wxWindow
*arg1
= (wxWindow
*) 0 ;
21229 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21230 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21231 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21232 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21233 long arg5
= (long) 0 ;
21234 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21235 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21236 wxChoicebook
*result
= 0 ;
21245 bool temp6
= false ;
21246 PyObject
* obj0
= 0 ;
21247 PyObject
* obj1
= 0 ;
21248 PyObject
* obj2
= 0 ;
21249 PyObject
* obj3
= 0 ;
21250 PyObject
* obj4
= 0 ;
21251 PyObject
* obj5
= 0 ;
21252 char * kwnames
[] = {
21253 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21258 if (!SWIG_IsOK(res1
)) {
21259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21261 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21262 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21263 if (!SWIG_IsOK(ecode2
)) {
21264 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21266 arg2
= static_cast< int >(val2
);
21270 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21276 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21280 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21281 if (!SWIG_IsOK(ecode5
)) {
21282 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21284 arg5
= static_cast< long >(val5
);
21288 arg6
= wxString_in_helper(obj5
);
21289 if (arg6
== NULL
) SWIG_fail
;
21294 if (!wxPyCheckForApp()) SWIG_fail
;
21295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21296 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21297 wxPyEndAllowThreads(__tstate
);
21298 if (PyErr_Occurred()) SWIG_fail
;
21300 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21315 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21316 PyObject
*resultobj
= 0;
21317 wxChoicebook
*result
= 0 ;
21319 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21321 if (!wxPyCheckForApp()) SWIG_fail
;
21322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21323 result
= (wxChoicebook
*)new wxChoicebook();
21324 wxPyEndAllowThreads(__tstate
);
21325 if (PyErr_Occurred()) SWIG_fail
;
21327 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21334 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21335 PyObject
*resultobj
= 0;
21336 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21337 wxWindow
*arg2
= (wxWindow
*) 0 ;
21339 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21340 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21341 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21342 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21343 long arg6
= (long) 0 ;
21344 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21345 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21357 bool temp7
= false ;
21358 PyObject
* obj0
= 0 ;
21359 PyObject
* obj1
= 0 ;
21360 PyObject
* obj2
= 0 ;
21361 PyObject
* obj3
= 0 ;
21362 PyObject
* obj4
= 0 ;
21363 PyObject
* obj5
= 0 ;
21364 PyObject
* obj6
= 0 ;
21365 char * kwnames
[] = {
21366 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21371 if (!SWIG_IsOK(res1
)) {
21372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21374 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21375 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21376 if (!SWIG_IsOK(res2
)) {
21377 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21379 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21380 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21381 if (!SWIG_IsOK(ecode3
)) {
21382 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21384 arg3
= static_cast< int >(val3
);
21388 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21394 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21398 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21399 if (!SWIG_IsOK(ecode6
)) {
21400 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21402 arg6
= static_cast< long >(val6
);
21406 arg7
= wxString_in_helper(obj6
);
21407 if (arg7
== NULL
) SWIG_fail
;
21412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21413 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21414 wxPyEndAllowThreads(__tstate
);
21415 if (PyErr_Occurred()) SWIG_fail
;
21418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21434 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21435 PyObject
*resultobj
= 0;
21436 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21437 wxChoice
*result
= 0 ;
21440 PyObject
*swig_obj
[1] ;
21442 if (!args
) SWIG_fail
;
21443 swig_obj
[0] = args
;
21444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21445 if (!SWIG_IsOK(res1
)) {
21446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21448 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21451 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21452 wxPyEndAllowThreads(__tstate
);
21453 if (PyErr_Occurred()) SWIG_fail
;
21455 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21462 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21464 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21465 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21466 return SWIG_Py_Void();
21469 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21470 return SWIG_Python_InitShadowInstance(args
);
21473 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21474 PyObject
*resultobj
= 0;
21475 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21476 int arg2
= (int) 0 ;
21477 int arg3
= (int) -1 ;
21478 int arg4
= (int) -1 ;
21479 wxChoicebookEvent
*result
= 0 ;
21488 PyObject
* obj0
= 0 ;
21489 PyObject
* obj1
= 0 ;
21490 PyObject
* obj2
= 0 ;
21491 PyObject
* obj3
= 0 ;
21492 char * kwnames
[] = {
21493 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21498 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21499 if (!SWIG_IsOK(ecode1
)) {
21500 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21502 arg1
= static_cast< wxEventType
>(val1
);
21505 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21506 if (!SWIG_IsOK(ecode2
)) {
21507 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21509 arg2
= static_cast< int >(val2
);
21512 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21513 if (!SWIG_IsOK(ecode3
)) {
21514 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21516 arg3
= static_cast< int >(val3
);
21519 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21520 if (!SWIG_IsOK(ecode4
)) {
21521 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21523 arg4
= static_cast< int >(val4
);
21526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21527 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21528 wxPyEndAllowThreads(__tstate
);
21529 if (PyErr_Occurred()) SWIG_fail
;
21531 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21538 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21540 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21541 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21542 return SWIG_Py_Void();
21545 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21546 return SWIG_Python_InitShadowInstance(args
);
21549 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21550 PyObject
*resultobj
= 0;
21551 wxWindow
*arg1
= (wxWindow
*) 0 ;
21553 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21554 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21555 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21556 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21557 long arg5
= (long) wxBK_DEFAULT
;
21558 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21559 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21560 wxTreebook
*result
= 0 ;
21569 bool temp6
= false ;
21570 PyObject
* obj0
= 0 ;
21571 PyObject
* obj1
= 0 ;
21572 PyObject
* obj2
= 0 ;
21573 PyObject
* obj3
= 0 ;
21574 PyObject
* obj4
= 0 ;
21575 PyObject
* obj5
= 0 ;
21576 char * kwnames
[] = {
21577 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21582 if (!SWIG_IsOK(res1
)) {
21583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21585 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21586 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21587 if (!SWIG_IsOK(ecode2
)) {
21588 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21590 arg2
= static_cast< int >(val2
);
21594 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21600 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21604 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21605 if (!SWIG_IsOK(ecode5
)) {
21606 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21608 arg5
= static_cast< long >(val5
);
21612 arg6
= wxString_in_helper(obj5
);
21613 if (arg6
== NULL
) SWIG_fail
;
21618 if (!wxPyCheckForApp()) SWIG_fail
;
21619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21620 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21621 wxPyEndAllowThreads(__tstate
);
21622 if (PyErr_Occurred()) SWIG_fail
;
21624 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
21639 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21640 PyObject
*resultobj
= 0;
21641 wxTreebook
*result
= 0 ;
21643 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
21645 if (!wxPyCheckForApp()) SWIG_fail
;
21646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21647 result
= (wxTreebook
*)new wxTreebook();
21648 wxPyEndAllowThreads(__tstate
);
21649 if (PyErr_Occurred()) SWIG_fail
;
21651 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
21658 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21659 PyObject
*resultobj
= 0;
21660 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21661 wxWindow
*arg2
= (wxWindow
*) 0 ;
21663 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21664 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21665 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21666 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21667 long arg6
= (long) wxBK_DEFAULT
;
21668 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21669 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21681 bool temp7
= false ;
21682 PyObject
* obj0
= 0 ;
21683 PyObject
* obj1
= 0 ;
21684 PyObject
* obj2
= 0 ;
21685 PyObject
* obj3
= 0 ;
21686 PyObject
* obj4
= 0 ;
21687 PyObject
* obj5
= 0 ;
21688 PyObject
* obj6
= 0 ;
21689 char * kwnames
[] = {
21690 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21695 if (!SWIG_IsOK(res1
)) {
21696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21698 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21699 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21700 if (!SWIG_IsOK(res2
)) {
21701 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21703 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21704 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21705 if (!SWIG_IsOK(ecode3
)) {
21706 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
21708 arg3
= static_cast< int >(val3
);
21712 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21718 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21722 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21723 if (!SWIG_IsOK(ecode6
)) {
21724 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
21726 arg6
= static_cast< long >(val6
);
21730 arg7
= wxString_in_helper(obj6
);
21731 if (arg7
== NULL
) SWIG_fail
;
21736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21737 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21738 wxPyEndAllowThreads(__tstate
);
21739 if (PyErr_Occurred()) SWIG_fail
;
21742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21758 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21759 PyObject
*resultobj
= 0;
21760 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21762 wxWindow
*arg3
= (wxWindow
*) 0 ;
21763 wxString
*arg4
= 0 ;
21764 bool arg5
= (bool) false ;
21765 int arg6
= (int) wxNOT_FOUND
;
21773 bool temp4
= false ;
21778 PyObject
* obj0
= 0 ;
21779 PyObject
* obj1
= 0 ;
21780 PyObject
* obj2
= 0 ;
21781 PyObject
* obj3
= 0 ;
21782 PyObject
* obj4
= 0 ;
21783 PyObject
* obj5
= 0 ;
21784 char * kwnames
[] = {
21785 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21790 if (!SWIG_IsOK(res1
)) {
21791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21793 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21794 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21795 if (!SWIG_IsOK(ecode2
)) {
21796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
21798 arg2
= static_cast< size_t >(val2
);
21799 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21800 if (!SWIG_IsOK(res3
)) {
21801 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
21803 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
21805 arg4
= wxString_in_helper(obj3
);
21806 if (arg4
== NULL
) SWIG_fail
;
21810 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
21811 if (!SWIG_IsOK(ecode5
)) {
21812 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
21814 arg5
= static_cast< bool >(val5
);
21817 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21818 if (!SWIG_IsOK(ecode6
)) {
21819 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
21821 arg6
= static_cast< int >(val6
);
21824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21825 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
21826 wxPyEndAllowThreads(__tstate
);
21827 if (PyErr_Occurred()) SWIG_fail
;
21830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21846 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21847 PyObject
*resultobj
= 0;
21848 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21849 wxWindow
*arg2
= (wxWindow
*) 0 ;
21850 wxString
*arg3
= 0 ;
21851 bool arg4
= (bool) false ;
21852 int arg5
= (int) wxNOT_FOUND
;
21858 bool temp3
= false ;
21863 PyObject
* obj0
= 0 ;
21864 PyObject
* obj1
= 0 ;
21865 PyObject
* obj2
= 0 ;
21866 PyObject
* obj3
= 0 ;
21867 PyObject
* obj4
= 0 ;
21868 char * kwnames
[] = {
21869 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21874 if (!SWIG_IsOK(res1
)) {
21875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21877 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21878 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21879 if (!SWIG_IsOK(res2
)) {
21880 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
21882 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21884 arg3
= wxString_in_helper(obj2
);
21885 if (arg3
== NULL
) SWIG_fail
;
21889 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
21890 if (!SWIG_IsOK(ecode4
)) {
21891 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
21893 arg4
= static_cast< bool >(val4
);
21896 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21897 if (!SWIG_IsOK(ecode5
)) {
21898 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
21900 arg5
= static_cast< int >(val5
);
21903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21904 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
21905 wxPyEndAllowThreads(__tstate
);
21906 if (PyErr_Occurred()) SWIG_fail
;
21909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21925 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21926 PyObject
*resultobj
= 0;
21927 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21934 PyObject
* obj0
= 0 ;
21935 PyObject
* obj1
= 0 ;
21936 char * kwnames
[] = {
21937 (char *) "self",(char *) "pos", NULL
21940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21942 if (!SWIG_IsOK(res1
)) {
21943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21945 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21946 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21947 if (!SWIG_IsOK(ecode2
)) {
21948 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
21950 arg2
= static_cast< size_t >(val2
);
21952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21953 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
21954 wxPyEndAllowThreads(__tstate
);
21955 if (PyErr_Occurred()) SWIG_fail
;
21958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21966 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21967 PyObject
*resultobj
= 0;
21968 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21970 bool arg3
= (bool) true ;
21978 PyObject
* obj0
= 0 ;
21979 PyObject
* obj1
= 0 ;
21980 PyObject
* obj2
= 0 ;
21981 char * kwnames
[] = {
21982 (char *) "self",(char *) "pos",(char *) "expand", NULL
21985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21987 if (!SWIG_IsOK(res1
)) {
21988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
21990 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21991 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21992 if (!SWIG_IsOK(ecode2
)) {
21993 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
21995 arg2
= static_cast< size_t >(val2
);
21997 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21998 if (!SWIG_IsOK(ecode3
)) {
21999 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
22001 arg3
= static_cast< bool >(val3
);
22004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22005 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
22006 wxPyEndAllowThreads(__tstate
);
22007 if (PyErr_Occurred()) SWIG_fail
;
22010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22018 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22019 PyObject
*resultobj
= 0;
22020 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22027 PyObject
* obj0
= 0 ;
22028 PyObject
* obj1
= 0 ;
22029 char * kwnames
[] = {
22030 (char *) "self",(char *) "pos", NULL
22033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22035 if (!SWIG_IsOK(res1
)) {
22036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22038 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22039 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22040 if (!SWIG_IsOK(ecode2
)) {
22041 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
22043 arg2
= static_cast< size_t >(val2
);
22045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22046 result
= (bool)(arg1
)->CollapseNode(arg2
);
22047 wxPyEndAllowThreads(__tstate
);
22048 if (PyErr_Occurred()) SWIG_fail
;
22051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22059 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22060 PyObject
*resultobj
= 0;
22061 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22068 PyObject
* obj0
= 0 ;
22069 PyObject
* obj1
= 0 ;
22070 char * kwnames
[] = {
22071 (char *) "self",(char *) "pos", NULL
22074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22076 if (!SWIG_IsOK(res1
)) {
22077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22079 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22080 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22081 if (!SWIG_IsOK(ecode2
)) {
22082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22084 arg2
= static_cast< size_t >(val2
);
22086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22087 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
22088 wxPyEndAllowThreads(__tstate
);
22089 if (PyErr_Occurred()) SWIG_fail
;
22091 resultobj
= SWIG_From_int(static_cast< int >(result
));
22098 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22099 PyObject
*resultobj
= 0;
22100 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22101 wxTreeCtrl
*result
= 0 ;
22104 PyObject
*swig_obj
[1] ;
22106 if (!args
) SWIG_fail
;
22107 swig_obj
[0] = args
;
22108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22109 if (!SWIG_IsOK(res1
)) {
22110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22112 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22115 result
= (wxTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
22116 wxPyEndAllowThreads(__tstate
);
22117 if (PyErr_Occurred()) SWIG_fail
;
22119 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeCtrl
, 0 | 0 );
22126 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22128 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22129 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
22130 return SWIG_Py_Void();
22133 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22134 return SWIG_Python_InitShadowInstance(args
);
22137 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22138 PyObject
*resultobj
= 0;
22139 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22140 int arg2
= (int) 0 ;
22141 int arg3
= (int) wxNOT_FOUND
;
22142 int arg4
= (int) wxNOT_FOUND
;
22143 wxTreebookEvent
*result
= 0 ;
22152 PyObject
* obj0
= 0 ;
22153 PyObject
* obj1
= 0 ;
22154 PyObject
* obj2
= 0 ;
22155 PyObject
* obj3
= 0 ;
22156 char * kwnames
[] = {
22157 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22162 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22163 if (!SWIG_IsOK(ecode1
)) {
22164 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22166 arg1
= static_cast< wxEventType
>(val1
);
22169 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22170 if (!SWIG_IsOK(ecode2
)) {
22171 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22173 arg2
= static_cast< int >(val2
);
22176 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22177 if (!SWIG_IsOK(ecode3
)) {
22178 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22180 arg3
= static_cast< int >(val3
);
22183 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22184 if (!SWIG_IsOK(ecode4
)) {
22185 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22187 arg4
= static_cast< int >(val4
);
22190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22191 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
22192 wxPyEndAllowThreads(__tstate
);
22193 if (PyErr_Occurred()) SWIG_fail
;
22195 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
22202 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22204 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22205 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
22206 return SWIG_Py_Void();
22209 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22210 return SWIG_Python_InitShadowInstance(args
);
22213 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22214 PyObject
*resultobj
= 0;
22215 wxWindow
*arg1
= (wxWindow
*) 0 ;
22217 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22218 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22219 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22220 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22221 long arg5
= (long) wxBK_DEFAULT
;
22222 wxString
const &arg6_defvalue
= wxPyEmptyString
;
22223 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22224 wxToolbook
*result
= 0 ;
22233 bool temp6
= false ;
22234 PyObject
* obj0
= 0 ;
22235 PyObject
* obj1
= 0 ;
22236 PyObject
* obj2
= 0 ;
22237 PyObject
* obj3
= 0 ;
22238 PyObject
* obj4
= 0 ;
22239 PyObject
* obj5
= 0 ;
22240 char * kwnames
[] = {
22241 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22246 if (!SWIG_IsOK(res1
)) {
22247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22249 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22250 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22251 if (!SWIG_IsOK(ecode2
)) {
22252 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22254 arg2
= static_cast< int >(val2
);
22258 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22264 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22268 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22269 if (!SWIG_IsOK(ecode5
)) {
22270 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22272 arg5
= static_cast< long >(val5
);
22276 arg6
= wxString_in_helper(obj5
);
22277 if (arg6
== NULL
) SWIG_fail
;
22282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22283 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22284 wxPyEndAllowThreads(__tstate
);
22285 if (PyErr_Occurred()) SWIG_fail
;
22287 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22302 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22303 PyObject
*resultobj
= 0;
22304 wxToolbook
*result
= 0 ;
22306 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22309 result
= (wxToolbook
*)new wxToolbook();
22310 wxPyEndAllowThreads(__tstate
);
22311 if (PyErr_Occurred()) SWIG_fail
;
22313 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22320 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22321 PyObject
*resultobj
= 0;
22322 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22323 wxWindow
*arg2
= (wxWindow
*) 0 ;
22325 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22326 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22327 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22328 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22329 long arg6
= (long) 0 ;
22330 wxString
const &arg7_defvalue
= wxEmptyString
;
22331 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22343 bool temp7
= false ;
22344 PyObject
* obj0
= 0 ;
22345 PyObject
* obj1
= 0 ;
22346 PyObject
* obj2
= 0 ;
22347 PyObject
* obj3
= 0 ;
22348 PyObject
* obj4
= 0 ;
22349 PyObject
* obj5
= 0 ;
22350 PyObject
* obj6
= 0 ;
22351 char * kwnames
[] = {
22352 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22357 if (!SWIG_IsOK(res1
)) {
22358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22360 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22361 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22362 if (!SWIG_IsOK(res2
)) {
22363 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22365 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22366 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22367 if (!SWIG_IsOK(ecode3
)) {
22368 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22370 arg3
= static_cast< int >(val3
);
22374 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22380 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22384 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22385 if (!SWIG_IsOK(ecode6
)) {
22386 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22388 arg6
= static_cast< long >(val6
);
22392 arg7
= wxString_in_helper(obj6
);
22393 if (arg7
== NULL
) SWIG_fail
;
22398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22399 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22400 wxPyEndAllowThreads(__tstate
);
22401 if (PyErr_Occurred()) SWIG_fail
;
22404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22420 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22421 PyObject
*resultobj
= 0;
22422 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22423 wxToolBarBase
*result
= 0 ;
22426 PyObject
*swig_obj
[1] ;
22428 if (!args
) SWIG_fail
;
22429 swig_obj
[0] = args
;
22430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22431 if (!SWIG_IsOK(res1
)) {
22432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22434 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22437 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22438 wxPyEndAllowThreads(__tstate
);
22439 if (PyErr_Occurred()) SWIG_fail
;
22442 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22450 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22451 PyObject
*resultobj
= 0;
22452 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22455 PyObject
*swig_obj
[1] ;
22457 if (!args
) SWIG_fail
;
22458 swig_obj
[0] = args
;
22459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22460 if (!SWIG_IsOK(res1
)) {
22461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22463 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22467 wxPyEndAllowThreads(__tstate
);
22468 if (PyErr_Occurred()) SWIG_fail
;
22470 resultobj
= SWIG_Py_Void();
22477 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22479 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22480 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22481 return SWIG_Py_Void();
22484 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22485 return SWIG_Python_InitShadowInstance(args
);
22488 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22489 PyObject
*resultobj
= 0;
22490 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22491 int arg2
= (int) 0 ;
22492 int arg3
= (int) wxNOT_FOUND
;
22493 int arg4
= (int) wxNOT_FOUND
;
22494 wxToolbookEvent
*result
= 0 ;
22503 PyObject
* obj0
= 0 ;
22504 PyObject
* obj1
= 0 ;
22505 PyObject
* obj2
= 0 ;
22506 PyObject
* obj3
= 0 ;
22507 char * kwnames
[] = {
22508 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22513 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22514 if (!SWIG_IsOK(ecode1
)) {
22515 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22517 arg1
= static_cast< wxEventType
>(val1
);
22520 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22521 if (!SWIG_IsOK(ecode2
)) {
22522 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22524 arg2
= static_cast< int >(val2
);
22527 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22528 if (!SWIG_IsOK(ecode3
)) {
22529 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22531 arg3
= static_cast< int >(val3
);
22534 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22535 if (!SWIG_IsOK(ecode4
)) {
22536 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22538 arg4
= static_cast< int >(val4
);
22541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22542 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22543 wxPyEndAllowThreads(__tstate
);
22544 if (PyErr_Occurred()) SWIG_fail
;
22546 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22553 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22555 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22556 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22557 return SWIG_Py_Void();
22560 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22561 return SWIG_Python_InitShadowInstance(args
);
22564 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22565 PyObject
*resultobj
= 0;
22566 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22570 PyObject
*swig_obj
[1] ;
22572 if (!args
) SWIG_fail
;
22573 swig_obj
[0] = args
;
22574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22575 if (!SWIG_IsOK(res1
)) {
22576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22578 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22581 result
= (int)(arg1
)->GetId();
22582 wxPyEndAllowThreads(__tstate
);
22583 if (PyErr_Occurred()) SWIG_fail
;
22585 resultobj
= SWIG_From_int(static_cast< int >(result
));
22592 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22593 PyObject
*resultobj
= 0;
22594 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22595 wxControl
*result
= 0 ;
22598 PyObject
*swig_obj
[1] ;
22600 if (!args
) SWIG_fail
;
22601 swig_obj
[0] = args
;
22602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22603 if (!SWIG_IsOK(res1
)) {
22604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22606 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22609 result
= (wxControl
*)(arg1
)->GetControl();
22610 wxPyEndAllowThreads(__tstate
);
22611 if (PyErr_Occurred()) SWIG_fail
;
22614 resultobj
= wxPyMake_wxObject(result
, 0);
22622 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22623 PyObject
*resultobj
= 0;
22624 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22625 wxToolBarBase
*result
= 0 ;
22628 PyObject
*swig_obj
[1] ;
22630 if (!args
) SWIG_fail
;
22631 swig_obj
[0] = args
;
22632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22633 if (!SWIG_IsOK(res1
)) {
22634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22636 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22639 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
22640 wxPyEndAllowThreads(__tstate
);
22641 if (PyErr_Occurred()) SWIG_fail
;
22644 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22652 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22653 PyObject
*resultobj
= 0;
22654 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22658 PyObject
*swig_obj
[1] ;
22660 if (!args
) SWIG_fail
;
22661 swig_obj
[0] = args
;
22662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22663 if (!SWIG_IsOK(res1
)) {
22664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22666 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22669 result
= (int)(arg1
)->IsButton();
22670 wxPyEndAllowThreads(__tstate
);
22671 if (PyErr_Occurred()) SWIG_fail
;
22673 resultobj
= SWIG_From_int(static_cast< int >(result
));
22680 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22681 PyObject
*resultobj
= 0;
22682 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22686 PyObject
*swig_obj
[1] ;
22688 if (!args
) SWIG_fail
;
22689 swig_obj
[0] = args
;
22690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22691 if (!SWIG_IsOK(res1
)) {
22692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22694 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22697 result
= (int)(arg1
)->IsControl();
22698 wxPyEndAllowThreads(__tstate
);
22699 if (PyErr_Occurred()) SWIG_fail
;
22701 resultobj
= SWIG_From_int(static_cast< int >(result
));
22708 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22709 PyObject
*resultobj
= 0;
22710 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22714 PyObject
*swig_obj
[1] ;
22716 if (!args
) SWIG_fail
;
22717 swig_obj
[0] = args
;
22718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22719 if (!SWIG_IsOK(res1
)) {
22720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22722 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22725 result
= (int)(arg1
)->IsSeparator();
22726 wxPyEndAllowThreads(__tstate
);
22727 if (PyErr_Occurred()) SWIG_fail
;
22729 resultobj
= SWIG_From_int(static_cast< int >(result
));
22736 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22737 PyObject
*resultobj
= 0;
22738 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22742 PyObject
*swig_obj
[1] ;
22744 if (!args
) SWIG_fail
;
22745 swig_obj
[0] = args
;
22746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22747 if (!SWIG_IsOK(res1
)) {
22748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22750 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22753 result
= (int)(arg1
)->GetStyle();
22754 wxPyEndAllowThreads(__tstate
);
22755 if (PyErr_Occurred()) SWIG_fail
;
22757 resultobj
= SWIG_From_int(static_cast< int >(result
));
22764 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22765 PyObject
*resultobj
= 0;
22766 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22770 PyObject
*swig_obj
[1] ;
22772 if (!args
) SWIG_fail
;
22773 swig_obj
[0] = args
;
22774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22775 if (!SWIG_IsOK(res1
)) {
22776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22778 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22781 result
= (wxItemKind
)(arg1
)->GetKind();
22782 wxPyEndAllowThreads(__tstate
);
22783 if (PyErr_Occurred()) SWIG_fail
;
22785 resultobj
= SWIG_From_int(static_cast< int >(result
));
22792 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22793 PyObject
*resultobj
= 0;
22794 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22798 PyObject
*swig_obj
[1] ;
22800 if (!args
) SWIG_fail
;
22801 swig_obj
[0] = args
;
22802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22803 if (!SWIG_IsOK(res1
)) {
22804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22806 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22809 result
= (bool)(arg1
)->IsEnabled();
22810 wxPyEndAllowThreads(__tstate
);
22811 if (PyErr_Occurred()) SWIG_fail
;
22814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22822 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22823 PyObject
*resultobj
= 0;
22824 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22828 PyObject
*swig_obj
[1] ;
22830 if (!args
) SWIG_fail
;
22831 swig_obj
[0] = args
;
22832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22833 if (!SWIG_IsOK(res1
)) {
22834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22836 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22839 result
= (bool)(arg1
)->IsToggled();
22840 wxPyEndAllowThreads(__tstate
);
22841 if (PyErr_Occurred()) SWIG_fail
;
22844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22852 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22853 PyObject
*resultobj
= 0;
22854 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22858 PyObject
*swig_obj
[1] ;
22860 if (!args
) SWIG_fail
;
22861 swig_obj
[0] = args
;
22862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22863 if (!SWIG_IsOK(res1
)) {
22864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22866 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22869 result
= (bool)(arg1
)->CanBeToggled();
22870 wxPyEndAllowThreads(__tstate
);
22871 if (PyErr_Occurred()) SWIG_fail
;
22874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22882 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22883 PyObject
*resultobj
= 0;
22884 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22885 wxBitmap
*result
= 0 ;
22888 PyObject
*swig_obj
[1] ;
22890 if (!args
) SWIG_fail
;
22891 swig_obj
[0] = args
;
22892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22893 if (!SWIG_IsOK(res1
)) {
22894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22896 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22900 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
22901 result
= (wxBitmap
*) &_result_ref
;
22903 wxPyEndAllowThreads(__tstate
);
22904 if (PyErr_Occurred()) SWIG_fail
;
22907 wxBitmap
* resultptr
= new wxBitmap(*result
);
22908 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22916 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22917 PyObject
*resultobj
= 0;
22918 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22919 wxBitmap
*result
= 0 ;
22922 PyObject
*swig_obj
[1] ;
22924 if (!args
) SWIG_fail
;
22925 swig_obj
[0] = args
;
22926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22927 if (!SWIG_IsOK(res1
)) {
22928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22930 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22934 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
22935 result
= (wxBitmap
*) &_result_ref
;
22937 wxPyEndAllowThreads(__tstate
);
22938 if (PyErr_Occurred()) SWIG_fail
;
22941 wxBitmap
* resultptr
= new wxBitmap(*result
);
22942 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22950 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22951 PyObject
*resultobj
= 0;
22952 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22956 PyObject
*swig_obj
[1] ;
22958 if (!args
) SWIG_fail
;
22959 swig_obj
[0] = args
;
22960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22961 if (!SWIG_IsOK(res1
)) {
22962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22964 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22967 result
= (arg1
)->GetBitmap();
22968 wxPyEndAllowThreads(__tstate
);
22969 if (PyErr_Occurred()) SWIG_fail
;
22971 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
22978 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22979 PyObject
*resultobj
= 0;
22980 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22984 PyObject
*swig_obj
[1] ;
22986 if (!args
) SWIG_fail
;
22987 swig_obj
[0] = args
;
22988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22989 if (!SWIG_IsOK(res1
)) {
22990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22992 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22995 result
= (arg1
)->GetLabel();
22996 wxPyEndAllowThreads(__tstate
);
22997 if (PyErr_Occurred()) SWIG_fail
;
23001 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23003 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23012 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23013 PyObject
*resultobj
= 0;
23014 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23018 PyObject
*swig_obj
[1] ;
23020 if (!args
) SWIG_fail
;
23021 swig_obj
[0] = args
;
23022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23023 if (!SWIG_IsOK(res1
)) {
23024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23026 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23029 result
= (arg1
)->GetShortHelp();
23030 wxPyEndAllowThreads(__tstate
);
23031 if (PyErr_Occurred()) SWIG_fail
;
23035 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23037 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23046 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23047 PyObject
*resultobj
= 0;
23048 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23052 PyObject
*swig_obj
[1] ;
23054 if (!args
) SWIG_fail
;
23055 swig_obj
[0] = args
;
23056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23057 if (!SWIG_IsOK(res1
)) {
23058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23060 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23063 result
= (arg1
)->GetLongHelp();
23064 wxPyEndAllowThreads(__tstate
);
23065 if (PyErr_Occurred()) SWIG_fail
;
23069 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23071 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23080 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23081 PyObject
*resultobj
= 0;
23082 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23089 PyObject
* obj0
= 0 ;
23090 PyObject
* obj1
= 0 ;
23091 char * kwnames
[] = {
23092 (char *) "self",(char *) "enable", NULL
23095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23097 if (!SWIG_IsOK(res1
)) {
23098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23100 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23101 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23102 if (!SWIG_IsOK(ecode2
)) {
23103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23105 arg2
= static_cast< bool >(val2
);
23107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23108 result
= (bool)(arg1
)->Enable(arg2
);
23109 wxPyEndAllowThreads(__tstate
);
23110 if (PyErr_Occurred()) SWIG_fail
;
23113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23121 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23122 PyObject
*resultobj
= 0;
23123 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23126 PyObject
*swig_obj
[1] ;
23128 if (!args
) SWIG_fail
;
23129 swig_obj
[0] = args
;
23130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23131 if (!SWIG_IsOK(res1
)) {
23132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23134 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23138 wxPyEndAllowThreads(__tstate
);
23139 if (PyErr_Occurred()) SWIG_fail
;
23141 resultobj
= SWIG_Py_Void();
23148 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23149 PyObject
*resultobj
= 0;
23150 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23157 PyObject
* obj0
= 0 ;
23158 PyObject
* obj1
= 0 ;
23159 char * kwnames
[] = {
23160 (char *) "self",(char *) "toggle", NULL
23163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23165 if (!SWIG_IsOK(res1
)) {
23166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23168 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23169 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23170 if (!SWIG_IsOK(ecode2
)) {
23171 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23173 arg2
= static_cast< bool >(val2
);
23175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23176 result
= (bool)(arg1
)->SetToggle(arg2
);
23177 wxPyEndAllowThreads(__tstate
);
23178 if (PyErr_Occurred()) SWIG_fail
;
23181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23189 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23190 PyObject
*resultobj
= 0;
23191 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23192 wxString
*arg2
= 0 ;
23196 bool temp2
= false ;
23197 PyObject
* obj0
= 0 ;
23198 PyObject
* obj1
= 0 ;
23199 char * kwnames
[] = {
23200 (char *) "self",(char *) "help", NULL
23203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23205 if (!SWIG_IsOK(res1
)) {
23206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23208 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23210 arg2
= wxString_in_helper(obj1
);
23211 if (arg2
== NULL
) SWIG_fail
;
23215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23216 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
23217 wxPyEndAllowThreads(__tstate
);
23218 if (PyErr_Occurred()) SWIG_fail
;
23221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23237 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23238 PyObject
*resultobj
= 0;
23239 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23240 wxString
*arg2
= 0 ;
23244 bool temp2
= false ;
23245 PyObject
* obj0
= 0 ;
23246 PyObject
* obj1
= 0 ;
23247 char * kwnames
[] = {
23248 (char *) "self",(char *) "help", NULL
23251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23253 if (!SWIG_IsOK(res1
)) {
23254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23256 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23258 arg2
= wxString_in_helper(obj1
);
23259 if (arg2
== NULL
) SWIG_fail
;
23263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23264 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
23265 wxPyEndAllowThreads(__tstate
);
23266 if (PyErr_Occurred()) SWIG_fail
;
23269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23285 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23286 PyObject
*resultobj
= 0;
23287 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23288 wxBitmap
*arg2
= 0 ;
23293 PyObject
* obj0
= 0 ;
23294 PyObject
* obj1
= 0 ;
23295 char * kwnames
[] = {
23296 (char *) "self",(char *) "bmp", NULL
23299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23301 if (!SWIG_IsOK(res1
)) {
23302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23304 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23305 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23306 if (!SWIG_IsOK(res2
)) {
23307 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23310 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23312 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23315 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23316 wxPyEndAllowThreads(__tstate
);
23317 if (PyErr_Occurred()) SWIG_fail
;
23319 resultobj
= SWIG_Py_Void();
23326 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23327 PyObject
*resultobj
= 0;
23328 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23329 wxBitmap
*arg2
= 0 ;
23334 PyObject
* obj0
= 0 ;
23335 PyObject
* obj1
= 0 ;
23336 char * kwnames
[] = {
23337 (char *) "self",(char *) "bmp", NULL
23340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23342 if (!SWIG_IsOK(res1
)) {
23343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23345 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23346 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23347 if (!SWIG_IsOK(res2
)) {
23348 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23351 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23353 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23356 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23357 wxPyEndAllowThreads(__tstate
);
23358 if (PyErr_Occurred()) SWIG_fail
;
23360 resultobj
= SWIG_Py_Void();
23367 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23368 PyObject
*resultobj
= 0;
23369 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23370 wxString
*arg2
= 0 ;
23373 bool temp2
= false ;
23374 PyObject
* obj0
= 0 ;
23375 PyObject
* obj1
= 0 ;
23376 char * kwnames
[] = {
23377 (char *) "self",(char *) "label", NULL
23380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23382 if (!SWIG_IsOK(res1
)) {
23383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23385 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23387 arg2
= wxString_in_helper(obj1
);
23388 if (arg2
== NULL
) SWIG_fail
;
23392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23393 (arg1
)->SetLabel((wxString
const &)*arg2
);
23394 wxPyEndAllowThreads(__tstate
);
23395 if (PyErr_Occurred()) SWIG_fail
;
23397 resultobj
= SWIG_Py_Void();
23412 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23413 PyObject
*resultobj
= 0;
23414 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23417 PyObject
*swig_obj
[1] ;
23419 if (!args
) SWIG_fail
;
23420 swig_obj
[0] = args
;
23421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23422 if (!SWIG_IsOK(res1
)) {
23423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23425 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23429 wxPyEndAllowThreads(__tstate
);
23430 if (PyErr_Occurred()) SWIG_fail
;
23432 resultobj
= SWIG_Py_Void();
23439 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23440 PyObject
*resultobj
= 0;
23441 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23442 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23447 PyObject
* obj0
= 0 ;
23448 PyObject
* obj1
= 0 ;
23449 char * kwnames
[] = {
23450 (char *) "self",(char *) "tbar", NULL
23453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23455 if (!SWIG_IsOK(res1
)) {
23456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23458 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23459 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23460 if (!SWIG_IsOK(res2
)) {
23461 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23463 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23466 (arg1
)->Attach(arg2
);
23467 wxPyEndAllowThreads(__tstate
);
23468 if (PyErr_Occurred()) SWIG_fail
;
23470 resultobj
= SWIG_Py_Void();
23477 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23478 PyObject
*resultobj
= 0;
23479 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23480 PyObject
*result
= 0 ;
23483 PyObject
*swig_obj
[1] ;
23485 if (!args
) SWIG_fail
;
23486 swig_obj
[0] = args
;
23487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23488 if (!SWIG_IsOK(res1
)) {
23489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23491 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23494 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23495 wxPyEndAllowThreads(__tstate
);
23496 if (PyErr_Occurred()) SWIG_fail
;
23498 resultobj
= result
;
23505 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23506 PyObject
*resultobj
= 0;
23507 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23508 PyObject
*arg2
= (PyObject
*) 0 ;
23511 PyObject
* obj0
= 0 ;
23512 PyObject
* obj1
= 0 ;
23513 char * kwnames
[] = {
23514 (char *) "self",(char *) "clientData", NULL
23517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23519 if (!SWIG_IsOK(res1
)) {
23520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23522 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23526 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23527 wxPyEndAllowThreads(__tstate
);
23528 if (PyErr_Occurred()) SWIG_fail
;
23530 resultobj
= SWIG_Py_Void();
23537 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23539 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23540 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23541 return SWIG_Py_Void();
23544 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23545 PyObject
*resultobj
= 0;
23546 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23548 wxString
*arg3
= 0 ;
23549 wxBitmap
*arg4
= 0 ;
23550 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23551 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23552 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23553 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23554 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23555 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23556 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23557 PyObject
*arg9
= (PyObject
*) NULL
;
23558 wxToolBarToolBase
*result
= 0 ;
23563 bool temp3
= false ;
23570 bool temp7
= false ;
23571 bool temp8
= false ;
23572 PyObject
* obj0
= 0 ;
23573 PyObject
* obj1
= 0 ;
23574 PyObject
* obj2
= 0 ;
23575 PyObject
* obj3
= 0 ;
23576 PyObject
* obj4
= 0 ;
23577 PyObject
* obj5
= 0 ;
23578 PyObject
* obj6
= 0 ;
23579 PyObject
* obj7
= 0 ;
23580 PyObject
* obj8
= 0 ;
23581 char * kwnames
[] = {
23582 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23587 if (!SWIG_IsOK(res1
)) {
23588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23590 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23591 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23592 if (!SWIG_IsOK(ecode2
)) {
23593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23595 arg2
= static_cast< int >(val2
);
23597 arg3
= wxString_in_helper(obj2
);
23598 if (arg3
== NULL
) SWIG_fail
;
23601 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23602 if (!SWIG_IsOK(res4
)) {
23603 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23606 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23608 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23610 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23611 if (!SWIG_IsOK(res5
)) {
23612 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23615 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23617 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23620 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23621 if (!SWIG_IsOK(ecode6
)) {
23622 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23624 arg6
= static_cast< wxItemKind
>(val6
);
23628 arg7
= wxString_in_helper(obj6
);
23629 if (arg7
== NULL
) SWIG_fail
;
23635 arg8
= wxString_in_helper(obj7
);
23636 if (arg8
== NULL
) SWIG_fail
;
23644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23645 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
23646 wxPyEndAllowThreads(__tstate
);
23647 if (PyErr_Occurred()) SWIG_fail
;
23650 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23682 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23683 PyObject
*resultobj
= 0;
23684 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23687 wxString
*arg4
= 0 ;
23688 wxBitmap
*arg5
= 0 ;
23689 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
23690 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
23691 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
23692 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23693 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23694 wxString
const &arg9_defvalue
= wxPyEmptyString
;
23695 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23696 PyObject
*arg10
= (PyObject
*) NULL
;
23697 wxToolBarToolBase
*result
= 0 ;
23704 bool temp4
= false ;
23711 bool temp8
= false ;
23712 bool temp9
= false ;
23713 PyObject
* obj0
= 0 ;
23714 PyObject
* obj1
= 0 ;
23715 PyObject
* obj2
= 0 ;
23716 PyObject
* obj3
= 0 ;
23717 PyObject
* obj4
= 0 ;
23718 PyObject
* obj5
= 0 ;
23719 PyObject
* obj6
= 0 ;
23720 PyObject
* obj7
= 0 ;
23721 PyObject
* obj8
= 0 ;
23722 PyObject
* obj9
= 0 ;
23723 char * kwnames
[] = {
23724 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
23728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23729 if (!SWIG_IsOK(res1
)) {
23730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23732 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23733 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23734 if (!SWIG_IsOK(ecode2
)) {
23735 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
23737 arg2
= static_cast< size_t >(val2
);
23738 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23739 if (!SWIG_IsOK(ecode3
)) {
23740 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
23742 arg3
= static_cast< int >(val3
);
23744 arg4
= wxString_in_helper(obj3
);
23745 if (arg4
== NULL
) SWIG_fail
;
23748 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23749 if (!SWIG_IsOK(res5
)) {
23750 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23753 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23755 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23757 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23758 if (!SWIG_IsOK(res6
)) {
23759 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23762 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23764 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
23767 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
23768 if (!SWIG_IsOK(ecode7
)) {
23769 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
23771 arg7
= static_cast< wxItemKind
>(val7
);
23775 arg8
= wxString_in_helper(obj7
);
23776 if (arg8
== NULL
) SWIG_fail
;
23782 arg9
= wxString_in_helper(obj8
);
23783 if (arg9
== NULL
) SWIG_fail
;
23791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23792 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
23793 wxPyEndAllowThreads(__tstate
);
23794 if (PyErr_Occurred()) SWIG_fail
;
23797 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23829 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23830 PyObject
*resultobj
= 0;
23831 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23832 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
23833 wxToolBarToolBase
*result
= 0 ;
23838 PyObject
* obj0
= 0 ;
23839 PyObject
* obj1
= 0 ;
23840 char * kwnames
[] = {
23841 (char *) "self",(char *) "tool", NULL
23844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23846 if (!SWIG_IsOK(res1
)) {
23847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23849 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23850 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23851 if (!SWIG_IsOK(res2
)) {
23852 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
23854 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
23856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23857 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
23858 wxPyEndAllowThreads(__tstate
);
23859 if (PyErr_Occurred()) SWIG_fail
;
23862 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23870 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23871 PyObject
*resultobj
= 0;
23872 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23874 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
23875 wxToolBarToolBase
*result
= 0 ;
23882 PyObject
* obj0
= 0 ;
23883 PyObject
* obj1
= 0 ;
23884 PyObject
* obj2
= 0 ;
23885 char * kwnames
[] = {
23886 (char *) "self",(char *) "pos",(char *) "tool", NULL
23889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23891 if (!SWIG_IsOK(res1
)) {
23892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23894 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23895 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23896 if (!SWIG_IsOK(ecode2
)) {
23897 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
23899 arg2
= static_cast< size_t >(val2
);
23900 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23901 if (!SWIG_IsOK(res3
)) {
23902 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
23904 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
23906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23907 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
23908 wxPyEndAllowThreads(__tstate
);
23909 if (PyErr_Occurred()) SWIG_fail
;
23912 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23920 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23921 PyObject
*resultobj
= 0;
23922 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23923 wxControl
*arg2
= (wxControl
*) 0 ;
23924 wxToolBarToolBase
*result
= 0 ;
23929 PyObject
* obj0
= 0 ;
23930 PyObject
* obj1
= 0 ;
23931 char * kwnames
[] = {
23932 (char *) "self",(char *) "control", NULL
23935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23937 if (!SWIG_IsOK(res1
)) {
23938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23940 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23941 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
23942 if (!SWIG_IsOK(res2
)) {
23943 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
23945 arg2
= reinterpret_cast< wxControl
* >(argp2
);
23947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23948 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
23949 wxPyEndAllowThreads(__tstate
);
23950 if (PyErr_Occurred()) SWIG_fail
;
23953 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23961 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23962 PyObject
*resultobj
= 0;
23963 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23965 wxControl
*arg3
= (wxControl
*) 0 ;
23966 wxToolBarToolBase
*result
= 0 ;
23973 PyObject
* obj0
= 0 ;
23974 PyObject
* obj1
= 0 ;
23975 PyObject
* obj2
= 0 ;
23976 char * kwnames
[] = {
23977 (char *) "self",(char *) "pos",(char *) "control", NULL
23980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23982 if (!SWIG_IsOK(res1
)) {
23983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23985 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23986 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23987 if (!SWIG_IsOK(ecode2
)) {
23988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
23990 arg2
= static_cast< size_t >(val2
);
23991 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
23992 if (!SWIG_IsOK(res3
)) {
23993 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
23995 arg3
= reinterpret_cast< wxControl
* >(argp3
);
23997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23998 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
23999 wxPyEndAllowThreads(__tstate
);
24000 if (PyErr_Occurred()) SWIG_fail
;
24003 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24011 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24012 PyObject
*resultobj
= 0;
24013 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24015 wxControl
*result
= 0 ;
24020 PyObject
* obj0
= 0 ;
24021 PyObject
* obj1
= 0 ;
24022 char * kwnames
[] = {
24023 (char *) "self",(char *) "id", NULL
24026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24028 if (!SWIG_IsOK(res1
)) {
24029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24031 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24032 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24033 if (!SWIG_IsOK(ecode2
)) {
24034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
24036 arg2
= static_cast< int >(val2
);
24038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24039 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
24040 wxPyEndAllowThreads(__tstate
);
24041 if (PyErr_Occurred()) SWIG_fail
;
24044 resultobj
= wxPyMake_wxObject(result
, 0);
24052 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24053 PyObject
*resultobj
= 0;
24054 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24055 wxToolBarToolBase
*result
= 0 ;
24058 PyObject
*swig_obj
[1] ;
24060 if (!args
) SWIG_fail
;
24061 swig_obj
[0] = args
;
24062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24063 if (!SWIG_IsOK(res1
)) {
24064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24066 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24069 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
24070 wxPyEndAllowThreads(__tstate
);
24071 if (PyErr_Occurred()) SWIG_fail
;
24074 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24082 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24083 PyObject
*resultobj
= 0;
24084 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24086 wxToolBarToolBase
*result
= 0 ;
24091 PyObject
* obj0
= 0 ;
24092 PyObject
* obj1
= 0 ;
24093 char * kwnames
[] = {
24094 (char *) "self",(char *) "pos", NULL
24097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24099 if (!SWIG_IsOK(res1
)) {
24100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24102 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24103 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24104 if (!SWIG_IsOK(ecode2
)) {
24105 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24107 arg2
= static_cast< size_t >(val2
);
24109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24110 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
24111 wxPyEndAllowThreads(__tstate
);
24112 if (PyErr_Occurred()) SWIG_fail
;
24115 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24123 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24124 PyObject
*resultobj
= 0;
24125 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24127 wxToolBarToolBase
*result
= 0 ;
24132 PyObject
* obj0
= 0 ;
24133 PyObject
* obj1
= 0 ;
24134 char * kwnames
[] = {
24135 (char *) "self",(char *) "id", NULL
24138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24140 if (!SWIG_IsOK(res1
)) {
24141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24143 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24144 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24145 if (!SWIG_IsOK(ecode2
)) {
24146 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24148 arg2
= static_cast< int >(val2
);
24150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24151 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
24152 wxPyEndAllowThreads(__tstate
);
24153 if (PyErr_Occurred()) SWIG_fail
;
24156 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24164 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24165 PyObject
*resultobj
= 0;
24166 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24173 PyObject
* obj0
= 0 ;
24174 PyObject
* obj1
= 0 ;
24175 char * kwnames
[] = {
24176 (char *) "self",(char *) "pos", NULL
24179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24181 if (!SWIG_IsOK(res1
)) {
24182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24184 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24185 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24186 if (!SWIG_IsOK(ecode2
)) {
24187 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24189 arg2
= static_cast< size_t >(val2
);
24191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24192 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
24193 wxPyEndAllowThreads(__tstate
);
24194 if (PyErr_Occurred()) SWIG_fail
;
24197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24205 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24206 PyObject
*resultobj
= 0;
24207 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24214 PyObject
* obj0
= 0 ;
24215 PyObject
* obj1
= 0 ;
24216 char * kwnames
[] = {
24217 (char *) "self",(char *) "id", NULL
24220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24222 if (!SWIG_IsOK(res1
)) {
24223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24225 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24226 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24227 if (!SWIG_IsOK(ecode2
)) {
24228 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24230 arg2
= static_cast< int >(val2
);
24232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24233 result
= (bool)(arg1
)->DeleteTool(arg2
);
24234 wxPyEndAllowThreads(__tstate
);
24235 if (PyErr_Occurred()) SWIG_fail
;
24238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24246 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24247 PyObject
*resultobj
= 0;
24248 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24251 PyObject
*swig_obj
[1] ;
24253 if (!args
) SWIG_fail
;
24254 swig_obj
[0] = args
;
24255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24256 if (!SWIG_IsOK(res1
)) {
24257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24259 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24262 (arg1
)->ClearTools();
24263 wxPyEndAllowThreads(__tstate
);
24264 if (PyErr_Occurred()) SWIG_fail
;
24266 resultobj
= SWIG_Py_Void();
24273 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24274 PyObject
*resultobj
= 0;
24275 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24279 PyObject
*swig_obj
[1] ;
24281 if (!args
) SWIG_fail
;
24282 swig_obj
[0] = args
;
24283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24284 if (!SWIG_IsOK(res1
)) {
24285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24287 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24290 result
= (bool)(arg1
)->Realize();
24291 wxPyEndAllowThreads(__tstate
);
24292 if (PyErr_Occurred()) SWIG_fail
;
24295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24303 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24304 PyObject
*resultobj
= 0;
24305 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24314 PyObject
* obj0
= 0 ;
24315 PyObject
* obj1
= 0 ;
24316 PyObject
* obj2
= 0 ;
24317 char * kwnames
[] = {
24318 (char *) "self",(char *) "id",(char *) "enable", NULL
24321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24323 if (!SWIG_IsOK(res1
)) {
24324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24326 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24327 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24328 if (!SWIG_IsOK(ecode2
)) {
24329 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24331 arg2
= static_cast< int >(val2
);
24332 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24333 if (!SWIG_IsOK(ecode3
)) {
24334 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24336 arg3
= static_cast< bool >(val3
);
24338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24339 (arg1
)->EnableTool(arg2
,arg3
);
24340 wxPyEndAllowThreads(__tstate
);
24341 if (PyErr_Occurred()) SWIG_fail
;
24343 resultobj
= SWIG_Py_Void();
24350 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24351 PyObject
*resultobj
= 0;
24352 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24361 PyObject
* obj0
= 0 ;
24362 PyObject
* obj1
= 0 ;
24363 PyObject
* obj2
= 0 ;
24364 char * kwnames
[] = {
24365 (char *) "self",(char *) "id",(char *) "toggle", NULL
24368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24370 if (!SWIG_IsOK(res1
)) {
24371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24373 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24374 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24375 if (!SWIG_IsOK(ecode2
)) {
24376 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24378 arg2
= static_cast< int >(val2
);
24379 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24380 if (!SWIG_IsOK(ecode3
)) {
24381 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24383 arg3
= static_cast< bool >(val3
);
24385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24386 (arg1
)->ToggleTool(arg2
,arg3
);
24387 wxPyEndAllowThreads(__tstate
);
24388 if (PyErr_Occurred()) SWIG_fail
;
24390 resultobj
= SWIG_Py_Void();
24397 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24398 PyObject
*resultobj
= 0;
24399 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24408 PyObject
* obj0
= 0 ;
24409 PyObject
* obj1
= 0 ;
24410 PyObject
* obj2
= 0 ;
24411 char * kwnames
[] = {
24412 (char *) "self",(char *) "id",(char *) "toggle", NULL
24415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24417 if (!SWIG_IsOK(res1
)) {
24418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24420 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24421 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24422 if (!SWIG_IsOK(ecode2
)) {
24423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24425 arg2
= static_cast< int >(val2
);
24426 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24427 if (!SWIG_IsOK(ecode3
)) {
24428 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24430 arg3
= static_cast< bool >(val3
);
24432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24433 (arg1
)->SetToggle(arg2
,arg3
);
24434 wxPyEndAllowThreads(__tstate
);
24435 if (PyErr_Occurred()) SWIG_fail
;
24437 resultobj
= SWIG_Py_Void();
24444 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24445 PyObject
*resultobj
= 0;
24446 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24448 PyObject
*result
= 0 ;
24453 PyObject
* obj0
= 0 ;
24454 PyObject
* obj1
= 0 ;
24455 char * kwnames
[] = {
24456 (char *) "self",(char *) "id", NULL
24459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24461 if (!SWIG_IsOK(res1
)) {
24462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24464 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24465 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24466 if (!SWIG_IsOK(ecode2
)) {
24467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24469 arg2
= static_cast< int >(val2
);
24471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24472 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24473 wxPyEndAllowThreads(__tstate
);
24474 if (PyErr_Occurred()) SWIG_fail
;
24476 resultobj
= result
;
24483 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24484 PyObject
*resultobj
= 0;
24485 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24487 PyObject
*arg3
= (PyObject
*) 0 ;
24492 PyObject
* obj0
= 0 ;
24493 PyObject
* obj1
= 0 ;
24494 PyObject
* obj2
= 0 ;
24495 char * kwnames
[] = {
24496 (char *) "self",(char *) "id",(char *) "clientData", NULL
24499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24501 if (!SWIG_IsOK(res1
)) {
24502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24504 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24505 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24506 if (!SWIG_IsOK(ecode2
)) {
24507 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24509 arg2
= static_cast< int >(val2
);
24512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24513 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24514 wxPyEndAllowThreads(__tstate
);
24515 if (PyErr_Occurred()) SWIG_fail
;
24517 resultobj
= SWIG_Py_Void();
24524 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24525 PyObject
*resultobj
= 0;
24526 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24533 PyObject
* obj0
= 0 ;
24534 PyObject
* obj1
= 0 ;
24535 char * kwnames
[] = {
24536 (char *) "self",(char *) "id", NULL
24539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24541 if (!SWIG_IsOK(res1
)) {
24542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24544 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24545 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24546 if (!SWIG_IsOK(ecode2
)) {
24547 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24549 arg2
= static_cast< int >(val2
);
24551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24552 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24553 wxPyEndAllowThreads(__tstate
);
24554 if (PyErr_Occurred()) SWIG_fail
;
24556 resultobj
= SWIG_From_int(static_cast< int >(result
));
24563 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24564 PyObject
*resultobj
= 0;
24565 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24572 PyObject
* obj0
= 0 ;
24573 PyObject
* obj1
= 0 ;
24574 char * kwnames
[] = {
24575 (char *) "self",(char *) "id", NULL
24578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24580 if (!SWIG_IsOK(res1
)) {
24581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24583 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24584 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24585 if (!SWIG_IsOK(ecode2
)) {
24586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24588 arg2
= static_cast< int >(val2
);
24590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24591 result
= (bool)(arg1
)->GetToolState(arg2
);
24592 wxPyEndAllowThreads(__tstate
);
24593 if (PyErr_Occurred()) SWIG_fail
;
24596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24604 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24605 PyObject
*resultobj
= 0;
24606 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24613 PyObject
* obj0
= 0 ;
24614 PyObject
* obj1
= 0 ;
24615 char * kwnames
[] = {
24616 (char *) "self",(char *) "id", NULL
24619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24621 if (!SWIG_IsOK(res1
)) {
24622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24624 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24625 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24626 if (!SWIG_IsOK(ecode2
)) {
24627 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24629 arg2
= static_cast< int >(val2
);
24631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24632 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
24633 wxPyEndAllowThreads(__tstate
);
24634 if (PyErr_Occurred()) SWIG_fail
;
24637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24645 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24646 PyObject
*resultobj
= 0;
24647 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24649 wxString
*arg3
= 0 ;
24654 bool temp3
= false ;
24655 PyObject
* obj0
= 0 ;
24656 PyObject
* obj1
= 0 ;
24657 PyObject
* obj2
= 0 ;
24658 char * kwnames
[] = {
24659 (char *) "self",(char *) "id",(char *) "helpString", NULL
24662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24664 if (!SWIG_IsOK(res1
)) {
24665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24667 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24668 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24669 if (!SWIG_IsOK(ecode2
)) {
24670 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24672 arg2
= static_cast< int >(val2
);
24674 arg3
= wxString_in_helper(obj2
);
24675 if (arg3
== NULL
) SWIG_fail
;
24679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24680 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
24681 wxPyEndAllowThreads(__tstate
);
24682 if (PyErr_Occurred()) SWIG_fail
;
24684 resultobj
= SWIG_Py_Void();
24699 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24700 PyObject
*resultobj
= 0;
24701 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24708 PyObject
* obj0
= 0 ;
24709 PyObject
* obj1
= 0 ;
24710 char * kwnames
[] = {
24711 (char *) "self",(char *) "id", NULL
24714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24716 if (!SWIG_IsOK(res1
)) {
24717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24719 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24720 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24721 if (!SWIG_IsOK(ecode2
)) {
24722 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24724 arg2
= static_cast< int >(val2
);
24726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24727 result
= (arg1
)->GetToolShortHelp(arg2
);
24728 wxPyEndAllowThreads(__tstate
);
24729 if (PyErr_Occurred()) SWIG_fail
;
24733 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24735 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24744 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24745 PyObject
*resultobj
= 0;
24746 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24748 wxString
*arg3
= 0 ;
24753 bool temp3
= false ;
24754 PyObject
* obj0
= 0 ;
24755 PyObject
* obj1
= 0 ;
24756 PyObject
* obj2
= 0 ;
24757 char * kwnames
[] = {
24758 (char *) "self",(char *) "id",(char *) "helpString", NULL
24761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24763 if (!SWIG_IsOK(res1
)) {
24764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24766 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24767 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24768 if (!SWIG_IsOK(ecode2
)) {
24769 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24771 arg2
= static_cast< int >(val2
);
24773 arg3
= wxString_in_helper(obj2
);
24774 if (arg3
== NULL
) SWIG_fail
;
24778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24779 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
24780 wxPyEndAllowThreads(__tstate
);
24781 if (PyErr_Occurred()) SWIG_fail
;
24783 resultobj
= SWIG_Py_Void();
24798 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24799 PyObject
*resultobj
= 0;
24800 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24807 PyObject
* obj0
= 0 ;
24808 PyObject
* obj1
= 0 ;
24809 char * kwnames
[] = {
24810 (char *) "self",(char *) "id", NULL
24813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24815 if (!SWIG_IsOK(res1
)) {
24816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24818 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24819 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24820 if (!SWIG_IsOK(ecode2
)) {
24821 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24823 arg2
= static_cast< int >(val2
);
24825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24826 result
= (arg1
)->GetToolLongHelp(arg2
);
24827 wxPyEndAllowThreads(__tstate
);
24828 if (PyErr_Occurred()) SWIG_fail
;
24832 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24834 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24843 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24844 PyObject
*resultobj
= 0;
24845 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24854 PyObject
* obj0
= 0 ;
24855 PyObject
* obj1
= 0 ;
24856 PyObject
* obj2
= 0 ;
24857 char * kwnames
[] = {
24858 (char *) "self",(char *) "x",(char *) "y", NULL
24861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24863 if (!SWIG_IsOK(res1
)) {
24864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24866 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24867 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24868 if (!SWIG_IsOK(ecode2
)) {
24869 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
24871 arg2
= static_cast< int >(val2
);
24872 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24873 if (!SWIG_IsOK(ecode3
)) {
24874 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
24876 arg3
= static_cast< int >(val3
);
24878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24879 (arg1
)->SetMargins(arg2
,arg3
);
24880 wxPyEndAllowThreads(__tstate
);
24881 if (PyErr_Occurred()) SWIG_fail
;
24883 resultobj
= SWIG_Py_Void();
24890 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24891 PyObject
*resultobj
= 0;
24892 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24897 PyObject
* obj0
= 0 ;
24898 PyObject
* obj1
= 0 ;
24899 char * kwnames
[] = {
24900 (char *) "self",(char *) "size", NULL
24903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24905 if (!SWIG_IsOK(res1
)) {
24906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24908 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24911 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24915 (arg1
)->SetMargins((wxSize
const &)*arg2
);
24916 wxPyEndAllowThreads(__tstate
);
24917 if (PyErr_Occurred()) SWIG_fail
;
24919 resultobj
= SWIG_Py_Void();
24926 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24927 PyObject
*resultobj
= 0;
24928 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24934 PyObject
* obj0
= 0 ;
24935 PyObject
* obj1
= 0 ;
24936 char * kwnames
[] = {
24937 (char *) "self",(char *) "packing", NULL
24940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24942 if (!SWIG_IsOK(res1
)) {
24943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24945 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24946 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24947 if (!SWIG_IsOK(ecode2
)) {
24948 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
24950 arg2
= static_cast< int >(val2
);
24952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24953 (arg1
)->SetToolPacking(arg2
);
24954 wxPyEndAllowThreads(__tstate
);
24955 if (PyErr_Occurred()) SWIG_fail
;
24957 resultobj
= SWIG_Py_Void();
24964 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24965 PyObject
*resultobj
= 0;
24966 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24972 PyObject
* obj0
= 0 ;
24973 PyObject
* obj1
= 0 ;
24974 char * kwnames
[] = {
24975 (char *) "self",(char *) "separation", NULL
24978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24980 if (!SWIG_IsOK(res1
)) {
24981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24983 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24984 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24985 if (!SWIG_IsOK(ecode2
)) {
24986 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
24988 arg2
= static_cast< int >(val2
);
24990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24991 (arg1
)->SetToolSeparation(arg2
);
24992 wxPyEndAllowThreads(__tstate
);
24993 if (PyErr_Occurred()) SWIG_fail
;
24995 resultobj
= SWIG_Py_Void();
25002 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25003 PyObject
*resultobj
= 0;
25004 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25008 PyObject
*swig_obj
[1] ;
25010 if (!args
) SWIG_fail
;
25011 swig_obj
[0] = args
;
25012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25013 if (!SWIG_IsOK(res1
)) {
25014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25016 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25019 result
= (arg1
)->GetToolMargins();
25020 wxPyEndAllowThreads(__tstate
);
25021 if (PyErr_Occurred()) SWIG_fail
;
25023 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25030 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25031 PyObject
*resultobj
= 0;
25032 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25036 PyObject
*swig_obj
[1] ;
25038 if (!args
) SWIG_fail
;
25039 swig_obj
[0] = args
;
25040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25041 if (!SWIG_IsOK(res1
)) {
25042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25044 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25047 result
= (arg1
)->GetMargins();
25048 wxPyEndAllowThreads(__tstate
);
25049 if (PyErr_Occurred()) SWIG_fail
;
25051 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25058 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25059 PyObject
*resultobj
= 0;
25060 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25064 PyObject
*swig_obj
[1] ;
25066 if (!args
) SWIG_fail
;
25067 swig_obj
[0] = args
;
25068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25069 if (!SWIG_IsOK(res1
)) {
25070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25072 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25075 result
= (int)(arg1
)->GetToolPacking();
25076 wxPyEndAllowThreads(__tstate
);
25077 if (PyErr_Occurred()) SWIG_fail
;
25079 resultobj
= SWIG_From_int(static_cast< int >(result
));
25086 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25087 PyObject
*resultobj
= 0;
25088 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25092 PyObject
*swig_obj
[1] ;
25094 if (!args
) SWIG_fail
;
25095 swig_obj
[0] = args
;
25096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25097 if (!SWIG_IsOK(res1
)) {
25098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25100 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25103 result
= (int)(arg1
)->GetToolSeparation();
25104 wxPyEndAllowThreads(__tstate
);
25105 if (PyErr_Occurred()) SWIG_fail
;
25107 resultobj
= SWIG_From_int(static_cast< int >(result
));
25114 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25115 PyObject
*resultobj
= 0;
25116 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25122 PyObject
* obj0
= 0 ;
25123 PyObject
* obj1
= 0 ;
25124 char * kwnames
[] = {
25125 (char *) "self",(char *) "nRows", NULL
25128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25130 if (!SWIG_IsOK(res1
)) {
25131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25133 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25134 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25135 if (!SWIG_IsOK(ecode2
)) {
25136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25138 arg2
= static_cast< int >(val2
);
25140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25141 (arg1
)->SetRows(arg2
);
25142 wxPyEndAllowThreads(__tstate
);
25143 if (PyErr_Occurred()) SWIG_fail
;
25145 resultobj
= SWIG_Py_Void();
25152 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25153 PyObject
*resultobj
= 0;
25154 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25163 PyObject
* obj0
= 0 ;
25164 PyObject
* obj1
= 0 ;
25165 PyObject
* obj2
= 0 ;
25166 char * kwnames
[] = {
25167 (char *) "self",(char *) "rows",(char *) "cols", NULL
25170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25172 if (!SWIG_IsOK(res1
)) {
25173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25175 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25176 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25177 if (!SWIG_IsOK(ecode2
)) {
25178 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25180 arg2
= static_cast< int >(val2
);
25181 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25182 if (!SWIG_IsOK(ecode3
)) {
25183 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25185 arg3
= static_cast< int >(val3
);
25187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25188 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
25189 wxPyEndAllowThreads(__tstate
);
25190 if (PyErr_Occurred()) SWIG_fail
;
25192 resultobj
= SWIG_Py_Void();
25199 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25200 PyObject
*resultobj
= 0;
25201 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25205 PyObject
*swig_obj
[1] ;
25207 if (!args
) SWIG_fail
;
25208 swig_obj
[0] = args
;
25209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25210 if (!SWIG_IsOK(res1
)) {
25211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25213 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25216 result
= (int)(arg1
)->GetMaxRows();
25217 wxPyEndAllowThreads(__tstate
);
25218 if (PyErr_Occurred()) SWIG_fail
;
25220 resultobj
= SWIG_From_int(static_cast< int >(result
));
25227 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25228 PyObject
*resultobj
= 0;
25229 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25233 PyObject
*swig_obj
[1] ;
25235 if (!args
) SWIG_fail
;
25236 swig_obj
[0] = args
;
25237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25238 if (!SWIG_IsOK(res1
)) {
25239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25241 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25244 result
= (int)(arg1
)->GetMaxCols();
25245 wxPyEndAllowThreads(__tstate
);
25246 if (PyErr_Occurred()) SWIG_fail
;
25248 resultobj
= SWIG_From_int(static_cast< int >(result
));
25255 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25256 PyObject
*resultobj
= 0;
25257 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25262 PyObject
* obj0
= 0 ;
25263 PyObject
* obj1
= 0 ;
25264 char * kwnames
[] = {
25265 (char *) "self",(char *) "size", NULL
25268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25270 if (!SWIG_IsOK(res1
)) {
25271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25273 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25276 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25280 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
25281 wxPyEndAllowThreads(__tstate
);
25282 if (PyErr_Occurred()) SWIG_fail
;
25284 resultobj
= SWIG_Py_Void();
25291 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25292 PyObject
*resultobj
= 0;
25293 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25297 PyObject
*swig_obj
[1] ;
25299 if (!args
) SWIG_fail
;
25300 swig_obj
[0] = args
;
25301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25302 if (!SWIG_IsOK(res1
)) {
25303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25305 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25308 result
= (arg1
)->GetToolBitmapSize();
25309 wxPyEndAllowThreads(__tstate
);
25310 if (PyErr_Occurred()) SWIG_fail
;
25312 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25319 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25320 PyObject
*resultobj
= 0;
25321 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25325 PyObject
*swig_obj
[1] ;
25327 if (!args
) SWIG_fail
;
25328 swig_obj
[0] = args
;
25329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25330 if (!SWIG_IsOK(res1
)) {
25331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25333 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25336 result
= (arg1
)->GetToolSize();
25337 wxPyEndAllowThreads(__tstate
);
25338 if (PyErr_Occurred()) SWIG_fail
;
25340 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25347 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25348 PyObject
*resultobj
= 0;
25349 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25352 wxToolBarToolBase
*result
= 0 ;
25359 PyObject
* obj0
= 0 ;
25360 PyObject
* obj1
= 0 ;
25361 PyObject
* obj2
= 0 ;
25362 char * kwnames
[] = {
25363 (char *) "self",(char *) "x",(char *) "y", NULL
25366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25368 if (!SWIG_IsOK(res1
)) {
25369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25371 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25372 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25373 if (!SWIG_IsOK(ecode2
)) {
25374 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25376 arg2
= static_cast< int >(val2
);
25377 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25378 if (!SWIG_IsOK(ecode3
)) {
25379 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25381 arg3
= static_cast< int >(val3
);
25383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25384 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25385 wxPyEndAllowThreads(__tstate
);
25386 if (PyErr_Occurred()) SWIG_fail
;
25389 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25397 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25398 PyObject
*resultobj
= 0;
25399 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25401 wxToolBarToolBase
*result
= 0 ;
25406 PyObject
* obj0
= 0 ;
25407 PyObject
* obj1
= 0 ;
25408 char * kwnames
[] = {
25409 (char *) "self",(char *) "toolid", NULL
25412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25414 if (!SWIG_IsOK(res1
)) {
25415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25417 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25418 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25419 if (!SWIG_IsOK(ecode2
)) {
25420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25422 arg2
= static_cast< int >(val2
);
25424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25425 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25426 wxPyEndAllowThreads(__tstate
);
25427 if (PyErr_Occurred()) SWIG_fail
;
25430 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25438 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25439 PyObject
*resultobj
= 0;
25440 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25444 PyObject
*swig_obj
[1] ;
25446 if (!args
) SWIG_fail
;
25447 swig_obj
[0] = args
;
25448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25449 if (!SWIG_IsOK(res1
)) {
25450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25452 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25455 result
= (bool)(arg1
)->IsVertical();
25456 wxPyEndAllowThreads(__tstate
);
25457 if (PyErr_Occurred()) SWIG_fail
;
25460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25468 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(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_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25482 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25485 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25486 wxPyEndAllowThreads(__tstate
);
25487 if (PyErr_Occurred()) SWIG_fail
;
25489 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25496 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25498 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25499 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25500 return SWIG_Py_Void();
25503 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25504 PyObject
*resultobj
= 0;
25505 wxWindow
*arg1
= (wxWindow
*) 0 ;
25506 int arg2
= (int) -1 ;
25507 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25508 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25509 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25510 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25511 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25512 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25513 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25514 wxToolBar
*result
= 0 ;
25523 bool temp6
= false ;
25524 PyObject
* obj0
= 0 ;
25525 PyObject
* obj1
= 0 ;
25526 PyObject
* obj2
= 0 ;
25527 PyObject
* obj3
= 0 ;
25528 PyObject
* obj4
= 0 ;
25529 PyObject
* obj5
= 0 ;
25530 char * kwnames
[] = {
25531 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25536 if (!SWIG_IsOK(res1
)) {
25537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25539 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25541 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25542 if (!SWIG_IsOK(ecode2
)) {
25543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25545 arg2
= static_cast< int >(val2
);
25550 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25556 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25560 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25561 if (!SWIG_IsOK(ecode5
)) {
25562 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25564 arg5
= static_cast< long >(val5
);
25568 arg6
= wxString_in_helper(obj5
);
25569 if (arg6
== NULL
) SWIG_fail
;
25574 if (!wxPyCheckForApp()) SWIG_fail
;
25575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25576 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25577 wxPyEndAllowThreads(__tstate
);
25578 if (PyErr_Occurred()) SWIG_fail
;
25580 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
25595 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25596 PyObject
*resultobj
= 0;
25597 wxToolBar
*result
= 0 ;
25599 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
25601 if (!wxPyCheckForApp()) SWIG_fail
;
25602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25603 result
= (wxToolBar
*)new wxToolBar();
25604 wxPyEndAllowThreads(__tstate
);
25605 if (PyErr_Occurred()) SWIG_fail
;
25607 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
25614 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25615 PyObject
*resultobj
= 0;
25616 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25617 wxWindow
*arg2
= (wxWindow
*) 0 ;
25618 int arg3
= (int) -1 ;
25619 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25620 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25621 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25622 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25623 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25624 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
25625 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25637 bool temp7
= false ;
25638 PyObject
* obj0
= 0 ;
25639 PyObject
* obj1
= 0 ;
25640 PyObject
* obj2
= 0 ;
25641 PyObject
* obj3
= 0 ;
25642 PyObject
* obj4
= 0 ;
25643 PyObject
* obj5
= 0 ;
25644 PyObject
* obj6
= 0 ;
25645 char * kwnames
[] = {
25646 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
25651 if (!SWIG_IsOK(res1
)) {
25652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25654 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
25655 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25656 if (!SWIG_IsOK(res2
)) {
25657 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25659 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25661 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25662 if (!SWIG_IsOK(ecode3
)) {
25663 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25665 arg3
= static_cast< int >(val3
);
25670 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25676 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25680 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
25681 if (!SWIG_IsOK(ecode6
)) {
25682 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25684 arg6
= static_cast< long >(val6
);
25688 arg7
= wxString_in_helper(obj6
);
25689 if (arg7
== NULL
) SWIG_fail
;
25694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25695 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25696 wxPyEndAllowThreads(__tstate
);
25697 if (PyErr_Occurred()) SWIG_fail
;
25700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25716 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25717 PyObject
*resultobj
= 0;
25718 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
25719 SwigValueWrapper
<wxVisualAttributes
> result
;
25722 PyObject
* obj0
= 0 ;
25723 char * kwnames
[] = {
25724 (char *) "variant", NULL
25727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
25729 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25730 if (!SWIG_IsOK(ecode1
)) {
25731 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
25733 arg1
= static_cast< wxWindowVariant
>(val1
);
25736 if (!wxPyCheckForApp()) SWIG_fail
;
25737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25738 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
25739 wxPyEndAllowThreads(__tstate
);
25740 if (PyErr_Occurred()) SWIG_fail
;
25742 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
25749 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25751 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25752 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
25753 return SWIG_Py_Void();
25756 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25757 return SWIG_Python_InitShadowInstance(args
);
25760 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
25761 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
25766 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
25767 PyObject
*pyobj
= 0;
25771 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25773 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25780 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25781 PyObject
*resultobj
= 0;
25782 wxColour
const &arg1_defvalue
= wxNullColour
;
25783 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
25784 wxColour
const &arg2_defvalue
= wxNullColour
;
25785 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
25786 wxFont
const &arg3_defvalue
= wxNullFont
;
25787 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
25788 wxListItemAttr
*result
= 0 ;
25793 PyObject
* obj0
= 0 ;
25794 PyObject
* obj1
= 0 ;
25795 PyObject
* obj2
= 0 ;
25796 char * kwnames
[] = {
25797 (char *) "colText",(char *) "colBack",(char *) "font", NULL
25800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25804 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
25810 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25814 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
25815 if (!SWIG_IsOK(res3
)) {
25816 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25819 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25821 arg3
= reinterpret_cast< wxFont
* >(argp3
);
25824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25825 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
25826 wxPyEndAllowThreads(__tstate
);
25827 if (PyErr_Occurred()) SWIG_fail
;
25829 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
25836 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25837 PyObject
*resultobj
= 0;
25838 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25841 PyObject
*swig_obj
[1] ;
25843 if (!args
) SWIG_fail
;
25844 swig_obj
[0] = args
;
25845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
25846 if (!SWIG_IsOK(res1
)) {
25847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25849 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25854 wxPyEndAllowThreads(__tstate
);
25855 if (PyErr_Occurred()) SWIG_fail
;
25857 resultobj
= SWIG_Py_Void();
25864 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25865 PyObject
*resultobj
= 0;
25866 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25867 wxColour
*arg2
= 0 ;
25871 PyObject
* obj0
= 0 ;
25872 PyObject
* obj1
= 0 ;
25873 char * kwnames
[] = {
25874 (char *) "self",(char *) "colText", NULL
25877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25879 if (!SWIG_IsOK(res1
)) {
25880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25882 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25885 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25889 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
25890 wxPyEndAllowThreads(__tstate
);
25891 if (PyErr_Occurred()) SWIG_fail
;
25893 resultobj
= SWIG_Py_Void();
25900 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25901 PyObject
*resultobj
= 0;
25902 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25903 wxColour
*arg2
= 0 ;
25907 PyObject
* obj0
= 0 ;
25908 PyObject
* obj1
= 0 ;
25909 char * kwnames
[] = {
25910 (char *) "self",(char *) "colBack", NULL
25913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25915 if (!SWIG_IsOK(res1
)) {
25916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25918 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25921 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25925 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
25926 wxPyEndAllowThreads(__tstate
);
25927 if (PyErr_Occurred()) SWIG_fail
;
25929 resultobj
= SWIG_Py_Void();
25936 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25937 PyObject
*resultobj
= 0;
25938 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25944 PyObject
* obj0
= 0 ;
25945 PyObject
* obj1
= 0 ;
25946 char * kwnames
[] = {
25947 (char *) "self",(char *) "font", NULL
25950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25952 if (!SWIG_IsOK(res1
)) {
25953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25955 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25956 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
25957 if (!SWIG_IsOK(res2
)) {
25958 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25961 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25963 arg2
= reinterpret_cast< wxFont
* >(argp2
);
25965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25966 (arg1
)->SetFont((wxFont
const &)*arg2
);
25967 wxPyEndAllowThreads(__tstate
);
25968 if (PyErr_Occurred()) SWIG_fail
;
25970 resultobj
= SWIG_Py_Void();
25977 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25978 PyObject
*resultobj
= 0;
25979 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25983 PyObject
*swig_obj
[1] ;
25985 if (!args
) SWIG_fail
;
25986 swig_obj
[0] = args
;
25987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25988 if (!SWIG_IsOK(res1
)) {
25989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25991 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25994 result
= (bool)(arg1
)->HasTextColour();
25995 wxPyEndAllowThreads(__tstate
);
25996 if (PyErr_Occurred()) SWIG_fail
;
25999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26007 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26008 PyObject
*resultobj
= 0;
26009 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26013 PyObject
*swig_obj
[1] ;
26015 if (!args
) SWIG_fail
;
26016 swig_obj
[0] = args
;
26017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26018 if (!SWIG_IsOK(res1
)) {
26019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26021 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26024 result
= (bool)(arg1
)->HasBackgroundColour();
26025 wxPyEndAllowThreads(__tstate
);
26026 if (PyErr_Occurred()) SWIG_fail
;
26029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26037 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26038 PyObject
*resultobj
= 0;
26039 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26043 PyObject
*swig_obj
[1] ;
26045 if (!args
) SWIG_fail
;
26046 swig_obj
[0] = args
;
26047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26048 if (!SWIG_IsOK(res1
)) {
26049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26051 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26054 result
= (bool)(arg1
)->HasFont();
26055 wxPyEndAllowThreads(__tstate
);
26056 if (PyErr_Occurred()) SWIG_fail
;
26059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26067 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26068 PyObject
*resultobj
= 0;
26069 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26073 PyObject
*swig_obj
[1] ;
26075 if (!args
) SWIG_fail
;
26076 swig_obj
[0] = args
;
26077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26078 if (!SWIG_IsOK(res1
)) {
26079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26081 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26084 result
= (arg1
)->GetTextColour();
26085 wxPyEndAllowThreads(__tstate
);
26086 if (PyErr_Occurred()) SWIG_fail
;
26088 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26095 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26096 PyObject
*resultobj
= 0;
26097 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26101 PyObject
*swig_obj
[1] ;
26103 if (!args
) SWIG_fail
;
26104 swig_obj
[0] = args
;
26105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26106 if (!SWIG_IsOK(res1
)) {
26107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26109 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26112 result
= (arg1
)->GetBackgroundColour();
26113 wxPyEndAllowThreads(__tstate
);
26114 if (PyErr_Occurred()) SWIG_fail
;
26116 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26123 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26124 PyObject
*resultobj
= 0;
26125 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26129 PyObject
*swig_obj
[1] ;
26131 if (!args
) SWIG_fail
;
26132 swig_obj
[0] = args
;
26133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26134 if (!SWIG_IsOK(res1
)) {
26135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26137 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26140 result
= (arg1
)->GetFont();
26141 wxPyEndAllowThreads(__tstate
);
26142 if (PyErr_Occurred()) SWIG_fail
;
26144 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
26151 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26152 PyObject
*resultobj
= 0;
26153 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26154 wxListItemAttr
*arg2
= 0 ;
26159 PyObject
* obj0
= 0 ;
26160 PyObject
* obj1
= 0 ;
26161 char * kwnames
[] = {
26162 (char *) "self",(char *) "source", NULL
26165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26167 if (!SWIG_IsOK(res1
)) {
26168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26170 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26171 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
26172 if (!SWIG_IsOK(res2
)) {
26173 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26176 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26178 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
26180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26181 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
26182 wxPyEndAllowThreads(__tstate
);
26183 if (PyErr_Occurred()) SWIG_fail
;
26185 resultobj
= SWIG_Py_Void();
26192 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26193 PyObject
*resultobj
= 0;
26194 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26197 PyObject
*swig_obj
[1] ;
26199 if (!args
) SWIG_fail
;
26200 swig_obj
[0] = args
;
26201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26202 if (!SWIG_IsOK(res1
)) {
26203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26205 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26208 wxListItemAttr_Destroy(arg1
);
26209 wxPyEndAllowThreads(__tstate
);
26210 if (PyErr_Occurred()) SWIG_fail
;
26212 resultobj
= SWIG_Py_Void();
26219 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26221 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26222 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
26223 return SWIG_Py_Void();
26226 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26227 return SWIG_Python_InitShadowInstance(args
);
26230 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26231 PyObject
*resultobj
= 0;
26232 wxListItem
*result
= 0 ;
26234 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
26236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26237 result
= (wxListItem
*)new wxListItem();
26238 wxPyEndAllowThreads(__tstate
);
26239 if (PyErr_Occurred()) SWIG_fail
;
26242 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
26250 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26251 PyObject
*resultobj
= 0;
26252 wxListItem
*arg1
= (wxListItem
*) 0 ;
26255 PyObject
*swig_obj
[1] ;
26257 if (!args
) SWIG_fail
;
26258 swig_obj
[0] = args
;
26259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
26260 if (!SWIG_IsOK(res1
)) {
26261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26263 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26268 wxPyEndAllowThreads(__tstate
);
26269 if (PyErr_Occurred()) SWIG_fail
;
26271 resultobj
= SWIG_Py_Void();
26278 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26279 PyObject
*resultobj
= 0;
26280 wxListItem
*arg1
= (wxListItem
*) 0 ;
26283 PyObject
*swig_obj
[1] ;
26285 if (!args
) SWIG_fail
;
26286 swig_obj
[0] = args
;
26287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26288 if (!SWIG_IsOK(res1
)) {
26289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26291 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26295 wxPyEndAllowThreads(__tstate
);
26296 if (PyErr_Occurred()) SWIG_fail
;
26298 resultobj
= SWIG_Py_Void();
26305 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26306 PyObject
*resultobj
= 0;
26307 wxListItem
*arg1
= (wxListItem
*) 0 ;
26310 PyObject
*swig_obj
[1] ;
26312 if (!args
) SWIG_fail
;
26313 swig_obj
[0] = args
;
26314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26315 if (!SWIG_IsOK(res1
)) {
26316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26318 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26321 (arg1
)->ClearAttributes();
26322 wxPyEndAllowThreads(__tstate
);
26323 if (PyErr_Occurred()) SWIG_fail
;
26325 resultobj
= SWIG_Py_Void();
26332 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26333 PyObject
*resultobj
= 0;
26334 wxListItem
*arg1
= (wxListItem
*) 0 ;
26340 PyObject
* obj0
= 0 ;
26341 PyObject
* obj1
= 0 ;
26342 char * kwnames
[] = {
26343 (char *) "self",(char *) "mask", NULL
26346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26348 if (!SWIG_IsOK(res1
)) {
26349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26351 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26352 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26353 if (!SWIG_IsOK(ecode2
)) {
26354 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26356 arg2
= static_cast< long >(val2
);
26358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26359 (arg1
)->SetMask(arg2
);
26360 wxPyEndAllowThreads(__tstate
);
26361 if (PyErr_Occurred()) SWIG_fail
;
26363 resultobj
= SWIG_Py_Void();
26370 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26371 PyObject
*resultobj
= 0;
26372 wxListItem
*arg1
= (wxListItem
*) 0 ;
26378 PyObject
* obj0
= 0 ;
26379 PyObject
* obj1
= 0 ;
26380 char * kwnames
[] = {
26381 (char *) "self",(char *) "id", NULL
26384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26386 if (!SWIG_IsOK(res1
)) {
26387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26389 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26390 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26391 if (!SWIG_IsOK(ecode2
)) {
26392 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26394 arg2
= static_cast< long >(val2
);
26396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26397 (arg1
)->SetId(arg2
);
26398 wxPyEndAllowThreads(__tstate
);
26399 if (PyErr_Occurred()) SWIG_fail
;
26401 resultobj
= SWIG_Py_Void();
26408 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26409 PyObject
*resultobj
= 0;
26410 wxListItem
*arg1
= (wxListItem
*) 0 ;
26416 PyObject
* obj0
= 0 ;
26417 PyObject
* obj1
= 0 ;
26418 char * kwnames
[] = {
26419 (char *) "self",(char *) "col", NULL
26422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26424 if (!SWIG_IsOK(res1
)) {
26425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26427 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26428 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26429 if (!SWIG_IsOK(ecode2
)) {
26430 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26432 arg2
= static_cast< int >(val2
);
26434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26435 (arg1
)->SetColumn(arg2
);
26436 wxPyEndAllowThreads(__tstate
);
26437 if (PyErr_Occurred()) SWIG_fail
;
26439 resultobj
= SWIG_Py_Void();
26446 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26447 PyObject
*resultobj
= 0;
26448 wxListItem
*arg1
= (wxListItem
*) 0 ;
26454 PyObject
* obj0
= 0 ;
26455 PyObject
* obj1
= 0 ;
26456 char * kwnames
[] = {
26457 (char *) "self",(char *) "state", NULL
26460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26462 if (!SWIG_IsOK(res1
)) {
26463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26465 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26466 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26467 if (!SWIG_IsOK(ecode2
)) {
26468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26470 arg2
= static_cast< long >(val2
);
26472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26473 (arg1
)->SetState(arg2
);
26474 wxPyEndAllowThreads(__tstate
);
26475 if (PyErr_Occurred()) SWIG_fail
;
26477 resultobj
= SWIG_Py_Void();
26484 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26485 PyObject
*resultobj
= 0;
26486 wxListItem
*arg1
= (wxListItem
*) 0 ;
26492 PyObject
* obj0
= 0 ;
26493 PyObject
* obj1
= 0 ;
26494 char * kwnames
[] = {
26495 (char *) "self",(char *) "stateMask", NULL
26498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26500 if (!SWIG_IsOK(res1
)) {
26501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26503 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26504 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26505 if (!SWIG_IsOK(ecode2
)) {
26506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26508 arg2
= static_cast< long >(val2
);
26510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26511 (arg1
)->SetStateMask(arg2
);
26512 wxPyEndAllowThreads(__tstate
);
26513 if (PyErr_Occurred()) SWIG_fail
;
26515 resultobj
= SWIG_Py_Void();
26522 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26523 PyObject
*resultobj
= 0;
26524 wxListItem
*arg1
= (wxListItem
*) 0 ;
26525 wxString
*arg2
= 0 ;
26528 bool temp2
= false ;
26529 PyObject
* obj0
= 0 ;
26530 PyObject
* obj1
= 0 ;
26531 char * kwnames
[] = {
26532 (char *) "self",(char *) "text", NULL
26535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26537 if (!SWIG_IsOK(res1
)) {
26538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26540 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26542 arg2
= wxString_in_helper(obj1
);
26543 if (arg2
== NULL
) SWIG_fail
;
26547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26548 (arg1
)->SetText((wxString
const &)*arg2
);
26549 wxPyEndAllowThreads(__tstate
);
26550 if (PyErr_Occurred()) SWIG_fail
;
26552 resultobj
= SWIG_Py_Void();
26567 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26568 PyObject
*resultobj
= 0;
26569 wxListItem
*arg1
= (wxListItem
*) 0 ;
26575 PyObject
* obj0
= 0 ;
26576 PyObject
* obj1
= 0 ;
26577 char * kwnames
[] = {
26578 (char *) "self",(char *) "image", NULL
26581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26583 if (!SWIG_IsOK(res1
)) {
26584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26586 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26587 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26588 if (!SWIG_IsOK(ecode2
)) {
26589 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26591 arg2
= static_cast< int >(val2
);
26593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26594 (arg1
)->SetImage(arg2
);
26595 wxPyEndAllowThreads(__tstate
);
26596 if (PyErr_Occurred()) SWIG_fail
;
26598 resultobj
= SWIG_Py_Void();
26605 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26606 PyObject
*resultobj
= 0;
26607 wxListItem
*arg1
= (wxListItem
*) 0 ;
26613 PyObject
* obj0
= 0 ;
26614 PyObject
* obj1
= 0 ;
26615 char * kwnames
[] = {
26616 (char *) "self",(char *) "data", NULL
26619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26621 if (!SWIG_IsOK(res1
)) {
26622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26624 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26625 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26626 if (!SWIG_IsOK(ecode2
)) {
26627 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26629 arg2
= static_cast< long >(val2
);
26631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26632 (arg1
)->SetData(arg2
);
26633 wxPyEndAllowThreads(__tstate
);
26634 if (PyErr_Occurred()) SWIG_fail
;
26636 resultobj
= SWIG_Py_Void();
26643 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26644 PyObject
*resultobj
= 0;
26645 wxListItem
*arg1
= (wxListItem
*) 0 ;
26651 PyObject
* obj0
= 0 ;
26652 PyObject
* obj1
= 0 ;
26653 char * kwnames
[] = {
26654 (char *) "self",(char *) "width", NULL
26657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26659 if (!SWIG_IsOK(res1
)) {
26660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26662 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26663 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26664 if (!SWIG_IsOK(ecode2
)) {
26665 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
26667 arg2
= static_cast< int >(val2
);
26669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26670 (arg1
)->SetWidth(arg2
);
26671 wxPyEndAllowThreads(__tstate
);
26672 if (PyErr_Occurred()) SWIG_fail
;
26674 resultobj
= SWIG_Py_Void();
26681 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26682 PyObject
*resultobj
= 0;
26683 wxListItem
*arg1
= (wxListItem
*) 0 ;
26684 wxListColumnFormat arg2
;
26689 PyObject
* obj0
= 0 ;
26690 PyObject
* obj1
= 0 ;
26691 char * kwnames
[] = {
26692 (char *) "self",(char *) "align", NULL
26695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26697 if (!SWIG_IsOK(res1
)) {
26698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26700 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26701 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26702 if (!SWIG_IsOK(ecode2
)) {
26703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
26705 arg2
= static_cast< wxListColumnFormat
>(val2
);
26707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26708 (arg1
)->SetAlign(arg2
);
26709 wxPyEndAllowThreads(__tstate
);
26710 if (PyErr_Occurred()) SWIG_fail
;
26712 resultobj
= SWIG_Py_Void();
26719 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26720 PyObject
*resultobj
= 0;
26721 wxListItem
*arg1
= (wxListItem
*) 0 ;
26722 wxColour
*arg2
= 0 ;
26726 PyObject
* obj0
= 0 ;
26727 PyObject
* obj1
= 0 ;
26728 char * kwnames
[] = {
26729 (char *) "self",(char *) "colText", NULL
26732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26734 if (!SWIG_IsOK(res1
)) {
26735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26737 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26740 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26744 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26745 wxPyEndAllowThreads(__tstate
);
26746 if (PyErr_Occurred()) SWIG_fail
;
26748 resultobj
= SWIG_Py_Void();
26755 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26756 PyObject
*resultobj
= 0;
26757 wxListItem
*arg1
= (wxListItem
*) 0 ;
26758 wxColour
*arg2
= 0 ;
26762 PyObject
* obj0
= 0 ;
26763 PyObject
* obj1
= 0 ;
26764 char * kwnames
[] = {
26765 (char *) "self",(char *) "colBack", NULL
26768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26770 if (!SWIG_IsOK(res1
)) {
26771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26773 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26776 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26780 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26781 wxPyEndAllowThreads(__tstate
);
26782 if (PyErr_Occurred()) SWIG_fail
;
26784 resultobj
= SWIG_Py_Void();
26791 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26792 PyObject
*resultobj
= 0;
26793 wxListItem
*arg1
= (wxListItem
*) 0 ;
26799 PyObject
* obj0
= 0 ;
26800 PyObject
* obj1
= 0 ;
26801 char * kwnames
[] = {
26802 (char *) "self",(char *) "font", NULL
26805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26807 if (!SWIG_IsOK(res1
)) {
26808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
26810 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26811 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26812 if (!SWIG_IsOK(res2
)) {
26813 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26816 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26818 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26821 (arg1
)->SetFont((wxFont
const &)*arg2
);
26822 wxPyEndAllowThreads(__tstate
);
26823 if (PyErr_Occurred()) SWIG_fail
;
26825 resultobj
= SWIG_Py_Void();
26832 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26833 PyObject
*resultobj
= 0;
26834 wxListItem
*arg1
= (wxListItem
*) 0 ;
26838 PyObject
*swig_obj
[1] ;
26840 if (!args
) SWIG_fail
;
26841 swig_obj
[0] = args
;
26842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26843 if (!SWIG_IsOK(res1
)) {
26844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26846 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26849 result
= (long)(arg1
)->GetMask();
26850 wxPyEndAllowThreads(__tstate
);
26851 if (PyErr_Occurred()) SWIG_fail
;
26853 resultobj
= SWIG_From_long(static_cast< long >(result
));
26860 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26861 PyObject
*resultobj
= 0;
26862 wxListItem
*arg1
= (wxListItem
*) 0 ;
26866 PyObject
*swig_obj
[1] ;
26868 if (!args
) SWIG_fail
;
26869 swig_obj
[0] = args
;
26870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26871 if (!SWIG_IsOK(res1
)) {
26872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26874 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26877 result
= (long)(arg1
)->GetId();
26878 wxPyEndAllowThreads(__tstate
);
26879 if (PyErr_Occurred()) SWIG_fail
;
26881 resultobj
= SWIG_From_long(static_cast< long >(result
));
26888 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26889 PyObject
*resultobj
= 0;
26890 wxListItem
*arg1
= (wxListItem
*) 0 ;
26894 PyObject
*swig_obj
[1] ;
26896 if (!args
) SWIG_fail
;
26897 swig_obj
[0] = args
;
26898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26899 if (!SWIG_IsOK(res1
)) {
26900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26902 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26905 result
= (int)(arg1
)->GetColumn();
26906 wxPyEndAllowThreads(__tstate
);
26907 if (PyErr_Occurred()) SWIG_fail
;
26909 resultobj
= SWIG_From_int(static_cast< int >(result
));
26916 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26917 PyObject
*resultobj
= 0;
26918 wxListItem
*arg1
= (wxListItem
*) 0 ;
26922 PyObject
*swig_obj
[1] ;
26924 if (!args
) SWIG_fail
;
26925 swig_obj
[0] = args
;
26926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26927 if (!SWIG_IsOK(res1
)) {
26928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26930 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26933 result
= (long)(arg1
)->GetState();
26934 wxPyEndAllowThreads(__tstate
);
26935 if (PyErr_Occurred()) SWIG_fail
;
26937 resultobj
= SWIG_From_long(static_cast< long >(result
));
26944 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26945 PyObject
*resultobj
= 0;
26946 wxListItem
*arg1
= (wxListItem
*) 0 ;
26947 wxString
*result
= 0 ;
26950 PyObject
*swig_obj
[1] ;
26952 if (!args
) SWIG_fail
;
26953 swig_obj
[0] = args
;
26954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26955 if (!SWIG_IsOK(res1
)) {
26956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26958 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26962 wxString
const &_result_ref
= (arg1
)->GetText();
26963 result
= (wxString
*) &_result_ref
;
26965 wxPyEndAllowThreads(__tstate
);
26966 if (PyErr_Occurred()) SWIG_fail
;
26970 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
26972 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
26981 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26982 PyObject
*resultobj
= 0;
26983 wxListItem
*arg1
= (wxListItem
*) 0 ;
26987 PyObject
*swig_obj
[1] ;
26989 if (!args
) SWIG_fail
;
26990 swig_obj
[0] = args
;
26991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26992 if (!SWIG_IsOK(res1
)) {
26993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26995 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26998 result
= (int)(arg1
)->GetImage();
26999 wxPyEndAllowThreads(__tstate
);
27000 if (PyErr_Occurred()) SWIG_fail
;
27002 resultobj
= SWIG_From_int(static_cast< int >(result
));
27009 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27010 PyObject
*resultobj
= 0;
27011 wxListItem
*arg1
= (wxListItem
*) 0 ;
27015 PyObject
*swig_obj
[1] ;
27017 if (!args
) SWIG_fail
;
27018 swig_obj
[0] = args
;
27019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27020 if (!SWIG_IsOK(res1
)) {
27021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27023 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27026 result
= (long)(arg1
)->GetData();
27027 wxPyEndAllowThreads(__tstate
);
27028 if (PyErr_Occurred()) SWIG_fail
;
27030 resultobj
= SWIG_From_long(static_cast< long >(result
));
27037 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27038 PyObject
*resultobj
= 0;
27039 wxListItem
*arg1
= (wxListItem
*) 0 ;
27043 PyObject
*swig_obj
[1] ;
27045 if (!args
) SWIG_fail
;
27046 swig_obj
[0] = args
;
27047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27048 if (!SWIG_IsOK(res1
)) {
27049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27051 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27054 result
= (int)(arg1
)->GetWidth();
27055 wxPyEndAllowThreads(__tstate
);
27056 if (PyErr_Occurred()) SWIG_fail
;
27058 resultobj
= SWIG_From_int(static_cast< int >(result
));
27065 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27066 PyObject
*resultobj
= 0;
27067 wxListItem
*arg1
= (wxListItem
*) 0 ;
27068 wxListColumnFormat result
;
27071 PyObject
*swig_obj
[1] ;
27073 if (!args
) SWIG_fail
;
27074 swig_obj
[0] = args
;
27075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27076 if (!SWIG_IsOK(res1
)) {
27077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27079 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27082 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
27083 wxPyEndAllowThreads(__tstate
);
27084 if (PyErr_Occurred()) SWIG_fail
;
27086 resultobj
= SWIG_From_int(static_cast< int >(result
));
27093 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27094 PyObject
*resultobj
= 0;
27095 wxListItem
*arg1
= (wxListItem
*) 0 ;
27096 wxListItemAttr
*result
= 0 ;
27099 PyObject
*swig_obj
[1] ;
27101 if (!args
) SWIG_fail
;
27102 swig_obj
[0] = args
;
27103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27104 if (!SWIG_IsOK(res1
)) {
27105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27107 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27110 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
27111 wxPyEndAllowThreads(__tstate
);
27112 if (PyErr_Occurred()) SWIG_fail
;
27114 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
27121 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27122 PyObject
*resultobj
= 0;
27123 wxListItem
*arg1
= (wxListItem
*) 0 ;
27127 PyObject
*swig_obj
[1] ;
27129 if (!args
) SWIG_fail
;
27130 swig_obj
[0] = args
;
27131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27132 if (!SWIG_IsOK(res1
)) {
27133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27135 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27138 result
= (bool)(arg1
)->HasAttributes();
27139 wxPyEndAllowThreads(__tstate
);
27140 if (PyErr_Occurred()) SWIG_fail
;
27143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27151 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27152 PyObject
*resultobj
= 0;
27153 wxListItem
*arg1
= (wxListItem
*) 0 ;
27157 PyObject
*swig_obj
[1] ;
27159 if (!args
) SWIG_fail
;
27160 swig_obj
[0] = args
;
27161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27162 if (!SWIG_IsOK(res1
)) {
27163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27165 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27168 result
= ((wxListItem
const *)arg1
)->GetTextColour();
27169 wxPyEndAllowThreads(__tstate
);
27170 if (PyErr_Occurred()) SWIG_fail
;
27172 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27179 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27180 PyObject
*resultobj
= 0;
27181 wxListItem
*arg1
= (wxListItem
*) 0 ;
27185 PyObject
*swig_obj
[1] ;
27187 if (!args
) SWIG_fail
;
27188 swig_obj
[0] = args
;
27189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27190 if (!SWIG_IsOK(res1
)) {
27191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27193 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27196 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
27197 wxPyEndAllowThreads(__tstate
);
27198 if (PyErr_Occurred()) SWIG_fail
;
27200 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27207 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27208 PyObject
*resultobj
= 0;
27209 wxListItem
*arg1
= (wxListItem
*) 0 ;
27213 PyObject
*swig_obj
[1] ;
27215 if (!args
) SWIG_fail
;
27216 swig_obj
[0] = args
;
27217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27218 if (!SWIG_IsOK(res1
)) {
27219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27221 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27224 result
= ((wxListItem
const *)arg1
)->GetFont();
27225 wxPyEndAllowThreads(__tstate
);
27226 if (PyErr_Occurred()) SWIG_fail
;
27228 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
27235 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27236 PyObject
*resultobj
= 0;
27237 wxListItem
*arg1
= (wxListItem
*) 0 ;
27243 PyObject
*swig_obj
[2] ;
27245 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
27246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27247 if (!SWIG_IsOK(res1
)) {
27248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27250 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27251 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27252 if (!SWIG_IsOK(ecode2
)) {
27253 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27255 arg2
= static_cast< long >(val2
);
27256 if (arg1
) (arg1
)->m_mask
= arg2
;
27258 resultobj
= SWIG_Py_Void();
27265 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27266 PyObject
*resultobj
= 0;
27267 wxListItem
*arg1
= (wxListItem
*) 0 ;
27271 PyObject
*swig_obj
[1] ;
27273 if (!args
) SWIG_fail
;
27274 swig_obj
[0] = args
;
27275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27276 if (!SWIG_IsOK(res1
)) {
27277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27279 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27280 result
= (long) ((arg1
)->m_mask
);
27281 resultobj
= SWIG_From_long(static_cast< long >(result
));
27288 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27289 PyObject
*resultobj
= 0;
27290 wxListItem
*arg1
= (wxListItem
*) 0 ;
27296 PyObject
*swig_obj
[2] ;
27298 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27300 if (!SWIG_IsOK(res1
)) {
27301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27303 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27304 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27305 if (!SWIG_IsOK(ecode2
)) {
27306 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27308 arg2
= static_cast< long >(val2
);
27309 if (arg1
) (arg1
)->m_itemId
= arg2
;
27311 resultobj
= SWIG_Py_Void();
27318 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27319 PyObject
*resultobj
= 0;
27320 wxListItem
*arg1
= (wxListItem
*) 0 ;
27324 PyObject
*swig_obj
[1] ;
27326 if (!args
) SWIG_fail
;
27327 swig_obj
[0] = args
;
27328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27329 if (!SWIG_IsOK(res1
)) {
27330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27332 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27333 result
= (long) ((arg1
)->m_itemId
);
27334 resultobj
= SWIG_From_long(static_cast< long >(result
));
27341 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27342 PyObject
*resultobj
= 0;
27343 wxListItem
*arg1
= (wxListItem
*) 0 ;
27349 PyObject
*swig_obj
[2] ;
27351 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27353 if (!SWIG_IsOK(res1
)) {
27354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27356 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27357 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27358 if (!SWIG_IsOK(ecode2
)) {
27359 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27361 arg2
= static_cast< int >(val2
);
27362 if (arg1
) (arg1
)->m_col
= arg2
;
27364 resultobj
= SWIG_Py_Void();
27371 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27372 PyObject
*resultobj
= 0;
27373 wxListItem
*arg1
= (wxListItem
*) 0 ;
27377 PyObject
*swig_obj
[1] ;
27379 if (!args
) SWIG_fail
;
27380 swig_obj
[0] = args
;
27381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27382 if (!SWIG_IsOK(res1
)) {
27383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27385 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27386 result
= (int) ((arg1
)->m_col
);
27387 resultobj
= SWIG_From_int(static_cast< int >(result
));
27394 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27395 PyObject
*resultobj
= 0;
27396 wxListItem
*arg1
= (wxListItem
*) 0 ;
27402 PyObject
*swig_obj
[2] ;
27404 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27406 if (!SWIG_IsOK(res1
)) {
27407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27409 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27410 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27411 if (!SWIG_IsOK(ecode2
)) {
27412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27414 arg2
= static_cast< long >(val2
);
27415 if (arg1
) (arg1
)->m_state
= arg2
;
27417 resultobj
= SWIG_Py_Void();
27424 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27425 PyObject
*resultobj
= 0;
27426 wxListItem
*arg1
= (wxListItem
*) 0 ;
27430 PyObject
*swig_obj
[1] ;
27432 if (!args
) SWIG_fail
;
27433 swig_obj
[0] = args
;
27434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27435 if (!SWIG_IsOK(res1
)) {
27436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27438 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27439 result
= (long) ((arg1
)->m_state
);
27440 resultobj
= SWIG_From_long(static_cast< long >(result
));
27447 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27448 PyObject
*resultobj
= 0;
27449 wxListItem
*arg1
= (wxListItem
*) 0 ;
27455 PyObject
*swig_obj
[2] ;
27457 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
27458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27459 if (!SWIG_IsOK(res1
)) {
27460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27462 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27463 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27464 if (!SWIG_IsOK(ecode2
)) {
27465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27467 arg2
= static_cast< long >(val2
);
27468 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27470 resultobj
= SWIG_Py_Void();
27477 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27478 PyObject
*resultobj
= 0;
27479 wxListItem
*arg1
= (wxListItem
*) 0 ;
27483 PyObject
*swig_obj
[1] ;
27485 if (!args
) SWIG_fail
;
27486 swig_obj
[0] = args
;
27487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27488 if (!SWIG_IsOK(res1
)) {
27489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27491 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27492 result
= (long) ((arg1
)->m_stateMask
);
27493 resultobj
= SWIG_From_long(static_cast< long >(result
));
27500 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27501 PyObject
*resultobj
= 0;
27502 wxListItem
*arg1
= (wxListItem
*) 0 ;
27503 wxString
*arg2
= (wxString
*) 0 ;
27506 bool temp2
= false ;
27507 PyObject
*swig_obj
[2] ;
27509 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
27510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27511 if (!SWIG_IsOK(res1
)) {
27512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27514 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27516 arg2
= wxString_in_helper(swig_obj
[1]);
27517 if (arg2
== NULL
) SWIG_fail
;
27520 if (arg1
) (arg1
)->m_text
= *arg2
;
27522 resultobj
= SWIG_Py_Void();
27537 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27538 PyObject
*resultobj
= 0;
27539 wxListItem
*arg1
= (wxListItem
*) 0 ;
27540 wxString
*result
= 0 ;
27543 PyObject
*swig_obj
[1] ;
27545 if (!args
) SWIG_fail
;
27546 swig_obj
[0] = args
;
27547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27548 if (!SWIG_IsOK(res1
)) {
27549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27551 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27552 result
= (wxString
*)& ((arg1
)->m_text
);
27555 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27557 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27566 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27567 PyObject
*resultobj
= 0;
27568 wxListItem
*arg1
= (wxListItem
*) 0 ;
27574 PyObject
*swig_obj
[2] ;
27576 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
27577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27578 if (!SWIG_IsOK(res1
)) {
27579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27581 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27582 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27583 if (!SWIG_IsOK(ecode2
)) {
27584 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27586 arg2
= static_cast< int >(val2
);
27587 if (arg1
) (arg1
)->m_image
= arg2
;
27589 resultobj
= SWIG_Py_Void();
27596 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27597 PyObject
*resultobj
= 0;
27598 wxListItem
*arg1
= (wxListItem
*) 0 ;
27602 PyObject
*swig_obj
[1] ;
27604 if (!args
) SWIG_fail
;
27605 swig_obj
[0] = args
;
27606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27607 if (!SWIG_IsOK(res1
)) {
27608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27610 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27611 result
= (int) ((arg1
)->m_image
);
27612 resultobj
= SWIG_From_int(static_cast< int >(result
));
27619 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27620 PyObject
*resultobj
= 0;
27621 wxListItem
*arg1
= (wxListItem
*) 0 ;
27627 PyObject
*swig_obj
[2] ;
27629 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
27630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27631 if (!SWIG_IsOK(res1
)) {
27632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27634 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27635 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27636 if (!SWIG_IsOK(ecode2
)) {
27637 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27639 arg2
= static_cast< long >(val2
);
27640 if (arg1
) (arg1
)->m_data
= arg2
;
27642 resultobj
= SWIG_Py_Void();
27649 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27650 PyObject
*resultobj
= 0;
27651 wxListItem
*arg1
= (wxListItem
*) 0 ;
27655 PyObject
*swig_obj
[1] ;
27657 if (!args
) SWIG_fail
;
27658 swig_obj
[0] = args
;
27659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27660 if (!SWIG_IsOK(res1
)) {
27661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27663 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27664 result
= (long) ((arg1
)->m_data
);
27665 resultobj
= SWIG_From_long(static_cast< long >(result
));
27672 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27673 PyObject
*resultobj
= 0;
27674 wxListItem
*arg1
= (wxListItem
*) 0 ;
27680 PyObject
*swig_obj
[2] ;
27682 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
27683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27684 if (!SWIG_IsOK(res1
)) {
27685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27687 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27688 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27689 if (!SWIG_IsOK(ecode2
)) {
27690 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
27692 arg2
= static_cast< int >(val2
);
27693 if (arg1
) (arg1
)->m_format
= arg2
;
27695 resultobj
= SWIG_Py_Void();
27702 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27703 PyObject
*resultobj
= 0;
27704 wxListItem
*arg1
= (wxListItem
*) 0 ;
27708 PyObject
*swig_obj
[1] ;
27710 if (!args
) SWIG_fail
;
27711 swig_obj
[0] = args
;
27712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27713 if (!SWIG_IsOK(res1
)) {
27714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27716 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27717 result
= (int) ((arg1
)->m_format
);
27718 resultobj
= SWIG_From_int(static_cast< int >(result
));
27725 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27726 PyObject
*resultobj
= 0;
27727 wxListItem
*arg1
= (wxListItem
*) 0 ;
27733 PyObject
*swig_obj
[2] ;
27735 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
27736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27737 if (!SWIG_IsOK(res1
)) {
27738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27740 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27741 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27742 if (!SWIG_IsOK(ecode2
)) {
27743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
27745 arg2
= static_cast< int >(val2
);
27746 if (arg1
) (arg1
)->m_width
= arg2
;
27748 resultobj
= SWIG_Py_Void();
27755 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27756 PyObject
*resultobj
= 0;
27757 wxListItem
*arg1
= (wxListItem
*) 0 ;
27761 PyObject
*swig_obj
[1] ;
27763 if (!args
) SWIG_fail
;
27764 swig_obj
[0] = args
;
27765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27766 if (!SWIG_IsOK(res1
)) {
27767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27769 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27770 result
= (int) ((arg1
)->m_width
);
27771 resultobj
= SWIG_From_int(static_cast< int >(result
));
27778 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27780 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27781 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
27782 return SWIG_Py_Void();
27785 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27786 return SWIG_Python_InitShadowInstance(args
);
27789 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27790 PyObject
*resultobj
= 0;
27791 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27792 int arg2
= (int) 0 ;
27793 wxListEvent
*result
= 0 ;
27798 PyObject
* obj0
= 0 ;
27799 PyObject
* obj1
= 0 ;
27800 char * kwnames
[] = {
27801 (char *) "commandType",(char *) "id", NULL
27804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27806 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27807 if (!SWIG_IsOK(ecode1
)) {
27808 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
27810 arg1
= static_cast< wxEventType
>(val1
);
27813 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27814 if (!SWIG_IsOK(ecode2
)) {
27815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
27817 arg2
= static_cast< int >(val2
);
27820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27821 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
27822 wxPyEndAllowThreads(__tstate
);
27823 if (PyErr_Occurred()) SWIG_fail
;
27825 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
27832 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27833 PyObject
*resultobj
= 0;
27834 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27840 PyObject
*swig_obj
[2] ;
27842 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
27843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27844 if (!SWIG_IsOK(res1
)) {
27845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27847 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27848 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27849 if (!SWIG_IsOK(ecode2
)) {
27850 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
27852 arg2
= static_cast< int >(val2
);
27853 if (arg1
) (arg1
)->m_code
= arg2
;
27855 resultobj
= SWIG_Py_Void();
27862 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27863 PyObject
*resultobj
= 0;
27864 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27868 PyObject
*swig_obj
[1] ;
27870 if (!args
) SWIG_fail
;
27871 swig_obj
[0] = args
;
27872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27873 if (!SWIG_IsOK(res1
)) {
27874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27876 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27877 result
= (int) ((arg1
)->m_code
);
27878 resultobj
= SWIG_From_int(static_cast< int >(result
));
27885 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27886 PyObject
*resultobj
= 0;
27887 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27893 PyObject
*swig_obj
[2] ;
27895 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27897 if (!SWIG_IsOK(res1
)) {
27898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27900 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27901 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27902 if (!SWIG_IsOK(ecode2
)) {
27903 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
27905 arg2
= static_cast< long >(val2
);
27906 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
27908 resultobj
= SWIG_Py_Void();
27915 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27916 PyObject
*resultobj
= 0;
27917 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27921 PyObject
*swig_obj
[1] ;
27923 if (!args
) SWIG_fail
;
27924 swig_obj
[0] = args
;
27925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27926 if (!SWIG_IsOK(res1
)) {
27927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27929 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27930 result
= (long) ((arg1
)->m_oldItemIndex
);
27931 resultobj
= SWIG_From_long(static_cast< long >(result
));
27938 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27939 PyObject
*resultobj
= 0;
27940 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27946 PyObject
*swig_obj
[2] ;
27948 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27950 if (!SWIG_IsOK(res1
)) {
27951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27953 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27954 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27955 if (!SWIG_IsOK(ecode2
)) {
27956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
27958 arg2
= static_cast< long >(val2
);
27959 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
27961 resultobj
= SWIG_Py_Void();
27968 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27969 PyObject
*resultobj
= 0;
27970 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27974 PyObject
*swig_obj
[1] ;
27976 if (!args
) SWIG_fail
;
27977 swig_obj
[0] = args
;
27978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27979 if (!SWIG_IsOK(res1
)) {
27980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27982 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27983 result
= (long) ((arg1
)->m_itemIndex
);
27984 resultobj
= SWIG_From_long(static_cast< long >(result
));
27991 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27992 PyObject
*resultobj
= 0;
27993 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27999 PyObject
*swig_obj
[2] ;
28001 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
28002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28003 if (!SWIG_IsOK(res1
)) {
28004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28006 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28007 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28008 if (!SWIG_IsOK(ecode2
)) {
28009 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
28011 arg2
= static_cast< int >(val2
);
28012 if (arg1
) (arg1
)->m_col
= arg2
;
28014 resultobj
= SWIG_Py_Void();
28021 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28022 PyObject
*resultobj
= 0;
28023 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28027 PyObject
*swig_obj
[1] ;
28029 if (!args
) SWIG_fail
;
28030 swig_obj
[0] = args
;
28031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28032 if (!SWIG_IsOK(res1
)) {
28033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28035 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28036 result
= (int) ((arg1
)->m_col
);
28037 resultobj
= SWIG_From_int(static_cast< int >(result
));
28044 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28045 PyObject
*resultobj
= 0;
28046 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28047 wxPoint
*arg2
= (wxPoint
*) 0 ;
28052 PyObject
*swig_obj
[2] ;
28054 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
28055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28056 if (!SWIG_IsOK(res1
)) {
28057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28059 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28060 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
28061 if (!SWIG_IsOK(res2
)) {
28062 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
28064 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
28065 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
28067 resultobj
= SWIG_Py_Void();
28074 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28075 PyObject
*resultobj
= 0;
28076 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28077 wxPoint
*result
= 0 ;
28080 PyObject
*swig_obj
[1] ;
28082 if (!args
) SWIG_fail
;
28083 swig_obj
[0] = args
;
28084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28085 if (!SWIG_IsOK(res1
)) {
28086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28088 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28089 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
28090 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
28097 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28098 PyObject
*resultobj
= 0;
28099 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28100 wxListItem
*result
= 0 ;
28103 PyObject
*swig_obj
[1] ;
28105 if (!args
) SWIG_fail
;
28106 swig_obj
[0] = args
;
28107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28108 if (!SWIG_IsOK(res1
)) {
28109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28111 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28112 result
= (wxListItem
*)& ((arg1
)->m_item
);
28114 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28122 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28123 PyObject
*resultobj
= 0;
28124 wxListEvent
*arg1
= (wxListEvent
*) 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_wxListEvent
, 0 | 0 );
28133 if (!SWIG_IsOK(res1
)) {
28134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28136 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28139 result
= (int)(arg1
)->GetKeyCode();
28140 wxPyEndAllowThreads(__tstate
);
28141 if (PyErr_Occurred()) SWIG_fail
;
28143 resultobj
= SWIG_From_int(static_cast< int >(result
));
28150 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28151 PyObject
*resultobj
= 0;
28152 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28156 PyObject
*swig_obj
[1] ;
28158 if (!args
) SWIG_fail
;
28159 swig_obj
[0] = args
;
28160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28161 if (!SWIG_IsOK(res1
)) {
28162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28164 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28167 result
= (long)(arg1
)->GetIndex();
28168 wxPyEndAllowThreads(__tstate
);
28169 if (PyErr_Occurred()) SWIG_fail
;
28171 resultobj
= SWIG_From_long(static_cast< long >(result
));
28178 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28179 PyObject
*resultobj
= 0;
28180 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28184 PyObject
*swig_obj
[1] ;
28186 if (!args
) SWIG_fail
;
28187 swig_obj
[0] = args
;
28188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28189 if (!SWIG_IsOK(res1
)) {
28190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28192 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28195 result
= (int)(arg1
)->GetColumn();
28196 wxPyEndAllowThreads(__tstate
);
28197 if (PyErr_Occurred()) SWIG_fail
;
28199 resultobj
= SWIG_From_int(static_cast< int >(result
));
28206 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28207 PyObject
*resultobj
= 0;
28208 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28212 PyObject
*swig_obj
[1] ;
28214 if (!args
) SWIG_fail
;
28215 swig_obj
[0] = args
;
28216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28217 if (!SWIG_IsOK(res1
)) {
28218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28220 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28223 result
= (arg1
)->GetPoint();
28224 wxPyEndAllowThreads(__tstate
);
28225 if (PyErr_Occurred()) SWIG_fail
;
28227 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
28234 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28235 PyObject
*resultobj
= 0;
28236 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28237 wxString
*result
= 0 ;
28240 PyObject
*swig_obj
[1] ;
28242 if (!args
) SWIG_fail
;
28243 swig_obj
[0] = args
;
28244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28245 if (!SWIG_IsOK(res1
)) {
28246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28248 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28252 wxString
const &_result_ref
= (arg1
)->GetLabel();
28253 result
= (wxString
*) &_result_ref
;
28255 wxPyEndAllowThreads(__tstate
);
28256 if (PyErr_Occurred()) SWIG_fail
;
28260 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28262 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28271 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28272 PyObject
*resultobj
= 0;
28273 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28274 wxString
*result
= 0 ;
28277 PyObject
*swig_obj
[1] ;
28279 if (!args
) SWIG_fail
;
28280 swig_obj
[0] = args
;
28281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28282 if (!SWIG_IsOK(res1
)) {
28283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28285 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28289 wxString
const &_result_ref
= (arg1
)->GetText();
28290 result
= (wxString
*) &_result_ref
;
28292 wxPyEndAllowThreads(__tstate
);
28293 if (PyErr_Occurred()) SWIG_fail
;
28297 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28299 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28308 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28309 PyObject
*resultobj
= 0;
28310 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28314 PyObject
*swig_obj
[1] ;
28316 if (!args
) SWIG_fail
;
28317 swig_obj
[0] = args
;
28318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28319 if (!SWIG_IsOK(res1
)) {
28320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28322 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28325 result
= (int)(arg1
)->GetImage();
28326 wxPyEndAllowThreads(__tstate
);
28327 if (PyErr_Occurred()) SWIG_fail
;
28329 resultobj
= SWIG_From_int(static_cast< int >(result
));
28336 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28337 PyObject
*resultobj
= 0;
28338 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28342 PyObject
*swig_obj
[1] ;
28344 if (!args
) SWIG_fail
;
28345 swig_obj
[0] = args
;
28346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28347 if (!SWIG_IsOK(res1
)) {
28348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28350 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28353 result
= (long)(arg1
)->GetData();
28354 wxPyEndAllowThreads(__tstate
);
28355 if (PyErr_Occurred()) SWIG_fail
;
28357 resultobj
= SWIG_From_long(static_cast< long >(result
));
28364 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28365 PyObject
*resultobj
= 0;
28366 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28370 PyObject
*swig_obj
[1] ;
28372 if (!args
) SWIG_fail
;
28373 swig_obj
[0] = args
;
28374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28375 if (!SWIG_IsOK(res1
)) {
28376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28378 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28381 result
= (long)(arg1
)->GetMask();
28382 wxPyEndAllowThreads(__tstate
);
28383 if (PyErr_Occurred()) SWIG_fail
;
28385 resultobj
= SWIG_From_long(static_cast< long >(result
));
28392 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28393 PyObject
*resultobj
= 0;
28394 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28395 wxListItem
*result
= 0 ;
28398 PyObject
*swig_obj
[1] ;
28400 if (!args
) SWIG_fail
;
28401 swig_obj
[0] = args
;
28402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28403 if (!SWIG_IsOK(res1
)) {
28404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28406 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28410 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28411 result
= (wxListItem
*) &_result_ref
;
28413 wxPyEndAllowThreads(__tstate
);
28414 if (PyErr_Occurred()) SWIG_fail
;
28416 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28423 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28424 PyObject
*resultobj
= 0;
28425 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28429 PyObject
*swig_obj
[1] ;
28431 if (!args
) SWIG_fail
;
28432 swig_obj
[0] = args
;
28433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28434 if (!SWIG_IsOK(res1
)) {
28435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28437 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28440 result
= (long)(arg1
)->GetCacheFrom();
28441 wxPyEndAllowThreads(__tstate
);
28442 if (PyErr_Occurred()) SWIG_fail
;
28444 resultobj
= SWIG_From_long(static_cast< long >(result
));
28451 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28452 PyObject
*resultobj
= 0;
28453 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28457 PyObject
*swig_obj
[1] ;
28459 if (!args
) SWIG_fail
;
28460 swig_obj
[0] = args
;
28461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28462 if (!SWIG_IsOK(res1
)) {
28463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28465 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28468 result
= (long)(arg1
)->GetCacheTo();
28469 wxPyEndAllowThreads(__tstate
);
28470 if (PyErr_Occurred()) SWIG_fail
;
28472 resultobj
= SWIG_From_long(static_cast< long >(result
));
28479 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28480 PyObject
*resultobj
= 0;
28481 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28485 PyObject
*swig_obj
[1] ;
28487 if (!args
) SWIG_fail
;
28488 swig_obj
[0] = args
;
28489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28490 if (!SWIG_IsOK(res1
)) {
28491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28493 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28496 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
28497 wxPyEndAllowThreads(__tstate
);
28498 if (PyErr_Occurred()) SWIG_fail
;
28501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28509 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28510 PyObject
*resultobj
= 0;
28511 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28517 PyObject
* obj0
= 0 ;
28518 PyObject
* obj1
= 0 ;
28519 char * kwnames
[] = {
28520 (char *) "self",(char *) "editCancelled", NULL
28523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28525 if (!SWIG_IsOK(res1
)) {
28526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28528 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28529 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28530 if (!SWIG_IsOK(ecode2
)) {
28531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28533 arg2
= static_cast< bool >(val2
);
28535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28536 (arg1
)->SetEditCanceled(arg2
);
28537 wxPyEndAllowThreads(__tstate
);
28538 if (PyErr_Occurred()) SWIG_fail
;
28540 resultobj
= SWIG_Py_Void();
28547 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28549 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28550 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
28551 return SWIG_Py_Void();
28554 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28555 return SWIG_Python_InitShadowInstance(args
);
28558 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28559 PyObject
*resultobj
= 0;
28560 wxWindow
*arg1
= (wxWindow
*) 0 ;
28561 int arg2
= (int) -1 ;
28562 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28563 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28564 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28565 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28566 long arg5
= (long) wxLC_ICON
;
28567 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28568 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28569 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
28570 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28571 wxPyListCtrl
*result
= 0 ;
28582 bool temp7
= false ;
28583 PyObject
* obj0
= 0 ;
28584 PyObject
* obj1
= 0 ;
28585 PyObject
* obj2
= 0 ;
28586 PyObject
* obj3
= 0 ;
28587 PyObject
* obj4
= 0 ;
28588 PyObject
* obj5
= 0 ;
28589 PyObject
* obj6
= 0 ;
28590 char * kwnames
[] = {
28591 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28596 if (!SWIG_IsOK(res1
)) {
28597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28599 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28601 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28602 if (!SWIG_IsOK(ecode2
)) {
28603 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28605 arg2
= static_cast< int >(val2
);
28610 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28616 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28620 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28621 if (!SWIG_IsOK(ecode5
)) {
28622 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28624 arg5
= static_cast< long >(val5
);
28627 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
28628 if (!SWIG_IsOK(res6
)) {
28629 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28632 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28634 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
28638 arg7
= wxString_in_helper(obj6
);
28639 if (arg7
== NULL
) SWIG_fail
;
28644 if (!wxPyCheckForApp()) SWIG_fail
;
28645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28646 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28647 wxPyEndAllowThreads(__tstate
);
28648 if (PyErr_Occurred()) SWIG_fail
;
28650 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
28665 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28666 PyObject
*resultobj
= 0;
28667 wxPyListCtrl
*result
= 0 ;
28669 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
28671 if (!wxPyCheckForApp()) SWIG_fail
;
28672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28673 result
= (wxPyListCtrl
*)new wxPyListCtrl();
28674 wxPyEndAllowThreads(__tstate
);
28675 if (PyErr_Occurred()) SWIG_fail
;
28677 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
28684 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28685 PyObject
*resultobj
= 0;
28686 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28687 wxWindow
*arg2
= (wxWindow
*) 0 ;
28688 int arg3
= (int) -1 ;
28689 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28690 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28691 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28692 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28693 long arg6
= (long) wxLC_ICON
;
28694 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28695 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28696 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
28697 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28711 bool temp8
= false ;
28712 PyObject
* obj0
= 0 ;
28713 PyObject
* obj1
= 0 ;
28714 PyObject
* obj2
= 0 ;
28715 PyObject
* obj3
= 0 ;
28716 PyObject
* obj4
= 0 ;
28717 PyObject
* obj5
= 0 ;
28718 PyObject
* obj6
= 0 ;
28719 PyObject
* obj7
= 0 ;
28720 char * kwnames
[] = {
28721 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28726 if (!SWIG_IsOK(res1
)) {
28727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28729 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28730 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28731 if (!SWIG_IsOK(res2
)) {
28732 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
28734 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28736 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28737 if (!SWIG_IsOK(ecode3
)) {
28738 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
28740 arg3
= static_cast< int >(val3
);
28745 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28751 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28755 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28756 if (!SWIG_IsOK(ecode6
)) {
28757 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
28759 arg6
= static_cast< long >(val6
);
28762 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
28763 if (!SWIG_IsOK(res7
)) {
28764 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28767 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28769 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
28773 arg8
= wxString_in_helper(obj7
);
28774 if (arg8
== NULL
) SWIG_fail
;
28779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28780 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28781 wxPyEndAllowThreads(__tstate
);
28782 if (PyErr_Occurred()) SWIG_fail
;
28785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28801 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28802 PyObject
*resultobj
= 0;
28803 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28804 PyObject
*arg2
= (PyObject
*) 0 ;
28805 PyObject
*arg3
= (PyObject
*) 0 ;
28808 PyObject
* obj0
= 0 ;
28809 PyObject
* obj1
= 0 ;
28810 PyObject
* obj2
= 0 ;
28811 char * kwnames
[] = {
28812 (char *) "self",(char *) "self",(char *) "_class", NULL
28815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28817 if (!SWIG_IsOK(res1
)) {
28818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28820 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28825 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28826 wxPyEndAllowThreads(__tstate
);
28827 if (PyErr_Occurred()) SWIG_fail
;
28829 resultobj
= SWIG_Py_Void();
28836 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28837 PyObject
*resultobj
= 0;
28838 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28840 wxListItem
*result
= 0 ;
28845 PyObject
* obj0
= 0 ;
28846 PyObject
* obj1
= 0 ;
28847 char * kwnames
[] = {
28848 (char *) "self",(char *) "col", NULL
28851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28853 if (!SWIG_IsOK(res1
)) {
28854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28856 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28857 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28858 if (!SWIG_IsOK(ecode2
)) {
28859 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
28861 arg2
= static_cast< int >(val2
);
28863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28864 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
28865 wxPyEndAllowThreads(__tstate
);
28866 if (PyErr_Occurred()) SWIG_fail
;
28869 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28877 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28878 PyObject
*resultobj
= 0;
28879 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28881 wxListItem
*arg3
= 0 ;
28889 PyObject
* obj0
= 0 ;
28890 PyObject
* obj1
= 0 ;
28891 PyObject
* obj2
= 0 ;
28892 char * kwnames
[] = {
28893 (char *) "self",(char *) "col",(char *) "item", NULL
28896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28898 if (!SWIG_IsOK(res1
)) {
28899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28901 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28902 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28903 if (!SWIG_IsOK(ecode2
)) {
28904 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
28906 arg2
= static_cast< int >(val2
);
28907 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
28908 if (!SWIG_IsOK(res3
)) {
28909 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28912 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28914 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
28916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28917 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
28918 wxPyEndAllowThreads(__tstate
);
28919 if (PyErr_Occurred()) SWIG_fail
;
28922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28930 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28931 PyObject
*resultobj
= 0;
28932 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28939 PyObject
* obj0
= 0 ;
28940 PyObject
* obj1
= 0 ;
28941 char * kwnames
[] = {
28942 (char *) "self",(char *) "col", NULL
28945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28947 if (!SWIG_IsOK(res1
)) {
28948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28950 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28951 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28952 if (!SWIG_IsOK(ecode2
)) {
28953 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28955 arg2
= static_cast< int >(val2
);
28957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28958 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
28959 wxPyEndAllowThreads(__tstate
);
28960 if (PyErr_Occurred()) SWIG_fail
;
28962 resultobj
= SWIG_From_int(static_cast< int >(result
));
28969 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28970 PyObject
*resultobj
= 0;
28971 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28981 PyObject
* obj0
= 0 ;
28982 PyObject
* obj1
= 0 ;
28983 PyObject
* obj2
= 0 ;
28984 char * kwnames
[] = {
28985 (char *) "self",(char *) "col",(char *) "width", NULL
28988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28990 if (!SWIG_IsOK(res1
)) {
28991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28993 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28994 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28995 if (!SWIG_IsOK(ecode2
)) {
28996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28998 arg2
= static_cast< int >(val2
);
28999 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29000 if (!SWIG_IsOK(ecode3
)) {
29001 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
29003 arg3
= static_cast< int >(val3
);
29005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29006 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
29007 wxPyEndAllowThreads(__tstate
);
29008 if (PyErr_Occurred()) SWIG_fail
;
29011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29019 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29020 PyObject
*resultobj
= 0;
29021 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29025 PyObject
*swig_obj
[1] ;
29027 if (!args
) SWIG_fail
;
29028 swig_obj
[0] = args
;
29029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29030 if (!SWIG_IsOK(res1
)) {
29031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29033 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29036 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
29037 wxPyEndAllowThreads(__tstate
);
29038 if (PyErr_Occurred()) SWIG_fail
;
29040 resultobj
= SWIG_From_int(static_cast< int >(result
));
29047 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29048 PyObject
*resultobj
= 0;
29049 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29053 PyObject
*swig_obj
[1] ;
29055 if (!args
) SWIG_fail
;
29056 swig_obj
[0] = args
;
29057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29058 if (!SWIG_IsOK(res1
)) {
29059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29061 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29064 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
29065 wxPyEndAllowThreads(__tstate
);
29066 if (PyErr_Occurred()) SWIG_fail
;
29068 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29075 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29076 PyObject
*resultobj
= 0;
29077 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29078 wxTextCtrl
*result
= 0 ;
29081 PyObject
*swig_obj
[1] ;
29083 if (!args
) SWIG_fail
;
29084 swig_obj
[0] = args
;
29085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29086 if (!SWIG_IsOK(res1
)) {
29087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29089 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29092 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
29093 wxPyEndAllowThreads(__tstate
);
29094 if (PyErr_Occurred()) SWIG_fail
;
29097 resultobj
= wxPyMake_wxObject(result
, 0);
29105 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29106 PyObject
*resultobj
= 0;
29107 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29109 int arg3
= (int) 0 ;
29110 wxListItem
*result
= 0 ;
29117 PyObject
* obj0
= 0 ;
29118 PyObject
* obj1
= 0 ;
29119 PyObject
* obj2
= 0 ;
29120 char * kwnames
[] = {
29121 (char *) "self",(char *) "itemId",(char *) "col", NULL
29124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29126 if (!SWIG_IsOK(res1
)) {
29127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29129 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29130 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29131 if (!SWIG_IsOK(ecode2
)) {
29132 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29134 arg2
= static_cast< long >(val2
);
29136 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29137 if (!SWIG_IsOK(ecode3
)) {
29138 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29140 arg3
= static_cast< int >(val3
);
29143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29144 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
29145 wxPyEndAllowThreads(__tstate
);
29146 if (PyErr_Occurred()) SWIG_fail
;
29149 resultobj
= wxPyMake_wxObject(result
, (bool)0);
29157 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29158 PyObject
*resultobj
= 0;
29159 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29160 wxListItem
*arg2
= 0 ;
29166 PyObject
* obj0
= 0 ;
29167 PyObject
* obj1
= 0 ;
29168 char * kwnames
[] = {
29169 (char *) "self",(char *) "info", NULL
29172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29174 if (!SWIG_IsOK(res1
)) {
29175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29177 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29178 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
29179 if (!SWIG_IsOK(res2
)) {
29180 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29183 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29185 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
29187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29188 result
= (bool)(arg1
)->SetItem(*arg2
);
29189 wxPyEndAllowThreads(__tstate
);
29190 if (PyErr_Occurred()) SWIG_fail
;
29193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29201 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29202 PyObject
*resultobj
= 0;
29203 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29206 wxString
*arg4
= 0 ;
29207 int arg5
= (int) -1 ;
29215 bool temp4
= false ;
29218 PyObject
* obj0
= 0 ;
29219 PyObject
* obj1
= 0 ;
29220 PyObject
* obj2
= 0 ;
29221 PyObject
* obj3
= 0 ;
29222 PyObject
* obj4
= 0 ;
29223 char * kwnames
[] = {
29224 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29229 if (!SWIG_IsOK(res1
)) {
29230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29232 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29233 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29234 if (!SWIG_IsOK(ecode2
)) {
29235 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29237 arg2
= static_cast< long >(val2
);
29238 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29239 if (!SWIG_IsOK(ecode3
)) {
29240 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29242 arg3
= static_cast< int >(val3
);
29244 arg4
= wxString_in_helper(obj3
);
29245 if (arg4
== NULL
) SWIG_fail
;
29249 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29250 if (!SWIG_IsOK(ecode5
)) {
29251 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29253 arg5
= static_cast< int >(val5
);
29256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29257 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
29258 wxPyEndAllowThreads(__tstate
);
29259 if (PyErr_Occurred()) SWIG_fail
;
29261 resultobj
= SWIG_From_long(static_cast< long >(result
));
29276 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29277 PyObject
*resultobj
= 0;
29278 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29288 PyObject
* obj0
= 0 ;
29289 PyObject
* obj1
= 0 ;
29290 PyObject
* obj2
= 0 ;
29291 char * kwnames
[] = {
29292 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29297 if (!SWIG_IsOK(res1
)) {
29298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29300 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29301 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29302 if (!SWIG_IsOK(ecode2
)) {
29303 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29305 arg2
= static_cast< long >(val2
);
29306 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29307 if (!SWIG_IsOK(ecode3
)) {
29308 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29310 arg3
= static_cast< long >(val3
);
29312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29313 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29314 wxPyEndAllowThreads(__tstate
);
29315 if (PyErr_Occurred()) SWIG_fail
;
29317 resultobj
= SWIG_From_int(static_cast< int >(result
));
29324 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29325 PyObject
*resultobj
= 0;
29326 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29339 PyObject
* obj0
= 0 ;
29340 PyObject
* obj1
= 0 ;
29341 PyObject
* obj2
= 0 ;
29342 PyObject
* obj3
= 0 ;
29343 char * kwnames
[] = {
29344 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29349 if (!SWIG_IsOK(res1
)) {
29350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29352 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29353 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29354 if (!SWIG_IsOK(ecode2
)) {
29355 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29357 arg2
= static_cast< long >(val2
);
29358 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29359 if (!SWIG_IsOK(ecode3
)) {
29360 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29362 arg3
= static_cast< long >(val3
);
29363 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29364 if (!SWIG_IsOK(ecode4
)) {
29365 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29367 arg4
= static_cast< long >(val4
);
29369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29370 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29371 wxPyEndAllowThreads(__tstate
);
29372 if (PyErr_Occurred()) SWIG_fail
;
29375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29383 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29384 PyObject
*resultobj
= 0;
29385 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29388 int arg4
= (int) -1 ;
29398 PyObject
* obj0
= 0 ;
29399 PyObject
* obj1
= 0 ;
29400 PyObject
* obj2
= 0 ;
29401 PyObject
* obj3
= 0 ;
29402 char * kwnames
[] = {
29403 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29408 if (!SWIG_IsOK(res1
)) {
29409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29411 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29412 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29413 if (!SWIG_IsOK(ecode2
)) {
29414 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29416 arg2
= static_cast< long >(val2
);
29417 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29418 if (!SWIG_IsOK(ecode3
)) {
29419 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29421 arg3
= static_cast< int >(val3
);
29423 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29424 if (!SWIG_IsOK(ecode4
)) {
29425 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29427 arg4
= static_cast< int >(val4
);
29430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29431 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29432 wxPyEndAllowThreads(__tstate
);
29433 if (PyErr_Occurred()) SWIG_fail
;
29436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29444 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29445 PyObject
*resultobj
= 0;
29446 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29459 PyObject
* obj0
= 0 ;
29460 PyObject
* obj1
= 0 ;
29461 PyObject
* obj2
= 0 ;
29462 PyObject
* obj3
= 0 ;
29463 char * kwnames
[] = {
29464 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29469 if (!SWIG_IsOK(res1
)) {
29470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29472 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29473 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29474 if (!SWIG_IsOK(ecode2
)) {
29475 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29477 arg2
= static_cast< long >(val2
);
29478 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29479 if (!SWIG_IsOK(ecode3
)) {
29480 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29482 arg3
= static_cast< long >(val3
);
29483 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29484 if (!SWIG_IsOK(ecode4
)) {
29485 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29487 arg4
= static_cast< int >(val4
);
29489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29490 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
29491 wxPyEndAllowThreads(__tstate
);
29492 if (PyErr_Occurred()) SWIG_fail
;
29495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29503 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29504 PyObject
*resultobj
= 0;
29505 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29512 PyObject
* obj0
= 0 ;
29513 PyObject
* obj1
= 0 ;
29514 char * kwnames
[] = {
29515 (char *) "self",(char *) "item", NULL
29518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29520 if (!SWIG_IsOK(res1
)) {
29521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29523 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29524 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29525 if (!SWIG_IsOK(ecode2
)) {
29526 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29528 arg2
= static_cast< long >(val2
);
29530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29531 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
29532 wxPyEndAllowThreads(__tstate
);
29533 if (PyErr_Occurred()) SWIG_fail
;
29537 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29539 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29548 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29549 PyObject
*resultobj
= 0;
29550 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29552 wxString
*arg3
= 0 ;
29557 bool temp3
= false ;
29558 PyObject
* obj0
= 0 ;
29559 PyObject
* obj1
= 0 ;
29560 PyObject
* obj2
= 0 ;
29561 char * kwnames
[] = {
29562 (char *) "self",(char *) "item",(char *) "str", NULL
29565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29567 if (!SWIG_IsOK(res1
)) {
29568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29570 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29571 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29572 if (!SWIG_IsOK(ecode2
)) {
29573 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29575 arg2
= static_cast< long >(val2
);
29577 arg3
= wxString_in_helper(obj2
);
29578 if (arg3
== NULL
) SWIG_fail
;
29582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29583 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
29584 wxPyEndAllowThreads(__tstate
);
29585 if (PyErr_Occurred()) SWIG_fail
;
29587 resultobj
= SWIG_Py_Void();
29602 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29603 PyObject
*resultobj
= 0;
29604 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29611 PyObject
* obj0
= 0 ;
29612 PyObject
* obj1
= 0 ;
29613 char * kwnames
[] = {
29614 (char *) "self",(char *) "item", NULL
29617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29619 if (!SWIG_IsOK(res1
)) {
29620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29622 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29623 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29624 if (!SWIG_IsOK(ecode2
)) {
29625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29627 arg2
= static_cast< long >(val2
);
29629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29630 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
29631 wxPyEndAllowThreads(__tstate
);
29632 if (PyErr_Occurred()) SWIG_fail
;
29634 resultobj
= SWIG_From_long(static_cast< long >(result
));
29641 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29642 PyObject
*resultobj
= 0;
29643 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29653 PyObject
* obj0
= 0 ;
29654 PyObject
* obj1
= 0 ;
29655 PyObject
* obj2
= 0 ;
29656 char * kwnames
[] = {
29657 (char *) "self",(char *) "item",(char *) "data", NULL
29660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29662 if (!SWIG_IsOK(res1
)) {
29663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29665 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29666 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29667 if (!SWIG_IsOK(ecode2
)) {
29668 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
29670 arg2
= static_cast< long >(val2
);
29671 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29672 if (!SWIG_IsOK(ecode3
)) {
29673 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
29675 arg3
= static_cast< long >(val3
);
29677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29678 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
29679 wxPyEndAllowThreads(__tstate
);
29680 if (PyErr_Occurred()) SWIG_fail
;
29683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29691 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29692 PyObject
*resultobj
= 0;
29693 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29700 PyObject
* obj0
= 0 ;
29701 PyObject
* obj1
= 0 ;
29702 char * kwnames
[] = {
29703 (char *) "self",(char *) "item", NULL
29706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29708 if (!SWIG_IsOK(res1
)) {
29709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29711 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29712 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29713 if (!SWIG_IsOK(ecode2
)) {
29714 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
29716 arg2
= static_cast< long >(val2
);
29718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29719 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
29720 wxPyEndAllowThreads(__tstate
);
29721 if (PyErr_Occurred()) SWIG_fail
;
29723 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
29730 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29731 PyObject
*resultobj
= 0;
29732 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29734 int arg3
= (int) wxLIST_RECT_BOUNDS
;
29742 PyObject
* obj0
= 0 ;
29743 PyObject
* obj1
= 0 ;
29744 PyObject
* obj2
= 0 ;
29745 char * kwnames
[] = {
29746 (char *) "self",(char *) "item",(char *) "code", NULL
29749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29751 if (!SWIG_IsOK(res1
)) {
29752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29754 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29755 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29756 if (!SWIG_IsOK(ecode2
)) {
29757 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
29759 arg2
= static_cast< long >(val2
);
29761 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29762 if (!SWIG_IsOK(ecode3
)) {
29763 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
29765 arg3
= static_cast< int >(val3
);
29768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29769 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
29770 wxPyEndAllowThreads(__tstate
);
29771 if (PyErr_Occurred()) SWIG_fail
;
29773 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29780 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29781 PyObject
*resultobj
= 0;
29782 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29784 wxPoint
*arg3
= 0 ;
29791 PyObject
* obj0
= 0 ;
29792 PyObject
* obj1
= 0 ;
29793 PyObject
* obj2
= 0 ;
29794 char * kwnames
[] = {
29795 (char *) "self",(char *) "item",(char *) "pos", NULL
29798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29800 if (!SWIG_IsOK(res1
)) {
29801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29803 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29804 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29805 if (!SWIG_IsOK(ecode2
)) {
29806 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
29808 arg2
= static_cast< long >(val2
);
29811 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29815 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
29816 wxPyEndAllowThreads(__tstate
);
29817 if (PyErr_Occurred()) SWIG_fail
;
29820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29828 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29829 PyObject
*resultobj
= 0;
29830 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29834 PyObject
*swig_obj
[1] ;
29836 if (!args
) SWIG_fail
;
29837 swig_obj
[0] = args
;
29838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29839 if (!SWIG_IsOK(res1
)) {
29840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29842 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29845 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
29846 wxPyEndAllowThreads(__tstate
);
29847 if (PyErr_Occurred()) SWIG_fail
;
29849 resultobj
= SWIG_From_int(static_cast< int >(result
));
29856 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29857 PyObject
*resultobj
= 0;
29858 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29862 PyObject
*swig_obj
[1] ;
29864 if (!args
) SWIG_fail
;
29865 swig_obj
[0] = args
;
29866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29867 if (!SWIG_IsOK(res1
)) {
29868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29870 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29873 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
29874 wxPyEndAllowThreads(__tstate
);
29875 if (PyErr_Occurred()) SWIG_fail
;
29877 resultobj
= SWIG_From_int(static_cast< int >(result
));
29884 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29885 PyObject
*resultobj
= 0;
29886 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29890 PyObject
*swig_obj
[1] ;
29892 if (!args
) SWIG_fail
;
29893 swig_obj
[0] = args
;
29894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29895 if (!SWIG_IsOK(res1
)) {
29896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29898 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29901 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
29902 wxPyEndAllowThreads(__tstate
);
29903 if (PyErr_Occurred()) SWIG_fail
;
29905 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
29912 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29913 PyObject
*resultobj
= 0;
29914 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29916 bool arg3
= (bool) false ;
29923 PyObject
* obj0
= 0 ;
29924 PyObject
* obj1
= 0 ;
29925 PyObject
* obj2
= 0 ;
29926 char * kwnames
[] = {
29927 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
29930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29932 if (!SWIG_IsOK(res1
)) {
29933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29935 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29936 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29937 if (!SWIG_IsOK(ecode2
)) {
29938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "2"" of type '" "int""'");
29940 arg2
= static_cast< int >(val2
);
29942 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
29943 if (!SWIG_IsOK(ecode3
)) {
29944 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "3"" of type '" "bool""'");
29946 arg3
= static_cast< bool >(val3
);
29949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29950 (arg1
)->SetItemSpacing(arg2
,arg3
);
29951 wxPyEndAllowThreads(__tstate
);
29952 if (PyErr_Occurred()) SWIG_fail
;
29954 resultobj
= SWIG_Py_Void();
29961 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29962 PyObject
*resultobj
= 0;
29963 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29967 PyObject
*swig_obj
[1] ;
29969 if (!args
) SWIG_fail
;
29970 swig_obj
[0] = args
;
29971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29972 if (!SWIG_IsOK(res1
)) {
29973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29975 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29978 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
29979 wxPyEndAllowThreads(__tstate
);
29980 if (PyErr_Occurred()) SWIG_fail
;
29982 resultobj
= SWIG_From_int(static_cast< int >(result
));
29989 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29990 PyObject
*resultobj
= 0;
29991 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29995 PyObject
*swig_obj
[1] ;
29997 if (!args
) SWIG_fail
;
29998 swig_obj
[0] = args
;
29999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30000 if (!SWIG_IsOK(res1
)) {
30001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30003 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30006 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
30007 wxPyEndAllowThreads(__tstate
);
30008 if (PyErr_Occurred()) SWIG_fail
;
30010 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
30017 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30018 PyObject
*resultobj
= 0;
30019 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30020 wxColour
*arg2
= 0 ;
30024 PyObject
* obj0
= 0 ;
30025 PyObject
* obj1
= 0 ;
30026 char * kwnames
[] = {
30027 (char *) "self",(char *) "col", NULL
30030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30032 if (!SWIG_IsOK(res1
)) {
30033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30035 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30038 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30042 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
30043 wxPyEndAllowThreads(__tstate
);
30044 if (PyErr_Occurred()) SWIG_fail
;
30046 resultobj
= SWIG_Py_Void();
30053 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30054 PyObject
*resultobj
= 0;
30055 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30059 PyObject
*swig_obj
[1] ;
30061 if (!args
) SWIG_fail
;
30062 swig_obj
[0] = args
;
30063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30064 if (!SWIG_IsOK(res1
)) {
30065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30067 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30070 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
30071 wxPyEndAllowThreads(__tstate
);
30072 if (PyErr_Occurred()) SWIG_fail
;
30074 resultobj
= SWIG_From_long(static_cast< long >(result
));
30081 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30082 PyObject
*resultobj
= 0;
30083 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30085 bool arg3
= (bool) true ;
30092 PyObject
* obj0
= 0 ;
30093 PyObject
* obj1
= 0 ;
30094 PyObject
* obj2
= 0 ;
30095 char * kwnames
[] = {
30096 (char *) "self",(char *) "style",(char *) "add", NULL
30099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30101 if (!SWIG_IsOK(res1
)) {
30102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30104 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30105 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30106 if (!SWIG_IsOK(ecode2
)) {
30107 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30109 arg2
= static_cast< long >(val2
);
30111 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30112 if (!SWIG_IsOK(ecode3
)) {
30113 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30115 arg3
= static_cast< bool >(val3
);
30118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30119 (arg1
)->SetSingleStyle(arg2
,arg3
);
30120 wxPyEndAllowThreads(__tstate
);
30121 if (PyErr_Occurred()) SWIG_fail
;
30123 resultobj
= SWIG_Py_Void();
30130 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30131 PyObject
*resultobj
= 0;
30132 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30134 int arg3
= (int) wxLIST_NEXT_ALL
;
30135 int arg4
= (int) wxLIST_STATE_DONTCARE
;
30145 PyObject
* obj0
= 0 ;
30146 PyObject
* obj1
= 0 ;
30147 PyObject
* obj2
= 0 ;
30148 PyObject
* obj3
= 0 ;
30149 char * kwnames
[] = {
30150 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30155 if (!SWIG_IsOK(res1
)) {
30156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30158 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30159 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30160 if (!SWIG_IsOK(ecode2
)) {
30161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30163 arg2
= static_cast< long >(val2
);
30165 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30166 if (!SWIG_IsOK(ecode3
)) {
30167 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30169 arg3
= static_cast< int >(val3
);
30172 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30173 if (!SWIG_IsOK(ecode4
)) {
30174 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30176 arg4
= static_cast< int >(val4
);
30179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30180 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
30181 wxPyEndAllowThreads(__tstate
);
30182 if (PyErr_Occurred()) SWIG_fail
;
30184 resultobj
= SWIG_From_long(static_cast< long >(result
));
30191 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30192 PyObject
*resultobj
= 0;
30193 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30195 wxImageList
*result
= 0 ;
30200 PyObject
* obj0
= 0 ;
30201 PyObject
* obj1
= 0 ;
30202 char * kwnames
[] = {
30203 (char *) "self",(char *) "which", NULL
30206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30208 if (!SWIG_IsOK(res1
)) {
30209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30211 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30212 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30213 if (!SWIG_IsOK(ecode2
)) {
30214 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30216 arg2
= static_cast< int >(val2
);
30218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30219 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
30220 wxPyEndAllowThreads(__tstate
);
30221 if (PyErr_Occurred()) SWIG_fail
;
30224 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30232 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30233 PyObject
*resultobj
= 0;
30234 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30235 wxImageList
*arg2
= (wxImageList
*) 0 ;
30243 PyObject
* obj0
= 0 ;
30244 PyObject
* obj1
= 0 ;
30245 PyObject
* obj2
= 0 ;
30246 char * kwnames
[] = {
30247 (char *) "self",(char *) "imageList",(char *) "which", NULL
30250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30252 if (!SWIG_IsOK(res1
)) {
30253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30255 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30256 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30257 if (!SWIG_IsOK(res2
)) {
30258 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30260 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
30261 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30262 if (!SWIG_IsOK(ecode3
)) {
30263 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30265 arg3
= static_cast< int >(val3
);
30267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30268 (arg1
)->SetImageList(arg2
,arg3
);
30269 wxPyEndAllowThreads(__tstate
);
30270 if (PyErr_Occurred()) SWIG_fail
;
30272 resultobj
= SWIG_Py_Void();
30279 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30280 PyObject
*resultobj
= 0;
30281 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30282 wxImageList
*arg2
= (wxImageList
*) 0 ;
30289 PyObject
* obj0
= 0 ;
30290 PyObject
* obj1
= 0 ;
30291 PyObject
* obj2
= 0 ;
30292 char * kwnames
[] = {
30293 (char *) "self",(char *) "imageList",(char *) "which", NULL
30296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30298 if (!SWIG_IsOK(res1
)) {
30299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30301 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30302 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30303 if (!SWIG_IsOK(res2
)) {
30304 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30306 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30307 if (!SWIG_IsOK(ecode3
)) {
30308 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30310 arg3
= static_cast< int >(val3
);
30312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30313 (arg1
)->AssignImageList(arg2
,arg3
);
30314 wxPyEndAllowThreads(__tstate
);
30315 if (PyErr_Occurred()) SWIG_fail
;
30317 resultobj
= SWIG_Py_Void();
30324 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30325 PyObject
*resultobj
= 0;
30326 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30330 PyObject
*swig_obj
[1] ;
30332 if (!args
) SWIG_fail
;
30333 swig_obj
[0] = args
;
30334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30335 if (!SWIG_IsOK(res1
)) {
30336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30338 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30341 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30342 wxPyEndAllowThreads(__tstate
);
30343 if (PyErr_Occurred()) SWIG_fail
;
30346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30354 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30355 PyObject
*resultobj
= 0;
30356 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30360 PyObject
*swig_obj
[1] ;
30362 if (!args
) SWIG_fail
;
30363 swig_obj
[0] = args
;
30364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30365 if (!SWIG_IsOK(res1
)) {
30366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30368 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30371 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30372 wxPyEndAllowThreads(__tstate
);
30373 if (PyErr_Occurred()) SWIG_fail
;
30376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30384 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30385 PyObject
*resultobj
= 0;
30386 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30392 PyObject
* obj0
= 0 ;
30393 PyObject
* obj1
= 0 ;
30394 char * kwnames
[] = {
30395 (char *) "self",(char *) "item", NULL
30398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30400 if (!SWIG_IsOK(res1
)) {
30401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30403 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30404 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30405 if (!SWIG_IsOK(ecode2
)) {
30406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30408 arg2
= static_cast< long >(val2
);
30410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30411 (arg1
)->RefreshItem(arg2
);
30412 wxPyEndAllowThreads(__tstate
);
30413 if (PyErr_Occurred()) SWIG_fail
;
30415 resultobj
= SWIG_Py_Void();
30422 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30423 PyObject
*resultobj
= 0;
30424 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30433 PyObject
* obj0
= 0 ;
30434 PyObject
* obj1
= 0 ;
30435 PyObject
* obj2
= 0 ;
30436 char * kwnames
[] = {
30437 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30442 if (!SWIG_IsOK(res1
)) {
30443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30445 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30446 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30447 if (!SWIG_IsOK(ecode2
)) {
30448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30450 arg2
= static_cast< long >(val2
);
30451 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30452 if (!SWIG_IsOK(ecode3
)) {
30453 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30455 arg3
= static_cast< long >(val3
);
30457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30458 (arg1
)->RefreshItems(arg2
,arg3
);
30459 wxPyEndAllowThreads(__tstate
);
30460 if (PyErr_Occurred()) SWIG_fail
;
30462 resultobj
= SWIG_Py_Void();
30469 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30470 PyObject
*resultobj
= 0;
30471 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30472 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30478 PyObject
* obj0
= 0 ;
30479 PyObject
* obj1
= 0 ;
30480 char * kwnames
[] = {
30481 (char *) "self",(char *) "flag", NULL
30484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30486 if (!SWIG_IsOK(res1
)) {
30487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30489 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30491 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30492 if (!SWIG_IsOK(ecode2
)) {
30493 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30495 arg2
= static_cast< int >(val2
);
30498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30499 result
= (bool)(arg1
)->Arrange(arg2
);
30500 wxPyEndAllowThreads(__tstate
);
30501 if (PyErr_Occurred()) SWIG_fail
;
30504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30512 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30513 PyObject
*resultobj
= 0;
30514 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30521 PyObject
* obj0
= 0 ;
30522 PyObject
* obj1
= 0 ;
30523 char * kwnames
[] = {
30524 (char *) "self",(char *) "item", NULL
30527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30529 if (!SWIG_IsOK(res1
)) {
30530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30532 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30533 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30534 if (!SWIG_IsOK(ecode2
)) {
30535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30537 arg2
= static_cast< long >(val2
);
30539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30540 result
= (bool)(arg1
)->DeleteItem(arg2
);
30541 wxPyEndAllowThreads(__tstate
);
30542 if (PyErr_Occurred()) SWIG_fail
;
30545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30553 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30554 PyObject
*resultobj
= 0;
30555 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30559 PyObject
*swig_obj
[1] ;
30561 if (!args
) SWIG_fail
;
30562 swig_obj
[0] = args
;
30563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30564 if (!SWIG_IsOK(res1
)) {
30565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30567 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30570 result
= (bool)(arg1
)->DeleteAllItems();
30571 wxPyEndAllowThreads(__tstate
);
30572 if (PyErr_Occurred()) SWIG_fail
;
30575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30583 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30584 PyObject
*resultobj
= 0;
30585 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30592 PyObject
* obj0
= 0 ;
30593 PyObject
* obj1
= 0 ;
30594 char * kwnames
[] = {
30595 (char *) "self",(char *) "col", NULL
30598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30600 if (!SWIG_IsOK(res1
)) {
30601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30603 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30604 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30605 if (!SWIG_IsOK(ecode2
)) {
30606 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30608 arg2
= static_cast< int >(val2
);
30610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30611 result
= (bool)(arg1
)->DeleteColumn(arg2
);
30612 wxPyEndAllowThreads(__tstate
);
30613 if (PyErr_Occurred()) SWIG_fail
;
30616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30624 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30625 PyObject
*resultobj
= 0;
30626 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30630 PyObject
*swig_obj
[1] ;
30632 if (!args
) SWIG_fail
;
30633 swig_obj
[0] = args
;
30634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30635 if (!SWIG_IsOK(res1
)) {
30636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30638 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30641 result
= (bool)(arg1
)->DeleteAllColumns();
30642 wxPyEndAllowThreads(__tstate
);
30643 if (PyErr_Occurred()) SWIG_fail
;
30646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30654 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30655 PyObject
*resultobj
= 0;
30656 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30659 PyObject
*swig_obj
[1] ;
30661 if (!args
) SWIG_fail
;
30662 swig_obj
[0] = args
;
30663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30664 if (!SWIG_IsOK(res1
)) {
30665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30667 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30670 (arg1
)->ClearAll();
30671 wxPyEndAllowThreads(__tstate
);
30672 if (PyErr_Occurred()) SWIG_fail
;
30674 resultobj
= SWIG_Py_Void();
30681 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30682 PyObject
*resultobj
= 0;
30683 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30689 PyObject
* obj0
= 0 ;
30690 PyObject
* obj1
= 0 ;
30691 char * kwnames
[] = {
30692 (char *) "self",(char *) "item", NULL
30695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30697 if (!SWIG_IsOK(res1
)) {
30698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30700 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30701 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30702 if (!SWIG_IsOK(ecode2
)) {
30703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
30705 arg2
= static_cast< long >(val2
);
30707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30708 (arg1
)->EditLabel(arg2
);
30709 wxPyEndAllowThreads(__tstate
);
30710 if (PyErr_Occurred()) SWIG_fail
;
30712 resultobj
= SWIG_Py_Void();
30719 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30720 PyObject
*resultobj
= 0;
30721 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30728 PyObject
* obj0
= 0 ;
30729 PyObject
* obj1
= 0 ;
30730 char * kwnames
[] = {
30731 (char *) "self",(char *) "item", NULL
30734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30736 if (!SWIG_IsOK(res1
)) {
30737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30739 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30740 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30741 if (!SWIG_IsOK(ecode2
)) {
30742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
30744 arg2
= static_cast< long >(val2
);
30746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30747 result
= (bool)(arg1
)->EnsureVisible(arg2
);
30748 wxPyEndAllowThreads(__tstate
);
30749 if (PyErr_Occurred()) SWIG_fail
;
30752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30760 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30761 PyObject
*resultobj
= 0;
30762 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30764 wxString
*arg3
= 0 ;
30765 bool arg4
= (bool) false ;
30771 bool temp3
= false ;
30774 PyObject
* obj0
= 0 ;
30775 PyObject
* obj1
= 0 ;
30776 PyObject
* obj2
= 0 ;
30777 PyObject
* obj3
= 0 ;
30778 char * kwnames
[] = {
30779 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
30782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30784 if (!SWIG_IsOK(res1
)) {
30785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30787 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30788 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30789 if (!SWIG_IsOK(ecode2
)) {
30790 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
30792 arg2
= static_cast< long >(val2
);
30794 arg3
= wxString_in_helper(obj2
);
30795 if (arg3
== NULL
) SWIG_fail
;
30799 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
30800 if (!SWIG_IsOK(ecode4
)) {
30801 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
30803 arg4
= static_cast< bool >(val4
);
30806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30807 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
30808 wxPyEndAllowThreads(__tstate
);
30809 if (PyErr_Occurred()) SWIG_fail
;
30811 resultobj
= SWIG_From_long(static_cast< long >(result
));
30826 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30827 PyObject
*resultobj
= 0;
30828 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30838 PyObject
* obj0
= 0 ;
30839 PyObject
* obj1
= 0 ;
30840 PyObject
* obj2
= 0 ;
30841 char * kwnames
[] = {
30842 (char *) "self",(char *) "start",(char *) "data", NULL
30845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30847 if (!SWIG_IsOK(res1
)) {
30848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30850 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30851 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30852 if (!SWIG_IsOK(ecode2
)) {
30853 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
30855 arg2
= static_cast< long >(val2
);
30856 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30857 if (!SWIG_IsOK(ecode3
)) {
30858 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
30860 arg3
= static_cast< long >(val3
);
30862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30863 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
30864 wxPyEndAllowThreads(__tstate
);
30865 if (PyErr_Occurred()) SWIG_fail
;
30867 resultobj
= SWIG_From_long(static_cast< long >(result
));
30874 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30875 PyObject
*resultobj
= 0;
30876 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30878 wxPoint
*arg3
= 0 ;
30888 PyObject
* obj0
= 0 ;
30889 PyObject
* obj1
= 0 ;
30890 PyObject
* obj2
= 0 ;
30891 PyObject
* obj3
= 0 ;
30892 char * kwnames
[] = {
30893 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
30896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30898 if (!SWIG_IsOK(res1
)) {
30899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30901 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30902 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30903 if (!SWIG_IsOK(ecode2
)) {
30904 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
30906 arg2
= static_cast< long >(val2
);
30909 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30911 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30912 if (!SWIG_IsOK(ecode4
)) {
30913 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
30915 arg4
= static_cast< int >(val4
);
30917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30918 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
30919 wxPyEndAllowThreads(__tstate
);
30920 if (PyErr_Occurred()) SWIG_fail
;
30922 resultobj
= SWIG_From_long(static_cast< long >(result
));
30929 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30930 PyObject
*resultobj
= 0;
30931 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30932 wxPoint
*arg2
= 0 ;
30939 int res3
= SWIG_TMPOBJ
;
30940 PyObject
* obj0
= 0 ;
30941 PyObject
* obj1
= 0 ;
30942 char * kwnames
[] = {
30943 (char *) "self",(char *) "point", NULL
30947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30949 if (!SWIG_IsOK(res1
)) {
30950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30952 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30955 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30959 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
30960 wxPyEndAllowThreads(__tstate
);
30961 if (PyErr_Occurred()) SWIG_fail
;
30963 resultobj
= SWIG_From_long(static_cast< long >(result
));
30964 if (SWIG_IsTmpObj(res3
)) {
30965 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30967 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30968 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30976 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTestSubItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30977 PyObject
*resultobj
= 0;
30978 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30979 wxPoint
*arg2
= 0 ;
30981 long *arg4
= (long *) 0 ;
30987 int res3
= SWIG_TMPOBJ
;
30989 int res4
= SWIG_TMPOBJ
;
30990 PyObject
* obj0
= 0 ;
30991 PyObject
* obj1
= 0 ;
30992 char * kwnames
[] = {
30993 (char *) "self",(char *) "point", NULL
30998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTestSubItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31000 if (!SWIG_IsOK(res1
)) {
31001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31003 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31006 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31010 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
,arg4
);
31011 wxPyEndAllowThreads(__tstate
);
31012 if (PyErr_Occurred()) SWIG_fail
;
31014 resultobj
= SWIG_From_long(static_cast< long >(result
));
31015 if (SWIG_IsTmpObj(res3
)) {
31016 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31018 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31019 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31021 if (SWIG_IsTmpObj(res4
)) {
31022 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
31024 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31025 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
31033 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31034 PyObject
*resultobj
= 0;
31035 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31036 wxListItem
*arg2
= 0 ;
31042 PyObject
* obj0
= 0 ;
31043 PyObject
* obj1
= 0 ;
31044 char * kwnames
[] = {
31045 (char *) "self",(char *) "info", NULL
31048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31050 if (!SWIG_IsOK(res1
)) {
31051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31053 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31054 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
31055 if (!SWIG_IsOK(res2
)) {
31056 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31059 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31061 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
31063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31064 result
= (long)(arg1
)->InsertItem(*arg2
);
31065 wxPyEndAllowThreads(__tstate
);
31066 if (PyErr_Occurred()) SWIG_fail
;
31068 resultobj
= SWIG_From_long(static_cast< long >(result
));
31075 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31076 PyObject
*resultobj
= 0;
31077 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31079 wxString
*arg3
= 0 ;
31080 int arg4
= (int) -1 ;
31086 bool temp3
= false ;
31089 PyObject
* obj0
= 0 ;
31090 PyObject
* obj1
= 0 ;
31091 PyObject
* obj2
= 0 ;
31092 PyObject
* obj3
= 0 ;
31093 char * kwnames
[] = {
31094 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31099 if (!SWIG_IsOK(res1
)) {
31100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31102 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31103 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31104 if (!SWIG_IsOK(ecode2
)) {
31105 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31107 arg2
= static_cast< long >(val2
);
31109 arg3
= wxString_in_helper(obj2
);
31110 if (arg3
== NULL
) SWIG_fail
;
31114 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31115 if (!SWIG_IsOK(ecode4
)) {
31116 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31118 arg4
= static_cast< int >(val4
);
31121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31122 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31123 wxPyEndAllowThreads(__tstate
);
31124 if (PyErr_Occurred()) SWIG_fail
;
31126 resultobj
= SWIG_From_long(static_cast< long >(result
));
31141 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31142 PyObject
*resultobj
= 0;
31143 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31153 PyObject
* obj0
= 0 ;
31154 PyObject
* obj1
= 0 ;
31155 PyObject
* obj2
= 0 ;
31156 char * kwnames
[] = {
31157 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31162 if (!SWIG_IsOK(res1
)) {
31163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31165 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31166 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31167 if (!SWIG_IsOK(ecode2
)) {
31168 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31170 arg2
= static_cast< long >(val2
);
31171 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31172 if (!SWIG_IsOK(ecode3
)) {
31173 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31175 arg3
= static_cast< int >(val3
);
31177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31178 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
31179 wxPyEndAllowThreads(__tstate
);
31180 if (PyErr_Occurred()) SWIG_fail
;
31182 resultobj
= SWIG_From_long(static_cast< long >(result
));
31189 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31190 PyObject
*resultobj
= 0;
31191 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31193 wxString
*arg3
= 0 ;
31200 bool temp3
= false ;
31203 PyObject
* obj0
= 0 ;
31204 PyObject
* obj1
= 0 ;
31205 PyObject
* obj2
= 0 ;
31206 PyObject
* obj3
= 0 ;
31207 char * kwnames
[] = {
31208 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31213 if (!SWIG_IsOK(res1
)) {
31214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31216 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31217 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31218 if (!SWIG_IsOK(ecode2
)) {
31219 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31221 arg2
= static_cast< long >(val2
);
31223 arg3
= wxString_in_helper(obj2
);
31224 if (arg3
== NULL
) SWIG_fail
;
31227 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31228 if (!SWIG_IsOK(ecode4
)) {
31229 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31231 arg4
= static_cast< int >(val4
);
31233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31234 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31235 wxPyEndAllowThreads(__tstate
);
31236 if (PyErr_Occurred()) SWIG_fail
;
31238 resultobj
= SWIG_From_long(static_cast< long >(result
));
31253 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31254 PyObject
*resultobj
= 0;
31255 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31257 wxListItem
*arg3
= 0 ;
31265 PyObject
* obj0
= 0 ;
31266 PyObject
* obj1
= 0 ;
31267 PyObject
* obj2
= 0 ;
31268 char * kwnames
[] = {
31269 (char *) "self",(char *) "col",(char *) "info", NULL
31272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31274 if (!SWIG_IsOK(res1
)) {
31275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31277 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31278 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31279 if (!SWIG_IsOK(ecode2
)) {
31280 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31282 arg2
= static_cast< long >(val2
);
31283 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
31284 if (!SWIG_IsOK(res3
)) {
31285 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31288 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31290 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
31292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31293 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
31294 wxPyEndAllowThreads(__tstate
);
31295 if (PyErr_Occurred()) SWIG_fail
;
31297 resultobj
= SWIG_From_long(static_cast< long >(result
));
31304 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31305 PyObject
*resultobj
= 0;
31306 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31308 wxString
*arg3
= 0 ;
31309 int arg4
= (int) wxLIST_FORMAT_LEFT
;
31310 int arg5
= (int) -1 ;
31316 bool temp3
= false ;
31321 PyObject
* obj0
= 0 ;
31322 PyObject
* obj1
= 0 ;
31323 PyObject
* obj2
= 0 ;
31324 PyObject
* obj3
= 0 ;
31325 PyObject
* obj4
= 0 ;
31326 char * kwnames
[] = {
31327 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31332 if (!SWIG_IsOK(res1
)) {
31333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31335 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31336 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31337 if (!SWIG_IsOK(ecode2
)) {
31338 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31340 arg2
= static_cast< long >(val2
);
31342 arg3
= wxString_in_helper(obj2
);
31343 if (arg3
== NULL
) SWIG_fail
;
31347 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31348 if (!SWIG_IsOK(ecode4
)) {
31349 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31351 arg4
= static_cast< int >(val4
);
31354 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31355 if (!SWIG_IsOK(ecode5
)) {
31356 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31358 arg5
= static_cast< int >(val5
);
31361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31362 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31363 wxPyEndAllowThreads(__tstate
);
31364 if (PyErr_Occurred()) SWIG_fail
;
31366 resultobj
= SWIG_From_long(static_cast< long >(result
));
31381 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31382 PyObject
*resultobj
= 0;
31383 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31389 PyObject
* obj0
= 0 ;
31390 PyObject
* obj1
= 0 ;
31391 char * kwnames
[] = {
31392 (char *) "self",(char *) "count", NULL
31395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31397 if (!SWIG_IsOK(res1
)) {
31398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31400 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31401 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31402 if (!SWIG_IsOK(ecode2
)) {
31403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31405 arg2
= static_cast< long >(val2
);
31407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31408 (arg1
)->SetItemCount(arg2
);
31409 wxPyEndAllowThreads(__tstate
);
31410 if (PyErr_Occurred()) SWIG_fail
;
31412 resultobj
= SWIG_Py_Void();
31419 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31420 PyObject
*resultobj
= 0;
31421 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31431 PyObject
* obj0
= 0 ;
31432 PyObject
* obj1
= 0 ;
31433 PyObject
* obj2
= 0 ;
31434 char * kwnames
[] = {
31435 (char *) "self",(char *) "dx",(char *) "dy", NULL
31438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31440 if (!SWIG_IsOK(res1
)) {
31441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31443 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31444 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31445 if (!SWIG_IsOK(ecode2
)) {
31446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31448 arg2
= static_cast< int >(val2
);
31449 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31450 if (!SWIG_IsOK(ecode3
)) {
31451 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31453 arg3
= static_cast< int >(val3
);
31455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31456 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
31457 wxPyEndAllowThreads(__tstate
);
31458 if (PyErr_Occurred()) SWIG_fail
;
31461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31469 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31470 PyObject
*resultobj
= 0;
31471 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31473 wxColour
*arg3
= 0 ;
31479 PyObject
* obj0
= 0 ;
31480 PyObject
* obj1
= 0 ;
31481 PyObject
* obj2
= 0 ;
31482 char * kwnames
[] = {
31483 (char *) "self",(char *) "item",(char *) "col", NULL
31486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31488 if (!SWIG_IsOK(res1
)) {
31489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31491 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31492 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31493 if (!SWIG_IsOK(ecode2
)) {
31494 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31496 arg2
= static_cast< long >(val2
);
31499 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31503 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
31504 wxPyEndAllowThreads(__tstate
);
31505 if (PyErr_Occurred()) SWIG_fail
;
31507 resultobj
= SWIG_Py_Void();
31514 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31515 PyObject
*resultobj
= 0;
31516 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31523 PyObject
* obj0
= 0 ;
31524 PyObject
* obj1
= 0 ;
31525 char * kwnames
[] = {
31526 (char *) "self",(char *) "item", NULL
31529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31531 if (!SWIG_IsOK(res1
)) {
31532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31534 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31535 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31536 if (!SWIG_IsOK(ecode2
)) {
31537 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31539 arg2
= static_cast< long >(val2
);
31541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31542 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
31543 wxPyEndAllowThreads(__tstate
);
31544 if (PyErr_Occurred()) SWIG_fail
;
31546 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31553 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31554 PyObject
*resultobj
= 0;
31555 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31557 wxColour
*arg3
= 0 ;
31563 PyObject
* obj0
= 0 ;
31564 PyObject
* obj1
= 0 ;
31565 PyObject
* obj2
= 0 ;
31566 char * kwnames
[] = {
31567 (char *) "self",(char *) "item",(char *) "col", NULL
31570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31572 if (!SWIG_IsOK(res1
)) {
31573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31575 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31576 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31577 if (!SWIG_IsOK(ecode2
)) {
31578 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31580 arg2
= static_cast< long >(val2
);
31583 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31587 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
31588 wxPyEndAllowThreads(__tstate
);
31589 if (PyErr_Occurred()) SWIG_fail
;
31591 resultobj
= SWIG_Py_Void();
31598 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31599 PyObject
*resultobj
= 0;
31600 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31607 PyObject
* obj0
= 0 ;
31608 PyObject
* obj1
= 0 ;
31609 char * kwnames
[] = {
31610 (char *) "self",(char *) "item", NULL
31613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31615 if (!SWIG_IsOK(res1
)) {
31616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31618 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31619 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31620 if (!SWIG_IsOK(ecode2
)) {
31621 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31623 arg2
= static_cast< long >(val2
);
31625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31626 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
31627 wxPyEndAllowThreads(__tstate
);
31628 if (PyErr_Occurred()) SWIG_fail
;
31630 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31637 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31638 PyObject
*resultobj
= 0;
31639 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31648 PyObject
* obj0
= 0 ;
31649 PyObject
* obj1
= 0 ;
31650 PyObject
* obj2
= 0 ;
31651 char * kwnames
[] = {
31652 (char *) "self",(char *) "item",(char *) "f", NULL
31655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31657 if (!SWIG_IsOK(res1
)) {
31658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31660 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31661 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31662 if (!SWIG_IsOK(ecode2
)) {
31663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
31665 arg2
= static_cast< long >(val2
);
31666 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
31667 if (!SWIG_IsOK(res3
)) {
31668 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31671 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31673 arg3
= reinterpret_cast< wxFont
* >(argp3
);
31675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31676 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
31677 wxPyEndAllowThreads(__tstate
);
31678 if (PyErr_Occurred()) SWIG_fail
;
31680 resultobj
= SWIG_Py_Void();
31687 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31688 PyObject
*resultobj
= 0;
31689 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31696 PyObject
* obj0
= 0 ;
31697 PyObject
* obj1
= 0 ;
31698 char * kwnames
[] = {
31699 (char *) "self",(char *) "item", NULL
31702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31704 if (!SWIG_IsOK(res1
)) {
31705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31707 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31708 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31709 if (!SWIG_IsOK(ecode2
)) {
31710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
31712 arg2
= static_cast< long >(val2
);
31714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31715 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
31716 wxPyEndAllowThreads(__tstate
);
31717 if (PyErr_Occurred()) SWIG_fail
;
31719 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
31726 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31727 PyObject
*resultobj
= 0;
31728 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31729 PyObject
*arg2
= (PyObject
*) 0 ;
31733 PyObject
* obj0
= 0 ;
31734 PyObject
* obj1
= 0 ;
31735 char * kwnames
[] = {
31736 (char *) "self",(char *) "func", NULL
31739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31741 if (!SWIG_IsOK(res1
)) {
31742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31744 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31748 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
31749 wxPyEndAllowThreads(__tstate
);
31750 if (PyErr_Occurred()) SWIG_fail
;
31753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31761 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31762 PyObject
*resultobj
= 0;
31763 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31764 wxWindow
*result
= 0 ;
31767 PyObject
*swig_obj
[1] ;
31769 if (!args
) SWIG_fail
;
31770 swig_obj
[0] = args
;
31771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31772 if (!SWIG_IsOK(res1
)) {
31773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31775 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31778 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
31779 wxPyEndAllowThreads(__tstate
);
31780 if (PyErr_Occurred()) SWIG_fail
;
31783 resultobj
= wxPyMake_wxObject(result
, 0);
31791 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31792 PyObject
*resultobj
= 0;
31793 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
31794 SwigValueWrapper
<wxVisualAttributes
> result
;
31797 PyObject
* obj0
= 0 ;
31798 char * kwnames
[] = {
31799 (char *) "variant", NULL
31802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
31804 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31805 if (!SWIG_IsOK(ecode1
)) {
31806 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
31808 arg1
= static_cast< wxWindowVariant
>(val1
);
31811 if (!wxPyCheckForApp()) SWIG_fail
;
31812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31813 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
31814 wxPyEndAllowThreads(__tstate
);
31815 if (PyErr_Occurred()) SWIG_fail
;
31817 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
31824 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31826 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31827 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
31828 return SWIG_Py_Void();
31831 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31832 return SWIG_Python_InitShadowInstance(args
);
31835 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31836 PyObject
*resultobj
= 0;
31837 wxWindow
*arg1
= (wxWindow
*) 0 ;
31838 int arg2
= (int) -1 ;
31839 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31840 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31841 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31842 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31843 long arg5
= (long) wxLC_REPORT
;
31844 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
31845 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
31846 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
31847 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31848 wxListView
*result
= 0 ;
31859 bool temp7
= false ;
31860 PyObject
* obj0
= 0 ;
31861 PyObject
* obj1
= 0 ;
31862 PyObject
* obj2
= 0 ;
31863 PyObject
* obj3
= 0 ;
31864 PyObject
* obj4
= 0 ;
31865 PyObject
* obj5
= 0 ;
31866 PyObject
* obj6
= 0 ;
31867 char * kwnames
[] = {
31868 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31873 if (!SWIG_IsOK(res1
)) {
31874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
31876 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31878 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31879 if (!SWIG_IsOK(ecode2
)) {
31880 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
31882 arg2
= static_cast< int >(val2
);
31887 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31893 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31897 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
31898 if (!SWIG_IsOK(ecode5
)) {
31899 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
31901 arg5
= static_cast< long >(val5
);
31904 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
31905 if (!SWIG_IsOK(res6
)) {
31906 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31909 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31911 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
31915 arg7
= wxString_in_helper(obj6
);
31916 if (arg7
== NULL
) SWIG_fail
;
31921 if (!wxPyCheckForApp()) SWIG_fail
;
31922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31923 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
31924 wxPyEndAllowThreads(__tstate
);
31925 if (PyErr_Occurred()) SWIG_fail
;
31927 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
31942 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31943 PyObject
*resultobj
= 0;
31944 wxListView
*result
= 0 ;
31946 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
31948 if (!wxPyCheckForApp()) SWIG_fail
;
31949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31950 result
= (wxListView
*)new wxListView();
31951 wxPyEndAllowThreads(__tstate
);
31952 if (PyErr_Occurred()) SWIG_fail
;
31954 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
31961 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31962 PyObject
*resultobj
= 0;
31963 wxListView
*arg1
= (wxListView
*) 0 ;
31964 wxWindow
*arg2
= (wxWindow
*) 0 ;
31965 int arg3
= (int) -1 ;
31966 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31967 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31968 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31969 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31970 long arg6
= (long) wxLC_REPORT
;
31971 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
31972 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
31973 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
31974 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31988 bool temp8
= false ;
31989 PyObject
* obj0
= 0 ;
31990 PyObject
* obj1
= 0 ;
31991 PyObject
* obj2
= 0 ;
31992 PyObject
* obj3
= 0 ;
31993 PyObject
* obj4
= 0 ;
31994 PyObject
* obj5
= 0 ;
31995 PyObject
* obj6
= 0 ;
31996 PyObject
* obj7
= 0 ;
31997 char * kwnames
[] = {
31998 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32003 if (!SWIG_IsOK(res1
)) {
32004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
32006 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32007 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32008 if (!SWIG_IsOK(res2
)) {
32009 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
32011 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32013 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32014 if (!SWIG_IsOK(ecode3
)) {
32015 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
32017 arg3
= static_cast< int >(val3
);
32022 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32028 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32032 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
32033 if (!SWIG_IsOK(ecode6
)) {
32034 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
32036 arg6
= static_cast< long >(val6
);
32039 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
32040 if (!SWIG_IsOK(res7
)) {
32041 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32044 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32046 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
32050 arg8
= wxString_in_helper(obj7
);
32051 if (arg8
== NULL
) SWIG_fail
;
32056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32057 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
32058 wxPyEndAllowThreads(__tstate
);
32059 if (PyErr_Occurred()) SWIG_fail
;
32062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32078 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32079 PyObject
*resultobj
= 0;
32080 wxListView
*arg1
= (wxListView
*) 0 ;
32082 bool arg3
= (bool) true ;
32089 PyObject
* obj0
= 0 ;
32090 PyObject
* obj1
= 0 ;
32091 PyObject
* obj2
= 0 ;
32092 char * kwnames
[] = {
32093 (char *) "self",(char *) "n",(char *) "on", NULL
32096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32098 if (!SWIG_IsOK(res1
)) {
32099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32101 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32102 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32103 if (!SWIG_IsOK(ecode2
)) {
32104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32106 arg2
= static_cast< long >(val2
);
32108 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32109 if (!SWIG_IsOK(ecode3
)) {
32110 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32112 arg3
= static_cast< bool >(val3
);
32115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32116 (arg1
)->Select(arg2
,arg3
);
32117 wxPyEndAllowThreads(__tstate
);
32118 if (PyErr_Occurred()) SWIG_fail
;
32120 resultobj
= SWIG_Py_Void();
32127 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32128 PyObject
*resultobj
= 0;
32129 wxListView
*arg1
= (wxListView
*) 0 ;
32135 PyObject
* obj0
= 0 ;
32136 PyObject
* obj1
= 0 ;
32137 char * kwnames
[] = {
32138 (char *) "self",(char *) "index", NULL
32141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32143 if (!SWIG_IsOK(res1
)) {
32144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32146 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32147 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32148 if (!SWIG_IsOK(ecode2
)) {
32149 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32151 arg2
= static_cast< long >(val2
);
32153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32154 (arg1
)->Focus(arg2
);
32155 wxPyEndAllowThreads(__tstate
);
32156 if (PyErr_Occurred()) SWIG_fail
;
32158 resultobj
= SWIG_Py_Void();
32165 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32166 PyObject
*resultobj
= 0;
32167 wxListView
*arg1
= (wxListView
*) 0 ;
32171 PyObject
*swig_obj
[1] ;
32173 if (!args
) SWIG_fail
;
32174 swig_obj
[0] = args
;
32175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32176 if (!SWIG_IsOK(res1
)) {
32177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32179 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32182 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
32183 wxPyEndAllowThreads(__tstate
);
32184 if (PyErr_Occurred()) SWIG_fail
;
32186 resultobj
= SWIG_From_long(static_cast< long >(result
));
32193 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32194 PyObject
*resultobj
= 0;
32195 wxListView
*arg1
= (wxListView
*) 0 ;
32202 PyObject
* obj0
= 0 ;
32203 PyObject
* obj1
= 0 ;
32204 char * kwnames
[] = {
32205 (char *) "self",(char *) "item", NULL
32208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32210 if (!SWIG_IsOK(res1
)) {
32211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32213 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32214 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32215 if (!SWIG_IsOK(ecode2
)) {
32216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32218 arg2
= static_cast< long >(val2
);
32220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32221 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
32222 wxPyEndAllowThreads(__tstate
);
32223 if (PyErr_Occurred()) SWIG_fail
;
32225 resultobj
= SWIG_From_long(static_cast< long >(result
));
32232 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32233 PyObject
*resultobj
= 0;
32234 wxListView
*arg1
= (wxListView
*) 0 ;
32238 PyObject
*swig_obj
[1] ;
32240 if (!args
) SWIG_fail
;
32241 swig_obj
[0] = args
;
32242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32243 if (!SWIG_IsOK(res1
)) {
32244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32246 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32249 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
32250 wxPyEndAllowThreads(__tstate
);
32251 if (PyErr_Occurred()) SWIG_fail
;
32253 resultobj
= SWIG_From_long(static_cast< long >(result
));
32260 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32261 PyObject
*resultobj
= 0;
32262 wxListView
*arg1
= (wxListView
*) 0 ;
32269 PyObject
* obj0
= 0 ;
32270 PyObject
* obj1
= 0 ;
32271 char * kwnames
[] = {
32272 (char *) "self",(char *) "index", NULL
32275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32277 if (!SWIG_IsOK(res1
)) {
32278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32280 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32281 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32282 if (!SWIG_IsOK(ecode2
)) {
32283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32285 arg2
= static_cast< long >(val2
);
32287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32288 result
= (bool)(arg1
)->IsSelected(arg2
);
32289 wxPyEndAllowThreads(__tstate
);
32290 if (PyErr_Occurred()) SWIG_fail
;
32293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32301 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32302 PyObject
*resultobj
= 0;
32303 wxListView
*arg1
= (wxListView
*) 0 ;
32312 PyObject
* obj0
= 0 ;
32313 PyObject
* obj1
= 0 ;
32314 PyObject
* obj2
= 0 ;
32315 char * kwnames
[] = {
32316 (char *) "self",(char *) "col",(char *) "image", NULL
32319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32321 if (!SWIG_IsOK(res1
)) {
32322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32324 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32325 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32326 if (!SWIG_IsOK(ecode2
)) {
32327 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32329 arg2
= static_cast< int >(val2
);
32330 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32331 if (!SWIG_IsOK(ecode3
)) {
32332 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32334 arg3
= static_cast< int >(val3
);
32336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32337 (arg1
)->SetColumnImage(arg2
,arg3
);
32338 wxPyEndAllowThreads(__tstate
);
32339 if (PyErr_Occurred()) SWIG_fail
;
32341 resultobj
= SWIG_Py_Void();
32348 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32349 PyObject
*resultobj
= 0;
32350 wxListView
*arg1
= (wxListView
*) 0 ;
32356 PyObject
* obj0
= 0 ;
32357 PyObject
* obj1
= 0 ;
32358 char * kwnames
[] = {
32359 (char *) "self",(char *) "col", NULL
32362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32364 if (!SWIG_IsOK(res1
)) {
32365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32367 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32368 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32369 if (!SWIG_IsOK(ecode2
)) {
32370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32372 arg2
= static_cast< int >(val2
);
32374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32375 (arg1
)->ClearColumnImage(arg2
);
32376 wxPyEndAllowThreads(__tstate
);
32377 if (PyErr_Occurred()) SWIG_fail
;
32379 resultobj
= SWIG_Py_Void();
32386 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32388 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32389 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32390 return SWIG_Py_Void();
32393 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32394 return SWIG_Python_InitShadowInstance(args
);
32397 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32398 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
32403 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
32404 PyObject
*pyobj
= 0;
32408 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32410 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32417 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32418 PyObject
*resultobj
= 0;
32419 wxTreeItemId
*result
= 0 ;
32421 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
32423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32424 result
= (wxTreeItemId
*)new wxTreeItemId();
32425 wxPyEndAllowThreads(__tstate
);
32426 if (PyErr_Occurred()) SWIG_fail
;
32428 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32435 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32436 PyObject
*resultobj
= 0;
32437 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32440 PyObject
*swig_obj
[1] ;
32442 if (!args
) SWIG_fail
;
32443 swig_obj
[0] = args
;
32444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32445 if (!SWIG_IsOK(res1
)) {
32446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32448 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32453 wxPyEndAllowThreads(__tstate
);
32454 if (PyErr_Occurred()) SWIG_fail
;
32456 resultobj
= SWIG_Py_Void();
32463 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32464 PyObject
*resultobj
= 0;
32465 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32469 PyObject
*swig_obj
[1] ;
32471 if (!args
) SWIG_fail
;
32472 swig_obj
[0] = args
;
32473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32474 if (!SWIG_IsOK(res1
)) {
32475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32477 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32480 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
32481 wxPyEndAllowThreads(__tstate
);
32482 if (PyErr_Occurred()) SWIG_fail
;
32485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32493 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32494 PyObject
*resultobj
= 0;
32495 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32496 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32502 PyObject
* obj0
= 0 ;
32503 PyObject
* obj1
= 0 ;
32504 char * kwnames
[] = {
32505 (char *) "self",(char *) "other", NULL
32508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32510 if (!SWIG_IsOK(res1
)) {
32511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32513 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32514 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32515 if (!SWIG_IsOK(res2
)) {
32516 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32518 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32521 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
32522 wxPyEndAllowThreads(__tstate
);
32523 if (PyErr_Occurred()) SWIG_fail
;
32526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32534 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32535 PyObject
*resultobj
= 0;
32536 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32537 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32543 PyObject
* obj0
= 0 ;
32544 PyObject
* obj1
= 0 ;
32545 char * kwnames
[] = {
32546 (char *) "self",(char *) "other", NULL
32549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32551 if (!SWIG_IsOK(res1
)) {
32552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32554 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32555 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32556 if (!SWIG_IsOK(res2
)) {
32557 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32559 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32562 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
32563 wxPyEndAllowThreads(__tstate
);
32564 if (PyErr_Occurred()) SWIG_fail
;
32567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32575 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32576 PyObject
*resultobj
= 0;
32577 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32578 void *arg2
= (void *) 0 ;
32582 PyObject
*swig_obj
[2] ;
32584 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
32585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32586 if (!SWIG_IsOK(res1
)) {
32587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32589 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32590 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
32591 if (!SWIG_IsOK(res2
)) {
32592 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32594 if (arg1
) (arg1
)->m_pItem
= arg2
;
32596 resultobj
= SWIG_Py_Void();
32603 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32604 PyObject
*resultobj
= 0;
32605 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32609 PyObject
*swig_obj
[1] ;
32611 if (!args
) SWIG_fail
;
32612 swig_obj
[0] = args
;
32613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32614 if (!SWIG_IsOK(res1
)) {
32615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32617 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32618 result
= (void *) ((arg1
)->m_pItem
);
32619 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
32626 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32628 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32629 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
32630 return SWIG_Py_Void();
32633 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32634 return SWIG_Python_InitShadowInstance(args
);
32637 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32638 PyObject
*resultobj
= 0;
32639 PyObject
*arg1
= (PyObject
*) NULL
;
32640 wxPyTreeItemData
*result
= 0 ;
32641 PyObject
* obj0
= 0 ;
32642 char * kwnames
[] = {
32643 (char *) "obj", NULL
32646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
32651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32652 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
32653 wxPyEndAllowThreads(__tstate
);
32654 if (PyErr_Occurred()) SWIG_fail
;
32656 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
32663 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32664 PyObject
*resultobj
= 0;
32665 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32668 PyObject
*swig_obj
[1] ;
32670 if (!args
) SWIG_fail
;
32671 swig_obj
[0] = args
;
32672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
32673 if (!SWIG_IsOK(res1
)) {
32674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32676 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32681 wxPyEndAllowThreads(__tstate
);
32682 if (PyErr_Occurred()) SWIG_fail
;
32684 resultobj
= SWIG_Py_Void();
32691 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32692 PyObject
*resultobj
= 0;
32693 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32694 PyObject
*result
= 0 ;
32697 PyObject
*swig_obj
[1] ;
32699 if (!args
) SWIG_fail
;
32700 swig_obj
[0] = args
;
32701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32702 if (!SWIG_IsOK(res1
)) {
32703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32705 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32708 result
= (PyObject
*)(arg1
)->GetData();
32709 wxPyEndAllowThreads(__tstate
);
32710 if (PyErr_Occurred()) SWIG_fail
;
32712 resultobj
= result
;
32719 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32720 PyObject
*resultobj
= 0;
32721 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32722 PyObject
*arg2
= (PyObject
*) 0 ;
32725 PyObject
* obj0
= 0 ;
32726 PyObject
* obj1
= 0 ;
32727 char * kwnames
[] = {
32728 (char *) "self",(char *) "obj", NULL
32731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32733 if (!SWIG_IsOK(res1
)) {
32734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32736 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32740 (arg1
)->SetData(arg2
);
32741 wxPyEndAllowThreads(__tstate
);
32742 if (PyErr_Occurred()) SWIG_fail
;
32744 resultobj
= SWIG_Py_Void();
32751 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32752 PyObject
*resultobj
= 0;
32753 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32754 wxTreeItemId
*result
= 0 ;
32757 PyObject
*swig_obj
[1] ;
32759 if (!args
) SWIG_fail
;
32760 swig_obj
[0] = args
;
32761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32762 if (!SWIG_IsOK(res1
)) {
32763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32765 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32769 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
32770 result
= (wxTreeItemId
*) &_result_ref
;
32772 wxPyEndAllowThreads(__tstate
);
32773 if (PyErr_Occurred()) SWIG_fail
;
32775 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32782 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32783 PyObject
*resultobj
= 0;
32784 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32785 wxTreeItemId
*arg2
= 0 ;
32790 PyObject
* obj0
= 0 ;
32791 PyObject
* obj1
= 0 ;
32792 char * kwnames
[] = {
32793 (char *) "self",(char *) "id", NULL
32796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32798 if (!SWIG_IsOK(res1
)) {
32799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32801 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32802 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32803 if (!SWIG_IsOK(res2
)) {
32804 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32807 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32809 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32812 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
32813 wxPyEndAllowThreads(__tstate
);
32814 if (PyErr_Occurred()) SWIG_fail
;
32816 resultobj
= SWIG_Py_Void();
32823 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32824 PyObject
*resultobj
= 0;
32825 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32828 PyObject
*swig_obj
[1] ;
32830 if (!args
) SWIG_fail
;
32831 swig_obj
[0] = args
;
32832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32833 if (!SWIG_IsOK(res1
)) {
32834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32836 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32839 wxPyTreeItemData_Destroy(arg1
);
32840 wxPyEndAllowThreads(__tstate
);
32841 if (PyErr_Occurred()) SWIG_fail
;
32843 resultobj
= SWIG_Py_Void();
32850 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32852 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32853 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
32854 return SWIG_Py_Void();
32857 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32858 return SWIG_Python_InitShadowInstance(args
);
32861 SWIGINTERN
int NullTreeItemId_set(PyObject
*_val
) {
32864 int res
= SWIG_ConvertPtr(_val
, &argp
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32865 if (!SWIG_IsOK(res
)) {
32866 SWIG_exception_fail(SWIG_ArgError(res
), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
32869 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
32871 wxTreeItemId
* temp
;
32872 temp
= reinterpret_cast< wxTreeItemId
* >(argp
);
32873 wxNullTreeItemId
= *temp
;
32874 if (SWIG_IsNewObj(res
)) delete temp
;
32883 SWIGINTERN PyObject
*NullTreeItemId_get(void) {
32884 PyObject
*pyobj
= 0;
32886 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId
), SWIGTYPE_p_wxTreeItemId
, 0 );
32891 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
32892 PyObject
*resultobj
= 0;
32893 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
32894 int arg2
= (int) 0 ;
32895 wxTreeEvent
*result
= 0 ;
32901 if ((nobjs
< 0) || (nobjs
> 2)) SWIG_fail
;
32903 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
32904 if (!SWIG_IsOK(ecode1
)) {
32905 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
32907 arg1
= static_cast< wxEventType
>(val1
);
32910 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
32911 if (!SWIG_IsOK(ecode2
)) {
32912 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
32914 arg2
= static_cast< int >(val2
);
32917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32918 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
32919 wxPyEndAllowThreads(__tstate
);
32920 if (PyErr_Occurred()) SWIG_fail
;
32922 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
32929 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
32930 PyObject
*resultobj
= 0;
32932 wxPyTreeCtrl
*arg2
= (wxPyTreeCtrl
*) 0 ;
32933 wxTreeItemId
&arg3_defvalue
= wxNullTreeItemId
;
32934 wxTreeItemId
*arg3
= (wxTreeItemId
*) &arg3_defvalue
;
32935 wxTreeEvent
*result
= 0 ;
32943 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
32944 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
32945 if (!SWIG_IsOK(ecode1
)) {
32946 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
32948 arg1
= static_cast< wxEventType
>(val1
);
32949 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
32950 if (!SWIG_IsOK(res2
)) {
32951 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'");
32953 arg2
= reinterpret_cast< wxPyTreeCtrl
* >(argp2
);
32955 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 );
32956 if (!SWIG_IsOK(res3
)) {
32957 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
32960 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
32962 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
32965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32966 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
,*arg3
);
32967 wxPyEndAllowThreads(__tstate
);
32968 if (PyErr_Occurred()) SWIG_fail
;
32970 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
32977 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
) {
32981 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TreeEvent",0,3,argv
))) SWIG_fail
;
32983 if ((argc
>= 0) && (argc
<= 2)) {
32988 int res
= SWIG_AsVal_int(argv
[1], NULL
);
32989 _v
= SWIG_CheckState(res
);
32992 if (!_v
) goto check_1
;
32994 return _wrap_new_TreeEvent__SWIG_0(self
, argc
, argv
);
32998 if ((argc
>= 2) && (argc
<= 3)) {
32999 return _wrap_new_TreeEvent__SWIG_1(self
, argc
, argv
);
33003 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TreeEvent'");
33008 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33009 PyObject
*resultobj
= 0;
33010 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33011 wxTreeItemId result
;
33014 PyObject
*swig_obj
[1] ;
33016 if (!args
) SWIG_fail
;
33017 swig_obj
[0] = args
;
33018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33019 if (!SWIG_IsOK(res1
)) {
33020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33022 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33025 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
33026 wxPyEndAllowThreads(__tstate
);
33027 if (PyErr_Occurred()) SWIG_fail
;
33029 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33036 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33037 PyObject
*resultobj
= 0;
33038 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33039 wxTreeItemId
*arg2
= 0 ;
33044 PyObject
* obj0
= 0 ;
33045 PyObject
* obj1
= 0 ;
33046 char * kwnames
[] = {
33047 (char *) "self",(char *) "item", NULL
33050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33052 if (!SWIG_IsOK(res1
)) {
33053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33055 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33056 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33057 if (!SWIG_IsOK(res2
)) {
33058 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33061 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33063 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33066 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
33067 wxPyEndAllowThreads(__tstate
);
33068 if (PyErr_Occurred()) SWIG_fail
;
33070 resultobj
= SWIG_Py_Void();
33077 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33078 PyObject
*resultobj
= 0;
33079 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33080 wxTreeItemId result
;
33083 PyObject
*swig_obj
[1] ;
33085 if (!args
) SWIG_fail
;
33086 swig_obj
[0] = args
;
33087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33088 if (!SWIG_IsOK(res1
)) {
33089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33091 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33094 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
33095 wxPyEndAllowThreads(__tstate
);
33096 if (PyErr_Occurred()) SWIG_fail
;
33098 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33105 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33106 PyObject
*resultobj
= 0;
33107 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33108 wxTreeItemId
*arg2
= 0 ;
33113 PyObject
* obj0
= 0 ;
33114 PyObject
* obj1
= 0 ;
33115 char * kwnames
[] = {
33116 (char *) "self",(char *) "item", NULL
33119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33121 if (!SWIG_IsOK(res1
)) {
33122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33124 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33125 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33126 if (!SWIG_IsOK(res2
)) {
33127 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33130 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33132 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33135 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
33136 wxPyEndAllowThreads(__tstate
);
33137 if (PyErr_Occurred()) SWIG_fail
;
33139 resultobj
= SWIG_Py_Void();
33146 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33147 PyObject
*resultobj
= 0;
33148 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33152 PyObject
*swig_obj
[1] ;
33154 if (!args
) SWIG_fail
;
33155 swig_obj
[0] = args
;
33156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33157 if (!SWIG_IsOK(res1
)) {
33158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33160 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33163 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
33164 wxPyEndAllowThreads(__tstate
);
33165 if (PyErr_Occurred()) SWIG_fail
;
33167 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33174 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33175 PyObject
*resultobj
= 0;
33176 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33177 wxPoint
*arg2
= 0 ;
33181 PyObject
* obj0
= 0 ;
33182 PyObject
* obj1
= 0 ;
33183 char * kwnames
[] = {
33184 (char *) "self",(char *) "pt", NULL
33187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33189 if (!SWIG_IsOK(res1
)) {
33190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33192 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33195 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33199 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
33200 wxPyEndAllowThreads(__tstate
);
33201 if (PyErr_Occurred()) SWIG_fail
;
33203 resultobj
= SWIG_Py_Void();
33210 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33211 PyObject
*resultobj
= 0;
33212 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33213 wxKeyEvent
*result
= 0 ;
33216 PyObject
*swig_obj
[1] ;
33218 if (!args
) SWIG_fail
;
33219 swig_obj
[0] = args
;
33220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33221 if (!SWIG_IsOK(res1
)) {
33222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33224 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33228 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
33229 result
= (wxKeyEvent
*) &_result_ref
;
33231 wxPyEndAllowThreads(__tstate
);
33232 if (PyErr_Occurred()) SWIG_fail
;
33234 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
33241 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33242 PyObject
*resultobj
= 0;
33243 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33247 PyObject
*swig_obj
[1] ;
33249 if (!args
) SWIG_fail
;
33250 swig_obj
[0] = args
;
33251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33252 if (!SWIG_IsOK(res1
)) {
33253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33255 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33258 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
33259 wxPyEndAllowThreads(__tstate
);
33260 if (PyErr_Occurred()) SWIG_fail
;
33262 resultobj
= SWIG_From_int(static_cast< int >(result
));
33269 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33270 PyObject
*resultobj
= 0;
33271 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33272 wxKeyEvent
*arg2
= 0 ;
33277 PyObject
* obj0
= 0 ;
33278 PyObject
* obj1
= 0 ;
33279 char * kwnames
[] = {
33280 (char *) "self",(char *) "evt", NULL
33283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33285 if (!SWIG_IsOK(res1
)) {
33286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33288 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33289 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
33290 if (!SWIG_IsOK(res2
)) {
33291 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33294 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33296 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
33298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33299 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
33300 wxPyEndAllowThreads(__tstate
);
33301 if (PyErr_Occurred()) SWIG_fail
;
33303 resultobj
= SWIG_Py_Void();
33310 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33311 PyObject
*resultobj
= 0;
33312 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33313 wxString
*result
= 0 ;
33316 PyObject
*swig_obj
[1] ;
33318 if (!args
) SWIG_fail
;
33319 swig_obj
[0] = args
;
33320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33321 if (!SWIG_IsOK(res1
)) {
33322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33324 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33328 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
33329 result
= (wxString
*) &_result_ref
;
33331 wxPyEndAllowThreads(__tstate
);
33332 if (PyErr_Occurred()) SWIG_fail
;
33336 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33338 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33347 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33348 PyObject
*resultobj
= 0;
33349 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33350 wxString
*arg2
= 0 ;
33353 bool temp2
= false ;
33354 PyObject
* obj0
= 0 ;
33355 PyObject
* obj1
= 0 ;
33356 char * kwnames
[] = {
33357 (char *) "self",(char *) "label", NULL
33360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33362 if (!SWIG_IsOK(res1
)) {
33363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33365 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33367 arg2
= wxString_in_helper(obj1
);
33368 if (arg2
== NULL
) SWIG_fail
;
33372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33373 (arg1
)->SetLabel((wxString
const &)*arg2
);
33374 wxPyEndAllowThreads(__tstate
);
33375 if (PyErr_Occurred()) SWIG_fail
;
33377 resultobj
= SWIG_Py_Void();
33392 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33393 PyObject
*resultobj
= 0;
33394 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33398 PyObject
*swig_obj
[1] ;
33400 if (!args
) SWIG_fail
;
33401 swig_obj
[0] = args
;
33402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33403 if (!SWIG_IsOK(res1
)) {
33404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33406 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33409 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
33410 wxPyEndAllowThreads(__tstate
);
33411 if (PyErr_Occurred()) SWIG_fail
;
33414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33422 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33423 PyObject
*resultobj
= 0;
33424 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33430 PyObject
* obj0
= 0 ;
33431 PyObject
* obj1
= 0 ;
33432 char * kwnames
[] = {
33433 (char *) "self",(char *) "editCancelled", NULL
33436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33438 if (!SWIG_IsOK(res1
)) {
33439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33441 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33442 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33443 if (!SWIG_IsOK(ecode2
)) {
33444 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33446 arg2
= static_cast< bool >(val2
);
33448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33449 (arg1
)->SetEditCanceled(arg2
);
33450 wxPyEndAllowThreads(__tstate
);
33451 if (PyErr_Occurred()) SWIG_fail
;
33453 resultobj
= SWIG_Py_Void();
33460 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33461 PyObject
*resultobj
= 0;
33462 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33463 wxString
*arg2
= 0 ;
33466 bool temp2
= false ;
33467 PyObject
* obj0
= 0 ;
33468 PyObject
* obj1
= 0 ;
33469 char * kwnames
[] = {
33470 (char *) "self",(char *) "toolTip", NULL
33473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33475 if (!SWIG_IsOK(res1
)) {
33476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33478 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33480 arg2
= wxString_in_helper(obj1
);
33481 if (arg2
== NULL
) SWIG_fail
;
33485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33486 (arg1
)->SetToolTip((wxString
const &)*arg2
);
33487 wxPyEndAllowThreads(__tstate
);
33488 if (PyErr_Occurred()) SWIG_fail
;
33490 resultobj
= SWIG_Py_Void();
33505 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33506 PyObject
*resultobj
= 0;
33507 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33511 PyObject
*swig_obj
[1] ;
33513 if (!args
) SWIG_fail
;
33514 swig_obj
[0] = args
;
33515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33516 if (!SWIG_IsOK(res1
)) {
33517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33519 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33522 result
= (arg1
)->GetToolTip();
33523 wxPyEndAllowThreads(__tstate
);
33524 if (PyErr_Occurred()) SWIG_fail
;
33528 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33530 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33539 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33541 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33542 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
33543 return SWIG_Py_Void();
33546 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33547 return SWIG_Python_InitShadowInstance(args
);
33550 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33551 PyObject
*resultobj
= 0;
33552 wxWindow
*arg1
= (wxWindow
*) 0 ;
33553 int arg2
= (int) -1 ;
33554 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33555 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33556 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33557 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33558 long arg5
= (long) wxTR_DEFAULT_STYLE
;
33559 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33560 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33561 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
33562 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33563 wxPyTreeCtrl
*result
= 0 ;
33574 bool temp7
= false ;
33575 PyObject
* obj0
= 0 ;
33576 PyObject
* obj1
= 0 ;
33577 PyObject
* obj2
= 0 ;
33578 PyObject
* obj3
= 0 ;
33579 PyObject
* obj4
= 0 ;
33580 PyObject
* obj5
= 0 ;
33581 PyObject
* obj6
= 0 ;
33582 char * kwnames
[] = {
33583 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33588 if (!SWIG_IsOK(res1
)) {
33589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33591 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33593 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33594 if (!SWIG_IsOK(ecode2
)) {
33595 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33597 arg2
= static_cast< int >(val2
);
33602 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33608 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33612 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
33613 if (!SWIG_IsOK(ecode5
)) {
33614 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33616 arg5
= static_cast< long >(val5
);
33619 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
33620 if (!SWIG_IsOK(res6
)) {
33621 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33624 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33626 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
33630 arg7
= wxString_in_helper(obj6
);
33631 if (arg7
== NULL
) SWIG_fail
;
33636 if (!wxPyCheckForApp()) SWIG_fail
;
33637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33638 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33639 wxPyEndAllowThreads(__tstate
);
33640 if (PyErr_Occurred()) SWIG_fail
;
33642 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
33657 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33658 PyObject
*resultobj
= 0;
33659 wxPyTreeCtrl
*result
= 0 ;
33661 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
33663 if (!wxPyCheckForApp()) SWIG_fail
;
33664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33665 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
33666 wxPyEndAllowThreads(__tstate
);
33667 if (PyErr_Occurred()) SWIG_fail
;
33669 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
33676 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33677 PyObject
*resultobj
= 0;
33678 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33679 wxWindow
*arg2
= (wxWindow
*) 0 ;
33680 int arg3
= (int) -1 ;
33681 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33682 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33683 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33684 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33685 long arg6
= (long) wxTR_DEFAULT_STYLE
;
33686 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33687 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33688 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
33689 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33703 bool temp8
= false ;
33704 PyObject
* obj0
= 0 ;
33705 PyObject
* obj1
= 0 ;
33706 PyObject
* obj2
= 0 ;
33707 PyObject
* obj3
= 0 ;
33708 PyObject
* obj4
= 0 ;
33709 PyObject
* obj5
= 0 ;
33710 PyObject
* obj6
= 0 ;
33711 PyObject
* obj7
= 0 ;
33712 char * kwnames
[] = {
33713 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
33717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33718 if (!SWIG_IsOK(res1
)) {
33719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33721 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33722 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33723 if (!SWIG_IsOK(res2
)) {
33724 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
33726 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33728 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33729 if (!SWIG_IsOK(ecode3
)) {
33730 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
33732 arg3
= static_cast< int >(val3
);
33737 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33743 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33747 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
33748 if (!SWIG_IsOK(ecode6
)) {
33749 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
33751 arg6
= static_cast< long >(val6
);
33754 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
33755 if (!SWIG_IsOK(res7
)) {
33756 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33759 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33761 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
33765 arg8
= wxString_in_helper(obj7
);
33766 if (arg8
== NULL
) SWIG_fail
;
33771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33772 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33773 wxPyEndAllowThreads(__tstate
);
33774 if (PyErr_Occurred()) SWIG_fail
;
33777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33793 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33794 PyObject
*resultobj
= 0;
33795 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33796 PyObject
*arg2
= (PyObject
*) 0 ;
33797 PyObject
*arg3
= (PyObject
*) 0 ;
33800 PyObject
* obj0
= 0 ;
33801 PyObject
* obj1
= 0 ;
33802 PyObject
* obj2
= 0 ;
33803 char * kwnames
[] = {
33804 (char *) "self",(char *) "self",(char *) "_class", NULL
33807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33809 if (!SWIG_IsOK(res1
)) {
33810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33812 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33817 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33818 wxPyEndAllowThreads(__tstate
);
33819 if (PyErr_Occurred()) SWIG_fail
;
33821 resultobj
= SWIG_Py_Void();
33828 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33829 PyObject
*resultobj
= 0;
33830 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33831 unsigned int result
;
33834 PyObject
*swig_obj
[1] ;
33836 if (!args
) SWIG_fail
;
33837 swig_obj
[0] = args
;
33838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33839 if (!SWIG_IsOK(res1
)) {
33840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33842 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33845 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
33846 wxPyEndAllowThreads(__tstate
);
33847 if (PyErr_Occurred()) SWIG_fail
;
33849 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33856 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33857 PyObject
*resultobj
= 0;
33858 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33859 unsigned int result
;
33862 PyObject
*swig_obj
[1] ;
33864 if (!args
) SWIG_fail
;
33865 swig_obj
[0] = args
;
33866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33867 if (!SWIG_IsOK(res1
)) {
33868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33870 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33873 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
33874 wxPyEndAllowThreads(__tstate
);
33875 if (PyErr_Occurred()) SWIG_fail
;
33877 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33884 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33885 PyObject
*resultobj
= 0;
33886 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33887 unsigned int arg2
;
33890 unsigned int val2
;
33892 PyObject
* obj0
= 0 ;
33893 PyObject
* obj1
= 0 ;
33894 char * kwnames
[] = {
33895 (char *) "self",(char *) "indent", NULL
33898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33900 if (!SWIG_IsOK(res1
)) {
33901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33903 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33904 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33905 if (!SWIG_IsOK(ecode2
)) {
33906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
33908 arg2
= static_cast< unsigned int >(val2
);
33910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33911 (arg1
)->SetIndent(arg2
);
33912 wxPyEndAllowThreads(__tstate
);
33913 if (PyErr_Occurred()) SWIG_fail
;
33915 resultobj
= SWIG_Py_Void();
33922 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33923 PyObject
*resultobj
= 0;
33924 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33925 unsigned int result
;
33928 PyObject
*swig_obj
[1] ;
33930 if (!args
) SWIG_fail
;
33931 swig_obj
[0] = args
;
33932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33933 if (!SWIG_IsOK(res1
)) {
33934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33936 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33939 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
33940 wxPyEndAllowThreads(__tstate
);
33941 if (PyErr_Occurred()) SWIG_fail
;
33943 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33950 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33951 PyObject
*resultobj
= 0;
33952 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33953 unsigned int arg2
;
33956 unsigned int val2
;
33958 PyObject
* obj0
= 0 ;
33959 PyObject
* obj1
= 0 ;
33960 char * kwnames
[] = {
33961 (char *) "self",(char *) "spacing", NULL
33964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33966 if (!SWIG_IsOK(res1
)) {
33967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33969 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33970 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33971 if (!SWIG_IsOK(ecode2
)) {
33972 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
33974 arg2
= static_cast< unsigned int >(val2
);
33976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33977 (arg1
)->SetSpacing(arg2
);
33978 wxPyEndAllowThreads(__tstate
);
33979 if (PyErr_Occurred()) SWIG_fail
;
33981 resultobj
= SWIG_Py_Void();
33988 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33989 PyObject
*resultobj
= 0;
33990 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33991 wxImageList
*result
= 0 ;
33994 PyObject
*swig_obj
[1] ;
33996 if (!args
) SWIG_fail
;
33997 swig_obj
[0] = args
;
33998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33999 if (!SWIG_IsOK(res1
)) {
34000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34002 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34005 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
34006 wxPyEndAllowThreads(__tstate
);
34007 if (PyErr_Occurred()) SWIG_fail
;
34010 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34018 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34019 PyObject
*resultobj
= 0;
34020 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34021 wxImageList
*result
= 0 ;
34024 PyObject
*swig_obj
[1] ;
34026 if (!args
) SWIG_fail
;
34027 swig_obj
[0] = args
;
34028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34029 if (!SWIG_IsOK(res1
)) {
34030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34032 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34035 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
34036 wxPyEndAllowThreads(__tstate
);
34037 if (PyErr_Occurred()) SWIG_fail
;
34040 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34048 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34049 PyObject
*resultobj
= 0;
34050 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34051 wxImageList
*arg2
= (wxImageList
*) 0 ;
34056 PyObject
* obj0
= 0 ;
34057 PyObject
* obj1
= 0 ;
34058 char * kwnames
[] = {
34059 (char *) "self",(char *) "imageList", NULL
34062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34064 if (!SWIG_IsOK(res1
)) {
34065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34067 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34068 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34069 if (!SWIG_IsOK(res2
)) {
34070 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34072 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34075 (arg1
)->SetImageList(arg2
);
34076 wxPyEndAllowThreads(__tstate
);
34077 if (PyErr_Occurred()) SWIG_fail
;
34079 resultobj
= SWIG_Py_Void();
34086 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34087 PyObject
*resultobj
= 0;
34088 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34089 wxImageList
*arg2
= (wxImageList
*) 0 ;
34094 PyObject
* obj0
= 0 ;
34095 PyObject
* obj1
= 0 ;
34096 char * kwnames
[] = {
34097 (char *) "self",(char *) "imageList", NULL
34100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34102 if (!SWIG_IsOK(res1
)) {
34103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34105 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34106 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34107 if (!SWIG_IsOK(res2
)) {
34108 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34110 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34113 (arg1
)->SetStateImageList(arg2
);
34114 wxPyEndAllowThreads(__tstate
);
34115 if (PyErr_Occurred()) SWIG_fail
;
34117 resultobj
= SWIG_Py_Void();
34124 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34125 PyObject
*resultobj
= 0;
34126 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34127 wxImageList
*arg2
= (wxImageList
*) 0 ;
34131 PyObject
* obj0
= 0 ;
34132 PyObject
* obj1
= 0 ;
34133 char * kwnames
[] = {
34134 (char *) "self",(char *) "imageList", NULL
34137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34139 if (!SWIG_IsOK(res1
)) {
34140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34142 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34143 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34144 if (!SWIG_IsOK(res2
)) {
34145 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34149 (arg1
)->AssignImageList(arg2
);
34150 wxPyEndAllowThreads(__tstate
);
34151 if (PyErr_Occurred()) SWIG_fail
;
34153 resultobj
= SWIG_Py_Void();
34160 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34161 PyObject
*resultobj
= 0;
34162 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34163 wxImageList
*arg2
= (wxImageList
*) 0 ;
34167 PyObject
* obj0
= 0 ;
34168 PyObject
* obj1
= 0 ;
34169 char * kwnames
[] = {
34170 (char *) "self",(char *) "imageList", NULL
34173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34175 if (!SWIG_IsOK(res1
)) {
34176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34178 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34179 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34180 if (!SWIG_IsOK(res2
)) {
34181 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34185 (arg1
)->AssignStateImageList(arg2
);
34186 wxPyEndAllowThreads(__tstate
);
34187 if (PyErr_Occurred()) SWIG_fail
;
34189 resultobj
= SWIG_Py_Void();
34196 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34197 PyObject
*resultobj
= 0;
34198 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34199 wxTreeItemId
*arg2
= 0 ;
34205 PyObject
* obj0
= 0 ;
34206 PyObject
* obj1
= 0 ;
34207 char * kwnames
[] = {
34208 (char *) "self",(char *) "item", NULL
34211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34213 if (!SWIG_IsOK(res1
)) {
34214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34216 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34217 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34218 if (!SWIG_IsOK(res2
)) {
34219 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34222 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34224 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34227 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
34228 wxPyEndAllowThreads(__tstate
);
34229 if (PyErr_Occurred()) SWIG_fail
;
34233 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34235 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34244 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34245 PyObject
*resultobj
= 0;
34246 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34247 wxTreeItemId
*arg2
= 0 ;
34248 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34256 PyObject
* obj0
= 0 ;
34257 PyObject
* obj1
= 0 ;
34258 PyObject
* obj2
= 0 ;
34259 char * kwnames
[] = {
34260 (char *) "self",(char *) "item",(char *) "which", NULL
34263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34265 if (!SWIG_IsOK(res1
)) {
34266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34268 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34269 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34270 if (!SWIG_IsOK(res2
)) {
34271 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34274 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34276 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34278 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34279 if (!SWIG_IsOK(ecode3
)) {
34280 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34282 arg3
= static_cast< wxTreeItemIcon
>(val3
);
34285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34286 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
34287 wxPyEndAllowThreads(__tstate
);
34288 if (PyErr_Occurred()) SWIG_fail
;
34290 resultobj
= SWIG_From_int(static_cast< int >(result
));
34297 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34298 PyObject
*resultobj
= 0;
34299 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34300 wxTreeItemId
*arg2
= 0 ;
34301 wxPyTreeItemData
*result
= 0 ;
34306 PyObject
* obj0
= 0 ;
34307 PyObject
* obj1
= 0 ;
34308 char * kwnames
[] = {
34309 (char *) "self",(char *) "item", NULL
34312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34314 if (!SWIG_IsOK(res1
)) {
34315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34317 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34318 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34319 if (!SWIG_IsOK(res2
)) {
34320 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34323 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34325 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34328 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
34329 wxPyEndAllowThreads(__tstate
);
34330 if (PyErr_Occurred()) SWIG_fail
;
34332 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
34339 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34340 PyObject
*resultobj
= 0;
34341 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34342 wxTreeItemId
*arg2
= 0 ;
34343 PyObject
*result
= 0 ;
34348 PyObject
* obj0
= 0 ;
34349 PyObject
* obj1
= 0 ;
34350 char * kwnames
[] = {
34351 (char *) "self",(char *) "item", NULL
34354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34356 if (!SWIG_IsOK(res1
)) {
34357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34359 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34360 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34361 if (!SWIG_IsOK(res2
)) {
34362 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34365 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34367 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34370 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
34371 wxPyEndAllowThreads(__tstate
);
34372 if (PyErr_Occurred()) SWIG_fail
;
34374 resultobj
= result
;
34381 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34382 PyObject
*resultobj
= 0;
34383 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34384 wxTreeItemId
*arg2
= 0 ;
34390 PyObject
* obj0
= 0 ;
34391 PyObject
* obj1
= 0 ;
34392 char * kwnames
[] = {
34393 (char *) "self",(char *) "item", NULL
34396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34398 if (!SWIG_IsOK(res1
)) {
34399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34401 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34402 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34403 if (!SWIG_IsOK(res2
)) {
34404 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34407 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34409 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34412 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
34413 wxPyEndAllowThreads(__tstate
);
34414 if (PyErr_Occurred()) SWIG_fail
;
34416 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34423 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34424 PyObject
*resultobj
= 0;
34425 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34426 wxTreeItemId
*arg2
= 0 ;
34432 PyObject
* obj0
= 0 ;
34433 PyObject
* obj1
= 0 ;
34434 char * kwnames
[] = {
34435 (char *) "self",(char *) "item", NULL
34438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34440 if (!SWIG_IsOK(res1
)) {
34441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34443 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34444 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34445 if (!SWIG_IsOK(res2
)) {
34446 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34449 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34451 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34454 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
34455 wxPyEndAllowThreads(__tstate
);
34456 if (PyErr_Occurred()) SWIG_fail
;
34458 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34465 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34466 PyObject
*resultobj
= 0;
34467 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34468 wxTreeItemId
*arg2
= 0 ;
34474 PyObject
* obj0
= 0 ;
34475 PyObject
* obj1
= 0 ;
34476 char * kwnames
[] = {
34477 (char *) "self",(char *) "item", NULL
34480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34482 if (!SWIG_IsOK(res1
)) {
34483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34485 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34486 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34487 if (!SWIG_IsOK(res2
)) {
34488 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34491 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34493 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34496 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
34497 wxPyEndAllowThreads(__tstate
);
34498 if (PyErr_Occurred()) SWIG_fail
;
34500 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
34507 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34508 PyObject
*resultobj
= 0;
34509 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34510 wxTreeItemId
*arg2
= 0 ;
34511 wxString
*arg3
= 0 ;
34516 bool temp3
= false ;
34517 PyObject
* obj0
= 0 ;
34518 PyObject
* obj1
= 0 ;
34519 PyObject
* obj2
= 0 ;
34520 char * kwnames
[] = {
34521 (char *) "self",(char *) "item",(char *) "text", NULL
34524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34526 if (!SWIG_IsOK(res1
)) {
34527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34529 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34530 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34531 if (!SWIG_IsOK(res2
)) {
34532 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34535 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34537 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34539 arg3
= wxString_in_helper(obj2
);
34540 if (arg3
== NULL
) SWIG_fail
;
34544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34545 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
34546 wxPyEndAllowThreads(__tstate
);
34547 if (PyErr_Occurred()) SWIG_fail
;
34549 resultobj
= SWIG_Py_Void();
34564 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34565 PyObject
*resultobj
= 0;
34566 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34567 wxTreeItemId
*arg2
= 0 ;
34569 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34578 PyObject
* obj0
= 0 ;
34579 PyObject
* obj1
= 0 ;
34580 PyObject
* obj2
= 0 ;
34581 PyObject
* obj3
= 0 ;
34582 char * kwnames
[] = {
34583 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34588 if (!SWIG_IsOK(res1
)) {
34589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34591 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34592 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34593 if (!SWIG_IsOK(res2
)) {
34594 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34597 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34599 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34600 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34601 if (!SWIG_IsOK(ecode3
)) {
34602 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34604 arg3
= static_cast< int >(val3
);
34606 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34607 if (!SWIG_IsOK(ecode4
)) {
34608 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34610 arg4
= static_cast< wxTreeItemIcon
>(val4
);
34613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34614 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
34615 wxPyEndAllowThreads(__tstate
);
34616 if (PyErr_Occurred()) SWIG_fail
;
34618 resultobj
= SWIG_Py_Void();
34625 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34626 PyObject
*resultobj
= 0;
34627 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34628 wxTreeItemId
*arg2
= 0 ;
34629 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
34635 PyObject
* obj0
= 0 ;
34636 PyObject
* obj1
= 0 ;
34637 PyObject
* obj2
= 0 ;
34638 char * kwnames
[] = {
34639 (char *) "self",(char *) "item",(char *) "data", NULL
34642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34644 if (!SWIG_IsOK(res1
)) {
34645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34647 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34648 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34649 if (!SWIG_IsOK(res2
)) {
34650 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34653 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34655 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34656 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
34657 if (!SWIG_IsOK(res3
)) {
34658 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34662 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34663 wxPyEndAllowThreads(__tstate
);
34664 if (PyErr_Occurred()) SWIG_fail
;
34666 resultobj
= SWIG_Py_Void();
34673 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34674 PyObject
*resultobj
= 0;
34675 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34676 wxTreeItemId
*arg2
= 0 ;
34677 PyObject
*arg3
= (PyObject
*) 0 ;
34682 PyObject
* obj0
= 0 ;
34683 PyObject
* obj1
= 0 ;
34684 PyObject
* obj2
= 0 ;
34685 char * kwnames
[] = {
34686 (char *) "self",(char *) "item",(char *) "obj", NULL
34689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34691 if (!SWIG_IsOK(res1
)) {
34692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34694 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34695 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34696 if (!SWIG_IsOK(res2
)) {
34697 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34700 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34702 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34706 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34707 wxPyEndAllowThreads(__tstate
);
34708 if (PyErr_Occurred()) SWIG_fail
;
34710 resultobj
= SWIG_Py_Void();
34717 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34718 PyObject
*resultobj
= 0;
34719 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34720 wxTreeItemId
*arg2
= 0 ;
34721 bool arg3
= (bool) true ;
34728 PyObject
* obj0
= 0 ;
34729 PyObject
* obj1
= 0 ;
34730 PyObject
* obj2
= 0 ;
34731 char * kwnames
[] = {
34732 (char *) "self",(char *) "item",(char *) "has", NULL
34735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34737 if (!SWIG_IsOK(res1
)) {
34738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34740 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34741 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34742 if (!SWIG_IsOK(res2
)) {
34743 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34746 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34748 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34750 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34751 if (!SWIG_IsOK(ecode3
)) {
34752 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
34754 arg3
= static_cast< bool >(val3
);
34757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34758 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
34759 wxPyEndAllowThreads(__tstate
);
34760 if (PyErr_Occurred()) SWIG_fail
;
34762 resultobj
= SWIG_Py_Void();
34769 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34770 PyObject
*resultobj
= 0;
34771 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34772 wxTreeItemId
*arg2
= 0 ;
34773 bool arg3
= (bool) true ;
34780 PyObject
* obj0
= 0 ;
34781 PyObject
* obj1
= 0 ;
34782 PyObject
* obj2
= 0 ;
34783 char * kwnames
[] = {
34784 (char *) "self",(char *) "item",(char *) "bold", NULL
34787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34789 if (!SWIG_IsOK(res1
)) {
34790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34792 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34793 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34794 if (!SWIG_IsOK(res2
)) {
34795 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34798 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34800 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34802 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34803 if (!SWIG_IsOK(ecode3
)) {
34804 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
34806 arg3
= static_cast< bool >(val3
);
34809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34810 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
34811 wxPyEndAllowThreads(__tstate
);
34812 if (PyErr_Occurred()) SWIG_fail
;
34814 resultobj
= SWIG_Py_Void();
34821 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34822 PyObject
*resultobj
= 0;
34823 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34824 wxTreeItemId
*arg2
= 0 ;
34825 bool arg3
= (bool) true ;
34832 PyObject
* obj0
= 0 ;
34833 PyObject
* obj1
= 0 ;
34834 PyObject
* obj2
= 0 ;
34835 char * kwnames
[] = {
34836 (char *) "self",(char *) "item",(char *) "highlight", NULL
34839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34841 if (!SWIG_IsOK(res1
)) {
34842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34844 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34845 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34846 if (!SWIG_IsOK(res2
)) {
34847 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34850 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34852 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34854 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34855 if (!SWIG_IsOK(ecode3
)) {
34856 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
34858 arg3
= static_cast< bool >(val3
);
34861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34862 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
34863 wxPyEndAllowThreads(__tstate
);
34864 if (PyErr_Occurred()) SWIG_fail
;
34866 resultobj
= SWIG_Py_Void();
34873 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34874 PyObject
*resultobj
= 0;
34875 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34876 wxTreeItemId
*arg2
= 0 ;
34877 wxColour
*arg3
= 0 ;
34883 PyObject
* obj0
= 0 ;
34884 PyObject
* obj1
= 0 ;
34885 PyObject
* obj2
= 0 ;
34886 char * kwnames
[] = {
34887 (char *) "self",(char *) "item",(char *) "col", NULL
34890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34892 if (!SWIG_IsOK(res1
)) {
34893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34895 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34896 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34897 if (!SWIG_IsOK(res2
)) {
34898 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34901 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34903 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34906 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34910 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34911 wxPyEndAllowThreads(__tstate
);
34912 if (PyErr_Occurred()) SWIG_fail
;
34914 resultobj
= SWIG_Py_Void();
34921 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34922 PyObject
*resultobj
= 0;
34923 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34924 wxTreeItemId
*arg2
= 0 ;
34925 wxColour
*arg3
= 0 ;
34931 PyObject
* obj0
= 0 ;
34932 PyObject
* obj1
= 0 ;
34933 PyObject
* obj2
= 0 ;
34934 char * kwnames
[] = {
34935 (char *) "self",(char *) "item",(char *) "col", NULL
34938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34940 if (!SWIG_IsOK(res1
)) {
34941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34943 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34944 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34945 if (!SWIG_IsOK(res2
)) {
34946 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34949 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34951 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34954 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34958 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34959 wxPyEndAllowThreads(__tstate
);
34960 if (PyErr_Occurred()) SWIG_fail
;
34962 resultobj
= SWIG_Py_Void();
34969 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34970 PyObject
*resultobj
= 0;
34971 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34972 wxTreeItemId
*arg2
= 0 ;
34980 PyObject
* obj0
= 0 ;
34981 PyObject
* obj1
= 0 ;
34982 PyObject
* obj2
= 0 ;
34983 char * kwnames
[] = {
34984 (char *) "self",(char *) "item",(char *) "font", NULL
34987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34989 if (!SWIG_IsOK(res1
)) {
34990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34992 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34993 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34994 if (!SWIG_IsOK(res2
)) {
34995 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34998 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35000 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35001 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
35002 if (!SWIG_IsOK(res3
)) {
35003 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35006 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35008 arg3
= reinterpret_cast< wxFont
* >(argp3
);
35010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35011 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
35012 wxPyEndAllowThreads(__tstate
);
35013 if (PyErr_Occurred()) SWIG_fail
;
35015 resultobj
= SWIG_Py_Void();
35022 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35023 PyObject
*resultobj
= 0;
35024 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35025 wxTreeItemId
*arg2
= 0 ;
35031 PyObject
* obj0
= 0 ;
35032 PyObject
* obj1
= 0 ;
35033 char * kwnames
[] = {
35034 (char *) "self",(char *) "item", NULL
35037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35039 if (!SWIG_IsOK(res1
)) {
35040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35042 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35043 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35044 if (!SWIG_IsOK(res2
)) {
35045 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35048 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35050 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35053 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
35054 wxPyEndAllowThreads(__tstate
);
35055 if (PyErr_Occurred()) SWIG_fail
;
35058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35066 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35067 PyObject
*resultobj
= 0;
35068 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35069 wxTreeItemId
*arg2
= 0 ;
35075 PyObject
* obj0
= 0 ;
35076 PyObject
* obj1
= 0 ;
35077 char * kwnames
[] = {
35078 (char *) "self",(char *) "item", NULL
35081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35083 if (!SWIG_IsOK(res1
)) {
35084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35086 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35087 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35088 if (!SWIG_IsOK(res2
)) {
35089 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35092 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35094 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35097 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
35098 wxPyEndAllowThreads(__tstate
);
35099 if (PyErr_Occurred()) SWIG_fail
;
35102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35110 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35111 PyObject
*resultobj
= 0;
35112 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35113 wxTreeItemId
*arg2
= 0 ;
35119 PyObject
* obj0
= 0 ;
35120 PyObject
* obj1
= 0 ;
35121 char * kwnames
[] = {
35122 (char *) "self",(char *) "item", NULL
35125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35127 if (!SWIG_IsOK(res1
)) {
35128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35130 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35131 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35132 if (!SWIG_IsOK(res2
)) {
35133 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35136 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35138 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35141 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
35142 wxPyEndAllowThreads(__tstate
);
35143 if (PyErr_Occurred()) SWIG_fail
;
35146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35154 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35155 PyObject
*resultobj
= 0;
35156 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35157 wxTreeItemId
*arg2
= 0 ;
35163 PyObject
* obj0
= 0 ;
35164 PyObject
* obj1
= 0 ;
35165 char * kwnames
[] = {
35166 (char *) "self",(char *) "item", NULL
35169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35171 if (!SWIG_IsOK(res1
)) {
35172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35174 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35175 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35176 if (!SWIG_IsOK(res2
)) {
35177 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35180 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35182 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35185 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
35186 wxPyEndAllowThreads(__tstate
);
35187 if (PyErr_Occurred()) SWIG_fail
;
35190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35198 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35199 PyObject
*resultobj
= 0;
35200 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35201 wxTreeItemId
*arg2
= 0 ;
35207 PyObject
* obj0
= 0 ;
35208 PyObject
* obj1
= 0 ;
35209 char * kwnames
[] = {
35210 (char *) "self",(char *) "item", NULL
35213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35215 if (!SWIG_IsOK(res1
)) {
35216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35218 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35219 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35220 if (!SWIG_IsOK(res2
)) {
35221 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35224 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35226 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35229 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
35230 wxPyEndAllowThreads(__tstate
);
35231 if (PyErr_Occurred()) SWIG_fail
;
35234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35242 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35243 PyObject
*resultobj
= 0;
35244 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35245 wxTreeItemId
*arg2
= 0 ;
35246 bool arg3
= (bool) true ;
35254 PyObject
* obj0
= 0 ;
35255 PyObject
* obj1
= 0 ;
35256 PyObject
* obj2
= 0 ;
35257 char * kwnames
[] = {
35258 (char *) "self",(char *) "item",(char *) "recursively", NULL
35261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35263 if (!SWIG_IsOK(res1
)) {
35264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35266 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35267 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35268 if (!SWIG_IsOK(res2
)) {
35269 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35272 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35274 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35276 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35277 if (!SWIG_IsOK(ecode3
)) {
35278 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35280 arg3
= static_cast< bool >(val3
);
35283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35284 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
35285 wxPyEndAllowThreads(__tstate
);
35286 if (PyErr_Occurred()) SWIG_fail
;
35288 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35295 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35296 PyObject
*resultobj
= 0;
35297 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35298 wxTreeItemId result
;
35301 PyObject
*swig_obj
[1] ;
35303 if (!args
) SWIG_fail
;
35304 swig_obj
[0] = args
;
35305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35306 if (!SWIG_IsOK(res1
)) {
35307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35309 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35312 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
35313 wxPyEndAllowThreads(__tstate
);
35314 if (PyErr_Occurred()) SWIG_fail
;
35316 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35323 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35324 PyObject
*resultobj
= 0;
35325 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35326 wxTreeItemId result
;
35329 PyObject
*swig_obj
[1] ;
35331 if (!args
) SWIG_fail
;
35332 swig_obj
[0] = args
;
35333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35334 if (!SWIG_IsOK(res1
)) {
35335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35337 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35340 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
35341 wxPyEndAllowThreads(__tstate
);
35342 if (PyErr_Occurred()) SWIG_fail
;
35344 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35351 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35352 PyObject
*resultobj
= 0;
35353 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35354 PyObject
*result
= 0 ;
35357 PyObject
*swig_obj
[1] ;
35359 if (!args
) SWIG_fail
;
35360 swig_obj
[0] = args
;
35361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35362 if (!SWIG_IsOK(res1
)) {
35363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35365 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35368 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
35369 wxPyEndAllowThreads(__tstate
);
35370 if (PyErr_Occurred()) SWIG_fail
;
35372 resultobj
= result
;
35379 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35380 PyObject
*resultobj
= 0;
35381 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35382 wxTreeItemId
*arg2
= 0 ;
35383 wxTreeItemId result
;
35388 PyObject
* obj0
= 0 ;
35389 PyObject
* obj1
= 0 ;
35390 char * kwnames
[] = {
35391 (char *) "self",(char *) "item", NULL
35394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35396 if (!SWIG_IsOK(res1
)) {
35397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35399 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35400 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35401 if (!SWIG_IsOK(res2
)) {
35402 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35405 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35407 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35410 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
35411 wxPyEndAllowThreads(__tstate
);
35412 if (PyErr_Occurred()) SWIG_fail
;
35414 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35421 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35422 PyObject
*resultobj
= 0;
35423 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35424 wxTreeItemId
*arg2
= 0 ;
35425 PyObject
*result
= 0 ;
35430 PyObject
* obj0
= 0 ;
35431 PyObject
* obj1
= 0 ;
35432 char * kwnames
[] = {
35433 (char *) "self",(char *) "item", NULL
35436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35438 if (!SWIG_IsOK(res1
)) {
35439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35441 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35442 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35443 if (!SWIG_IsOK(res2
)) {
35444 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35447 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35449 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35452 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
35453 wxPyEndAllowThreads(__tstate
);
35454 if (PyErr_Occurred()) SWIG_fail
;
35456 resultobj
= result
;
35463 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35464 PyObject
*resultobj
= 0;
35465 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35466 wxTreeItemId
*arg2
= 0 ;
35467 void *arg3
= (void *) 0 ;
35468 PyObject
*result
= 0 ;
35474 PyObject
* obj0
= 0 ;
35475 PyObject
* obj1
= 0 ;
35476 PyObject
* obj2
= 0 ;
35477 char * kwnames
[] = {
35478 (char *) "self",(char *) "item",(char *) "cookie", NULL
35481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35483 if (!SWIG_IsOK(res1
)) {
35484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35486 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35487 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35488 if (!SWIG_IsOK(res2
)) {
35489 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35492 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35494 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35495 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
35496 if (!SWIG_IsOK(res3
)) {
35497 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35501 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35502 wxPyEndAllowThreads(__tstate
);
35503 if (PyErr_Occurred()) SWIG_fail
;
35505 resultobj
= result
;
35512 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35513 PyObject
*resultobj
= 0;
35514 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35515 wxTreeItemId
*arg2
= 0 ;
35516 wxTreeItemId result
;
35521 PyObject
* obj0
= 0 ;
35522 PyObject
* obj1
= 0 ;
35523 char * kwnames
[] = {
35524 (char *) "self",(char *) "item", NULL
35527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35529 if (!SWIG_IsOK(res1
)) {
35530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35532 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35533 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35534 if (!SWIG_IsOK(res2
)) {
35535 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35538 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35540 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35543 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
35544 wxPyEndAllowThreads(__tstate
);
35545 if (PyErr_Occurred()) SWIG_fail
;
35547 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35554 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35555 PyObject
*resultobj
= 0;
35556 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35557 wxTreeItemId
*arg2
= 0 ;
35558 wxTreeItemId result
;
35563 PyObject
* obj0
= 0 ;
35564 PyObject
* obj1
= 0 ;
35565 char * kwnames
[] = {
35566 (char *) "self",(char *) "item", NULL
35569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35571 if (!SWIG_IsOK(res1
)) {
35572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35574 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35575 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35576 if (!SWIG_IsOK(res2
)) {
35577 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35580 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35582 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35585 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
35586 wxPyEndAllowThreads(__tstate
);
35587 if (PyErr_Occurred()) SWIG_fail
;
35589 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35596 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35597 PyObject
*resultobj
= 0;
35598 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35599 wxTreeItemId
*arg2
= 0 ;
35600 wxTreeItemId result
;
35605 PyObject
* obj0
= 0 ;
35606 PyObject
* obj1
= 0 ;
35607 char * kwnames
[] = {
35608 (char *) "self",(char *) "item", NULL
35611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35613 if (!SWIG_IsOK(res1
)) {
35614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35616 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35617 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35618 if (!SWIG_IsOK(res2
)) {
35619 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35622 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35624 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35627 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
35628 wxPyEndAllowThreads(__tstate
);
35629 if (PyErr_Occurred()) SWIG_fail
;
35631 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35638 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35639 PyObject
*resultobj
= 0;
35640 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35641 wxTreeItemId result
;
35644 PyObject
*swig_obj
[1] ;
35646 if (!args
) SWIG_fail
;
35647 swig_obj
[0] = args
;
35648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35649 if (!SWIG_IsOK(res1
)) {
35650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35652 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35655 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
35656 wxPyEndAllowThreads(__tstate
);
35657 if (PyErr_Occurred()) SWIG_fail
;
35659 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35666 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35667 PyObject
*resultobj
= 0;
35668 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35669 wxTreeItemId
*arg2
= 0 ;
35670 wxTreeItemId result
;
35675 PyObject
* obj0
= 0 ;
35676 PyObject
* obj1
= 0 ;
35677 char * kwnames
[] = {
35678 (char *) "self",(char *) "item", NULL
35681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35683 if (!SWIG_IsOK(res1
)) {
35684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35686 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35687 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35688 if (!SWIG_IsOK(res2
)) {
35689 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35692 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35694 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35697 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
35698 wxPyEndAllowThreads(__tstate
);
35699 if (PyErr_Occurred()) SWIG_fail
;
35701 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35708 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35709 PyObject
*resultobj
= 0;
35710 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35711 wxTreeItemId
*arg2
= 0 ;
35712 wxTreeItemId result
;
35717 PyObject
* obj0
= 0 ;
35718 PyObject
* obj1
= 0 ;
35719 char * kwnames
[] = {
35720 (char *) "self",(char *) "item", NULL
35723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35725 if (!SWIG_IsOK(res1
)) {
35726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35728 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35729 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35730 if (!SWIG_IsOK(res2
)) {
35731 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35734 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35736 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35739 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
35740 wxPyEndAllowThreads(__tstate
);
35741 if (PyErr_Occurred()) SWIG_fail
;
35743 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35750 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35751 PyObject
*resultobj
= 0;
35752 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35753 wxString
*arg2
= 0 ;
35754 int arg3
= (int) -1 ;
35755 int arg4
= (int) -1 ;
35756 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
35757 wxTreeItemId result
;
35760 bool temp2
= false ;
35766 PyObject
* obj0
= 0 ;
35767 PyObject
* obj1
= 0 ;
35768 PyObject
* obj2
= 0 ;
35769 PyObject
* obj3
= 0 ;
35770 PyObject
* obj4
= 0 ;
35771 char * kwnames
[] = {
35772 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35777 if (!SWIG_IsOK(res1
)) {
35778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35780 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35782 arg2
= wxString_in_helper(obj1
);
35783 if (arg2
== NULL
) SWIG_fail
;
35787 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35788 if (!SWIG_IsOK(ecode3
)) {
35789 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
35791 arg3
= static_cast< int >(val3
);
35794 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35795 if (!SWIG_IsOK(ecode4
)) {
35796 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
35798 arg4
= static_cast< int >(val4
);
35801 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35802 if (!SWIG_IsOK(res5
)) {
35803 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
35807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35808 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
35809 wxPyEndAllowThreads(__tstate
);
35810 if (PyErr_Occurred()) SWIG_fail
;
35812 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35827 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35828 PyObject
*resultobj
= 0;
35829 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35830 wxTreeItemId
*arg2
= 0 ;
35831 wxString
*arg3
= 0 ;
35832 int arg4
= (int) -1 ;
35833 int arg5
= (int) -1 ;
35834 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
35835 wxTreeItemId result
;
35840 bool temp3
= false ;
35846 PyObject
* obj0
= 0 ;
35847 PyObject
* obj1
= 0 ;
35848 PyObject
* obj2
= 0 ;
35849 PyObject
* obj3
= 0 ;
35850 PyObject
* obj4
= 0 ;
35851 PyObject
* obj5
= 0 ;
35852 char * kwnames
[] = {
35853 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
35857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35858 if (!SWIG_IsOK(res1
)) {
35859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35861 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35862 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35863 if (!SWIG_IsOK(res2
)) {
35864 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35867 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35869 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35871 arg3
= wxString_in_helper(obj2
);
35872 if (arg3
== NULL
) SWIG_fail
;
35876 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35877 if (!SWIG_IsOK(ecode4
)) {
35878 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
35880 arg4
= static_cast< int >(val4
);
35883 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35884 if (!SWIG_IsOK(ecode5
)) {
35885 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
35887 arg5
= static_cast< int >(val5
);
35890 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35891 if (!SWIG_IsOK(res6
)) {
35892 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
35896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35897 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
35898 wxPyEndAllowThreads(__tstate
);
35899 if (PyErr_Occurred()) SWIG_fail
;
35901 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35916 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35917 PyObject
*resultobj
= 0;
35918 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35919 wxTreeItemId
*arg2
= 0 ;
35920 wxTreeItemId
*arg3
= 0 ;
35921 wxString
*arg4
= 0 ;
35922 int arg5
= (int) -1 ;
35923 int arg6
= (int) -1 ;
35924 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
35925 wxTreeItemId result
;
35932 bool temp4
= false ;
35938 PyObject
* obj0
= 0 ;
35939 PyObject
* obj1
= 0 ;
35940 PyObject
* obj2
= 0 ;
35941 PyObject
* obj3
= 0 ;
35942 PyObject
* obj4
= 0 ;
35943 PyObject
* obj5
= 0 ;
35944 PyObject
* obj6
= 0 ;
35945 char * kwnames
[] = {
35946 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35951 if (!SWIG_IsOK(res1
)) {
35952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35954 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35955 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35956 if (!SWIG_IsOK(res2
)) {
35957 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35960 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35962 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35963 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35964 if (!SWIG_IsOK(res3
)) {
35965 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35968 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35970 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
35972 arg4
= wxString_in_helper(obj3
);
35973 if (arg4
== NULL
) SWIG_fail
;
35977 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35978 if (!SWIG_IsOK(ecode5
)) {
35979 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
35981 arg5
= static_cast< int >(val5
);
35984 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35985 if (!SWIG_IsOK(ecode6
)) {
35986 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
35988 arg6
= static_cast< int >(val6
);
35991 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35992 if (!SWIG_IsOK(res7
)) {
35993 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
35997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35998 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
35999 wxPyEndAllowThreads(__tstate
);
36000 if (PyErr_Occurred()) SWIG_fail
;
36002 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36017 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36018 PyObject
*resultobj
= 0;
36019 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36020 wxTreeItemId
*arg2
= 0 ;
36022 wxString
*arg4
= 0 ;
36023 int arg5
= (int) -1 ;
36024 int arg6
= (int) -1 ;
36025 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36026 wxTreeItemId result
;
36033 bool temp4
= false ;
36039 PyObject
* obj0
= 0 ;
36040 PyObject
* obj1
= 0 ;
36041 PyObject
* obj2
= 0 ;
36042 PyObject
* obj3
= 0 ;
36043 PyObject
* obj4
= 0 ;
36044 PyObject
* obj5
= 0 ;
36045 PyObject
* obj6
= 0 ;
36046 char * kwnames
[] = {
36047 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36052 if (!SWIG_IsOK(res1
)) {
36053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36055 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36056 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36057 if (!SWIG_IsOK(res2
)) {
36058 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36061 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36063 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36064 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
36065 if (!SWIG_IsOK(ecode3
)) {
36066 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
36068 arg3
= static_cast< size_t >(val3
);
36070 arg4
= wxString_in_helper(obj3
);
36071 if (arg4
== NULL
) SWIG_fail
;
36075 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36076 if (!SWIG_IsOK(ecode5
)) {
36077 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36079 arg5
= static_cast< int >(val5
);
36082 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36083 if (!SWIG_IsOK(ecode6
)) {
36084 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36086 arg6
= static_cast< int >(val6
);
36089 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36090 if (!SWIG_IsOK(res7
)) {
36091 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36096 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36097 wxPyEndAllowThreads(__tstate
);
36098 if (PyErr_Occurred()) SWIG_fail
;
36100 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36115 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36116 PyObject
*resultobj
= 0;
36117 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36118 wxTreeItemId
*arg2
= 0 ;
36119 wxString
*arg3
= 0 ;
36120 int arg4
= (int) -1 ;
36121 int arg5
= (int) -1 ;
36122 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36123 wxTreeItemId result
;
36128 bool temp3
= false ;
36134 PyObject
* obj0
= 0 ;
36135 PyObject
* obj1
= 0 ;
36136 PyObject
* obj2
= 0 ;
36137 PyObject
* obj3
= 0 ;
36138 PyObject
* obj4
= 0 ;
36139 PyObject
* obj5
= 0 ;
36140 char * kwnames
[] = {
36141 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36146 if (!SWIG_IsOK(res1
)) {
36147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36149 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36150 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36151 if (!SWIG_IsOK(res2
)) {
36152 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36155 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36157 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36159 arg3
= wxString_in_helper(obj2
);
36160 if (arg3
== NULL
) SWIG_fail
;
36164 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36165 if (!SWIG_IsOK(ecode4
)) {
36166 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36168 arg4
= static_cast< int >(val4
);
36171 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36172 if (!SWIG_IsOK(ecode5
)) {
36173 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36175 arg5
= static_cast< int >(val5
);
36178 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36179 if (!SWIG_IsOK(res6
)) {
36180 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36185 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36186 wxPyEndAllowThreads(__tstate
);
36187 if (PyErr_Occurred()) SWIG_fail
;
36189 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36204 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36205 PyObject
*resultobj
= 0;
36206 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36207 wxTreeItemId
*arg2
= 0 ;
36212 PyObject
* obj0
= 0 ;
36213 PyObject
* obj1
= 0 ;
36214 char * kwnames
[] = {
36215 (char *) "self",(char *) "item", NULL
36218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36220 if (!SWIG_IsOK(res1
)) {
36221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36223 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36224 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36225 if (!SWIG_IsOK(res2
)) {
36226 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36229 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36231 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36234 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
36235 wxPyEndAllowThreads(__tstate
);
36236 if (PyErr_Occurred()) SWIG_fail
;
36238 resultobj
= SWIG_Py_Void();
36245 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36246 PyObject
*resultobj
= 0;
36247 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36248 wxTreeItemId
*arg2
= 0 ;
36253 PyObject
* obj0
= 0 ;
36254 PyObject
* obj1
= 0 ;
36255 char * kwnames
[] = {
36256 (char *) "self",(char *) "item", NULL
36259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36261 if (!SWIG_IsOK(res1
)) {
36262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36264 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36265 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36266 if (!SWIG_IsOK(res2
)) {
36267 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36270 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36272 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36275 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
36276 wxPyEndAllowThreads(__tstate
);
36277 if (PyErr_Occurred()) SWIG_fail
;
36279 resultobj
= SWIG_Py_Void();
36286 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36287 PyObject
*resultobj
= 0;
36288 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36291 PyObject
*swig_obj
[1] ;
36293 if (!args
) SWIG_fail
;
36294 swig_obj
[0] = args
;
36295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36296 if (!SWIG_IsOK(res1
)) {
36297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36299 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36302 (arg1
)->DeleteAllItems();
36303 wxPyEndAllowThreads(__tstate
);
36304 if (PyErr_Occurred()) SWIG_fail
;
36306 resultobj
= SWIG_Py_Void();
36313 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36314 PyObject
*resultobj
= 0;
36315 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36316 wxTreeItemId
*arg2
= 0 ;
36321 PyObject
* obj0
= 0 ;
36322 PyObject
* obj1
= 0 ;
36323 char * kwnames
[] = {
36324 (char *) "self",(char *) "item", NULL
36327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36329 if (!SWIG_IsOK(res1
)) {
36330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36332 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36333 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36334 if (!SWIG_IsOK(res2
)) {
36335 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36338 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36340 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36343 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
36344 wxPyEndAllowThreads(__tstate
);
36345 if (PyErr_Occurred()) SWIG_fail
;
36347 resultobj
= SWIG_Py_Void();
36354 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAllChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36355 PyObject
*resultobj
= 0;
36356 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36357 wxTreeItemId
*arg2
= 0 ;
36362 PyObject
* obj0
= 0 ;
36363 PyObject
* obj1
= 0 ;
36364 char * kwnames
[] = {
36365 (char *) "self",(char *) "item", NULL
36368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ExpandAllChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36370 if (!SWIG_IsOK(res1
)) {
36371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36373 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36374 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36375 if (!SWIG_IsOK(res2
)) {
36376 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36379 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36381 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36384 (arg1
)->ExpandAllChildren((wxTreeItemId
const &)*arg2
);
36385 wxPyEndAllowThreads(__tstate
);
36386 if (PyErr_Occurred()) SWIG_fail
;
36388 resultobj
= SWIG_Py_Void();
36395 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36396 PyObject
*resultobj
= 0;
36397 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36400 PyObject
*swig_obj
[1] ;
36402 if (!args
) SWIG_fail
;
36403 swig_obj
[0] = args
;
36404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36405 if (!SWIG_IsOK(res1
)) {
36406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36408 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36411 (arg1
)->ExpandAll();
36412 wxPyEndAllowThreads(__tstate
);
36413 if (PyErr_Occurred()) SWIG_fail
;
36415 resultobj
= SWIG_Py_Void();
36422 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36423 PyObject
*resultobj
= 0;
36424 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36425 wxTreeItemId
*arg2
= 0 ;
36430 PyObject
* obj0
= 0 ;
36431 PyObject
* obj1
= 0 ;
36432 char * kwnames
[] = {
36433 (char *) "self",(char *) "item", NULL
36436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36438 if (!SWIG_IsOK(res1
)) {
36439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36441 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36442 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36443 if (!SWIG_IsOK(res2
)) {
36444 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36447 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36449 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36452 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
36453 wxPyEndAllowThreads(__tstate
);
36454 if (PyErr_Occurred()) SWIG_fail
;
36456 resultobj
= SWIG_Py_Void();
36463 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36464 PyObject
*resultobj
= 0;
36465 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36466 wxTreeItemId
*arg2
= 0 ;
36471 PyObject
* obj0
= 0 ;
36472 PyObject
* obj1
= 0 ;
36473 char * kwnames
[] = {
36474 (char *) "self",(char *) "item", NULL
36477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36479 if (!SWIG_IsOK(res1
)) {
36480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36482 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36483 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36484 if (!SWIG_IsOK(res2
)) {
36485 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36488 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36490 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36493 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
36494 wxPyEndAllowThreads(__tstate
);
36495 if (PyErr_Occurred()) SWIG_fail
;
36497 resultobj
= SWIG_Py_Void();
36504 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36505 PyObject
*resultobj
= 0;
36506 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36507 wxTreeItemId
*arg2
= 0 ;
36512 PyObject
* obj0
= 0 ;
36513 PyObject
* obj1
= 0 ;
36514 char * kwnames
[] = {
36515 (char *) "self",(char *) "item", NULL
36518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36520 if (!SWIG_IsOK(res1
)) {
36521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36523 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36524 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36525 if (!SWIG_IsOK(res2
)) {
36526 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36529 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36531 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36534 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
36535 wxPyEndAllowThreads(__tstate
);
36536 if (PyErr_Occurred()) SWIG_fail
;
36538 resultobj
= SWIG_Py_Void();
36545 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36546 PyObject
*resultobj
= 0;
36547 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36550 PyObject
*swig_obj
[1] ;
36552 if (!args
) SWIG_fail
;
36553 swig_obj
[0] = args
;
36554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36555 if (!SWIG_IsOK(res1
)) {
36556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36558 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36561 (arg1
)->Unselect();
36562 wxPyEndAllowThreads(__tstate
);
36563 if (PyErr_Occurred()) SWIG_fail
;
36565 resultobj
= SWIG_Py_Void();
36572 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36573 PyObject
*resultobj
= 0;
36574 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36575 wxTreeItemId
*arg2
= 0 ;
36580 PyObject
* obj0
= 0 ;
36581 PyObject
* obj1
= 0 ;
36582 char * kwnames
[] = {
36583 (char *) "self",(char *) "item", NULL
36586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36588 if (!SWIG_IsOK(res1
)) {
36589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36591 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36592 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36593 if (!SWIG_IsOK(res2
)) {
36594 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36597 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36599 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36602 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
36603 wxPyEndAllowThreads(__tstate
);
36604 if (PyErr_Occurred()) SWIG_fail
;
36606 resultobj
= SWIG_Py_Void();
36613 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36614 PyObject
*resultobj
= 0;
36615 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36618 PyObject
*swig_obj
[1] ;
36620 if (!args
) SWIG_fail
;
36621 swig_obj
[0] = args
;
36622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36623 if (!SWIG_IsOK(res1
)) {
36624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36626 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36629 (arg1
)->UnselectAll();
36630 wxPyEndAllowThreads(__tstate
);
36631 if (PyErr_Occurred()) SWIG_fail
;
36633 resultobj
= SWIG_Py_Void();
36640 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36641 PyObject
*resultobj
= 0;
36642 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36643 wxTreeItemId
*arg2
= 0 ;
36644 bool arg3
= (bool) true ;
36651 PyObject
* obj0
= 0 ;
36652 PyObject
* obj1
= 0 ;
36653 PyObject
* obj2
= 0 ;
36654 char * kwnames
[] = {
36655 (char *) "self",(char *) "item",(char *) "select", NULL
36658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36660 if (!SWIG_IsOK(res1
)) {
36661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36663 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36664 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36665 if (!SWIG_IsOK(res2
)) {
36666 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36669 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36671 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36673 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36674 if (!SWIG_IsOK(ecode3
)) {
36675 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
36677 arg3
= static_cast< bool >(val3
);
36680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36681 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
36682 wxPyEndAllowThreads(__tstate
);
36683 if (PyErr_Occurred()) SWIG_fail
;
36685 resultobj
= SWIG_Py_Void();
36692 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36693 PyObject
*resultobj
= 0;
36694 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36695 wxTreeItemId
*arg2
= 0 ;
36700 PyObject
* obj0
= 0 ;
36701 PyObject
* obj1
= 0 ;
36702 char * kwnames
[] = {
36703 (char *) "self",(char *) "item", NULL
36706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36708 if (!SWIG_IsOK(res1
)) {
36709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36711 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36712 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36713 if (!SWIG_IsOK(res2
)) {
36714 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36717 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36719 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36722 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
36723 wxPyEndAllowThreads(__tstate
);
36724 if (PyErr_Occurred()) SWIG_fail
;
36726 resultobj
= SWIG_Py_Void();
36733 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36734 PyObject
*resultobj
= 0;
36735 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36736 wxTreeItemId
*arg2
= 0 ;
36741 PyObject
* obj0
= 0 ;
36742 PyObject
* obj1
= 0 ;
36743 char * kwnames
[] = {
36744 (char *) "self",(char *) "item", NULL
36747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36749 if (!SWIG_IsOK(res1
)) {
36750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36752 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36753 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36754 if (!SWIG_IsOK(res2
)) {
36755 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36758 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36760 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36763 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
36764 wxPyEndAllowThreads(__tstate
);
36765 if (PyErr_Occurred()) SWIG_fail
;
36767 resultobj
= SWIG_Py_Void();
36774 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36775 PyObject
*resultobj
= 0;
36776 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36777 wxTreeItemId
*arg2
= 0 ;
36782 PyObject
* obj0
= 0 ;
36783 PyObject
* obj1
= 0 ;
36784 char * kwnames
[] = {
36785 (char *) "self",(char *) "item", NULL
36788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36790 if (!SWIG_IsOK(res1
)) {
36791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36793 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36794 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36795 if (!SWIG_IsOK(res2
)) {
36796 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36799 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36801 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36804 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
36805 wxPyEndAllowThreads(__tstate
);
36806 if (PyErr_Occurred()) SWIG_fail
;
36808 resultobj
= SWIG_Py_Void();
36815 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36816 PyObject
*resultobj
= 0;
36817 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36818 wxTreeItemId
*arg2
= 0 ;
36823 PyObject
* obj0
= 0 ;
36824 PyObject
* obj1
= 0 ;
36825 char * kwnames
[] = {
36826 (char *) "self",(char *) "item", NULL
36829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36831 if (!SWIG_IsOK(res1
)) {
36832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36834 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36835 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36836 if (!SWIG_IsOK(res2
)) {
36837 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36840 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36842 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36845 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
36846 wxPyEndAllowThreads(__tstate
);
36847 if (PyErr_Occurred()) SWIG_fail
;
36849 resultobj
= SWIG_Py_Void();
36856 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36857 PyObject
*resultobj
= 0;
36858 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36859 wxTextCtrl
*result
= 0 ;
36862 PyObject
*swig_obj
[1] ;
36864 if (!args
) SWIG_fail
;
36865 swig_obj
[0] = args
;
36866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36867 if (!SWIG_IsOK(res1
)) {
36868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36870 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36873 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
36874 wxPyEndAllowThreads(__tstate
);
36875 if (PyErr_Occurred()) SWIG_fail
;
36878 resultobj
= wxPyMake_wxObject(result
, 0);
36886 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36887 PyObject
*resultobj
= 0;
36888 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36889 wxTreeItemId
*arg2
= 0 ;
36894 PyObject
* obj0
= 0 ;
36895 PyObject
* obj1
= 0 ;
36896 char * kwnames
[] = {
36897 (char *) "self",(char *) "item", NULL
36900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36902 if (!SWIG_IsOK(res1
)) {
36903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36905 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36906 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36907 if (!SWIG_IsOK(res2
)) {
36908 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36911 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36913 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36916 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
36917 wxPyEndAllowThreads(__tstate
);
36918 if (PyErr_Occurred()) SWIG_fail
;
36920 resultobj
= SWIG_Py_Void();
36927 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36928 PyObject
*resultobj
= 0;
36929 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36930 wxPoint
*arg2
= 0 ;
36932 wxTreeItemId result
;
36937 int res3
= SWIG_TMPOBJ
;
36938 PyObject
* obj0
= 0 ;
36939 PyObject
* obj1
= 0 ;
36940 char * kwnames
[] = {
36941 (char *) "self",(char *) "point", NULL
36945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36947 if (!SWIG_IsOK(res1
)) {
36948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36950 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36953 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36957 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
36958 wxPyEndAllowThreads(__tstate
);
36959 if (PyErr_Occurred()) SWIG_fail
;
36961 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36962 if (SWIG_IsTmpObj(res3
)) {
36963 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
36965 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
36966 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
36974 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36975 PyObject
*resultobj
= 0;
36976 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36977 wxTreeItemId
*arg2
= 0 ;
36978 bool arg3
= (bool) false ;
36979 PyObject
*result
= 0 ;
36986 PyObject
* obj0
= 0 ;
36987 PyObject
* obj1
= 0 ;
36988 PyObject
* obj2
= 0 ;
36989 char * kwnames
[] = {
36990 (char *) "self",(char *) "item",(char *) "textOnly", NULL
36993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36995 if (!SWIG_IsOK(res1
)) {
36996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36998 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36999 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37000 if (!SWIG_IsOK(res2
)) {
37001 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37004 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37006 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37008 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37009 if (!SWIG_IsOK(ecode3
)) {
37010 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
37012 arg3
= static_cast< bool >(val3
);
37015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37016 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
37017 wxPyEndAllowThreads(__tstate
);
37018 if (PyErr_Occurred()) SWIG_fail
;
37020 resultobj
= result
;
37027 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37028 PyObject
*resultobj
= 0;
37029 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37030 SwigValueWrapper
<wxVisualAttributes
> result
;
37033 PyObject
* obj0
= 0 ;
37034 char * kwnames
[] = {
37035 (char *) "variant", NULL
37038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
37040 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37041 if (!SWIG_IsOK(ecode1
)) {
37042 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
37044 arg1
= static_cast< wxWindowVariant
>(val1
);
37047 if (!wxPyCheckForApp()) SWIG_fail
;
37048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37049 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
37050 wxPyEndAllowThreads(__tstate
);
37051 if (PyErr_Occurred()) SWIG_fail
;
37053 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
37060 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37061 PyObject
*resultobj
= 0;
37062 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37068 PyObject
* obj0
= 0 ;
37069 PyObject
* obj1
= 0 ;
37070 char * kwnames
[] = {
37071 (char *) "self",(char *) "q", NULL
37074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37076 if (!SWIG_IsOK(res1
)) {
37077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37079 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37080 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37081 if (!SWIG_IsOK(ecode2
)) {
37082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37084 arg2
= static_cast< bool >(val2
);
37086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37087 (arg1
)->SetQuickBestSize(arg2
);
37088 wxPyEndAllowThreads(__tstate
);
37089 if (PyErr_Occurred()) SWIG_fail
;
37091 resultobj
= SWIG_Py_Void();
37098 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37099 PyObject
*resultobj
= 0;
37100 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37104 PyObject
*swig_obj
[1] ;
37106 if (!args
) SWIG_fail
;
37107 swig_obj
[0] = args
;
37108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37109 if (!SWIG_IsOK(res1
)) {
37110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37112 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37115 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->GetQuickBestSize();
37116 wxPyEndAllowThreads(__tstate
);
37117 if (PyErr_Occurred()) SWIG_fail
;
37120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37128 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37130 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37131 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
37132 return SWIG_Py_Void();
37135 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37136 return SWIG_Python_InitShadowInstance(args
);
37139 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
37140 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
37145 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
37146 PyObject
*pyobj
= 0;
37150 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37152 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37159 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37160 PyObject
*resultobj
= 0;
37161 wxWindow
*arg1
= (wxWindow
*) 0 ;
37162 int arg2
= (int) (int)-1 ;
37163 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
37164 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
37165 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37166 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37167 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37168 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37169 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37170 wxString
const &arg7_defvalue
= wxPyEmptyString
;
37171 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37172 int arg8
= (int) 0 ;
37173 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
37174 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
37175 wxGenericDirCtrl
*result
= 0 ;
37180 bool temp3
= false ;
37185 bool temp7
= false ;
37188 bool temp9
= false ;
37189 PyObject
* obj0
= 0 ;
37190 PyObject
* obj1
= 0 ;
37191 PyObject
* obj2
= 0 ;
37192 PyObject
* obj3
= 0 ;
37193 PyObject
* obj4
= 0 ;
37194 PyObject
* obj5
= 0 ;
37195 PyObject
* obj6
= 0 ;
37196 PyObject
* obj7
= 0 ;
37197 PyObject
* obj8
= 0 ;
37198 char * kwnames
[] = {
37199 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
37203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37204 if (!SWIG_IsOK(res1
)) {
37205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37207 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37209 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37210 if (!SWIG_IsOK(ecode2
)) {
37211 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37213 arg2
= static_cast< int >(val2
);
37217 arg3
= wxString_in_helper(obj2
);
37218 if (arg3
== NULL
) SWIG_fail
;
37225 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37231 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37235 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37236 if (!SWIG_IsOK(ecode6
)) {
37237 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37239 arg6
= static_cast< long >(val6
);
37243 arg7
= wxString_in_helper(obj6
);
37244 if (arg7
== NULL
) SWIG_fail
;
37249 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
37250 if (!SWIG_IsOK(ecode8
)) {
37251 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37253 arg8
= static_cast< int >(val8
);
37257 arg9
= wxString_in_helper(obj8
);
37258 if (arg9
== NULL
) SWIG_fail
;
37263 if (!wxPyCheckForApp()) SWIG_fail
;
37264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37265 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
37266 wxPyEndAllowThreads(__tstate
);
37267 if (PyErr_Occurred()) SWIG_fail
;
37269 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
37300 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37301 PyObject
*resultobj
= 0;
37302 wxGenericDirCtrl
*result
= 0 ;
37304 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
37306 if (!wxPyCheckForApp()) SWIG_fail
;
37307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37308 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
37309 wxPyEndAllowThreads(__tstate
);
37310 if (PyErr_Occurred()) SWIG_fail
;
37312 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
37319 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37320 PyObject
*resultobj
= 0;
37321 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37322 wxWindow
*arg2
= (wxWindow
*) 0 ;
37323 int arg3
= (int) (int)-1 ;
37324 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
37325 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
37326 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
37327 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
37328 wxSize
const &arg6_defvalue
= wxDefaultSize
;
37329 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
37330 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37331 wxString
const &arg8_defvalue
= wxPyEmptyString
;
37332 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37333 int arg9
= (int) 0 ;
37334 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
37335 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
37343 bool temp4
= false ;
37348 bool temp8
= false ;
37351 bool temp10
= false ;
37352 PyObject
* obj0
= 0 ;
37353 PyObject
* obj1
= 0 ;
37354 PyObject
* obj2
= 0 ;
37355 PyObject
* obj3
= 0 ;
37356 PyObject
* obj4
= 0 ;
37357 PyObject
* obj5
= 0 ;
37358 PyObject
* obj6
= 0 ;
37359 PyObject
* obj7
= 0 ;
37360 PyObject
* obj8
= 0 ;
37361 PyObject
* obj9
= 0 ;
37362 char * kwnames
[] = {
37363 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
37367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37368 if (!SWIG_IsOK(res1
)) {
37369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37371 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37372 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37373 if (!SWIG_IsOK(res2
)) {
37374 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37376 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37378 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37379 if (!SWIG_IsOK(ecode3
)) {
37380 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37382 arg3
= static_cast< int >(val3
);
37386 arg4
= wxString_in_helper(obj3
);
37387 if (arg4
== NULL
) SWIG_fail
;
37394 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
37400 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
37404 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
37405 if (!SWIG_IsOK(ecode7
)) {
37406 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37408 arg7
= static_cast< long >(val7
);
37412 arg8
= wxString_in_helper(obj7
);
37413 if (arg8
== NULL
) SWIG_fail
;
37418 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
37419 if (!SWIG_IsOK(ecode9
)) {
37420 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37422 arg9
= static_cast< int >(val9
);
37426 arg10
= wxString_in_helper(obj9
);
37427 if (arg10
== NULL
) SWIG_fail
;
37432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37433 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
37434 wxPyEndAllowThreads(__tstate
);
37435 if (PyErr_Occurred()) SWIG_fail
;
37438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37470 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37471 PyObject
*resultobj
= 0;
37472 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37473 wxString
*arg2
= 0 ;
37477 bool temp2
= false ;
37478 PyObject
* obj0
= 0 ;
37479 PyObject
* obj1
= 0 ;
37480 char * kwnames
[] = {
37481 (char *) "self",(char *) "path", NULL
37484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37486 if (!SWIG_IsOK(res1
)) {
37487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37489 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37491 arg2
= wxString_in_helper(obj1
);
37492 if (arg2
== NULL
) SWIG_fail
;
37496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37497 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
37498 wxPyEndAllowThreads(__tstate
);
37499 if (PyErr_Occurred()) SWIG_fail
;
37502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37518 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_CollapsePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37519 PyObject
*resultobj
= 0;
37520 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37521 wxString
*arg2
= 0 ;
37525 bool temp2
= false ;
37526 PyObject
* obj0
= 0 ;
37527 PyObject
* obj1
= 0 ;
37528 char * kwnames
[] = {
37529 (char *) "self",(char *) "path", NULL
37532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37534 if (!SWIG_IsOK(res1
)) {
37535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37537 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37539 arg2
= wxString_in_helper(obj1
);
37540 if (arg2
== NULL
) SWIG_fail
;
37544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37545 result
= (bool)(arg1
)->CollapsePath((wxString
const &)*arg2
);
37546 wxPyEndAllowThreads(__tstate
);
37547 if (PyErr_Occurred()) SWIG_fail
;
37550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37566 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37567 PyObject
*resultobj
= 0;
37568 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37572 PyObject
*swig_obj
[1] ;
37574 if (!args
) SWIG_fail
;
37575 swig_obj
[0] = args
;
37576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37577 if (!SWIG_IsOK(res1
)) {
37578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37580 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37583 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
37584 wxPyEndAllowThreads(__tstate
);
37585 if (PyErr_Occurred()) SWIG_fail
;
37589 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37591 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37600 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37601 PyObject
*resultobj
= 0;
37602 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37603 wxString
*arg2
= 0 ;
37606 bool temp2
= false ;
37607 PyObject
* obj0
= 0 ;
37608 PyObject
* obj1
= 0 ;
37609 char * kwnames
[] = {
37610 (char *) "self",(char *) "path", NULL
37613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37615 if (!SWIG_IsOK(res1
)) {
37616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37618 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37620 arg2
= wxString_in_helper(obj1
);
37621 if (arg2
== NULL
) SWIG_fail
;
37625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37626 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
37627 wxPyEndAllowThreads(__tstate
);
37628 if (PyErr_Occurred()) SWIG_fail
;
37630 resultobj
= SWIG_Py_Void();
37645 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37646 PyObject
*resultobj
= 0;
37647 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37651 PyObject
*swig_obj
[1] ;
37653 if (!args
) SWIG_fail
;
37654 swig_obj
[0] = args
;
37655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37656 if (!SWIG_IsOK(res1
)) {
37657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37659 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37662 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
37663 wxPyEndAllowThreads(__tstate
);
37664 if (PyErr_Occurred()) SWIG_fail
;
37668 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37670 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37679 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37680 PyObject
*resultobj
= 0;
37681 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37685 PyObject
*swig_obj
[1] ;
37687 if (!args
) SWIG_fail
;
37688 swig_obj
[0] = args
;
37689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37690 if (!SWIG_IsOK(res1
)) {
37691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37693 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37696 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
37697 wxPyEndAllowThreads(__tstate
);
37698 if (PyErr_Occurred()) SWIG_fail
;
37702 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37704 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37713 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37714 PyObject
*resultobj
= 0;
37715 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37716 wxString
*arg2
= 0 ;
37719 bool temp2
= false ;
37720 PyObject
* obj0
= 0 ;
37721 PyObject
* obj1
= 0 ;
37722 char * kwnames
[] = {
37723 (char *) "self",(char *) "path", NULL
37726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37728 if (!SWIG_IsOK(res1
)) {
37729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37731 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37733 arg2
= wxString_in_helper(obj1
);
37734 if (arg2
== NULL
) SWIG_fail
;
37738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37739 (arg1
)->SetPath((wxString
const &)*arg2
);
37740 wxPyEndAllowThreads(__tstate
);
37741 if (PyErr_Occurred()) SWIG_fail
;
37743 resultobj
= SWIG_Py_Void();
37758 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37759 PyObject
*resultobj
= 0;
37760 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37766 PyObject
* obj0
= 0 ;
37767 PyObject
* obj1
= 0 ;
37768 char * kwnames
[] = {
37769 (char *) "self",(char *) "show", NULL
37772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37774 if (!SWIG_IsOK(res1
)) {
37775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37777 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37778 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37779 if (!SWIG_IsOK(ecode2
)) {
37780 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
37782 arg2
= static_cast< bool >(val2
);
37784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37785 (arg1
)->ShowHidden(arg2
);
37786 wxPyEndAllowThreads(__tstate
);
37787 if (PyErr_Occurred()) SWIG_fail
;
37789 resultobj
= SWIG_Py_Void();
37796 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37797 PyObject
*resultobj
= 0;
37798 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37802 PyObject
*swig_obj
[1] ;
37804 if (!args
) SWIG_fail
;
37805 swig_obj
[0] = args
;
37806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37807 if (!SWIG_IsOK(res1
)) {
37808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37810 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37813 result
= (bool)(arg1
)->GetShowHidden();
37814 wxPyEndAllowThreads(__tstate
);
37815 if (PyErr_Occurred()) SWIG_fail
;
37818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37826 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37827 PyObject
*resultobj
= 0;
37828 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37832 PyObject
*swig_obj
[1] ;
37834 if (!args
) SWIG_fail
;
37835 swig_obj
[0] = args
;
37836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37837 if (!SWIG_IsOK(res1
)) {
37838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37840 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37843 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
37844 wxPyEndAllowThreads(__tstate
);
37845 if (PyErr_Occurred()) SWIG_fail
;
37849 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37851 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37860 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37861 PyObject
*resultobj
= 0;
37862 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37863 wxString
*arg2
= 0 ;
37866 bool temp2
= false ;
37867 PyObject
* obj0
= 0 ;
37868 PyObject
* obj1
= 0 ;
37869 char * kwnames
[] = {
37870 (char *) "self",(char *) "filter", NULL
37873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37875 if (!SWIG_IsOK(res1
)) {
37876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37878 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37880 arg2
= wxString_in_helper(obj1
);
37881 if (arg2
== NULL
) SWIG_fail
;
37885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37886 (arg1
)->SetFilter((wxString
const &)*arg2
);
37887 wxPyEndAllowThreads(__tstate
);
37888 if (PyErr_Occurred()) SWIG_fail
;
37890 resultobj
= SWIG_Py_Void();
37905 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37906 PyObject
*resultobj
= 0;
37907 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37911 PyObject
*swig_obj
[1] ;
37913 if (!args
) SWIG_fail
;
37914 swig_obj
[0] = args
;
37915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37916 if (!SWIG_IsOK(res1
)) {
37917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37919 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37922 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
37923 wxPyEndAllowThreads(__tstate
);
37924 if (PyErr_Occurred()) SWIG_fail
;
37926 resultobj
= SWIG_From_int(static_cast< int >(result
));
37933 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37934 PyObject
*resultobj
= 0;
37935 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37941 PyObject
* obj0
= 0 ;
37942 PyObject
* obj1
= 0 ;
37943 char * kwnames
[] = {
37944 (char *) "self",(char *) "n", NULL
37947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37949 if (!SWIG_IsOK(res1
)) {
37950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37952 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37953 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37954 if (!SWIG_IsOK(ecode2
)) {
37955 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
37957 arg2
= static_cast< int >(val2
);
37959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37960 (arg1
)->SetFilterIndex(arg2
);
37961 wxPyEndAllowThreads(__tstate
);
37962 if (PyErr_Occurred()) SWIG_fail
;
37964 resultobj
= SWIG_Py_Void();
37971 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37972 PyObject
*resultobj
= 0;
37973 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37974 wxTreeItemId result
;
37977 PyObject
*swig_obj
[1] ;
37979 if (!args
) SWIG_fail
;
37980 swig_obj
[0] = args
;
37981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37982 if (!SWIG_IsOK(res1
)) {
37983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37985 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37988 result
= (arg1
)->GetRootId();
37989 wxPyEndAllowThreads(__tstate
);
37990 if (PyErr_Occurred()) SWIG_fail
;
37992 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37999 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38000 PyObject
*resultobj
= 0;
38001 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38002 wxPyTreeCtrl
*result
= 0 ;
38005 PyObject
*swig_obj
[1] ;
38007 if (!args
) SWIG_fail
;
38008 swig_obj
[0] = args
;
38009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38010 if (!SWIG_IsOK(res1
)) {
38011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38013 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38016 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
38017 wxPyEndAllowThreads(__tstate
);
38018 if (PyErr_Occurred()) SWIG_fail
;
38021 resultobj
= wxPyMake_wxObject(result
, 0);
38029 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38030 PyObject
*resultobj
= 0;
38031 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38032 wxDirFilterListCtrl
*result
= 0 ;
38035 PyObject
*swig_obj
[1] ;
38037 if (!args
) SWIG_fail
;
38038 swig_obj
[0] = args
;
38039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38040 if (!SWIG_IsOK(res1
)) {
38041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38043 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38046 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
38047 wxPyEndAllowThreads(__tstate
);
38048 if (PyErr_Occurred()) SWIG_fail
;
38050 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38057 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38058 PyObject
*resultobj
= 0;
38059 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38060 wxTreeItemId arg2
;
38061 wxString
*arg3
= 0 ;
38063 wxTreeItemId result
;
38068 bool temp3
= false ;
38070 int res4
= SWIG_TMPOBJ
;
38071 PyObject
* obj0
= 0 ;
38072 PyObject
* obj1
= 0 ;
38073 PyObject
* obj2
= 0 ;
38074 char * kwnames
[] = {
38075 (char *) "self",(char *) "parentId",(char *) "path", NULL
38079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38081 if (!SWIG_IsOK(res1
)) {
38082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38084 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38086 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
38087 if (!SWIG_IsOK(res2
)) {
38088 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38091 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38093 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
38095 if (SWIG_IsNewObj(res2
)) delete temp
;
38099 arg3
= wxString_in_helper(obj2
);
38100 if (arg3
== NULL
) SWIG_fail
;
38104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38105 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
38106 wxPyEndAllowThreads(__tstate
);
38107 if (PyErr_Occurred()) SWIG_fail
;
38109 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38110 if (SWIG_IsTmpObj(res4
)) {
38111 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
38113 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38114 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
38130 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38131 PyObject
*resultobj
= 0;
38132 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38135 PyObject
*swig_obj
[1] ;
38137 if (!args
) SWIG_fail
;
38138 swig_obj
[0] = args
;
38139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38140 if (!SWIG_IsOK(res1
)) {
38141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38143 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38146 (arg1
)->DoResize();
38147 wxPyEndAllowThreads(__tstate
);
38148 if (PyErr_Occurred()) SWIG_fail
;
38150 resultobj
= SWIG_Py_Void();
38157 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38158 PyObject
*resultobj
= 0;
38159 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38162 PyObject
*swig_obj
[1] ;
38164 if (!args
) SWIG_fail
;
38165 swig_obj
[0] = args
;
38166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38167 if (!SWIG_IsOK(res1
)) {
38168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38170 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38173 (arg1
)->ReCreateTree();
38174 wxPyEndAllowThreads(__tstate
);
38175 if (PyErr_Occurred()) SWIG_fail
;
38177 resultobj
= SWIG_Py_Void();
38184 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38186 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38187 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
38188 return SWIG_Py_Void();
38191 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38192 return SWIG_Python_InitShadowInstance(args
);
38195 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38196 PyObject
*resultobj
= 0;
38197 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38198 int arg2
= (int) (int)-1 ;
38199 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38200 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38201 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38202 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38203 long arg5
= (long) 0 ;
38204 wxDirFilterListCtrl
*result
= 0 ;
38213 PyObject
* obj0
= 0 ;
38214 PyObject
* obj1
= 0 ;
38215 PyObject
* obj2
= 0 ;
38216 PyObject
* obj3
= 0 ;
38217 PyObject
* obj4
= 0 ;
38218 char * kwnames
[] = {
38219 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38224 if (!SWIG_IsOK(res1
)) {
38225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38227 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38229 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38230 if (!SWIG_IsOK(ecode2
)) {
38231 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38233 arg2
= static_cast< int >(val2
);
38238 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38244 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38248 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38249 if (!SWIG_IsOK(ecode5
)) {
38250 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38252 arg5
= static_cast< long >(val5
);
38255 if (!wxPyCheckForApp()) SWIG_fail
;
38256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38257 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
38258 wxPyEndAllowThreads(__tstate
);
38259 if (PyErr_Occurred()) SWIG_fail
;
38261 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
38268 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38269 PyObject
*resultobj
= 0;
38270 wxDirFilterListCtrl
*result
= 0 ;
38272 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
38274 if (!wxPyCheckForApp()) SWIG_fail
;
38275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38276 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
38277 wxPyEndAllowThreads(__tstate
);
38278 if (PyErr_Occurred()) SWIG_fail
;
38280 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
38287 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38288 PyObject
*resultobj
= 0;
38289 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38290 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
38291 int arg3
= (int) (int)-1 ;
38292 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
38293 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
38294 wxSize
const &arg5_defvalue
= wxDefaultSize
;
38295 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
38296 long arg6
= (long) 0 ;
38308 PyObject
* obj0
= 0 ;
38309 PyObject
* obj1
= 0 ;
38310 PyObject
* obj2
= 0 ;
38311 PyObject
* obj3
= 0 ;
38312 PyObject
* obj4
= 0 ;
38313 PyObject
* obj5
= 0 ;
38314 char * kwnames
[] = {
38315 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38320 if (!SWIG_IsOK(res1
)) {
38321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38323 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38324 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38325 if (!SWIG_IsOK(res2
)) {
38326 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38328 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
38330 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38331 if (!SWIG_IsOK(ecode3
)) {
38332 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38334 arg3
= static_cast< int >(val3
);
38339 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
38345 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
38349 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
38350 if (!SWIG_IsOK(ecode6
)) {
38351 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38353 arg6
= static_cast< long >(val6
);
38356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38357 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
38358 wxPyEndAllowThreads(__tstate
);
38359 if (PyErr_Occurred()) SWIG_fail
;
38362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38370 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38371 PyObject
*resultobj
= 0;
38372 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38373 wxString
*arg2
= 0 ;
38377 bool temp2
= false ;
38380 PyObject
* obj0
= 0 ;
38381 PyObject
* obj1
= 0 ;
38382 PyObject
* obj2
= 0 ;
38383 char * kwnames
[] = {
38384 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38389 if (!SWIG_IsOK(res1
)) {
38390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38392 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38394 arg2
= wxString_in_helper(obj1
);
38395 if (arg2
== NULL
) SWIG_fail
;
38398 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38399 if (!SWIG_IsOK(ecode3
)) {
38400 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38402 arg3
= static_cast< int >(val3
);
38404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38405 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
38406 wxPyEndAllowThreads(__tstate
);
38407 if (PyErr_Occurred()) SWIG_fail
;
38409 resultobj
= SWIG_Py_Void();
38424 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38426 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38427 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
38428 return SWIG_Py_Void();
38431 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38432 return SWIG_Python_InitShadowInstance(args
);
38435 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38436 PyObject
*resultobj
= 0;
38437 wxWindow
*arg1
= (wxWindow
*) 0 ;
38438 int arg2
= (int) (int)-1 ;
38439 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38440 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38441 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38442 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38443 long arg5
= (long) 0 ;
38444 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
38445 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
38446 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
38447 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
38448 wxPyControl
*result
= 0 ;
38459 bool temp7
= false ;
38460 PyObject
* obj0
= 0 ;
38461 PyObject
* obj1
= 0 ;
38462 PyObject
* obj2
= 0 ;
38463 PyObject
* obj3
= 0 ;
38464 PyObject
* obj4
= 0 ;
38465 PyObject
* obj5
= 0 ;
38466 PyObject
* obj6
= 0 ;
38467 char * kwnames
[] = {
38468 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
38472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38473 if (!SWIG_IsOK(res1
)) {
38474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38476 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38478 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38479 if (!SWIG_IsOK(ecode2
)) {
38480 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38482 arg2
= static_cast< int >(val2
);
38487 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38493 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38497 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38498 if (!SWIG_IsOK(ecode5
)) {
38499 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38501 arg5
= static_cast< long >(val5
);
38504 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
38505 if (!SWIG_IsOK(res6
)) {
38506 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38509 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38511 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
38515 arg7
= wxString_in_helper(obj6
);
38516 if (arg7
== NULL
) SWIG_fail
;
38521 if (!wxPyCheckForApp()) SWIG_fail
;
38522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38523 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
38524 wxPyEndAllowThreads(__tstate
);
38525 if (PyErr_Occurred()) SWIG_fail
;
38527 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
38542 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38543 PyObject
*resultobj
= 0;
38544 wxPyControl
*result
= 0 ;
38546 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
38548 if (!wxPyCheckForApp()) SWIG_fail
;
38549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38550 result
= (wxPyControl
*)new wxPyControl();
38551 wxPyEndAllowThreads(__tstate
);
38552 if (PyErr_Occurred()) SWIG_fail
;
38554 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
38561 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38562 PyObject
*resultobj
= 0;
38563 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38564 PyObject
*arg2
= (PyObject
*) 0 ;
38565 PyObject
*arg3
= (PyObject
*) 0 ;
38568 PyObject
* obj0
= 0 ;
38569 PyObject
* obj1
= 0 ;
38570 PyObject
* obj2
= 0 ;
38571 char * kwnames
[] = {
38572 (char *) "self",(char *) "self",(char *) "_class", NULL
38575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38577 if (!SWIG_IsOK(res1
)) {
38578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
38580 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38585 (arg1
)->_setCallbackInfo(arg2
,arg3
);
38586 wxPyEndAllowThreads(__tstate
);
38587 if (PyErr_Occurred()) SWIG_fail
;
38589 resultobj
= SWIG_Py_Void();
38596 SWIGINTERN PyObject
*_wrap_PyControl_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38597 PyObject
*resultobj
= 0;
38598 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38603 PyObject
* obj0
= 0 ;
38604 PyObject
* obj1
= 0 ;
38605 char * kwnames
[] = {
38606 (char *) "self",(char *) "size", NULL
38609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38611 if (!SWIG_IsOK(res1
)) {
38612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_SetBestSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38614 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38617 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38621 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
38622 wxPyEndAllowThreads(__tstate
);
38623 if (PyErr_Occurred()) SWIG_fail
;
38625 resultobj
= SWIG_Py_Void();
38632 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38633 PyObject
*resultobj
= 0;
38634 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38635 wxDC
*arg2
= (wxDC
*) 0 ;
38641 PyObject
* obj0
= 0 ;
38642 PyObject
* obj1
= 0 ;
38643 char * kwnames
[] = {
38644 (char *) "self",(char *) "dc", NULL
38647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38649 if (!SWIG_IsOK(res1
)) {
38650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
38652 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38653 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
38654 if (!SWIG_IsOK(res2
)) {
38655 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
38657 arg2
= reinterpret_cast< wxDC
* >(argp2
);
38659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38660 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
38661 wxPyEndAllowThreads(__tstate
);
38662 if (PyErr_Occurred()) SWIG_fail
;
38665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38673 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38674 PyObject
*resultobj
= 0;
38675 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38690 PyObject
* obj0
= 0 ;
38691 PyObject
* obj1
= 0 ;
38692 PyObject
* obj2
= 0 ;
38693 PyObject
* obj3
= 0 ;
38694 PyObject
* obj4
= 0 ;
38695 char * kwnames
[] = {
38696 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38701 if (!SWIG_IsOK(res1
)) {
38702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
38704 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38705 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38706 if (!SWIG_IsOK(ecode2
)) {
38707 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
38709 arg2
= static_cast< int >(val2
);
38710 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38711 if (!SWIG_IsOK(ecode3
)) {
38712 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
38714 arg3
= static_cast< int >(val3
);
38715 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38716 if (!SWIG_IsOK(ecode4
)) {
38717 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
38719 arg4
= static_cast< int >(val4
);
38720 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38721 if (!SWIG_IsOK(ecode5
)) {
38722 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
38724 arg5
= static_cast< int >(val5
);
38726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38727 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
38728 wxPyEndAllowThreads(__tstate
);
38729 if (PyErr_Occurred()) SWIG_fail
;
38731 resultobj
= SWIG_Py_Void();
38738 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38739 PyObject
*resultobj
= 0;
38740 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38745 int arg6
= (int) wxSIZE_AUTO
;
38758 PyObject
* obj0
= 0 ;
38759 PyObject
* obj1
= 0 ;
38760 PyObject
* obj2
= 0 ;
38761 PyObject
* obj3
= 0 ;
38762 PyObject
* obj4
= 0 ;
38763 PyObject
* obj5
= 0 ;
38764 char * kwnames
[] = {
38765 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
38768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38770 if (!SWIG_IsOK(res1
)) {
38771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38773 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38774 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38775 if (!SWIG_IsOK(ecode2
)) {
38776 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
38778 arg2
= static_cast< int >(val2
);
38779 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38780 if (!SWIG_IsOK(ecode3
)) {
38781 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
38783 arg3
= static_cast< int >(val3
);
38784 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38785 if (!SWIG_IsOK(ecode4
)) {
38786 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
38788 arg4
= static_cast< int >(val4
);
38789 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38790 if (!SWIG_IsOK(ecode5
)) {
38791 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
38793 arg5
= static_cast< int >(val5
);
38795 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38796 if (!SWIG_IsOK(ecode6
)) {
38797 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
38799 arg6
= static_cast< int >(val6
);
38802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38803 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
38804 wxPyEndAllowThreads(__tstate
);
38805 if (PyErr_Occurred()) SWIG_fail
;
38807 resultobj
= SWIG_Py_Void();
38814 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38815 PyObject
*resultobj
= 0;
38816 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38825 PyObject
* obj0
= 0 ;
38826 PyObject
* obj1
= 0 ;
38827 PyObject
* obj2
= 0 ;
38828 char * kwnames
[] = {
38829 (char *) "self",(char *) "width",(char *) "height", NULL
38832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38834 if (!SWIG_IsOK(res1
)) {
38835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38837 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38838 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38839 if (!SWIG_IsOK(ecode2
)) {
38840 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
38842 arg2
= static_cast< int >(val2
);
38843 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38844 if (!SWIG_IsOK(ecode3
)) {
38845 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
38847 arg3
= static_cast< int >(val3
);
38849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38850 (arg1
)->DoSetClientSize(arg2
,arg3
);
38851 wxPyEndAllowThreads(__tstate
);
38852 if (PyErr_Occurred()) SWIG_fail
;
38854 resultobj
= SWIG_Py_Void();
38861 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38862 PyObject
*resultobj
= 0;
38863 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38872 PyObject
* obj0
= 0 ;
38873 PyObject
* obj1
= 0 ;
38874 PyObject
* obj2
= 0 ;
38875 char * kwnames
[] = {
38876 (char *) "self",(char *) "x",(char *) "y", NULL
38879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38881 if (!SWIG_IsOK(res1
)) {
38882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38884 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38885 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38886 if (!SWIG_IsOK(ecode2
)) {
38887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
38889 arg2
= static_cast< int >(val2
);
38890 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38891 if (!SWIG_IsOK(ecode3
)) {
38892 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
38894 arg3
= static_cast< int >(val3
);
38896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38897 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
38898 wxPyEndAllowThreads(__tstate
);
38899 if (PyErr_Occurred()) SWIG_fail
;
38901 resultobj
= SWIG_Py_Void();
38908 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38909 PyObject
*resultobj
= 0;
38910 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38911 int *arg2
= (int *) 0 ;
38912 int *arg3
= (int *) 0 ;
38916 int res2
= SWIG_TMPOBJ
;
38918 int res3
= SWIG_TMPOBJ
;
38919 PyObject
*swig_obj
[1] ;
38923 if (!args
) SWIG_fail
;
38924 swig_obj
[0] = args
;
38925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38926 if (!SWIG_IsOK(res1
)) {
38927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38929 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38932 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
38933 wxPyEndAllowThreads(__tstate
);
38934 if (PyErr_Occurred()) SWIG_fail
;
38936 resultobj
= SWIG_Py_Void();
38937 if (SWIG_IsTmpObj(res2
)) {
38938 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38940 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38941 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38943 if (SWIG_IsTmpObj(res3
)) {
38944 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38946 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38947 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38955 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38956 PyObject
*resultobj
= 0;
38957 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38958 int *arg2
= (int *) 0 ;
38959 int *arg3
= (int *) 0 ;
38963 int res2
= SWIG_TMPOBJ
;
38965 int res3
= SWIG_TMPOBJ
;
38966 PyObject
*swig_obj
[1] ;
38970 if (!args
) SWIG_fail
;
38971 swig_obj
[0] = args
;
38972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38973 if (!SWIG_IsOK(res1
)) {
38974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38976 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38979 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
38980 wxPyEndAllowThreads(__tstate
);
38981 if (PyErr_Occurred()) SWIG_fail
;
38983 resultobj
= SWIG_Py_Void();
38984 if (SWIG_IsTmpObj(res2
)) {
38985 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38987 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38988 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38990 if (SWIG_IsTmpObj(res3
)) {
38991 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38993 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38994 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39002 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39003 PyObject
*resultobj
= 0;
39004 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39005 int *arg2
= (int *) 0 ;
39006 int *arg3
= (int *) 0 ;
39010 int res2
= SWIG_TMPOBJ
;
39012 int res3
= SWIG_TMPOBJ
;
39013 PyObject
*swig_obj
[1] ;
39017 if (!args
) SWIG_fail
;
39018 swig_obj
[0] = args
;
39019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39020 if (!SWIG_IsOK(res1
)) {
39021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39023 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39026 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
39027 wxPyEndAllowThreads(__tstate
);
39028 if (PyErr_Occurred()) SWIG_fail
;
39030 resultobj
= SWIG_Py_Void();
39031 if (SWIG_IsTmpObj(res2
)) {
39032 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39034 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39035 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39037 if (SWIG_IsTmpObj(res3
)) {
39038 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39040 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39041 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39049 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39050 PyObject
*resultobj
= 0;
39051 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39055 PyObject
*swig_obj
[1] ;
39057 if (!args
) SWIG_fail
;
39058 swig_obj
[0] = args
;
39059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39060 if (!SWIG_IsOK(res1
)) {
39061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39063 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39066 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
39067 wxPyEndAllowThreads(__tstate
);
39068 if (PyErr_Occurred()) SWIG_fail
;
39070 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39077 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39078 PyObject
*resultobj
= 0;
39079 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39083 PyObject
*swig_obj
[1] ;
39085 if (!args
) SWIG_fail
;
39086 swig_obj
[0] = args
;
39087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39088 if (!SWIG_IsOK(res1
)) {
39089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39091 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39094 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
39095 wxPyEndAllowThreads(__tstate
);
39096 if (PyErr_Occurred()) SWIG_fail
;
39098 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39105 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39106 PyObject
*resultobj
= 0;
39107 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39108 SwigValueWrapper
<wxVisualAttributes
> result
;
39111 PyObject
*swig_obj
[1] ;
39113 if (!args
) SWIG_fail
;
39114 swig_obj
[0] = args
;
39115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39116 if (!SWIG_IsOK(res1
)) {
39117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39119 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39122 result
= (arg1
)->GetDefaultAttributes();
39123 wxPyEndAllowThreads(__tstate
);
39124 if (PyErr_Occurred()) SWIG_fail
;
39126 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
39133 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39134 PyObject
*resultobj
= 0;
39135 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39138 PyObject
*swig_obj
[1] ;
39140 if (!args
) SWIG_fail
;
39141 swig_obj
[0] = args
;
39142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39143 if (!SWIG_IsOK(res1
)) {
39144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39146 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39149 (arg1
)->OnInternalIdle();
39150 wxPyEndAllowThreads(__tstate
);
39151 if (PyErr_Occurred()) SWIG_fail
;
39153 resultobj
= SWIG_Py_Void();
39160 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39162 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39163 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
39164 return SWIG_Py_Void();
39167 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39168 return SWIG_Python_InitShadowInstance(args
);
39171 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39172 PyObject
*resultobj
= 0;
39173 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
39174 int arg2
= (int) 0 ;
39175 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39176 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39177 wxHelpEvent::Origin arg4
= (wxHelpEvent::Origin
) wxHelpEvent::Origin_Unknown
;
39178 wxHelpEvent
*result
= 0 ;
39186 PyObject
* obj0
= 0 ;
39187 PyObject
* obj1
= 0 ;
39188 PyObject
* obj2
= 0 ;
39189 PyObject
* obj3
= 0 ;
39190 char * kwnames
[] = {
39191 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
39194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39196 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
39197 if (!SWIG_IsOK(ecode1
)) {
39198 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39200 arg1
= static_cast< wxEventType
>(val1
);
39203 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39204 if (!SWIG_IsOK(ecode2
)) {
39205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39207 arg2
= static_cast< int >(val2
);
39212 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39216 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39217 if (!SWIG_IsOK(ecode4
)) {
39218 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39220 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39224 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
,arg4
);
39225 wxPyEndAllowThreads(__tstate
);
39226 if (PyErr_Occurred()) SWIG_fail
;
39228 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
39235 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39236 PyObject
*resultobj
= 0;
39237 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39241 PyObject
*swig_obj
[1] ;
39243 if (!args
) SWIG_fail
;
39244 swig_obj
[0] = args
;
39245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39246 if (!SWIG_IsOK(res1
)) {
39247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39249 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39252 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
39253 wxPyEndAllowThreads(__tstate
);
39254 if (PyErr_Occurred()) SWIG_fail
;
39256 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
39263 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39264 PyObject
*resultobj
= 0;
39265 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39266 wxPoint
*arg2
= 0 ;
39270 PyObject
* obj0
= 0 ;
39271 PyObject
* obj1
= 0 ;
39272 char * kwnames
[] = {
39273 (char *) "self",(char *) "pos", NULL
39276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39278 if (!SWIG_IsOK(res1
)) {
39279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39281 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39284 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39288 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
39289 wxPyEndAllowThreads(__tstate
);
39290 if (PyErr_Occurred()) SWIG_fail
;
39292 resultobj
= SWIG_Py_Void();
39299 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39300 PyObject
*resultobj
= 0;
39301 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39302 wxString
*result
= 0 ;
39305 PyObject
*swig_obj
[1] ;
39307 if (!args
) SWIG_fail
;
39308 swig_obj
[0] = args
;
39309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39310 if (!SWIG_IsOK(res1
)) {
39311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39313 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39317 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
39318 result
= (wxString
*) &_result_ref
;
39320 wxPyEndAllowThreads(__tstate
);
39321 if (PyErr_Occurred()) SWIG_fail
;
39325 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39327 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39336 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39337 PyObject
*resultobj
= 0;
39338 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39339 wxString
*arg2
= 0 ;
39342 bool temp2
= false ;
39343 PyObject
* obj0
= 0 ;
39344 PyObject
* obj1
= 0 ;
39345 char * kwnames
[] = {
39346 (char *) "self",(char *) "link", NULL
39349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39351 if (!SWIG_IsOK(res1
)) {
39352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39354 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39356 arg2
= wxString_in_helper(obj1
);
39357 if (arg2
== NULL
) SWIG_fail
;
39361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39362 (arg1
)->SetLink((wxString
const &)*arg2
);
39363 wxPyEndAllowThreads(__tstate
);
39364 if (PyErr_Occurred()) SWIG_fail
;
39366 resultobj
= SWIG_Py_Void();
39381 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39382 PyObject
*resultobj
= 0;
39383 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39384 wxString
*result
= 0 ;
39387 PyObject
*swig_obj
[1] ;
39389 if (!args
) SWIG_fail
;
39390 swig_obj
[0] = args
;
39391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39392 if (!SWIG_IsOK(res1
)) {
39393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39395 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39399 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
39400 result
= (wxString
*) &_result_ref
;
39402 wxPyEndAllowThreads(__tstate
);
39403 if (PyErr_Occurred()) SWIG_fail
;
39407 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39409 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39418 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39419 PyObject
*resultobj
= 0;
39420 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39421 wxString
*arg2
= 0 ;
39424 bool temp2
= false ;
39425 PyObject
* obj0
= 0 ;
39426 PyObject
* obj1
= 0 ;
39427 char * kwnames
[] = {
39428 (char *) "self",(char *) "target", NULL
39431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39433 if (!SWIG_IsOK(res1
)) {
39434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39436 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39438 arg2
= wxString_in_helper(obj1
);
39439 if (arg2
== NULL
) SWIG_fail
;
39443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39444 (arg1
)->SetTarget((wxString
const &)*arg2
);
39445 wxPyEndAllowThreads(__tstate
);
39446 if (PyErr_Occurred()) SWIG_fail
;
39448 resultobj
= SWIG_Py_Void();
39463 SWIGINTERN PyObject
*_wrap_HelpEvent_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39464 PyObject
*resultobj
= 0;
39465 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39466 wxHelpEvent::Origin result
;
39469 PyObject
*swig_obj
[1] ;
39471 if (!args
) SWIG_fail
;
39472 swig_obj
[0] = args
;
39473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39474 if (!SWIG_IsOK(res1
)) {
39475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39477 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39480 result
= (wxHelpEvent::Origin
)((wxHelpEvent
const *)arg1
)->GetOrigin();
39481 wxPyEndAllowThreads(__tstate
);
39482 if (PyErr_Occurred()) SWIG_fail
;
39484 resultobj
= SWIG_From_int(static_cast< int >(result
));
39491 SWIGINTERN PyObject
*_wrap_HelpEvent_SetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39492 PyObject
*resultobj
= 0;
39493 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39494 wxHelpEvent::Origin arg2
;
39499 PyObject
* obj0
= 0 ;
39500 PyObject
* obj1
= 0 ;
39501 char * kwnames
[] = {
39502 (char *) "self",(char *) "origin", NULL
39505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetOrigin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39507 if (!SWIG_IsOK(res1
)) {
39508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39510 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39511 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39512 if (!SWIG_IsOK(ecode2
)) {
39513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
39515 arg2
= static_cast< wxHelpEvent::Origin
>(val2
);
39517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39518 (arg1
)->SetOrigin(arg2
);
39519 wxPyEndAllowThreads(__tstate
);
39520 if (PyErr_Occurred()) SWIG_fail
;
39522 resultobj
= SWIG_Py_Void();
39529 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39531 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39532 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
39533 return SWIG_Py_Void();
39536 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39537 return SWIG_Python_InitShadowInstance(args
);
39540 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39541 PyObject
*resultobj
= 0;
39542 wxWindow
*arg1
= (wxWindow
*) NULL
;
39543 bool arg2
= (bool) true ;
39544 wxContextHelp
*result
= 0 ;
39549 PyObject
* obj0
= 0 ;
39550 PyObject
* obj1
= 0 ;
39551 char * kwnames
[] = {
39552 (char *) "window",(char *) "doNow", NULL
39555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39558 if (!SWIG_IsOK(res1
)) {
39559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
39561 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39564 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
39565 if (!SWIG_IsOK(ecode2
)) {
39566 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
39568 arg2
= static_cast< bool >(val2
);
39571 if (!wxPyCheckForApp()) SWIG_fail
;
39572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39573 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
39574 wxPyEndAllowThreads(__tstate
);
39575 if (PyErr_Occurred()) SWIG_fail
;
39577 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
39584 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39585 PyObject
*resultobj
= 0;
39586 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39589 PyObject
*swig_obj
[1] ;
39591 if (!args
) SWIG_fail
;
39592 swig_obj
[0] = args
;
39593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
39594 if (!SWIG_IsOK(res1
)) {
39595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39597 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39602 wxPyEndAllowThreads(__tstate
);
39603 if (PyErr_Occurred()) SWIG_fail
;
39605 resultobj
= SWIG_Py_Void();
39612 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39613 PyObject
*resultobj
= 0;
39614 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39615 wxWindow
*arg2
= (wxWindow
*) NULL
;
39621 PyObject
* obj0
= 0 ;
39622 PyObject
* obj1
= 0 ;
39623 char * kwnames
[] = {
39624 (char *) "self",(char *) "window", NULL
39627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39629 if (!SWIG_IsOK(res1
)) {
39630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39632 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39634 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39635 if (!SWIG_IsOK(res2
)) {
39636 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39638 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39642 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
39643 wxPyEndAllowThreads(__tstate
);
39644 if (PyErr_Occurred()) SWIG_fail
;
39647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39655 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39656 PyObject
*resultobj
= 0;
39657 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39661 PyObject
*swig_obj
[1] ;
39663 if (!args
) SWIG_fail
;
39664 swig_obj
[0] = args
;
39665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39666 if (!SWIG_IsOK(res1
)) {
39667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39669 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39672 result
= (bool)(arg1
)->EndContextHelp();
39673 wxPyEndAllowThreads(__tstate
);
39674 if (PyErr_Occurred()) SWIG_fail
;
39677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39685 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39687 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39688 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
39689 return SWIG_Py_Void();
39692 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39693 return SWIG_Python_InitShadowInstance(args
);
39696 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39697 PyObject
*resultobj
= 0;
39698 wxWindow
*arg1
= (wxWindow
*) 0 ;
39699 int arg2
= (int) wxID_CONTEXT_HELP
;
39700 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39701 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39702 wxSize
const &arg4_defvalue
= wxDefaultSize
;
39703 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
39704 long arg5
= (long) wxBU_AUTODRAW
;
39705 wxContextHelpButton
*result
= 0 ;
39714 PyObject
* obj0
= 0 ;
39715 PyObject
* obj1
= 0 ;
39716 PyObject
* obj2
= 0 ;
39717 PyObject
* obj3
= 0 ;
39718 PyObject
* obj4
= 0 ;
39719 char * kwnames
[] = {
39720 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
39723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39725 if (!SWIG_IsOK(res1
)) {
39726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
39728 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39730 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39731 if (!SWIG_IsOK(ecode2
)) {
39732 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
39734 arg2
= static_cast< int >(val2
);
39739 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39745 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
39749 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
39750 if (!SWIG_IsOK(ecode5
)) {
39751 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
39753 arg5
= static_cast< long >(val5
);
39756 if (!wxPyCheckForApp()) SWIG_fail
;
39757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39758 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
39759 wxPyEndAllowThreads(__tstate
);
39760 if (PyErr_Occurred()) SWIG_fail
;
39762 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
39769 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39771 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39772 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
39773 return SWIG_Py_Void();
39776 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39777 return SWIG_Python_InitShadowInstance(args
);
39780 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39781 PyObject
*resultobj
= 0;
39782 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39785 PyObject
*swig_obj
[1] ;
39787 if (!args
) SWIG_fail
;
39788 swig_obj
[0] = args
;
39789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39790 if (!SWIG_IsOK(res1
)) {
39791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39793 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39798 wxPyEndAllowThreads(__tstate
);
39799 if (PyErr_Occurred()) SWIG_fail
;
39801 resultobj
= SWIG_Py_Void();
39808 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39809 PyObject
*resultobj
= 0;
39810 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39811 wxHelpProvider
*result
= 0 ;
39813 PyObject
* obj0
= 0 ;
39814 char * kwnames
[] = {
39815 (char *) "helpProvider", NULL
39818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
39819 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39820 if (!SWIG_IsOK(res1
)) {
39821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39825 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
39826 wxPyEndAllowThreads(__tstate
);
39827 if (PyErr_Occurred()) SWIG_fail
;
39829 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
39836 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39837 PyObject
*resultobj
= 0;
39838 wxHelpProvider
*result
= 0 ;
39840 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
39842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39843 result
= (wxHelpProvider
*)wxHelpProvider::Get();
39844 wxPyEndAllowThreads(__tstate
);
39845 if (PyErr_Occurred()) SWIG_fail
;
39847 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39854 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39855 PyObject
*resultobj
= 0;
39856 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39857 wxWindow
*arg2
= (wxWindow
*) 0 ;
39863 PyObject
* obj0
= 0 ;
39864 PyObject
* obj1
= 0 ;
39865 char * kwnames
[] = {
39866 (char *) "self",(char *) "window", NULL
39869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39871 if (!SWIG_IsOK(res1
)) {
39872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39874 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39875 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39876 if (!SWIG_IsOK(res2
)) {
39877 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
39879 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39882 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
39883 wxPyEndAllowThreads(__tstate
);
39884 if (PyErr_Occurred()) SWIG_fail
;
39888 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
39890 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
39899 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39900 PyObject
*resultobj
= 0;
39901 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39902 wxWindow
*arg2
= (wxWindow
*) 0 ;
39908 PyObject
* obj0
= 0 ;
39909 PyObject
* obj1
= 0 ;
39910 char * kwnames
[] = {
39911 (char *) "self",(char *) "window", NULL
39914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39916 if (!SWIG_IsOK(res1
)) {
39917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39919 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39920 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39921 if (!SWIG_IsOK(res2
)) {
39922 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39924 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39927 result
= (bool)(arg1
)->ShowHelp(arg2
);
39928 wxPyEndAllowThreads(__tstate
);
39929 if (PyErr_Occurred()) SWIG_fail
;
39932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39940 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelpAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39941 PyObject
*resultobj
= 0;
39942 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39943 wxWindowBase
*arg2
= (wxWindowBase
*) 0 ;
39944 wxPoint
*arg3
= 0 ;
39945 wxHelpEvent::Origin arg4
;
39954 PyObject
* obj0
= 0 ;
39955 PyObject
* obj1
= 0 ;
39956 PyObject
* obj2
= 0 ;
39957 PyObject
* obj3
= 0 ;
39958 char * kwnames
[] = {
39959 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
39962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39964 if (!SWIG_IsOK(res1
)) {
39965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39967 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39968 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindowBase
, 0 | 0 );
39969 if (!SWIG_IsOK(res2
)) {
39970 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
39972 arg2
= reinterpret_cast< wxWindowBase
* >(argp2
);
39975 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39977 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39978 if (!SWIG_IsOK(ecode4
)) {
39979 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39981 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39984 result
= (bool)(arg1
)->ShowHelpAtPoint(arg2
,(wxPoint
const &)*arg3
,arg4
);
39985 wxPyEndAllowThreads(__tstate
);
39986 if (PyErr_Occurred()) SWIG_fail
;
39989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39997 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39998 PyObject
*resultobj
= 0;
39999 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40000 wxWindow
*arg2
= (wxWindow
*) 0 ;
40001 wxString
*arg3
= 0 ;
40006 bool temp3
= false ;
40007 PyObject
* obj0
= 0 ;
40008 PyObject
* obj1
= 0 ;
40009 PyObject
* obj2
= 0 ;
40010 char * kwnames
[] = {
40011 (char *) "self",(char *) "window",(char *) "text", NULL
40014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40016 if (!SWIG_IsOK(res1
)) {
40017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40019 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40020 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40021 if (!SWIG_IsOK(res2
)) {
40022 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40024 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40026 arg3
= wxString_in_helper(obj2
);
40027 if (arg3
== NULL
) SWIG_fail
;
40031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40032 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40033 wxPyEndAllowThreads(__tstate
);
40034 if (PyErr_Occurred()) SWIG_fail
;
40036 resultobj
= SWIG_Py_Void();
40051 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40052 PyObject
*resultobj
= 0;
40053 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40055 wxString
*arg3
= 0 ;
40060 bool temp3
= false ;
40061 PyObject
* obj0
= 0 ;
40062 PyObject
* obj1
= 0 ;
40063 PyObject
* obj2
= 0 ;
40064 char * kwnames
[] = {
40065 (char *) "self",(char *) "id",(char *) "text", NULL
40068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40070 if (!SWIG_IsOK(res1
)) {
40071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40073 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40074 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40075 if (!SWIG_IsOK(ecode2
)) {
40076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40078 arg2
= static_cast< int >(val2
);
40080 arg3
= wxString_in_helper(obj2
);
40081 if (arg3
== NULL
) SWIG_fail
;
40085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40086 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40087 wxPyEndAllowThreads(__tstate
);
40088 if (PyErr_Occurred()) SWIG_fail
;
40090 resultobj
= SWIG_Py_Void();
40105 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40106 PyObject
*resultobj
= 0;
40107 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40108 wxWindow
*arg2
= (wxWindow
*) 0 ;
40113 PyObject
* obj0
= 0 ;
40114 PyObject
* obj1
= 0 ;
40115 char * kwnames
[] = {
40116 (char *) "self",(char *) "window", NULL
40119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40121 if (!SWIG_IsOK(res1
)) {
40122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40124 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40125 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40126 if (!SWIG_IsOK(res2
)) {
40127 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40129 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40132 (arg1
)->RemoveHelp(arg2
);
40133 wxPyEndAllowThreads(__tstate
);
40134 if (PyErr_Occurred()) SWIG_fail
;
40136 resultobj
= SWIG_Py_Void();
40143 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40144 PyObject
*resultobj
= 0;
40145 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40148 PyObject
*swig_obj
[1] ;
40150 if (!args
) SWIG_fail
;
40151 swig_obj
[0] = args
;
40152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40153 if (!SWIG_IsOK(res1
)) {
40154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40156 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40159 wxHelpProvider_Destroy(arg1
);
40160 wxPyEndAllowThreads(__tstate
);
40161 if (PyErr_Occurred()) SWIG_fail
;
40163 resultobj
= SWIG_Py_Void();
40170 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40172 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40173 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
40174 return SWIG_Py_Void();
40177 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40178 PyObject
*resultobj
= 0;
40179 wxSimpleHelpProvider
*result
= 0 ;
40181 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
40183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40184 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
40185 wxPyEndAllowThreads(__tstate
);
40186 if (PyErr_Occurred()) SWIG_fail
;
40188 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
40195 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40197 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40198 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
40199 return SWIG_Py_Void();
40202 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40203 return SWIG_Python_InitShadowInstance(args
);
40206 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40207 PyObject
*resultobj
= 0;
40208 wxBitmap
*arg1
= 0 ;
40209 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40210 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40211 wxGenericDragImage
*result
= 0 ;
40216 PyObject
* obj0
= 0 ;
40217 PyObject
* obj1
= 0 ;
40218 char * kwnames
[] = {
40219 (char *) "image",(char *) "cursor", NULL
40222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40223 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
40224 if (!SWIG_IsOK(res1
)) {
40225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40228 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40230 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
40232 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40233 if (!SWIG_IsOK(res2
)) {
40234 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40237 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40239 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40242 if (!wxPyCheckForApp()) SWIG_fail
;
40243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40244 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
40245 wxPyEndAllowThreads(__tstate
);
40246 if (PyErr_Occurred()) SWIG_fail
;
40248 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
40255 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40256 PyObject
*resultobj
= 0;
40258 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40259 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40260 wxGenericDragImage
*result
= 0 ;
40265 PyObject
* obj0
= 0 ;
40266 PyObject
* obj1
= 0 ;
40267 char * kwnames
[] = {
40268 (char *) "image",(char *) "cursor", NULL
40271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40272 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
40273 if (!SWIG_IsOK(res1
)) {
40274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40277 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40279 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
40281 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40282 if (!SWIG_IsOK(res2
)) {
40283 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40286 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40288 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40291 if (!wxPyCheckForApp()) SWIG_fail
;
40292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40293 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
40294 wxPyEndAllowThreads(__tstate
);
40295 if (PyErr_Occurred()) SWIG_fail
;
40297 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40304 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40305 PyObject
*resultobj
= 0;
40306 wxString
*arg1
= 0 ;
40307 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40308 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40309 wxGenericDragImage
*result
= 0 ;
40310 bool temp1
= false ;
40313 PyObject
* obj0
= 0 ;
40314 PyObject
* obj1
= 0 ;
40315 char * kwnames
[] = {
40316 (char *) "str",(char *) "cursor", NULL
40319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40321 arg1
= wxString_in_helper(obj0
);
40322 if (arg1
== NULL
) SWIG_fail
;
40326 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40327 if (!SWIG_IsOK(res2
)) {
40328 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40331 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40333 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40336 if (!wxPyCheckForApp()) SWIG_fail
;
40337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40338 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
40339 wxPyEndAllowThreads(__tstate
);
40340 if (PyErr_Occurred()) SWIG_fail
;
40342 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40357 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40358 PyObject
*resultobj
= 0;
40359 wxPyTreeCtrl
*arg1
= 0 ;
40360 wxTreeItemId
*arg2
= 0 ;
40361 wxGenericDragImage
*result
= 0 ;
40366 PyObject
* obj0
= 0 ;
40367 PyObject
* obj1
= 0 ;
40368 char * kwnames
[] = {
40369 (char *) "treeCtrl",(char *) "id", NULL
40372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40373 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
40374 if (!SWIG_IsOK(res1
)) {
40375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40378 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40380 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
40381 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
40382 if (!SWIG_IsOK(res2
)) {
40383 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40386 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40388 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
40390 if (!wxPyCheckForApp()) SWIG_fail
;
40391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40392 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
40393 wxPyEndAllowThreads(__tstate
);
40394 if (PyErr_Occurred()) SWIG_fail
;
40396 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40403 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40404 PyObject
*resultobj
= 0;
40405 wxPyListCtrl
*arg1
= 0 ;
40407 wxGenericDragImage
*result
= 0 ;
40412 PyObject
* obj0
= 0 ;
40413 PyObject
* obj1
= 0 ;
40414 char * kwnames
[] = {
40415 (char *) "listCtrl",(char *) "id", NULL
40418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40419 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
40420 if (!SWIG_IsOK(res1
)) {
40421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40424 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40426 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
40427 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
40428 if (!SWIG_IsOK(ecode2
)) {
40429 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40431 arg2
= static_cast< long >(val2
);
40433 if (!wxPyCheckForApp()) SWIG_fail
;
40434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40435 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
40436 wxPyEndAllowThreads(__tstate
);
40437 if (PyErr_Occurred()) SWIG_fail
;
40439 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40446 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40447 PyObject
*resultobj
= 0;
40448 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40451 PyObject
*swig_obj
[1] ;
40453 if (!args
) SWIG_fail
;
40454 swig_obj
[0] = args
;
40455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
40456 if (!SWIG_IsOK(res1
)) {
40457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40459 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40464 wxPyEndAllowThreads(__tstate
);
40465 if (PyErr_Occurred()) SWIG_fail
;
40467 resultobj
= SWIG_Py_Void();
40474 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40475 PyObject
*resultobj
= 0;
40476 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40477 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
40482 PyObject
* obj0
= 0 ;
40483 PyObject
* obj1
= 0 ;
40484 char * kwnames
[] = {
40485 (char *) "self",(char *) "bitmap", NULL
40488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40490 if (!SWIG_IsOK(res1
)) {
40491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40493 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40494 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
40495 if (!SWIG_IsOK(res2
)) {
40496 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40498 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
40500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40501 (arg1
)->SetBackingBitmap(arg2
);
40502 wxPyEndAllowThreads(__tstate
);
40503 if (PyErr_Occurred()) SWIG_fail
;
40505 resultobj
= SWIG_Py_Void();
40512 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40513 PyObject
*resultobj
= 0;
40514 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40515 wxPoint
*arg2
= 0 ;
40516 wxWindow
*arg3
= (wxWindow
*) 0 ;
40517 bool arg4
= (bool) false ;
40518 wxRect
*arg5
= (wxRect
*) NULL
;
40529 PyObject
* obj0
= 0 ;
40530 PyObject
* obj1
= 0 ;
40531 PyObject
* obj2
= 0 ;
40532 PyObject
* obj3
= 0 ;
40533 PyObject
* obj4
= 0 ;
40534 char * kwnames
[] = {
40535 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
40538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40540 if (!SWIG_IsOK(res1
)) {
40541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40543 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40546 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40548 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40549 if (!SWIG_IsOK(res3
)) {
40550 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
40552 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40554 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40555 if (!SWIG_IsOK(ecode4
)) {
40556 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
40558 arg4
= static_cast< bool >(val4
);
40561 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
40562 if (!SWIG_IsOK(res5
)) {
40563 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
40565 arg5
= reinterpret_cast< wxRect
* >(argp5
);
40568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40569 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
40570 wxPyEndAllowThreads(__tstate
);
40571 if (PyErr_Occurred()) SWIG_fail
;
40574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40582 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40583 PyObject
*resultobj
= 0;
40584 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40585 wxPoint
*arg2
= 0 ;
40586 wxWindow
*arg3
= (wxWindow
*) 0 ;
40587 wxWindow
*arg4
= (wxWindow
*) 0 ;
40596 PyObject
* obj0
= 0 ;
40597 PyObject
* obj1
= 0 ;
40598 PyObject
* obj2
= 0 ;
40599 PyObject
* obj3
= 0 ;
40600 char * kwnames
[] = {
40601 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
40604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40606 if (!SWIG_IsOK(res1
)) {
40607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40609 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40612 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40614 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40615 if (!SWIG_IsOK(res3
)) {
40616 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
40618 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40619 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40620 if (!SWIG_IsOK(res4
)) {
40621 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
40623 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
40625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40626 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
40627 wxPyEndAllowThreads(__tstate
);
40628 if (PyErr_Occurred()) SWIG_fail
;
40631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40639 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40640 PyObject
*resultobj
= 0;
40641 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40645 PyObject
*swig_obj
[1] ;
40647 if (!args
) SWIG_fail
;
40648 swig_obj
[0] = args
;
40649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40650 if (!SWIG_IsOK(res1
)) {
40651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40653 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40656 result
= (bool)(arg1
)->EndDrag();
40657 wxPyEndAllowThreads(__tstate
);
40658 if (PyErr_Occurred()) SWIG_fail
;
40661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40669 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40670 PyObject
*resultobj
= 0;
40671 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40672 wxPoint
*arg2
= 0 ;
40677 PyObject
* obj0
= 0 ;
40678 PyObject
* obj1
= 0 ;
40679 char * kwnames
[] = {
40680 (char *) "self",(char *) "pt", NULL
40683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40685 if (!SWIG_IsOK(res1
)) {
40686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40688 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40691 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40695 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
40696 wxPyEndAllowThreads(__tstate
);
40697 if (PyErr_Occurred()) SWIG_fail
;
40700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40708 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40709 PyObject
*resultobj
= 0;
40710 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40714 PyObject
*swig_obj
[1] ;
40716 if (!args
) SWIG_fail
;
40717 swig_obj
[0] = args
;
40718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40719 if (!SWIG_IsOK(res1
)) {
40720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40722 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40725 result
= (bool)(arg1
)->Show();
40726 wxPyEndAllowThreads(__tstate
);
40727 if (PyErr_Occurred()) SWIG_fail
;
40730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40738 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40739 PyObject
*resultobj
= 0;
40740 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40744 PyObject
*swig_obj
[1] ;
40746 if (!args
) SWIG_fail
;
40747 swig_obj
[0] = args
;
40748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40749 if (!SWIG_IsOK(res1
)) {
40750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40752 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40755 result
= (bool)(arg1
)->Hide();
40756 wxPyEndAllowThreads(__tstate
);
40757 if (PyErr_Occurred()) SWIG_fail
;
40760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40768 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40769 PyObject
*resultobj
= 0;
40770 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40771 wxPoint
*arg2
= 0 ;
40776 PyObject
* obj0
= 0 ;
40777 PyObject
* obj1
= 0 ;
40778 char * kwnames
[] = {
40779 (char *) "self",(char *) "pos", NULL
40782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40784 if (!SWIG_IsOK(res1
)) {
40785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40787 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40790 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40794 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
40795 wxPyEndAllowThreads(__tstate
);
40796 if (PyErr_Occurred()) SWIG_fail
;
40798 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
40805 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40806 PyObject
*resultobj
= 0;
40807 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40809 wxPoint
*arg3
= 0 ;
40816 PyObject
* obj0
= 0 ;
40817 PyObject
* obj1
= 0 ;
40818 PyObject
* obj2
= 0 ;
40819 char * kwnames
[] = {
40820 (char *) "self",(char *) "dc",(char *) "pos", NULL
40823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40825 if (!SWIG_IsOK(res1
)) {
40826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40828 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40829 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
40830 if (!SWIG_IsOK(res2
)) {
40831 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40834 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40836 arg2
= reinterpret_cast< wxDC
* >(argp2
);
40839 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40843 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
40844 wxPyEndAllowThreads(__tstate
);
40845 if (PyErr_Occurred()) SWIG_fail
;
40848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40856 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40857 PyObject
*resultobj
= 0;
40858 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40860 wxMemoryDC
*arg3
= 0 ;
40872 PyObject
* obj0
= 0 ;
40873 PyObject
* obj1
= 0 ;
40874 PyObject
* obj2
= 0 ;
40875 PyObject
* obj3
= 0 ;
40876 PyObject
* obj4
= 0 ;
40877 char * kwnames
[] = {
40878 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
40881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40883 if (!SWIG_IsOK(res1
)) {
40884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40886 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40887 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
40888 if (!SWIG_IsOK(res2
)) {
40889 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40892 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40894 arg2
= reinterpret_cast< wxDC
* >(argp2
);
40895 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
40896 if (!SWIG_IsOK(res3
)) {
40897 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40900 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40902 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
40905 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
40909 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
40912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40913 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
40914 wxPyEndAllowThreads(__tstate
);
40915 if (PyErr_Occurred()) SWIG_fail
;
40918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40926 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40927 PyObject
*resultobj
= 0;
40928 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40929 wxPoint
*arg2
= 0 ;
40930 wxPoint
*arg3
= 0 ;
40942 PyObject
* obj0
= 0 ;
40943 PyObject
* obj1
= 0 ;
40944 PyObject
* obj2
= 0 ;
40945 PyObject
* obj3
= 0 ;
40946 PyObject
* obj4
= 0 ;
40947 char * kwnames
[] = {
40948 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
40951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40953 if (!SWIG_IsOK(res1
)) {
40954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40956 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40959 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40963 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40965 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40966 if (!SWIG_IsOK(ecode4
)) {
40967 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
40969 arg4
= static_cast< bool >(val4
);
40970 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
40971 if (!SWIG_IsOK(ecode5
)) {
40972 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
40974 arg5
= static_cast< bool >(val5
);
40976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40977 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
40978 wxPyEndAllowThreads(__tstate
);
40979 if (PyErr_Occurred()) SWIG_fail
;
40982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40990 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40992 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40993 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
40994 return SWIG_Py_Void();
40997 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40998 return SWIG_Python_InitShadowInstance(args
);
41001 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
41002 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
41007 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
41008 PyObject
*pyobj
= 0;
41012 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41014 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41021 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41022 PyObject
*resultobj
= 0;
41023 wxWindow
*arg1
= (wxWindow
*) 0 ;
41024 int arg2
= (int) -1 ;
41025 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
41026 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
41027 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
41028 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
41029 wxSize
const &arg5_defvalue
= wxDefaultSize
;
41030 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
41031 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41032 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
41033 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
41034 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
41035 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41036 wxDatePickerCtrl
*result
= 0 ;
41049 bool temp8
= false ;
41050 PyObject
* obj0
= 0 ;
41051 PyObject
* obj1
= 0 ;
41052 PyObject
* obj2
= 0 ;
41053 PyObject
* obj3
= 0 ;
41054 PyObject
* obj4
= 0 ;
41055 PyObject
* obj5
= 0 ;
41056 PyObject
* obj6
= 0 ;
41057 PyObject
* obj7
= 0 ;
41058 char * kwnames
[] = {
41059 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41064 if (!SWIG_IsOK(res1
)) {
41065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41067 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41069 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41070 if (!SWIG_IsOK(ecode2
)) {
41071 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41073 arg2
= static_cast< int >(val2
);
41076 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41077 if (!SWIG_IsOK(res3
)) {
41078 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41081 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41083 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41088 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
41094 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
41098 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
41099 if (!SWIG_IsOK(ecode6
)) {
41100 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41102 arg6
= static_cast< long >(val6
);
41105 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
41106 if (!SWIG_IsOK(res7
)) {
41107 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41110 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41112 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
41116 arg8
= wxString_in_helper(obj7
);
41117 if (arg8
== NULL
) SWIG_fail
;
41122 if (!wxPyCheckForApp()) SWIG_fail
;
41123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41124 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
41125 wxPyEndAllowThreads(__tstate
);
41126 if (PyErr_Occurred()) SWIG_fail
;
41128 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
41143 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41144 PyObject
*resultobj
= 0;
41145 wxDatePickerCtrl
*result
= 0 ;
41147 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
41149 if (!wxPyCheckForApp()) SWIG_fail
;
41150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41151 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
41152 wxPyEndAllowThreads(__tstate
);
41153 if (PyErr_Occurred()) SWIG_fail
;
41155 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
41162 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41163 PyObject
*resultobj
= 0;
41164 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41165 wxWindow
*arg2
= (wxWindow
*) 0 ;
41166 int arg3
= (int) -1 ;
41167 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
41168 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
41169 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41170 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41171 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41172 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41173 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41174 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
41175 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
41176 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
41177 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41193 bool temp9
= false ;
41194 PyObject
* obj0
= 0 ;
41195 PyObject
* obj1
= 0 ;
41196 PyObject
* obj2
= 0 ;
41197 PyObject
* obj3
= 0 ;
41198 PyObject
* obj4
= 0 ;
41199 PyObject
* obj5
= 0 ;
41200 PyObject
* obj6
= 0 ;
41201 PyObject
* obj7
= 0 ;
41202 PyObject
* obj8
= 0 ;
41203 char * kwnames
[] = {
41204 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41209 if (!SWIG_IsOK(res1
)) {
41210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41212 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41213 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41214 if (!SWIG_IsOK(res2
)) {
41215 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41217 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41219 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41220 if (!SWIG_IsOK(ecode3
)) {
41221 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41223 arg3
= static_cast< int >(val3
);
41226 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41227 if (!SWIG_IsOK(res4
)) {
41228 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41231 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41233 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
41238 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41244 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41248 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41249 if (!SWIG_IsOK(ecode7
)) {
41250 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41252 arg7
= static_cast< long >(val7
);
41255 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
41256 if (!SWIG_IsOK(res8
)) {
41257 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41260 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41262 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
41266 arg9
= wxString_in_helper(obj8
);
41267 if (arg9
== NULL
) SWIG_fail
;
41272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41273 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
41274 wxPyEndAllowThreads(__tstate
);
41275 if (PyErr_Occurred()) SWIG_fail
;
41278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41294 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41295 PyObject
*resultobj
= 0;
41296 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41297 wxDateTime
*arg2
= 0 ;
41302 PyObject
* obj0
= 0 ;
41303 PyObject
* obj1
= 0 ;
41304 char * kwnames
[] = {
41305 (char *) "self",(char *) "dt", NULL
41308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41310 if (!SWIG_IsOK(res1
)) {
41311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41313 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41314 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41315 if (!SWIG_IsOK(res2
)) {
41316 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41319 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41321 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41324 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
41325 wxPyEndAllowThreads(__tstate
);
41326 if (PyErr_Occurred()) SWIG_fail
;
41328 resultobj
= SWIG_Py_Void();
41335 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41336 PyObject
*resultobj
= 0;
41337 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41341 PyObject
*swig_obj
[1] ;
41343 if (!args
) SWIG_fail
;
41344 swig_obj
[0] = args
;
41345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41346 if (!SWIG_IsOK(res1
)) {
41347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41349 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41352 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
41353 wxPyEndAllowThreads(__tstate
);
41354 if (PyErr_Occurred()) SWIG_fail
;
41356 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41363 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41364 PyObject
*resultobj
= 0;
41365 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41366 wxDateTime
*arg2
= 0 ;
41367 wxDateTime
*arg3
= 0 ;
41374 PyObject
* obj0
= 0 ;
41375 PyObject
* obj1
= 0 ;
41376 PyObject
* obj2
= 0 ;
41377 char * kwnames
[] = {
41378 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41383 if (!SWIG_IsOK(res1
)) {
41384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41386 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41387 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41388 if (!SWIG_IsOK(res2
)) {
41389 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41392 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41394 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41395 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41396 if (!SWIG_IsOK(res3
)) {
41397 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41400 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41402 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41405 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
41406 wxPyEndAllowThreads(__tstate
);
41407 if (PyErr_Occurred()) SWIG_fail
;
41409 resultobj
= SWIG_Py_Void();
41416 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41417 PyObject
*resultobj
= 0;
41418 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41422 PyObject
*swig_obj
[1] ;
41424 if (!args
) SWIG_fail
;
41425 swig_obj
[0] = args
;
41426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41427 if (!SWIG_IsOK(res1
)) {
41428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41430 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41433 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
41434 wxPyEndAllowThreads(__tstate
);
41435 if (PyErr_Occurred()) SWIG_fail
;
41437 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41444 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41445 PyObject
*resultobj
= 0;
41446 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41450 PyObject
*swig_obj
[1] ;
41452 if (!args
) SWIG_fail
;
41453 swig_obj
[0] = args
;
41454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41455 if (!SWIG_IsOK(res1
)) {
41456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41458 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41461 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
41462 wxPyEndAllowThreads(__tstate
);
41463 if (PyErr_Occurred()) SWIG_fail
;
41465 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41472 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41474 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41475 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
41476 return SWIG_Py_Void();
41479 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41480 return SWIG_Python_InitShadowInstance(args
);
41483 SWIGINTERN
int HyperlinkCtrlNameStr_set(PyObject
*) {
41484 SWIG_Error(SWIG_AttributeError
,"Variable HyperlinkCtrlNameStr is read-only.");
41489 SWIGINTERN PyObject
*HyperlinkCtrlNameStr_get(void) {
41490 PyObject
*pyobj
= 0;
41494 pyobj
= PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41496 pyobj
= PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41503 SWIGINTERN PyObject
*_wrap_new_HyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41504 PyObject
*resultobj
= 0;
41505 wxWindow
*arg1
= (wxWindow
*) 0 ;
41507 wxString
*arg3
= 0 ;
41508 wxString
*arg4
= 0 ;
41509 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41510 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41511 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41512 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41513 long arg7
= (long) wxHL_DEFAULT_STYLE
;
41514 wxString
const &arg8_defvalue
= wxPyHyperlinkCtrlNameStr
;
41515 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41516 wxHyperlinkCtrl
*result
= 0 ;
41521 bool temp3
= false ;
41522 bool temp4
= false ;
41527 bool temp8
= false ;
41528 PyObject
* obj0
= 0 ;
41529 PyObject
* obj1
= 0 ;
41530 PyObject
* obj2
= 0 ;
41531 PyObject
* obj3
= 0 ;
41532 PyObject
* obj4
= 0 ;
41533 PyObject
* obj5
= 0 ;
41534 PyObject
* obj6
= 0 ;
41535 PyObject
* obj7
= 0 ;
41536 char * kwnames
[] = {
41537 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41542 if (!SWIG_IsOK(res1
)) {
41543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41545 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41546 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41547 if (!SWIG_IsOK(ecode2
)) {
41548 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
41550 arg2
= static_cast< int >(val2
);
41552 arg3
= wxString_in_helper(obj2
);
41553 if (arg3
== NULL
) SWIG_fail
;
41557 arg4
= wxString_in_helper(obj3
);
41558 if (arg4
== NULL
) SWIG_fail
;
41564 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41570 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41574 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41575 if (!SWIG_IsOK(ecode7
)) {
41576 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
41578 arg7
= static_cast< long >(val7
);
41582 arg8
= wxString_in_helper(obj7
);
41583 if (arg8
== NULL
) SWIG_fail
;
41588 if (!wxPyCheckForApp()) SWIG_fail
;
41589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41590 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
41591 wxPyEndAllowThreads(__tstate
);
41592 if (PyErr_Occurred()) SWIG_fail
;
41594 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_NEW
| 0 );
41625 SWIGINTERN PyObject
*_wrap_new_PreHyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41626 PyObject
*resultobj
= 0;
41627 wxHyperlinkCtrl
*result
= 0 ;
41629 if (!SWIG_Python_UnpackTuple(args
,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail
;
41631 if (!wxPyCheckForApp()) SWIG_fail
;
41632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41633 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl();
41634 wxPyEndAllowThreads(__tstate
);
41635 if (PyErr_Occurred()) SWIG_fail
;
41637 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_OWN
| 0 );
41644 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41645 PyObject
*resultobj
= 0;
41646 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41647 wxWindow
*arg2
= (wxWindow
*) 0 ;
41649 wxString
*arg4
= 0 ;
41650 wxString
*arg5
= 0 ;
41651 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
41652 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
41653 wxSize
const &arg7_defvalue
= wxDefaultSize
;
41654 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
41655 long arg8
= (long) wxHL_DEFAULT_STYLE
;
41656 wxString
const &arg9_defvalue
= wxPyHyperlinkCtrlNameStr
;
41657 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41665 bool temp4
= false ;
41666 bool temp5
= false ;
41671 bool temp9
= false ;
41672 PyObject
* obj0
= 0 ;
41673 PyObject
* obj1
= 0 ;
41674 PyObject
* obj2
= 0 ;
41675 PyObject
* obj3
= 0 ;
41676 PyObject
* obj4
= 0 ;
41677 PyObject
* obj5
= 0 ;
41678 PyObject
* obj6
= 0 ;
41679 PyObject
* obj7
= 0 ;
41680 PyObject
* obj8
= 0 ;
41681 char * kwnames
[] = {
41682 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41687 if (!SWIG_IsOK(res1
)) {
41688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41690 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41691 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41692 if (!SWIG_IsOK(res2
)) {
41693 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41695 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41696 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41697 if (!SWIG_IsOK(ecode3
)) {
41698 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41700 arg3
= static_cast< int >(val3
);
41702 arg4
= wxString_in_helper(obj3
);
41703 if (arg4
== NULL
) SWIG_fail
;
41707 arg5
= wxString_in_helper(obj4
);
41708 if (arg5
== NULL
) SWIG_fail
;
41714 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
41720 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
41724 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
41725 if (!SWIG_IsOK(ecode8
)) {
41726 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
41728 arg8
= static_cast< long >(val8
);
41732 arg9
= wxString_in_helper(obj8
);
41733 if (arg9
== NULL
) SWIG_fail
;
41738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41739 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
41740 wxPyEndAllowThreads(__tstate
);
41741 if (PyErr_Occurred()) SWIG_fail
;
41744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41776 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41777 PyObject
*resultobj
= 0;
41778 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41782 PyObject
*swig_obj
[1] ;
41784 if (!args
) SWIG_fail
;
41785 swig_obj
[0] = args
;
41786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41787 if (!SWIG_IsOK(res1
)) {
41788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41790 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41793 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetHoverColour();
41794 wxPyEndAllowThreads(__tstate
);
41795 if (PyErr_Occurred()) SWIG_fail
;
41797 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
41804 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41805 PyObject
*resultobj
= 0;
41806 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41807 wxColour
*arg2
= 0 ;
41811 PyObject
* obj0
= 0 ;
41812 PyObject
* obj1
= 0 ;
41813 char * kwnames
[] = {
41814 (char *) "self",(char *) "colour", NULL
41817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41819 if (!SWIG_IsOK(res1
)) {
41820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41822 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41825 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
41828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41829 (arg1
)->SetHoverColour((wxColour
const &)*arg2
);
41830 wxPyEndAllowThreads(__tstate
);
41831 if (PyErr_Occurred()) SWIG_fail
;
41833 resultobj
= SWIG_Py_Void();
41840 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41841 PyObject
*resultobj
= 0;
41842 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41846 PyObject
*swig_obj
[1] ;
41848 if (!args
) SWIG_fail
;
41849 swig_obj
[0] = args
;
41850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41851 if (!SWIG_IsOK(res1
)) {
41852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41854 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41857 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetNormalColour();
41858 wxPyEndAllowThreads(__tstate
);
41859 if (PyErr_Occurred()) SWIG_fail
;
41861 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
41868 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41869 PyObject
*resultobj
= 0;
41870 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41871 wxColour
*arg2
= 0 ;
41875 PyObject
* obj0
= 0 ;
41876 PyObject
* obj1
= 0 ;
41877 char * kwnames
[] = {
41878 (char *) "self",(char *) "colour", NULL
41881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41883 if (!SWIG_IsOK(res1
)) {
41884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41886 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41889 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
41892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41893 (arg1
)->SetNormalColour((wxColour
const &)*arg2
);
41894 wxPyEndAllowThreads(__tstate
);
41895 if (PyErr_Occurred()) SWIG_fail
;
41897 resultobj
= SWIG_Py_Void();
41904 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41905 PyObject
*resultobj
= 0;
41906 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41910 PyObject
*swig_obj
[1] ;
41912 if (!args
) SWIG_fail
;
41913 swig_obj
[0] = args
;
41914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41915 if (!SWIG_IsOK(res1
)) {
41916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41918 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41921 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetVisitedColour();
41922 wxPyEndAllowThreads(__tstate
);
41923 if (PyErr_Occurred()) SWIG_fail
;
41925 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
41932 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41933 PyObject
*resultobj
= 0;
41934 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41935 wxColour
*arg2
= 0 ;
41939 PyObject
* obj0
= 0 ;
41940 PyObject
* obj1
= 0 ;
41941 char * kwnames
[] = {
41942 (char *) "self",(char *) "colour", NULL
41945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41947 if (!SWIG_IsOK(res1
)) {
41948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41950 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41953 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
41956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41957 (arg1
)->SetVisitedColour((wxColour
const &)*arg2
);
41958 wxPyEndAllowThreads(__tstate
);
41959 if (PyErr_Occurred()) SWIG_fail
;
41961 resultobj
= SWIG_Py_Void();
41968 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41969 PyObject
*resultobj
= 0;
41970 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41974 PyObject
*swig_obj
[1] ;
41976 if (!args
) SWIG_fail
;
41977 swig_obj
[0] = args
;
41978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41979 if (!SWIG_IsOK(res1
)) {
41980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41982 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41985 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetURL();
41986 wxPyEndAllowThreads(__tstate
);
41987 if (PyErr_Occurred()) SWIG_fail
;
41991 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
41993 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42002 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42003 PyObject
*resultobj
= 0;
42004 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42005 wxString
*arg2
= 0 ;
42008 bool temp2
= false ;
42009 PyObject
* obj0
= 0 ;
42010 PyObject
* obj1
= 0 ;
42011 char * kwnames
[] = {
42012 (char *) "self",(char *) "url", NULL
42015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42017 if (!SWIG_IsOK(res1
)) {
42018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42020 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42022 arg2
= wxString_in_helper(obj1
);
42023 if (arg2
== NULL
) SWIG_fail
;
42027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42028 (arg1
)->SetURL((wxString
const &)*arg2
);
42029 wxPyEndAllowThreads(__tstate
);
42030 if (PyErr_Occurred()) SWIG_fail
;
42032 resultobj
= SWIG_Py_Void();
42047 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42048 PyObject
*resultobj
= 0;
42049 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42050 bool arg2
= (bool) true ;
42055 PyObject
* obj0
= 0 ;
42056 PyObject
* obj1
= 0 ;
42057 char * kwnames
[] = {
42058 (char *) "self",(char *) "visited", NULL
42061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42063 if (!SWIG_IsOK(res1
)) {
42064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42066 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42068 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42069 if (!SWIG_IsOK(ecode2
)) {
42070 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42072 arg2
= static_cast< bool >(val2
);
42075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42076 (arg1
)->SetVisited(arg2
);
42077 wxPyEndAllowThreads(__tstate
);
42078 if (PyErr_Occurred()) SWIG_fail
;
42080 resultobj
= SWIG_Py_Void();
42087 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42088 PyObject
*resultobj
= 0;
42089 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42093 PyObject
*swig_obj
[1] ;
42095 if (!args
) SWIG_fail
;
42096 swig_obj
[0] = args
;
42097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42098 if (!SWIG_IsOK(res1
)) {
42099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42101 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42104 result
= (bool)((wxHyperlinkCtrl
const *)arg1
)->GetVisited();
42105 wxPyEndAllowThreads(__tstate
);
42106 if (PyErr_Occurred()) SWIG_fail
;
42109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42117 SWIGINTERN PyObject
*HyperlinkCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42119 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42120 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_NewClientData(obj
));
42121 return SWIG_Py_Void();
42124 SWIGINTERN PyObject
*HyperlinkCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42125 return SWIG_Python_InitShadowInstance(args
);
42128 SWIGINTERN PyObject
*_wrap_new_HyperlinkEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42129 PyObject
*resultobj
= 0;
42130 wxObject
*arg1
= (wxObject
*) 0 ;
42132 wxString
*arg3
= 0 ;
42133 wxHyperlinkEvent
*result
= 0 ;
42138 bool temp3
= false ;
42139 PyObject
* obj0
= 0 ;
42140 PyObject
* obj1
= 0 ;
42141 PyObject
* obj2
= 0 ;
42142 char * kwnames
[] = {
42143 (char *) "generator",(char *) "id",(char *) "url", NULL
42146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_HyperlinkEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
42148 if (!SWIG_IsOK(res1
)) {
42149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42151 arg1
= reinterpret_cast< wxObject
* >(argp1
);
42152 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42153 if (!SWIG_IsOK(ecode2
)) {
42154 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
42156 arg2
= static_cast< int >(val2
);
42158 arg3
= wxString_in_helper(obj2
);
42159 if (arg3
== NULL
) SWIG_fail
;
42163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42164 result
= (wxHyperlinkEvent
*)new wxHyperlinkEvent(arg1
,arg2
,(wxString
const &)*arg3
);
42165 wxPyEndAllowThreads(__tstate
);
42166 if (PyErr_Occurred()) SWIG_fail
;
42168 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkEvent
, SWIG_POINTER_NEW
| 0 );
42183 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42184 PyObject
*resultobj
= 0;
42185 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42189 PyObject
*swig_obj
[1] ;
42191 if (!args
) SWIG_fail
;
42192 swig_obj
[0] = args
;
42193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42194 if (!SWIG_IsOK(res1
)) {
42195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42197 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42200 result
= ((wxHyperlinkEvent
const *)arg1
)->GetURL();
42201 wxPyEndAllowThreads(__tstate
);
42202 if (PyErr_Occurred()) SWIG_fail
;
42206 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42208 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42217 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42218 PyObject
*resultobj
= 0;
42219 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42220 wxString
*arg2
= 0 ;
42223 bool temp2
= false ;
42224 PyObject
* obj0
= 0 ;
42225 PyObject
* obj1
= 0 ;
42226 char * kwnames
[] = {
42227 (char *) "self",(char *) "url", NULL
42230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42232 if (!SWIG_IsOK(res1
)) {
42233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42235 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42237 arg2
= wxString_in_helper(obj1
);
42238 if (arg2
== NULL
) SWIG_fail
;
42242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42243 (arg1
)->SetURL((wxString
const &)*arg2
);
42244 wxPyEndAllowThreads(__tstate
);
42245 if (PyErr_Occurred()) SWIG_fail
;
42247 resultobj
= SWIG_Py_Void();
42262 SWIGINTERN PyObject
*HyperlinkEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42264 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42265 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent
, SWIG_NewClientData(obj
));
42266 return SWIG_Py_Void();
42269 SWIGINTERN PyObject
*HyperlinkEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42270 return SWIG_Python_InitShadowInstance(args
);
42273 SWIGINTERN PyObject
*_wrap_PickerBase_CreateBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42274 PyObject
*resultobj
= 0;
42275 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42276 wxWindow
*arg2
= (wxWindow
*) 0 ;
42278 wxString
const &arg4_defvalue
= wxEmptyString
;
42279 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42280 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42281 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42282 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42283 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42284 long arg7
= (long) 0 ;
42285 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
42286 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
42287 wxString
const &arg9_defvalue
= wxButtonNameStr
;
42288 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42296 bool temp4
= false ;
42303 bool temp9
= false ;
42304 PyObject
* obj0
= 0 ;
42305 PyObject
* obj1
= 0 ;
42306 PyObject
* obj2
= 0 ;
42307 PyObject
* obj3
= 0 ;
42308 PyObject
* obj4
= 0 ;
42309 PyObject
* obj5
= 0 ;
42310 PyObject
* obj6
= 0 ;
42311 PyObject
* obj7
= 0 ;
42312 PyObject
* obj8
= 0 ;
42313 char * kwnames
[] = {
42314 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42319 if (!SWIG_IsOK(res1
)) {
42320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42322 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42323 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42324 if (!SWIG_IsOK(res2
)) {
42325 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42327 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42328 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42329 if (!SWIG_IsOK(ecode3
)) {
42330 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42332 arg3
= static_cast< int >(val3
);
42335 arg4
= wxString_in_helper(obj3
);
42336 if (arg4
== NULL
) SWIG_fail
;
42343 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42349 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42353 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42354 if (!SWIG_IsOK(ecode7
)) {
42355 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42357 arg7
= static_cast< long >(val7
);
42360 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
42361 if (!SWIG_IsOK(res8
)) {
42362 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42365 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42367 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
42371 arg9
= wxString_in_helper(obj8
);
42372 if (arg9
== NULL
) SWIG_fail
;
42377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42378 result
= (bool)(arg1
)->CreateBase(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
42379 wxPyEndAllowThreads(__tstate
);
42380 if (PyErr_Occurred()) SWIG_fail
;
42383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42407 SWIGINTERN PyObject
*_wrap_PickerBase_SetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42408 PyObject
*resultobj
= 0;
42409 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42415 PyObject
* obj0
= 0 ;
42416 PyObject
* obj1
= 0 ;
42417 char * kwnames
[] = {
42418 (char *) "self",(char *) "newmargin", NULL
42421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetInternalMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42423 if (!SWIG_IsOK(res1
)) {
42424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42426 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42427 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42428 if (!SWIG_IsOK(ecode2
)) {
42429 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
42431 arg2
= static_cast< int >(val2
);
42433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42434 (arg1
)->SetInternalMargin(arg2
);
42435 wxPyEndAllowThreads(__tstate
);
42436 if (PyErr_Occurred()) SWIG_fail
;
42438 resultobj
= SWIG_Py_Void();
42445 SWIGINTERN PyObject
*_wrap_PickerBase_GetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42446 PyObject
*resultobj
= 0;
42447 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42451 PyObject
*swig_obj
[1] ;
42453 if (!args
) SWIG_fail
;
42454 swig_obj
[0] = args
;
42455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42456 if (!SWIG_IsOK(res1
)) {
42457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42459 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42462 result
= (int)((wxPickerBase
const *)arg1
)->GetInternalMargin();
42463 wxPyEndAllowThreads(__tstate
);
42464 if (PyErr_Occurred()) SWIG_fail
;
42466 resultobj
= SWIG_From_int(static_cast< int >(result
));
42473 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42474 PyObject
*resultobj
= 0;
42475 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42481 PyObject
* obj0
= 0 ;
42482 PyObject
* obj1
= 0 ;
42483 char * kwnames
[] = {
42484 (char *) "self",(char *) "prop", NULL
42487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42489 if (!SWIG_IsOK(res1
)) {
42490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42492 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42493 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42494 if (!SWIG_IsOK(ecode2
)) {
42495 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42497 arg2
= static_cast< int >(val2
);
42499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42500 (arg1
)->SetTextCtrlProportion(arg2
);
42501 wxPyEndAllowThreads(__tstate
);
42502 if (PyErr_Occurred()) SWIG_fail
;
42504 resultobj
= SWIG_Py_Void();
42511 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42512 PyObject
*resultobj
= 0;
42513 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42517 PyObject
*swig_obj
[1] ;
42519 if (!args
) SWIG_fail
;
42520 swig_obj
[0] = args
;
42521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42522 if (!SWIG_IsOK(res1
)) {
42523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42525 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42528 result
= (int)((wxPickerBase
const *)arg1
)->GetTextCtrlProportion();
42529 wxPyEndAllowThreads(__tstate
);
42530 if (PyErr_Occurred()) SWIG_fail
;
42532 resultobj
= SWIG_From_int(static_cast< int >(result
));
42539 SWIGINTERN PyObject
*_wrap_PickerBase_IsTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42540 PyObject
*resultobj
= 0;
42541 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42545 PyObject
*swig_obj
[1] ;
42547 if (!args
) SWIG_fail
;
42548 swig_obj
[0] = args
;
42549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42550 if (!SWIG_IsOK(res1
)) {
42551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42553 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42556 result
= (bool)((wxPickerBase
const *)arg1
)->IsTextCtrlGrowable();
42557 wxPyEndAllowThreads(__tstate
);
42558 if (PyErr_Occurred()) SWIG_fail
;
42561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42569 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42570 PyObject
*resultobj
= 0;
42571 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42572 bool arg2
= (bool) true ;
42577 PyObject
* obj0
= 0 ;
42578 PyObject
* obj1
= 0 ;
42579 char * kwnames
[] = {
42580 (char *) "self",(char *) "grow", NULL
42583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42585 if (!SWIG_IsOK(res1
)) {
42586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42588 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42590 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42591 if (!SWIG_IsOK(ecode2
)) {
42592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42594 arg2
= static_cast< bool >(val2
);
42597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42598 (arg1
)->SetTextCtrlGrowable(arg2
);
42599 wxPyEndAllowThreads(__tstate
);
42600 if (PyErr_Occurred()) SWIG_fail
;
42602 resultobj
= SWIG_Py_Void();
42609 SWIGINTERN PyObject
*_wrap_PickerBase_IsPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42610 PyObject
*resultobj
= 0;
42611 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42615 PyObject
*swig_obj
[1] ;
42617 if (!args
) SWIG_fail
;
42618 swig_obj
[0] = args
;
42619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42620 if (!SWIG_IsOK(res1
)) {
42621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42623 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42626 result
= (bool)((wxPickerBase
const *)arg1
)->IsPickerCtrlGrowable();
42627 wxPyEndAllowThreads(__tstate
);
42628 if (PyErr_Occurred()) SWIG_fail
;
42631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42639 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42640 PyObject
*resultobj
= 0;
42641 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42642 bool arg2
= (bool) true ;
42647 PyObject
* obj0
= 0 ;
42648 PyObject
* obj1
= 0 ;
42649 char * kwnames
[] = {
42650 (char *) "self",(char *) "grow", NULL
42653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42655 if (!SWIG_IsOK(res1
)) {
42656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42658 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42660 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42661 if (!SWIG_IsOK(ecode2
)) {
42662 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42664 arg2
= static_cast< bool >(val2
);
42667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42668 (arg1
)->SetPickerCtrlGrowable(arg2
);
42669 wxPyEndAllowThreads(__tstate
);
42670 if (PyErr_Occurred()) SWIG_fail
;
42672 resultobj
= SWIG_Py_Void();
42679 SWIGINTERN PyObject
*_wrap_PickerBase_HasTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42680 PyObject
*resultobj
= 0;
42681 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42685 PyObject
*swig_obj
[1] ;
42687 if (!args
) SWIG_fail
;
42688 swig_obj
[0] = args
;
42689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42690 if (!SWIG_IsOK(res1
)) {
42691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42693 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42696 result
= (bool)((wxPickerBase
const *)arg1
)->HasTextCtrl();
42697 wxPyEndAllowThreads(__tstate
);
42698 if (PyErr_Occurred()) SWIG_fail
;
42701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42709 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42710 PyObject
*resultobj
= 0;
42711 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42712 wxTextCtrl
*result
= 0 ;
42715 PyObject
*swig_obj
[1] ;
42717 if (!args
) SWIG_fail
;
42718 swig_obj
[0] = args
;
42719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42720 if (!SWIG_IsOK(res1
)) {
42721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42723 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42726 result
= (wxTextCtrl
*)(arg1
)->GetTextCtrl();
42727 wxPyEndAllowThreads(__tstate
);
42728 if (PyErr_Occurred()) SWIG_fail
;
42731 resultobj
= wxPyMake_wxObject(result
, 0);
42739 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42740 PyObject
*resultobj
= 0;
42741 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42742 wxControl
*result
= 0 ;
42745 PyObject
*swig_obj
[1] ;
42747 if (!args
) SWIG_fail
;
42748 swig_obj
[0] = args
;
42749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42750 if (!SWIG_IsOK(res1
)) {
42751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42753 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42756 result
= (wxControl
*)(arg1
)->GetPickerCtrl();
42757 wxPyEndAllowThreads(__tstate
);
42758 if (PyErr_Occurred()) SWIG_fail
;
42761 resultobj
= wxPyMake_wxObject(result
, 0);
42769 SWIGINTERN PyObject
*PickerBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42771 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42772 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase
, SWIG_NewClientData(obj
));
42773 return SWIG_Py_Void();
42776 SWIGINTERN
int ColourPickerCtrlNameStr_set(PyObject
*) {
42777 SWIG_Error(SWIG_AttributeError
,"Variable ColourPickerCtrlNameStr is read-only.");
42782 SWIGINTERN PyObject
*ColourPickerCtrlNameStr_get(void) {
42783 PyObject
*pyobj
= 0;
42787 pyobj
= PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
42789 pyobj
= PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
42796 SWIGINTERN PyObject
*_wrap_new_ColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42797 PyObject
*resultobj
= 0;
42798 wxWindow
*arg1
= (wxWindow
*) 0 ;
42799 int arg2
= (int) -1 ;
42800 wxColour
const &arg3_defvalue
= *wxBLACK
;
42801 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
42802 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
42803 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
42804 wxSize
const &arg5_defvalue
= wxDefaultSize
;
42805 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
42806 long arg6
= (long) wxCLRP_DEFAULT_STYLE
;
42807 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
42808 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
42809 wxString
const &arg8_defvalue
= wxPyColourPickerCtrlNameStr
;
42810 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
42811 wxColourPickerCtrl
*result
= 0 ;
42823 bool temp8
= false ;
42824 PyObject
* obj0
= 0 ;
42825 PyObject
* obj1
= 0 ;
42826 PyObject
* obj2
= 0 ;
42827 PyObject
* obj3
= 0 ;
42828 PyObject
* obj4
= 0 ;
42829 PyObject
* obj5
= 0 ;
42830 PyObject
* obj6
= 0 ;
42831 PyObject
* obj7
= 0 ;
42832 char * kwnames
[] = {
42833 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
42837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42838 if (!SWIG_IsOK(res1
)) {
42839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
42841 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
42843 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42844 if (!SWIG_IsOK(ecode2
)) {
42845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
42847 arg2
= static_cast< int >(val2
);
42852 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
42858 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
42864 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
42868 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
42869 if (!SWIG_IsOK(ecode6
)) {
42870 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
42872 arg6
= static_cast< long >(val6
);
42875 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
42876 if (!SWIG_IsOK(res7
)) {
42877 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
42880 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
42882 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
42886 arg8
= wxString_in_helper(obj7
);
42887 if (arg8
== NULL
) SWIG_fail
;
42892 if (!wxPyCheckForApp()) SWIG_fail
;
42893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42894 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl(arg1
,arg2
,(wxColour
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
42895 wxPyEndAllowThreads(__tstate
);
42896 if (PyErr_Occurred()) SWIG_fail
;
42898 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_NEW
| 0 );
42913 SWIGINTERN PyObject
*_wrap_new_PreColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42914 PyObject
*resultobj
= 0;
42915 wxColourPickerCtrl
*result
= 0 ;
42917 if (!SWIG_Python_UnpackTuple(args
,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail
;
42919 if (!wxPyCheckForApp()) SWIG_fail
;
42920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42921 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl();
42922 wxPyEndAllowThreads(__tstate
);
42923 if (PyErr_Occurred()) SWIG_fail
;
42925 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_OWN
| 0 );
42932 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42933 PyObject
*resultobj
= 0;
42934 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
42935 wxWindow
*arg2
= (wxWindow
*) 0 ;
42937 wxColour
const &arg4_defvalue
= *wxBLACK
;
42938 wxColour
*arg4
= (wxColour
*) &arg4_defvalue
;
42939 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42940 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42941 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42942 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42943 long arg7
= (long) wxCLRP_DEFAULT_STYLE
;
42944 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
42945 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
42946 wxString
const &arg9_defvalue
= wxPyColourPickerCtrlNameStr
;
42947 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42962 bool temp9
= false ;
42963 PyObject
* obj0
= 0 ;
42964 PyObject
* obj1
= 0 ;
42965 PyObject
* obj2
= 0 ;
42966 PyObject
* obj3
= 0 ;
42967 PyObject
* obj4
= 0 ;
42968 PyObject
* obj5
= 0 ;
42969 PyObject
* obj6
= 0 ;
42970 PyObject
* obj7
= 0 ;
42971 PyObject
* obj8
= 0 ;
42972 char * kwnames
[] = {
42973 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
42978 if (!SWIG_IsOK(res1
)) {
42979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
42981 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
42982 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42983 if (!SWIG_IsOK(res2
)) {
42984 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
42986 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42987 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42988 if (!SWIG_IsOK(ecode3
)) {
42989 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
42991 arg3
= static_cast< int >(val3
);
42995 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
43001 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
43007 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
43011 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
43012 if (!SWIG_IsOK(ecode7
)) {
43013 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
43015 arg7
= static_cast< long >(val7
);
43018 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
43019 if (!SWIG_IsOK(res8
)) {
43020 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43023 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43025 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
43029 arg9
= wxString_in_helper(obj8
);
43030 if (arg9
== NULL
) SWIG_fail
;
43035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43036 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
43037 wxPyEndAllowThreads(__tstate
);
43038 if (PyErr_Occurred()) SWIG_fail
;
43041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43057 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43058 PyObject
*resultobj
= 0;
43059 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43063 PyObject
*swig_obj
[1] ;
43065 if (!args
) SWIG_fail
;
43066 swig_obj
[0] = args
;
43067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43068 if (!SWIG_IsOK(res1
)) {
43069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
43071 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43074 result
= ((wxColourPickerCtrl
const *)arg1
)->GetColour();
43075 wxPyEndAllowThreads(__tstate
);
43076 if (PyErr_Occurred()) SWIG_fail
;
43078 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43085 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43086 PyObject
*resultobj
= 0;
43087 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43088 wxColour
*arg2
= 0 ;
43092 PyObject
* obj0
= 0 ;
43093 PyObject
* obj1
= 0 ;
43094 char * kwnames
[] = {
43095 (char *) "self",(char *) "col", NULL
43098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerCtrl_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43100 if (!SWIG_IsOK(res1
)) {
43101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43103 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43106 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43110 (arg1
)->SetColour((wxColour
const &)*arg2
);
43111 wxPyEndAllowThreads(__tstate
);
43112 if (PyErr_Occurred()) SWIG_fail
;
43114 resultobj
= SWIG_Py_Void();
43121 SWIGINTERN PyObject
*ColourPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43123 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43124 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl
, SWIG_NewClientData(obj
));
43125 return SWIG_Py_Void();
43128 SWIGINTERN PyObject
*ColourPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43129 return SWIG_Python_InitShadowInstance(args
);
43132 SWIGINTERN PyObject
*_wrap_new_ColourPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43133 PyObject
*resultobj
= 0;
43134 wxObject
*arg1
= (wxObject
*) 0 ;
43136 wxColour
*arg3
= 0 ;
43137 wxColourPickerEvent
*result
= 0 ;
43143 PyObject
* obj0
= 0 ;
43144 PyObject
* obj1
= 0 ;
43145 PyObject
* obj2
= 0 ;
43146 char * kwnames
[] = {
43147 (char *) "generator",(char *) "id",(char *) "col", NULL
43150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ColourPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
43152 if (!SWIG_IsOK(res1
)) {
43153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43155 arg1
= reinterpret_cast< wxObject
* >(argp1
);
43156 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43157 if (!SWIG_IsOK(ecode2
)) {
43158 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
43160 arg2
= static_cast< int >(val2
);
43163 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43167 result
= (wxColourPickerEvent
*)new wxColourPickerEvent(arg1
,arg2
,(wxColour
const &)*arg3
);
43168 wxPyEndAllowThreads(__tstate
);
43169 if (PyErr_Occurred()) SWIG_fail
;
43171 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerEvent
, SWIG_POINTER_NEW
| 0 );
43178 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43179 PyObject
*resultobj
= 0;
43180 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43184 PyObject
*swig_obj
[1] ;
43186 if (!args
) SWIG_fail
;
43187 swig_obj
[0] = args
;
43188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43189 if (!SWIG_IsOK(res1
)) {
43190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
43192 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43195 result
= ((wxColourPickerEvent
const *)arg1
)->GetColour();
43196 wxPyEndAllowThreads(__tstate
);
43197 if (PyErr_Occurred()) SWIG_fail
;
43199 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43206 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43207 PyObject
*resultobj
= 0;
43208 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43209 wxColour
*arg2
= 0 ;
43213 PyObject
* obj0
= 0 ;
43214 PyObject
* obj1
= 0 ;
43215 char * kwnames
[] = {
43216 (char *) "self",(char *) "c", NULL
43219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerEvent_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43221 if (!SWIG_IsOK(res1
)) {
43222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
43224 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43227 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43231 (arg1
)->SetColour((wxColour
const &)*arg2
);
43232 wxPyEndAllowThreads(__tstate
);
43233 if (PyErr_Occurred()) SWIG_fail
;
43235 resultobj
= SWIG_Py_Void();
43242 SWIGINTERN PyObject
*ColourPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43244 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43245 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent
, SWIG_NewClientData(obj
));
43246 return SWIG_Py_Void();
43249 SWIGINTERN PyObject
*ColourPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43250 return SWIG_Python_InitShadowInstance(args
);
43253 SWIGINTERN
int FilePickerCtrlNameStr_set(PyObject
*) {
43254 SWIG_Error(SWIG_AttributeError
,"Variable FilePickerCtrlNameStr is read-only.");
43259 SWIGINTERN PyObject
*FilePickerCtrlNameStr_get(void) {
43260 PyObject
*pyobj
= 0;
43264 pyobj
= PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43266 pyobj
= PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43273 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
43274 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
43279 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
43280 PyObject
*pyobj
= 0;
43284 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43286 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43293 SWIGINTERN
int DirPickerCtrlNameStr_set(PyObject
*) {
43294 SWIG_Error(SWIG_AttributeError
,"Variable DirPickerCtrlNameStr is read-only.");
43299 SWIGINTERN PyObject
*DirPickerCtrlNameStr_get(void) {
43300 PyObject
*pyobj
= 0;
43304 pyobj
= PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43306 pyobj
= PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43313 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
43314 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
43319 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
43320 PyObject
*pyobj
= 0;
43324 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43326 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43333 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
43334 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
43339 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
43340 PyObject
*pyobj
= 0;
43344 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43346 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43353 SWIGINTERN PyObject
*_wrap_new_FilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43354 PyObject
*resultobj
= 0;
43355 wxWindow
*arg1
= (wxWindow
*) 0 ;
43356 int arg2
= (int) -1 ;
43357 wxString
const &arg3_defvalue
= wxPyEmptyString
;
43358 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
43359 wxString
const &arg4_defvalue
= wxPyFileSelectorPromptStr
;
43360 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43361 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43362 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43363 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
43364 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
43365 wxSize
const &arg7_defvalue
= wxDefaultSize
;
43366 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
43367 long arg8
= (long) wxFLP_DEFAULT_STYLE
;
43368 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
43369 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
43370 wxString
const &arg10_defvalue
= wxPyFilePickerCtrlNameStr
;
43371 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
43372 wxFilePickerCtrl
*result
= 0 ;
43377 bool temp3
= false ;
43378 bool temp4
= false ;
43379 bool temp5
= false ;
43386 bool temp10
= false ;
43387 PyObject
* obj0
= 0 ;
43388 PyObject
* obj1
= 0 ;
43389 PyObject
* obj2
= 0 ;
43390 PyObject
* obj3
= 0 ;
43391 PyObject
* obj4
= 0 ;
43392 PyObject
* obj5
= 0 ;
43393 PyObject
* obj6
= 0 ;
43394 PyObject
* obj7
= 0 ;
43395 PyObject
* obj8
= 0 ;
43396 PyObject
* obj9
= 0 ;
43397 char * kwnames
[] = {
43398 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
43402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43403 if (!SWIG_IsOK(res1
)) {
43404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43406 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43408 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43409 if (!SWIG_IsOK(ecode2
)) {
43410 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
43412 arg2
= static_cast< int >(val2
);
43416 arg3
= wxString_in_helper(obj2
);
43417 if (arg3
== NULL
) SWIG_fail
;
43423 arg4
= wxString_in_helper(obj3
);
43424 if (arg4
== NULL
) SWIG_fail
;
43430 arg5
= wxString_in_helper(obj4
);
43431 if (arg5
== NULL
) SWIG_fail
;
43438 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
43444 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
43448 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
43449 if (!SWIG_IsOK(ecode8
)) {
43450 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
43452 arg8
= static_cast< long >(val8
);
43455 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
43456 if (!SWIG_IsOK(res9
)) {
43457 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43460 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43462 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
43466 arg10
= wxString_in_helper(obj9
);
43467 if (arg10
== NULL
) SWIG_fail
;
43472 if (!wxPyCheckForApp()) SWIG_fail
;
43473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43474 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
);
43475 wxPyEndAllowThreads(__tstate
);
43476 if (PyErr_Occurred()) SWIG_fail
;
43478 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_NEW
| 0 );
43517 SWIGINTERN PyObject
*_wrap_new_PreFilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43518 PyObject
*resultobj
= 0;
43519 wxFilePickerCtrl
*result
= 0 ;
43521 if (!SWIG_Python_UnpackTuple(args
,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail
;
43523 if (!wxPyCheckForApp()) SWIG_fail
;
43524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43525 result
= (wxFilePickerCtrl
*)new wxFilePickerCtrl();
43526 wxPyEndAllowThreads(__tstate
);
43527 if (PyErr_Occurred()) SWIG_fail
;
43529 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_OWN
| 0 );
43536 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43537 PyObject
*resultobj
= 0;
43538 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43539 wxWindow
*arg2
= (wxWindow
*) 0 ;
43540 int arg3
= (int) -1 ;
43541 wxString
const &arg4_defvalue
= wxPyEmptyString
;
43542 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43543 wxString
const &arg5_defvalue
= wxPyFileSelectorPromptStr
;
43544 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43545 wxString
const &arg6_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43546 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
43547 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
43548 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
43549 wxSize
const &arg8_defvalue
= wxDefaultSize
;
43550 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
43551 long arg9
= (long) wxFLP_DEFAULT_STYLE
;
43552 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
43553 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
43554 wxString
const &arg11_defvalue
= wxPyFilePickerCtrlNameStr
;
43555 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
43563 bool temp4
= false ;
43564 bool temp5
= false ;
43565 bool temp6
= false ;
43572 bool temp11
= false ;
43573 PyObject
* obj0
= 0 ;
43574 PyObject
* obj1
= 0 ;
43575 PyObject
* obj2
= 0 ;
43576 PyObject
* obj3
= 0 ;
43577 PyObject
* obj4
= 0 ;
43578 PyObject
* obj5
= 0 ;
43579 PyObject
* obj6
= 0 ;
43580 PyObject
* obj7
= 0 ;
43581 PyObject
* obj8
= 0 ;
43582 PyObject
* obj9
= 0 ;
43583 PyObject
* obj10
= 0 ;
43584 char * kwnames
[] = {
43585 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
43589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43590 if (!SWIG_IsOK(res1
)) {
43591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
43593 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43594 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43595 if (!SWIG_IsOK(res2
)) {
43596 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43598 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43600 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43601 if (!SWIG_IsOK(ecode3
)) {
43602 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43604 arg3
= static_cast< int >(val3
);
43608 arg4
= wxString_in_helper(obj3
);
43609 if (arg4
== NULL
) SWIG_fail
;
43615 arg5
= wxString_in_helper(obj4
);
43616 if (arg5
== NULL
) SWIG_fail
;
43622 arg6
= wxString_in_helper(obj5
);
43623 if (arg6
== NULL
) SWIG_fail
;
43630 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
43636 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
43640 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
43641 if (!SWIG_IsOK(ecode9
)) {
43642 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
43644 arg9
= static_cast< long >(val9
);
43647 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
43648 if (!SWIG_IsOK(res10
)) {
43649 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43652 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43654 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
43658 arg11
= wxString_in_helper(obj10
);
43659 if (arg11
== NULL
) SWIG_fail
;
43664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43665 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
);
43666 wxPyEndAllowThreads(__tstate
);
43667 if (PyErr_Occurred()) SWIG_fail
;
43670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43710 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43711 PyObject
*resultobj
= 0;
43712 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43716 PyObject
*swig_obj
[1] ;
43718 if (!args
) SWIG_fail
;
43719 swig_obj
[0] = args
;
43720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43721 if (!SWIG_IsOK(res1
)) {
43722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
43724 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43727 result
= ((wxFilePickerCtrl
const *)arg1
)->GetPath();
43728 wxPyEndAllowThreads(__tstate
);
43729 if (PyErr_Occurred()) SWIG_fail
;
43733 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
43735 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
43744 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43745 PyObject
*resultobj
= 0;
43746 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43747 wxString
*arg2
= 0 ;
43750 bool temp2
= false ;
43751 PyObject
* obj0
= 0 ;
43752 PyObject
* obj1
= 0 ;
43753 char * kwnames
[] = {
43754 (char *) "self",(char *) "str", NULL
43757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43759 if (!SWIG_IsOK(res1
)) {
43760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
43762 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43764 arg2
= wxString_in_helper(obj1
);
43765 if (arg2
== NULL
) SWIG_fail
;
43769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43770 (arg1
)->SetPath((wxString
const &)*arg2
);
43771 wxPyEndAllowThreads(__tstate
);
43772 if (PyErr_Occurred()) SWIG_fail
;
43774 resultobj
= SWIG_Py_Void();
43789 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43790 PyObject
*resultobj
= 0;
43791 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43792 wxString
*arg2
= 0 ;
43796 bool temp2
= false ;
43797 PyObject
* obj0
= 0 ;
43798 PyObject
* obj1
= 0 ;
43799 char * kwnames
[] = {
43800 (char *) "self",(char *) "path", NULL
43803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43805 if (!SWIG_IsOK(res1
)) {
43806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
43808 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43810 arg2
= wxString_in_helper(obj1
);
43811 if (arg2
== NULL
) SWIG_fail
;
43815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43816 result
= (bool)((wxFilePickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
43817 wxPyEndAllowThreads(__tstate
);
43818 if (PyErr_Occurred()) SWIG_fail
;
43821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43837 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43838 PyObject
*resultobj
= 0;
43839 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43843 PyObject
*swig_obj
[1] ;
43845 if (!args
) SWIG_fail
;
43846 swig_obj
[0] = args
;
43847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43848 if (!SWIG_IsOK(res1
)) {
43849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
43851 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43854 result
= ((wxFilePickerCtrl
const *)arg1
)->GetTextCtrlValue();
43855 wxPyEndAllowThreads(__tstate
);
43856 if (PyErr_Occurred()) SWIG_fail
;
43860 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
43862 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
43871 SWIGINTERN PyObject
*FilePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43873 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43874 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl
, SWIG_NewClientData(obj
));
43875 return SWIG_Py_Void();
43878 SWIGINTERN PyObject
*FilePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43879 return SWIG_Python_InitShadowInstance(args
);
43882 SWIGINTERN PyObject
*_wrap_new_DirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43883 PyObject
*resultobj
= 0;
43884 wxWindow
*arg1
= (wxWindow
*) 0 ;
43885 int arg2
= (int) -1 ;
43886 wxString
const &arg3_defvalue
= wxPyEmptyString
;
43887 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
43888 wxString
const &arg4_defvalue
= wxPyDirSelectorPromptStr
;
43889 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43890 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
43891 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
43892 wxSize
const &arg6_defvalue
= wxDefaultSize
;
43893 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
43894 long arg7
= (long) wxDIRP_DEFAULT_STYLE
;
43895 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
43896 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
43897 wxString
const &arg9_defvalue
= wxPyDirPickerCtrlNameStr
;
43898 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
43899 wxDirPickerCtrl
*result
= 0 ;
43904 bool temp3
= false ;
43905 bool temp4
= false ;
43912 bool temp9
= false ;
43913 PyObject
* obj0
= 0 ;
43914 PyObject
* obj1
= 0 ;
43915 PyObject
* obj2
= 0 ;
43916 PyObject
* obj3
= 0 ;
43917 PyObject
* obj4
= 0 ;
43918 PyObject
* obj5
= 0 ;
43919 PyObject
* obj6
= 0 ;
43920 PyObject
* obj7
= 0 ;
43921 PyObject
* obj8
= 0 ;
43922 char * kwnames
[] = {
43923 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
43927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43928 if (!SWIG_IsOK(res1
)) {
43929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43931 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43933 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43934 if (!SWIG_IsOK(ecode2
)) {
43935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43937 arg2
= static_cast< int >(val2
);
43941 arg3
= wxString_in_helper(obj2
);
43942 if (arg3
== NULL
) SWIG_fail
;
43948 arg4
= wxString_in_helper(obj3
);
43949 if (arg4
== NULL
) SWIG_fail
;
43956 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
43962 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
43966 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
43967 if (!SWIG_IsOK(ecode7
)) {
43968 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
43970 arg7
= static_cast< long >(val7
);
43973 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
43974 if (!SWIG_IsOK(res8
)) {
43975 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
43978 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
43980 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
43984 arg9
= wxString_in_helper(obj8
);
43985 if (arg9
== NULL
) SWIG_fail
;
43990 if (!wxPyCheckForApp()) SWIG_fail
;
43991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43992 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
);
43993 wxPyEndAllowThreads(__tstate
);
43994 if (PyErr_Occurred()) SWIG_fail
;
43996 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44027 SWIGINTERN PyObject
*_wrap_new_PreDirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44028 PyObject
*resultobj
= 0;
44029 wxDirPickerCtrl
*result
= 0 ;
44031 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail
;
44033 if (!wxPyCheckForApp()) SWIG_fail
;
44034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44035 result
= (wxDirPickerCtrl
*)new wxDirPickerCtrl();
44036 wxPyEndAllowThreads(__tstate
);
44037 if (PyErr_Occurred()) SWIG_fail
;
44039 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44046 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44047 PyObject
*resultobj
= 0;
44048 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44049 wxWindow
*arg2
= (wxWindow
*) 0 ;
44050 int arg3
= (int) -1 ;
44051 wxString
const &arg4_defvalue
= wxPyEmptyString
;
44052 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44053 wxString
const &arg5_defvalue
= wxPyDirSelectorPromptStr
;
44054 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44055 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
44056 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
44057 wxSize
const &arg7_defvalue
= wxDefaultSize
;
44058 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
44059 long arg8
= (long) wxDIRP_DEFAULT_STYLE
;
44060 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
44061 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
44062 wxString
const &arg10_defvalue
= wxPyDirPickerCtrlNameStr
;
44063 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
44071 bool temp4
= false ;
44072 bool temp5
= false ;
44079 bool temp10
= false ;
44080 PyObject
* obj0
= 0 ;
44081 PyObject
* obj1
= 0 ;
44082 PyObject
* obj2
= 0 ;
44083 PyObject
* obj3
= 0 ;
44084 PyObject
* obj4
= 0 ;
44085 PyObject
* obj5
= 0 ;
44086 PyObject
* obj6
= 0 ;
44087 PyObject
* obj7
= 0 ;
44088 PyObject
* obj8
= 0 ;
44089 PyObject
* obj9
= 0 ;
44090 char * kwnames
[] = {
44091 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
44095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44096 if (!SWIG_IsOK(res1
)) {
44097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44099 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44100 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44101 if (!SWIG_IsOK(res2
)) {
44102 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44104 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44106 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44107 if (!SWIG_IsOK(ecode3
)) {
44108 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44110 arg3
= static_cast< int >(val3
);
44114 arg4
= wxString_in_helper(obj3
);
44115 if (arg4
== NULL
) SWIG_fail
;
44121 arg5
= wxString_in_helper(obj4
);
44122 if (arg5
== NULL
) SWIG_fail
;
44129 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
44135 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
44139 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
44140 if (!SWIG_IsOK(ecode8
)) {
44141 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
44143 arg8
= static_cast< long >(val8
);
44146 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
44147 if (!SWIG_IsOK(res9
)) {
44148 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44151 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44153 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
44157 arg10
= wxString_in_helper(obj9
);
44158 if (arg10
== NULL
) SWIG_fail
;
44163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44164 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
);
44165 wxPyEndAllowThreads(__tstate
);
44166 if (PyErr_Occurred()) SWIG_fail
;
44169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44201 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44202 PyObject
*resultobj
= 0;
44203 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44207 PyObject
*swig_obj
[1] ;
44209 if (!args
) SWIG_fail
;
44210 swig_obj
[0] = args
;
44211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44212 if (!SWIG_IsOK(res1
)) {
44213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44215 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44218 result
= ((wxDirPickerCtrl
const *)arg1
)->GetPath();
44219 wxPyEndAllowThreads(__tstate
);
44220 if (PyErr_Occurred()) SWIG_fail
;
44224 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44226 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44235 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44236 PyObject
*resultobj
= 0;
44237 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44238 wxString
*arg2
= 0 ;
44241 bool temp2
= false ;
44242 PyObject
* obj0
= 0 ;
44243 PyObject
* obj1
= 0 ;
44244 char * kwnames
[] = {
44245 (char *) "self",(char *) "str", NULL
44248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44250 if (!SWIG_IsOK(res1
)) {
44251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44253 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44255 arg2
= wxString_in_helper(obj1
);
44256 if (arg2
== NULL
) SWIG_fail
;
44260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44261 (arg1
)->SetPath((wxString
const &)*arg2
);
44262 wxPyEndAllowThreads(__tstate
);
44263 if (PyErr_Occurred()) SWIG_fail
;
44265 resultobj
= SWIG_Py_Void();
44280 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44281 PyObject
*resultobj
= 0;
44282 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44283 wxString
*arg2
= 0 ;
44287 bool temp2
= false ;
44288 PyObject
* obj0
= 0 ;
44289 PyObject
* obj1
= 0 ;
44290 char * kwnames
[] = {
44291 (char *) "self",(char *) "path", NULL
44294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44296 if (!SWIG_IsOK(res1
)) {
44297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44299 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44301 arg2
= wxString_in_helper(obj1
);
44302 if (arg2
== NULL
) SWIG_fail
;
44306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44307 result
= (bool)((wxDirPickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44308 wxPyEndAllowThreads(__tstate
);
44309 if (PyErr_Occurred()) SWIG_fail
;
44312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44328 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44329 PyObject
*resultobj
= 0;
44330 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44334 PyObject
*swig_obj
[1] ;
44336 if (!args
) SWIG_fail
;
44337 swig_obj
[0] = args
;
44338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44339 if (!SWIG_IsOK(res1
)) {
44340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44342 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44345 result
= ((wxDirPickerCtrl
const *)arg1
)->GetTextCtrlValue();
44346 wxPyEndAllowThreads(__tstate
);
44347 if (PyErr_Occurred()) SWIG_fail
;
44351 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44353 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44362 SWIGINTERN PyObject
*DirPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44364 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44365 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl
, SWIG_NewClientData(obj
));
44366 return SWIG_Py_Void();
44369 SWIGINTERN PyObject
*DirPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44370 return SWIG_Python_InitShadowInstance(args
);
44373 SWIGINTERN PyObject
*_wrap_new_FileDirPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44374 PyObject
*resultobj
= 0;
44376 wxObject
*arg2
= (wxObject
*) 0 ;
44378 wxString
*arg4
= 0 ;
44379 wxFileDirPickerEvent
*result
= 0 ;
44386 bool temp4
= false ;
44387 PyObject
* obj0
= 0 ;
44388 PyObject
* obj1
= 0 ;
44389 PyObject
* obj2
= 0 ;
44390 PyObject
* obj3
= 0 ;
44391 char * kwnames
[] = {
44392 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
44395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileDirPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
44396 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
44397 if (!SWIG_IsOK(ecode1
)) {
44398 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
44400 arg1
= static_cast< wxEventType
>(val1
);
44401 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxObject
, 0 | 0 );
44402 if (!SWIG_IsOK(res2
)) {
44403 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
44405 arg2
= reinterpret_cast< wxObject
* >(argp2
);
44406 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44407 if (!SWIG_IsOK(ecode3
)) {
44408 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
44410 arg3
= static_cast< int >(val3
);
44412 arg4
= wxString_in_helper(obj3
);
44413 if (arg4
== NULL
) SWIG_fail
;
44417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44418 result
= (wxFileDirPickerEvent
*)new wxFileDirPickerEvent(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
44419 wxPyEndAllowThreads(__tstate
);
44420 if (PyErr_Occurred()) SWIG_fail
;
44422 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_POINTER_NEW
| 0 );
44437 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44438 PyObject
*resultobj
= 0;
44439 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44443 PyObject
*swig_obj
[1] ;
44445 if (!args
) SWIG_fail
;
44446 swig_obj
[0] = args
;
44447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44448 if (!SWIG_IsOK(res1
)) {
44449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
44451 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44454 result
= ((wxFileDirPickerEvent
const *)arg1
)->GetPath();
44455 wxPyEndAllowThreads(__tstate
);
44456 if (PyErr_Occurred()) SWIG_fail
;
44460 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44462 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44471 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44472 PyObject
*resultobj
= 0;
44473 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44474 wxString
*arg2
= 0 ;
44477 bool temp2
= false ;
44478 PyObject
* obj0
= 0 ;
44479 PyObject
* obj1
= 0 ;
44480 char * kwnames
[] = {
44481 (char *) "self",(char *) "p", NULL
44484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDirPickerEvent_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44486 if (!SWIG_IsOK(res1
)) {
44487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
44489 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44491 arg2
= wxString_in_helper(obj1
);
44492 if (arg2
== NULL
) SWIG_fail
;
44496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44497 (arg1
)->SetPath((wxString
const &)*arg2
);
44498 wxPyEndAllowThreads(__tstate
);
44499 if (PyErr_Occurred()) SWIG_fail
;
44501 resultobj
= SWIG_Py_Void();
44516 SWIGINTERN PyObject
*FileDirPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44518 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44519 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_NewClientData(obj
));
44520 return SWIG_Py_Void();
44523 SWIGINTERN PyObject
*FileDirPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44524 return SWIG_Python_InitShadowInstance(args
);
44527 SWIGINTERN
int FontPickerCtrlNameStr_set(PyObject
*) {
44528 SWIG_Error(SWIG_AttributeError
,"Variable FontPickerCtrlNameStr is read-only.");
44533 SWIGINTERN PyObject
*FontPickerCtrlNameStr_get(void) {
44534 PyObject
*pyobj
= 0;
44538 pyobj
= PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44540 pyobj
= PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44547 SWIGINTERN PyObject
*_wrap_new_FontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44548 PyObject
*resultobj
= 0;
44549 wxWindow
*arg1
= (wxWindow
*) 0 ;
44550 int arg2
= (int) -1 ;
44551 wxFont
const &arg3_defvalue
= *wxNORMAL_FONT
;
44552 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
44553 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
44554 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
44555 wxSize
const &arg5_defvalue
= wxDefaultSize
;
44556 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
44557 long arg6
= (long) wxFNTP_DEFAULT_STYLE
;
44558 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
44559 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
44560 wxString
const &arg8_defvalue
= wxPyFontPickerCtrlNameStr
;
44561 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
44562 wxFontPickerCtrl
*result
= 0 ;
44575 bool temp8
= false ;
44576 PyObject
* obj0
= 0 ;
44577 PyObject
* obj1
= 0 ;
44578 PyObject
* obj2
= 0 ;
44579 PyObject
* obj3
= 0 ;
44580 PyObject
* obj4
= 0 ;
44581 PyObject
* obj5
= 0 ;
44582 PyObject
* obj6
= 0 ;
44583 PyObject
* obj7
= 0 ;
44584 char * kwnames
[] = {
44585 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
44589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44590 if (!SWIG_IsOK(res1
)) {
44591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44593 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44595 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44596 if (!SWIG_IsOK(ecode2
)) {
44597 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44599 arg2
= static_cast< int >(val2
);
44602 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
44603 if (!SWIG_IsOK(res3
)) {
44604 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44607 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44609 arg3
= reinterpret_cast< wxFont
* >(argp3
);
44614 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
44620 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
44624 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
44625 if (!SWIG_IsOK(ecode6
)) {
44626 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
44628 arg6
= static_cast< long >(val6
);
44631 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
44632 if (!SWIG_IsOK(res7
)) {
44633 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44636 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44638 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
44642 arg8
= wxString_in_helper(obj7
);
44643 if (arg8
== NULL
) SWIG_fail
;
44648 if (!wxPyCheckForApp()) SWIG_fail
;
44649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44650 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl(arg1
,arg2
,(wxFont
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
44651 wxPyEndAllowThreads(__tstate
);
44652 if (PyErr_Occurred()) SWIG_fail
;
44654 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44669 SWIGINTERN PyObject
*_wrap_new_PreFontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44670 PyObject
*resultobj
= 0;
44671 wxFontPickerCtrl
*result
= 0 ;
44673 if (!SWIG_Python_UnpackTuple(args
,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail
;
44675 if (!wxPyCheckForApp()) SWIG_fail
;
44676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44677 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl();
44678 wxPyEndAllowThreads(__tstate
);
44679 if (PyErr_Occurred()) SWIG_fail
;
44681 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44688 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44689 PyObject
*resultobj
= 0;
44690 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44691 wxWindow
*arg2
= (wxWindow
*) 0 ;
44692 int arg3
= (int) -1 ;
44693 wxFont
const &arg4_defvalue
= *wxNORMAL_FONT
;
44694 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
44695 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44696 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44697 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44698 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44699 long arg7
= (long) wxFNTP_DEFAULT_STYLE
;
44700 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
44701 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
44702 wxString
const &arg9_defvalue
= wxPyFontPickerCtrlNameStr
;
44703 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
44719 bool temp9
= false ;
44720 PyObject
* obj0
= 0 ;
44721 PyObject
* obj1
= 0 ;
44722 PyObject
* obj2
= 0 ;
44723 PyObject
* obj3
= 0 ;
44724 PyObject
* obj4
= 0 ;
44725 PyObject
* obj5
= 0 ;
44726 PyObject
* obj6
= 0 ;
44727 PyObject
* obj7
= 0 ;
44728 PyObject
* obj8
= 0 ;
44729 char * kwnames
[] = {
44730 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
44734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44735 if (!SWIG_IsOK(res1
)) {
44736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
44738 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44739 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44740 if (!SWIG_IsOK(res2
)) {
44741 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44743 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44745 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44746 if (!SWIG_IsOK(ecode3
)) {
44747 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44749 arg3
= static_cast< int >(val3
);
44752 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxFont
, 0 | 0);
44753 if (!SWIG_IsOK(res4
)) {
44754 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
44757 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
44759 arg4
= reinterpret_cast< wxFont
* >(argp4
);
44764 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
44770 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
44774 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
44775 if (!SWIG_IsOK(ecode7
)) {
44776 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
44778 arg7
= static_cast< long >(val7
);
44781 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
44782 if (!SWIG_IsOK(res8
)) {
44783 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
44786 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
44788 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
44792 arg9
= wxString_in_helper(obj8
);
44793 if (arg9
== NULL
) SWIG_fail
;
44798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44799 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxFont
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
44800 wxPyEndAllowThreads(__tstate
);
44801 if (PyErr_Occurred()) SWIG_fail
;
44804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44820 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44821 PyObject
*resultobj
= 0;
44822 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44826 PyObject
*swig_obj
[1] ;
44828 if (!args
) SWIG_fail
;
44829 swig_obj
[0] = args
;
44830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44831 if (!SWIG_IsOK(res1
)) {
44832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
44834 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44837 result
= ((wxFontPickerCtrl
const *)arg1
)->GetSelectedFont();
44838 wxPyEndAllowThreads(__tstate
);
44839 if (PyErr_Occurred()) SWIG_fail
;
44841 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
44848 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44849 PyObject
*resultobj
= 0;
44850 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44856 PyObject
* obj0
= 0 ;
44857 PyObject
* obj1
= 0 ;
44858 char * kwnames
[] = {
44859 (char *) "self",(char *) "f", NULL
44862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44864 if (!SWIG_IsOK(res1
)) {
44865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
44867 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44868 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
44869 if (!SWIG_IsOK(res2
)) {
44870 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
44873 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
44875 arg2
= reinterpret_cast< wxFont
* >(argp2
);
44877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44878 (arg1
)->SetSelectedFont((wxFont
const &)*arg2
);
44879 wxPyEndAllowThreads(__tstate
);
44880 if (PyErr_Occurred()) SWIG_fail
;
44882 resultobj
= SWIG_Py_Void();
44889 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44890 PyObject
*resultobj
= 0;
44891 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44892 unsigned int arg2
;
44895 unsigned int val2
;
44897 PyObject
* obj0
= 0 ;
44898 PyObject
* obj1
= 0 ;
44899 char * kwnames
[] = {
44900 (char *) "self",(char *) "max", NULL
44903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44905 if (!SWIG_IsOK(res1
)) {
44906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
44908 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44909 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
44910 if (!SWIG_IsOK(ecode2
)) {
44911 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
44913 arg2
= static_cast< unsigned int >(val2
);
44915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44916 (arg1
)->SetMaxPointSize(arg2
);
44917 wxPyEndAllowThreads(__tstate
);
44918 if (PyErr_Occurred()) SWIG_fail
;
44920 resultobj
= SWIG_Py_Void();
44927 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44928 PyObject
*resultobj
= 0;
44929 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44930 unsigned int result
;
44933 PyObject
*swig_obj
[1] ;
44935 if (!args
) SWIG_fail
;
44936 swig_obj
[0] = args
;
44937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44938 if (!SWIG_IsOK(res1
)) {
44939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
44941 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44944 result
= (unsigned int)((wxFontPickerCtrl
const *)arg1
)->GetMaxPointSize();
44945 wxPyEndAllowThreads(__tstate
);
44946 if (PyErr_Occurred()) SWIG_fail
;
44948 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
44955 SWIGINTERN PyObject
*FontPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44957 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44958 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl
, SWIG_NewClientData(obj
));
44959 return SWIG_Py_Void();
44962 SWIGINTERN PyObject
*FontPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44963 return SWIG_Python_InitShadowInstance(args
);
44966 SWIGINTERN PyObject
*_wrap_new_FontPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44967 PyObject
*resultobj
= 0;
44968 wxObject
*arg1
= (wxObject
*) 0 ;
44971 wxFontPickerEvent
*result
= 0 ;
44978 PyObject
* obj0
= 0 ;
44979 PyObject
* obj1
= 0 ;
44980 PyObject
* obj2
= 0 ;
44981 char * kwnames
[] = {
44982 (char *) "generator",(char *) "id",(char *) "f", NULL
44985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_FontPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
44986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
44987 if (!SWIG_IsOK(res1
)) {
44988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
44990 arg1
= reinterpret_cast< wxObject
* >(argp1
);
44991 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44992 if (!SWIG_IsOK(ecode2
)) {
44993 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
44995 arg2
= static_cast< int >(val2
);
44996 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
44997 if (!SWIG_IsOK(res3
)) {
44998 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45001 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45003 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45006 result
= (wxFontPickerEvent
*)new wxFontPickerEvent(arg1
,arg2
,(wxFont
const &)*arg3
);
45007 wxPyEndAllowThreads(__tstate
);
45008 if (PyErr_Occurred()) SWIG_fail
;
45010 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerEvent
, SWIG_POINTER_NEW
| 0 );
45017 SWIGINTERN PyObject
*_wrap_FontPickerEvent_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45018 PyObject
*resultobj
= 0;
45019 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45023 PyObject
*swig_obj
[1] ;
45025 if (!args
) SWIG_fail
;
45026 swig_obj
[0] = args
;
45027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45028 if (!SWIG_IsOK(res1
)) {
45029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
45031 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45034 result
= ((wxFontPickerEvent
const *)arg1
)->GetFont();
45035 wxPyEndAllowThreads(__tstate
);
45036 if (PyErr_Occurred()) SWIG_fail
;
45038 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45045 SWIGINTERN PyObject
*_wrap_FontPickerEvent_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45046 PyObject
*resultobj
= 0;
45047 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45053 PyObject
* obj0
= 0 ;
45054 PyObject
* obj1
= 0 ;
45055 char * kwnames
[] = {
45056 (char *) "self",(char *) "c", NULL
45059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerEvent_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45061 if (!SWIG_IsOK(res1
)) {
45062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
45064 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45065 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45066 if (!SWIG_IsOK(res2
)) {
45067 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45070 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45072 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45075 (arg1
)->SetFont((wxFont
const &)*arg2
);
45076 wxPyEndAllowThreads(__tstate
);
45077 if (PyErr_Occurred()) SWIG_fail
;
45079 resultobj
= SWIG_Py_Void();
45086 SWIGINTERN PyObject
*FontPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45088 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45089 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent
, SWIG_NewClientData(obj
));
45090 return SWIG_Py_Void();
45093 SWIGINTERN PyObject
*FontPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45094 return SWIG_Python_InitShadowInstance(args
);
45097 static PyMethodDef SwigMethods
[] = {
45098 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45099 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
45100 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45101 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
45102 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
45103 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45104 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
45105 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
45106 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45107 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
45108 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45109 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
45110 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
45111 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
45112 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
45113 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
45114 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45115 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45116 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45117 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45118 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45119 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45120 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
45121 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
45122 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
45123 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
45124 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45125 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
45126 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45127 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
45128 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
45129 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45130 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
45131 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45132 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
45133 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
45134 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45135 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
45136 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
45137 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45138 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
45139 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45140 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
45141 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45142 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
45143 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
45144 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45145 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
45146 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45147 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
45148 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45149 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
45150 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
45151 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
45152 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45153 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
45154 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
45155 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45156 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45157 { (char *)"ComboBox_GetMark", (PyCFunction
)_wrap_ComboBox_GetMark
, METH_O
, NULL
},
45158 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
45159 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45160 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45161 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45162 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
45163 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45164 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
45165 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
45166 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
45167 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
45168 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
45169 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
45170 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
45171 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
45172 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
45173 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45174 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
45175 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
45176 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45177 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
45178 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45179 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45180 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
45181 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45182 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
45183 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
45184 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45185 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
45186 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45187 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
45188 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45189 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
45190 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
45191 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45192 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
45193 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45194 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45195 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
45196 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
45197 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45198 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
45199 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45200 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
45201 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
45202 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45203 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
45204 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
45205 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45206 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
45207 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45208 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45209 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45210 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
45211 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
45212 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45213 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
45214 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45215 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
45216 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45217 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45218 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45219 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
45220 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
45221 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45222 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
45223 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45224 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45225 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45226 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45227 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45228 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45229 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45230 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45231 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45232 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45233 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
45234 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45235 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45236 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45237 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45238 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
45239 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45240 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45241 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45242 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45243 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45244 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
45245 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
45246 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45247 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
45248 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45249 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45250 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45251 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
)_wrap_CheckListBox_GetItemHeight
, METH_O
, NULL
},
45252 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
45253 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
45254 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45255 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
45256 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
45257 { (char *)"TextAttr_Merge", (PyCFunction
) _wrap_TextAttr_Merge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45258 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45259 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45260 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45261 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45262 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45263 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45264 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45265 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45266 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
45267 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
45268 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
45269 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
45270 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
45271 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
45272 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
45273 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45274 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
45275 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
45276 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
45277 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
45278 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
45279 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
45280 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
45281 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
45282 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
45283 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
45284 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45285 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
45286 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
45287 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45288 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
45289 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45290 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
45291 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45292 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45293 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45294 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45295 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
45296 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
45297 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
45298 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
45299 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
45300 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
45301 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
45302 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
45303 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45304 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45305 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45306 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45307 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
45308 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
45309 { (char *)"TextCtrl_SetModified", (PyCFunction
) _wrap_TextCtrl_SetModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45310 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45311 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45312 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45313 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45314 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45315 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45316 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45317 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
45318 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45319 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45320 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45321 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45322 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45323 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
45324 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
45325 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
45326 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
45327 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
45328 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
45329 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
45330 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
45331 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
45332 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
45333 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45334 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
45335 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
45336 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
45337 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45338 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
45339 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45340 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45341 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45342 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45343 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
45344 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
45345 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45346 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
45347 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
45348 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
45349 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
45350 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
45351 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45352 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
45353 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45354 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
45355 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
45356 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
45357 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
45358 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
45359 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45360 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45361 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
45362 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
45363 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45364 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
45365 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45366 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
45367 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
45368 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
45369 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45370 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45371 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45372 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45373 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
45374 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45375 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
45376 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
45377 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45378 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
45379 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45380 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
45381 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45382 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45383 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45384 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
45385 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
45386 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45387 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45388 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
45389 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
45390 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45391 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
45392 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45393 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
45394 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
45395 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45396 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
45397 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45398 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45399 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
45400 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
45401 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45402 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
45403 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45404 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45405 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45406 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45407 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45408 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45409 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45410 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
45411 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
45412 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45413 { (char *)"RadioBox_SetItemToolTip", (PyCFunction
) _wrap_RadioBox_SetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45414 { (char *)"RadioBox_GetItemToolTip", (PyCFunction
) _wrap_RadioBox_GetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45415 { (char *)"RadioBox_SetItemHelpText", (PyCFunction
) _wrap_RadioBox_SetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45416 { (char *)"RadioBox_GetItemHelpText", (PyCFunction
) _wrap_RadioBox_GetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45417 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45418 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
45419 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
45420 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45421 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
45422 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45423 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
45424 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45425 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45426 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
45427 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
45428 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45429 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
45430 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45431 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
45432 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45433 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45434 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
45435 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
45436 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45437 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45438 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45439 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45440 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
45441 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
45442 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45443 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
45444 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45445 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
45446 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
45447 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45448 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
45449 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
45450 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
45451 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45452 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45453 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
45454 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
45455 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45456 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
45457 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45458 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45459 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
45460 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45461 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
45462 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
45463 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
45464 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45465 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
45466 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
45467 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45468 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45469 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45470 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45471 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
45472 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45473 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45474 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45475 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45476 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
45477 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45478 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
45479 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45480 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
45481 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45482 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
45483 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
45484 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45485 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45486 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
45487 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45488 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45489 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45490 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45491 { (char *)"BookCtrlBase_HitTest", (PyCFunction
) _wrap_BookCtrlBase_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45492 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45493 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
45494 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45495 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
45496 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45497 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
45498 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45499 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
45500 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
45501 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45502 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
45503 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45504 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
45505 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45506 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45507 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
45508 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45509 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
45510 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
45511 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45512 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
45513 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
45514 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45515 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
45516 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45517 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
45518 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
45519 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
45520 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45521 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
45522 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
45523 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45524 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
45525 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45526 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
45527 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
45528 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
45529 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45530 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
45531 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
45532 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45533 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
45534 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45535 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45536 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45537 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45538 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45539 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45540 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45541 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
45542 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
45543 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
45544 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45545 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
45546 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
45547 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45548 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
45549 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45550 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
45551 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
45552 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
45553 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
45554 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45555 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
45556 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
45557 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
45558 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
45559 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
45560 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
45561 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
45562 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
45563 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
45564 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
45565 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
45566 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
45567 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
45568 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
45569 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
45570 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
45571 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
45572 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
45573 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
45574 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45575 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
45576 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45577 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45578 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45579 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45580 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45581 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45582 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
45583 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45584 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
45585 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45586 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
45587 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45588 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45589 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45590 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45591 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45592 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45593 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45594 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
45595 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45596 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45597 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45598 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45599 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
45600 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
45601 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45602 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45603 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45604 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45605 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45606 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45607 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45608 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45609 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45610 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45611 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45612 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45613 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45614 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45615 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45616 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45617 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
45618 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
45619 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
45620 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
45621 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45622 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45623 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
45624 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
45625 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45626 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
45627 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
45628 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45629 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45630 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
45631 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
45632 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
45633 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45634 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
45635 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45636 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45637 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
45638 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
45639 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45640 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
45641 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45642 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45643 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45644 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
45645 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
45646 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
45647 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
45648 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
45649 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
45650 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45651 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
45652 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
45653 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
45654 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
45655 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
45656 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
45657 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
45658 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45659 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45660 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45661 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45662 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45663 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45664 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45665 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45666 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45667 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45668 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45669 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45670 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45671 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
45672 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
45673 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
45674 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
45675 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
45676 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
45677 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
45678 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
45679 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
45680 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
45681 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
45682 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
45683 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
45684 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
45685 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
45686 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
45687 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
45688 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
45689 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
45690 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
45691 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
45692 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
45693 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
45694 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
45695 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
45696 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
45697 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
45698 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
45699 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
45700 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
45701 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
45702 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
45703 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
45704 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
45705 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
45706 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
45707 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45708 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
45709 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
45710 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
45711 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
45712 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
45713 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
45714 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
45715 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
45716 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
45717 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
45718 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
45719 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
45720 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
45721 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
45722 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
45723 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
45724 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
45725 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
45726 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
45727 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
45728 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
45729 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
45730 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
45731 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
45732 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45733 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
45734 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
45735 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45736 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
45737 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45738 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45739 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45740 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45741 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45742 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45743 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
45744 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
45745 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
45746 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45747 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45748 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45749 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45750 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45751 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45752 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45753 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45754 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45755 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45756 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45757 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45758 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45759 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45760 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
45761 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
45762 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
45763 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45764 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
45765 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
45766 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45767 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
45768 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45769 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45770 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45771 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45772 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45773 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
45774 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
45775 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45776 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45777 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45778 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45779 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
45780 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45781 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
45782 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
45783 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45784 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45785 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45786 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45787 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45788 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45789 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction
) _wrap_ListCtrl_HitTestSubItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45790 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45791 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45792 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45793 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45794 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45795 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45796 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45797 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45798 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45799 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45800 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45801 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45802 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45803 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45804 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45805 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
45806 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45807 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
45808 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
45809 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45810 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
45811 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45812 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45813 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45814 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
45815 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45816 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
45817 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45818 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45819 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45820 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
45821 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
45822 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
45823 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
45824 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
45825 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45826 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45827 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
45828 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
45829 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
45830 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
45831 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45832 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
45833 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
45834 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45835 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
45836 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45837 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
45838 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
45839 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
45840 { (char *)"new_TreeEvent", _wrap_new_TreeEvent
, METH_VARARGS
, NULL
},
45841 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
45842 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45843 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
45844 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45845 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
45846 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45847 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
45848 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
45849 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45850 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
45851 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45852 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
45853 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45854 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45855 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
45856 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
45857 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
45858 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45859 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
45860 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45861 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45862 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
45863 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
45864 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45865 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
45866 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45867 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
45868 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
45869 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45870 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45871 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45872 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45873 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45874 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45875 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45876 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45877 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45878 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45879 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45880 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45881 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45882 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45883 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45884 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45885 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45886 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45887 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45888 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45889 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45890 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45891 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45892 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45893 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45894 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45895 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45896 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
45897 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
45898 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
45899 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45900 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45901 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45902 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45903 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45904 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45905 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
45906 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45907 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45908 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45909 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45910 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45911 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45912 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45913 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45914 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45915 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
45916 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45917 { (char *)"TreeCtrl_ExpandAllChildren", (PyCFunction
) _wrap_TreeCtrl_ExpandAllChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45918 { (char *)"TreeCtrl_ExpandAll", (PyCFunction
)_wrap_TreeCtrl_ExpandAll
, METH_O
, NULL
},
45919 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45920 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45921 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45922 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
45923 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45924 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
45925 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45926 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45927 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45928 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45929 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45930 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
45931 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45932 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45933 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45934 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45935 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction
) _wrap_TreeCtrl_SetQuickBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45936 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction
)_wrap_TreeCtrl_GetQuickBestSize
, METH_O
, NULL
},
45937 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
45938 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
45939 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45940 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
45941 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45942 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45943 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction
) _wrap_GenericDirCtrl_CollapsePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45944 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
45945 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45946 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
45947 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
45948 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45949 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45950 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
45951 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
45952 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45953 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
45954 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45955 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
45956 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
45957 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
45958 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45959 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
45960 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
45961 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
45962 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
45963 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45964 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
45965 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45966 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45967 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
45968 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
45969 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45970 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
45971 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45972 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45973 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45974 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45975 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45976 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45977 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45978 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
45979 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
45980 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
45981 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
45982 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
45983 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
45984 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
45985 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
45986 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
45987 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45988 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
45989 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45990 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
45991 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45992 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
45993 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45994 { (char *)"HelpEvent_GetOrigin", (PyCFunction
)_wrap_HelpEvent_GetOrigin
, METH_O
, NULL
},
45995 { (char *)"HelpEvent_SetOrigin", (PyCFunction
) _wrap_HelpEvent_SetOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45996 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
45997 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
45998 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45999 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
46000 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46001 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
46002 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
46003 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
46004 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46005 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
46006 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
46007 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
46008 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46009 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
46010 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46011 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46012 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction
) _wrap_HelpProvider_ShowHelpAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46013 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46014 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46015 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46016 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
46017 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
46018 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
46019 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
46020 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
46021 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46022 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46023 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46024 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46025 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46026 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
46027 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46028 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46029 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46030 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
46031 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46032 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
46033 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
46034 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46035 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46036 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46037 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46038 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
46039 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
46040 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46041 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
46042 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46043 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46044 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
46045 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46046 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
46047 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
46048 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46049 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46050 { (char *)"new_HyperlinkCtrl", (PyCFunction
) _wrap_new_HyperlinkCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46051 { (char *)"new_PreHyperlinkCtrl", (PyCFunction
)_wrap_new_PreHyperlinkCtrl
, METH_NOARGS
, NULL
},
46052 { (char *)"HyperlinkCtrl_Create", (PyCFunction
) _wrap_HyperlinkCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46053 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetHoverColour
, METH_O
, NULL
},
46054 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetHoverColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46055 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetNormalColour
, METH_O
, NULL
},
46056 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetNormalColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46057 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisitedColour
, METH_O
, NULL
},
46058 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisitedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46059 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction
)_wrap_HyperlinkCtrl_GetURL
, METH_O
, NULL
},
46060 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction
) _wrap_HyperlinkCtrl_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46061 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisited
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46062 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisited
, METH_O
, NULL
},
46063 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister
, METH_VARARGS
, NULL
},
46064 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit
, METH_VARARGS
, NULL
},
46065 { (char *)"new_HyperlinkEvent", (PyCFunction
) _wrap_new_HyperlinkEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46066 { (char *)"HyperlinkEvent_GetURL", (PyCFunction
)_wrap_HyperlinkEvent_GetURL
, METH_O
, NULL
},
46067 { (char *)"HyperlinkEvent_SetURL", (PyCFunction
) _wrap_HyperlinkEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46068 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister
, METH_VARARGS
, NULL
},
46069 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit
, METH_VARARGS
, NULL
},
46070 { (char *)"PickerBase_CreateBase", (PyCFunction
) _wrap_PickerBase_CreateBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46071 { (char *)"PickerBase_SetInternalMargin", (PyCFunction
) _wrap_PickerBase_SetInternalMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46072 { (char *)"PickerBase_GetInternalMargin", (PyCFunction
)_wrap_PickerBase_GetInternalMargin
, METH_O
, NULL
},
46073 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetTextCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46074 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetTextCtrlProportion
, METH_O
, NULL
},
46075 { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsTextCtrlGrowable
, METH_O
, NULL
},
46076 { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetTextCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46077 { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsPickerCtrlGrowable
, METH_O
, NULL
},
46078 { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46079 { (char *)"PickerBase_HasTextCtrl", (PyCFunction
)_wrap_PickerBase_HasTextCtrl
, METH_O
, NULL
},
46080 { (char *)"PickerBase_GetTextCtrl", (PyCFunction
)_wrap_PickerBase_GetTextCtrl
, METH_O
, NULL
},
46081 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction
)_wrap_PickerBase_GetPickerCtrl
, METH_O
, NULL
},
46082 { (char *)"PickerBase_swigregister", PickerBase_swigregister
, METH_VARARGS
, NULL
},
46083 { (char *)"new_ColourPickerCtrl", (PyCFunction
) _wrap_new_ColourPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46084 { (char *)"new_PreColourPickerCtrl", (PyCFunction
)_wrap_new_PreColourPickerCtrl
, METH_NOARGS
, NULL
},
46085 { (char *)"ColourPickerCtrl_Create", (PyCFunction
) _wrap_ColourPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46086 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction
)_wrap_ColourPickerCtrl_GetColour
, METH_O
, NULL
},
46087 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction
) _wrap_ColourPickerCtrl_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46088 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46089 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46090 { (char *)"new_ColourPickerEvent", (PyCFunction
) _wrap_new_ColourPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46091 { (char *)"ColourPickerEvent_GetColour", (PyCFunction
)_wrap_ColourPickerEvent_GetColour
, METH_O
, NULL
},
46092 { (char *)"ColourPickerEvent_SetColour", (PyCFunction
) _wrap_ColourPickerEvent_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46093 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46094 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46095 { (char *)"new_FilePickerCtrl", (PyCFunction
) _wrap_new_FilePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46096 { (char *)"new_PreFilePickerCtrl", (PyCFunction
)_wrap_new_PreFilePickerCtrl
, METH_NOARGS
, NULL
},
46097 { (char *)"FilePickerCtrl_Create", (PyCFunction
) _wrap_FilePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46098 { (char *)"FilePickerCtrl_GetPath", (PyCFunction
)_wrap_FilePickerCtrl_GetPath
, METH_O
, NULL
},
46099 { (char *)"FilePickerCtrl_SetPath", (PyCFunction
) _wrap_FilePickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46100 { (char *)"FilePickerCtrl_CheckPath", (PyCFunction
) _wrap_FilePickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46101 { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_FilePickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
46102 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46103 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46104 { (char *)"new_DirPickerCtrl", (PyCFunction
) _wrap_new_DirPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46105 { (char *)"new_PreDirPickerCtrl", (PyCFunction
)_wrap_new_PreDirPickerCtrl
, METH_NOARGS
, NULL
},
46106 { (char *)"DirPickerCtrl_Create", (PyCFunction
) _wrap_DirPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46107 { (char *)"DirPickerCtrl_GetPath", (PyCFunction
)_wrap_DirPickerCtrl_GetPath
, METH_O
, NULL
},
46108 { (char *)"DirPickerCtrl_SetPath", (PyCFunction
) _wrap_DirPickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46109 { (char *)"DirPickerCtrl_CheckPath", (PyCFunction
) _wrap_DirPickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46110 { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_DirPickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
46111 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46112 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46113 { (char *)"new_FileDirPickerEvent", (PyCFunction
) _wrap_new_FileDirPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46114 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction
)_wrap_FileDirPickerEvent_GetPath
, METH_O
, NULL
},
46115 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction
) _wrap_FileDirPickerEvent_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46116 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46117 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46118 { (char *)"new_FontPickerCtrl", (PyCFunction
) _wrap_new_FontPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46119 { (char *)"new_PreFontPickerCtrl", (PyCFunction
)_wrap_new_PreFontPickerCtrl
, METH_NOARGS
, NULL
},
46120 { (char *)"FontPickerCtrl_Create", (PyCFunction
) _wrap_FontPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46121 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction
)_wrap_FontPickerCtrl_GetSelectedFont
, METH_O
, NULL
},
46122 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction
) _wrap_FontPickerCtrl_SetSelectedFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46123 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction
) _wrap_FontPickerCtrl_SetMaxPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46124 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction
)_wrap_FontPickerCtrl_GetMaxPointSize
, METH_O
, NULL
},
46125 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46126 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46127 { (char *)"new_FontPickerEvent", (PyCFunction
) _wrap_new_FontPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46128 { (char *)"FontPickerEvent_GetFont", (PyCFunction
)_wrap_FontPickerEvent_GetFont
, METH_O
, NULL
},
46129 { (char *)"FontPickerEvent_SetFont", (PyCFunction
) _wrap_FontPickerEvent_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46130 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46131 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46132 { NULL
, NULL
, 0, NULL
}
46136 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
46138 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
46139 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46141 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
46142 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
46144 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
46145 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
46147 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
46148 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
46150 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
46151 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
46153 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
46154 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
46156 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
46157 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
46159 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
46160 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
46162 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x
) {
46163 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
46165 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x
) {
46166 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
46168 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x
) {
46169 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
46171 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
46172 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
46174 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
46175 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
46177 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
46178 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
46180 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
46181 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46183 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
46184 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
46186 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
46187 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
46189 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
46190 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
46192 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
46193 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
46195 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
46196 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
46198 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
46199 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
46201 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
46202 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
46204 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
46205 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
46207 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
46208 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
46210 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
46211 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46213 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
46214 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46216 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
46217 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
46219 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
46220 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
46222 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
46223 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
46225 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
46226 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
46228 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
46229 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
46231 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
46232 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
46234 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
46235 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
46237 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
46238 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
46240 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
46241 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
46243 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
46244 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46246 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
46247 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46249 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
46250 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46252 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
46253 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46255 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
46256 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46258 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x
) {
46259 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
46261 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
46262 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
46264 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
46265 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
46267 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
46268 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46270 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
46271 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
46273 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
46274 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
46276 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
46277 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46279 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
46280 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46282 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
46283 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46285 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
46286 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
46288 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
46289 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
46291 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
46292 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
46294 static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x
) {
46295 return (void *)((wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46297 static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x
) {
46298 return (void *)((wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46300 static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x
) {
46301 return (void *)((wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46303 static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x
) {
46304 return (void *)((wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46306 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
46307 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
46309 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
46310 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46312 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
46313 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
46315 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
46316 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
46318 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
46319 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
46321 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
46322 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46324 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
46325 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
46327 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
46328 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
46330 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
46331 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
46333 static void *_p_wxPickerBaseTo_p_wxControl(void *x
) {
46334 return (void *)((wxControl
*) ((wxPickerBase
*) x
));
46336 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
46337 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
46339 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
46340 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
46342 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
46343 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
46345 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
46346 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
46348 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
46349 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46351 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
46352 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
46354 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
46355 return (void *)((wxControl
*) ((wxComboBox
*) x
));
46357 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
46358 return (void *)((wxControl
*) ((wxPyControl
*) x
));
46360 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
46361 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
46363 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
46364 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
46366 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
46367 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
46369 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
46370 return (void *)((wxControl
*) ((wxGauge
*) x
));
46372 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
46373 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
46375 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
46376 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46378 static void *_p_wxListbookTo_p_wxControl(void *x
) {
46379 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
46381 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x
) {
46382 return (void *)((wxControl
*) ((wxHyperlinkCtrl
*) x
));
46384 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
46385 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
46387 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
46388 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
46390 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
46391 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
46393 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
46394 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
46396 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
46397 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
46399 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
46400 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46402 static void *_p_wxListViewTo_p_wxControl(void *x
) {
46403 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
46405 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
46406 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
46408 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
46409 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
46411 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
46412 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
46414 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
46415 return (void *)((wxControl
*) ((wxStaticText
*) x
));
46417 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
46418 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
46420 static void *_p_wxSliderTo_p_wxControl(void *x
) {
46421 return (void *)((wxControl
*) ((wxSlider
*) x
));
46423 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
46424 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
46426 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
46427 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
46429 static void *_p_wxButtonTo_p_wxControl(void *x
) {
46430 return (void *)((wxControl
*) ((wxButton
*) x
));
46432 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
46433 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
46435 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
46436 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46438 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
46439 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
46441 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x
) {
46442 return (void *)((wxControl
*) (wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46444 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x
) {
46445 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46447 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x
) {
46448 return (void *)((wxControl
*) (wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46450 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x
) {
46451 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46453 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
46454 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
46456 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
46457 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
46459 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
46460 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46462 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
46463 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
46465 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
46466 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
46468 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
46469 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
46471 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
46472 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
46474 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
46475 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
46477 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
46478 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
46480 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
46481 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
46483 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
46484 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
46486 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
46487 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
46489 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
46490 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46492 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
46493 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
46495 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
46496 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
46498 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
46499 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
46501 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
46502 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
46504 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
46505 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
46507 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
46508 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
46510 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
46511 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
46513 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
46514 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
46516 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
46517 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
46519 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x
) {
46520 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
46522 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
46523 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
46525 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
46526 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
46528 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
46529 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
46531 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
46532 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
46534 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
46535 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
46537 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
46538 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
46540 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
46541 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
46543 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
46544 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
46546 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
46547 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
46549 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
46550 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46552 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
46553 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
46555 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
46556 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
46558 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
46559 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
46561 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
46562 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
46564 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
46565 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46567 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
46568 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
46570 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
46571 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
46573 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
46574 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46576 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
46577 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
46579 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x
) {
46580 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
46582 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
46583 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
46585 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
46586 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
46588 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
46589 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
46591 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
46592 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46594 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
46595 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
46597 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
46598 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
46600 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
46601 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
46603 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
46604 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
46606 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
46607 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
46609 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
46610 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
46612 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
46613 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
46615 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
46616 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
46618 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
46619 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
46621 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
46622 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
46624 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
46625 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
46627 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
46628 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
46630 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
46631 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
46633 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
46634 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46636 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
46637 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
46639 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x
) {
46640 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46642 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x
) {
46643 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46645 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x
) {
46646 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46648 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x
) {
46649 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46651 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
46652 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
46654 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
46655 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
46657 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
46658 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
46660 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
46661 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46663 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
46664 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46666 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
46667 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
46669 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
46670 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
46672 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
46673 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
46675 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
46676 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
46678 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
46679 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
46681 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
46682 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
46684 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
46685 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
46687 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
46688 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
46690 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
46691 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46693 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
46694 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
46696 static void *_p_wxSizerTo_p_wxObject(void *x
) {
46697 return (void *)((wxObject
*) ((wxSizer
*) x
));
46699 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
46700 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46702 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
46703 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
46705 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
46706 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
46708 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
46709 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46711 static void *_p_wxEventTo_p_wxObject(void *x
) {
46712 return (void *)((wxObject
*) ((wxEvent
*) x
));
46714 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
46715 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46717 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
46718 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
46720 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
46721 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
46723 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
46724 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
46726 static void *_p_wxPickerBaseTo_p_wxObject(void *x
) {
46727 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
46729 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
46730 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
46732 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
46733 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46735 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
46736 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
46738 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
46739 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
46741 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
46742 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
46744 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
46745 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46747 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
46748 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46750 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
46751 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46753 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
46754 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46756 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
46757 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
46759 static void *_p_wxControlTo_p_wxObject(void *x
) {
46760 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
46762 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
46763 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
46765 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
46766 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
46768 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
46769 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
46771 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
46772 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
46774 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
46775 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
46777 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
46778 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
46780 static void *_p_wxColourPickerEventTo_p_wxObject(void *x
) {
46781 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
46783 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x
) {
46784 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
46786 static void *_p_wxFontPickerEventTo_p_wxObject(void *x
) {
46787 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
46789 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
46790 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
46792 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
46793 return (void *)((wxObject
*) ((wxFSFile
*) x
));
46795 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
46796 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
46798 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
46799 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
46801 static void *_p_wxListViewTo_p_wxObject(void *x
) {
46802 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
46804 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x
) {
46805 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
46807 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
46808 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
46810 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
46811 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
46813 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
46814 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
46816 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
46817 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46819 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
46820 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46822 static void *_p_wxListbookTo_p_wxObject(void *x
) {
46823 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
46825 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
46826 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
46828 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
46829 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
46831 static void *_p_wxSliderTo_p_wxObject(void *x
) {
46832 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
46834 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
46835 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
46837 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
46838 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
46840 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
46841 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
46843 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
46844 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46846 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
46847 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46849 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
46850 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
46852 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
46853 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
46855 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
46856 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
46858 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
46859 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
46861 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
46862 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
46864 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
46865 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
46867 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
46868 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
46870 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
46871 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
46873 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
46874 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
46876 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
46877 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
46879 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
46880 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
46882 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
46883 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
46885 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
46886 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
46888 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
46889 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46891 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
46892 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46894 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
46895 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
46897 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
46898 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
46900 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
46901 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
46903 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
46904 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
46906 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
46907 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
46909 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
46910 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
46912 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
46913 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
46915 static void *_p_wxListEventTo_p_wxObject(void *x
) {
46916 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
46918 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
46919 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
46921 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
46922 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46924 static void *_p_wxButtonTo_p_wxObject(void *x
) {
46925 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
46927 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
46928 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
46930 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
46931 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
46933 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
46934 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46936 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
46937 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46939 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
46940 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
46942 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
46943 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
46945 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
46946 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
46948 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
46949 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
46951 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
46952 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
46954 static void *_p_wxListItemTo_p_wxObject(void *x
) {
46955 return (void *)((wxObject
*) ((wxListItem
*) x
));
46957 static void *_p_wxImageTo_p_wxObject(void *x
) {
46958 return (void *)((wxObject
*) ((wxImage
*) x
));
46960 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
46961 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
46963 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
46964 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
46966 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
46967 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
46969 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
46970 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
46972 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
46973 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
46975 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
46976 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
46978 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
46979 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
46981 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
46982 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
46984 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
46985 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
46987 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
46988 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46990 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
46991 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46993 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
46994 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
46996 static void *_p_wxWindowTo_p_wxObject(void *x
) {
46997 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
46999 static void *_p_wxMenuTo_p_wxObject(void *x
) {
47000 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
47002 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
47003 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
47005 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
47006 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
47008 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
47009 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47011 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
47012 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
47014 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
47015 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
47017 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
47018 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
47020 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
47021 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
47023 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
47024 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
47026 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
47027 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47029 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
47030 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47032 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
47033 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47035 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
47036 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
47038 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
47039 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
47041 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
47042 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
47044 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
47045 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
47047 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
47048 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47050 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
47051 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
47053 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x
) {
47054 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47056 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x
) {
47057 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47059 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x
) {
47060 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47062 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x
) {
47063 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47065 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
47066 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
47068 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x
) {
47069 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
47071 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
47072 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
47074 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
47075 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
47077 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
47078 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
47080 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
47081 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
47083 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
47084 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
47086 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
47087 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
47089 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
47090 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
47092 static void *_p_wxPickerBaseTo_p_wxWindow(void *x
) {
47093 return (void *)((wxWindow
*) (wxControl
*) ((wxPickerBase
*) x
));
47095 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
47096 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
47098 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
47099 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
47101 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
47102 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
47104 static void *_p_wxControlTo_p_wxWindow(void *x
) {
47105 return (void *)((wxWindow
*) ((wxControl
*) x
));
47107 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
47108 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
47110 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
47111 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
47113 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
47114 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
47116 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
47117 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47119 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
47120 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
47122 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
47123 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
47125 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
47126 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
47128 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
47129 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
47131 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
47132 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
47134 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
47135 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
47137 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
47138 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47140 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
47141 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
47143 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x
) {
47144 return (void *)((wxWindow
*) (wxControl
*) ((wxHyperlinkCtrl
*) x
));
47146 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
47147 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
47149 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
47150 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
47152 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
47153 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
47155 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
47156 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47158 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
47159 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
47161 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
47162 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
47164 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
47165 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
47167 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
47168 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
47170 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
47171 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
47173 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
47174 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
47176 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
47177 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
47179 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
47180 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
47182 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
47183 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
47185 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
47186 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
47188 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
47189 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
47191 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
47192 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
47194 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
47195 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
47197 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
47198 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47200 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
47201 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
47203 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x
) {
47204 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47206 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x
) {
47207 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47209 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x
) {
47210 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47212 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x
) {
47213 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47215 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
47216 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
47218 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47219 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47221 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47222 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47224 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47225 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47227 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47228 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47230 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47231 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47233 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
47234 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47236 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x
) {
47237 return (void *)((wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
47239 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
47240 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
47242 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x
) {
47243 return (void *)((wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
47245 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x
) {
47246 return (void *)((wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
47248 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x
) {
47249 return (void *)((wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
47251 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
47252 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
47254 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
47255 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
47257 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
47258 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47260 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
47261 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47263 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
47264 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47266 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
47267 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47269 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
47270 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47272 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
47273 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47275 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
47276 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47278 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
47279 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47281 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
47282 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
47284 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
47285 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47287 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
47288 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
47290 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
47291 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47293 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
47294 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47296 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
47297 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
47299 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
47300 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
47302 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
47303 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47305 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
47306 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47308 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
47309 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47311 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
47312 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
47314 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
47315 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
47317 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
47318 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
47320 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
47321 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
47323 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
47324 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
47325 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};
47326 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
47327 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
47328 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
47329 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
47330 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
47331 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
47332 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
47333 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
47334 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
47335 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
47336 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
47337 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
47338 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
47339 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
47340 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
47341 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
47342 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
47343 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
47344 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
47345 static swig_type_info _swigt__p_wxColourPickerCtrl
= {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
47346 static swig_type_info _swigt__p_wxColourPickerEvent
= {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
47347 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
47348 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
47349 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
47350 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
47351 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
47352 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
47353 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
47354 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
47355 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
47356 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
47357 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
47358 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
47359 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
47360 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
47361 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
47362 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
47363 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
47364 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
47365 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
47366 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
47367 static swig_type_info _swigt__p_wxDirPickerCtrl
= {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
47368 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
47369 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
47370 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
47371 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
47372 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
47373 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
47374 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
47375 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
47376 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
47377 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
47378 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
47379 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
47380 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
47381 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
47382 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
47383 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
47384 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
47385 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
47386 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
47387 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
47388 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
47389 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
47390 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
47391 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
47392 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
47393 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
47394 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
47395 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
47396 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
47397 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
47398 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
47399 static swig_type_info _swigt__p_wxFileDirPickerEvent
= {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
47400 static swig_type_info _swigt__p_wxFilePickerCtrl
= {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
47401 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
47402 static swig_type_info _swigt__p_wxFontPickerCtrl
= {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
47403 static swig_type_info _swigt__p_wxFontPickerEvent
= {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
47404 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
47405 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
47406 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
47407 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
47408 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
47409 static swig_type_info _swigt__p_wxHyperlinkCtrl
= {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
47410 static swig_type_info _swigt__p_wxHyperlinkEvent
= {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
47411 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
47412 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
47413 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
47414 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
47415 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
47416 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
47417 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
47418 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
47419 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
47420 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
47421 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
47422 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
47423 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
47424 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
47425 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
47426 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
47427 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
47428 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
47429 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
47430 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
47431 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
47432 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
47433 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
47434 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
47435 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
47436 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
47437 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
47438 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
47439 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
47440 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
47441 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
47442 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
47443 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
47444 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
47445 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
47446 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
47447 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
47448 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
47449 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
47450 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
47451 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
47452 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
47453 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
47454 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
47455 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
47456 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
47457 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
47458 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
47459 static swig_type_info _swigt__p_wxPickerBase
= {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
47460 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
47461 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
47462 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
47463 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
47464 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
47465 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
47466 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
47467 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
47468 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
47469 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
47470 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
47471 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
47472 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
47473 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
47474 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
47475 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
47476 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
47477 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
47478 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
47479 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
47480 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
47481 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
47482 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
47483 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
47484 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
47485 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
47486 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
47487 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
47488 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
47489 static swig_type_info _swigt__p_wxTreeCtrl
= {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, (void*)0, 0};
47490 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
47491 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
47492 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
47493 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
47494 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
47495 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
47496 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
47497 static swig_type_info _swigt__p_wxWindowBase
= {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
47499 static swig_type_info
*swig_type_initial
[] = {
47502 &_swigt__p_form_ops_t
,
47505 &_swigt__p_unsigned_char
,
47506 &_swigt__p_unsigned_int
,
47507 &_swigt__p_unsigned_long
,
47509 &_swigt__p_wxANIHandler
,
47510 &_swigt__p_wxAcceleratorTable
,
47511 &_swigt__p_wxActivateEvent
,
47512 &_swigt__p_wxArrayInt
,
47513 &_swigt__p_wxArrayString
,
47514 &_swigt__p_wxBMPHandler
,
47515 &_swigt__p_wxBitmap
,
47516 &_swigt__p_wxBitmapButton
,
47517 &_swigt__p_wxBookCtrlBase
,
47518 &_swigt__p_wxBookCtrlBaseEvent
,
47519 &_swigt__p_wxBoxSizer
,
47520 &_swigt__p_wxButton
,
47521 &_swigt__p_wxCURHandler
,
47522 &_swigt__p_wxCheckBox
,
47523 &_swigt__p_wxCheckListBox
,
47524 &_swigt__p_wxChildFocusEvent
,
47525 &_swigt__p_wxChoice
,
47526 &_swigt__p_wxChoicebook
,
47527 &_swigt__p_wxChoicebookEvent
,
47528 &_swigt__p_wxClipboardTextEvent
,
47529 &_swigt__p_wxCloseEvent
,
47530 &_swigt__p_wxColour
,
47531 &_swigt__p_wxColourPickerCtrl
,
47532 &_swigt__p_wxColourPickerEvent
,
47533 &_swigt__p_wxComboBox
,
47534 &_swigt__p_wxCommandEvent
,
47535 &_swigt__p_wxContextHelp
,
47536 &_swigt__p_wxContextHelpButton
,
47537 &_swigt__p_wxContextMenuEvent
,
47538 &_swigt__p_wxControl
,
47539 &_swigt__p_wxControlWithItems
,
47540 &_swigt__p_wxCursor
,
47542 &_swigt__p_wxDateEvent
,
47543 &_swigt__p_wxDatePickerCtrl
,
47544 &_swigt__p_wxDateTime
,
47545 &_swigt__p_wxDirFilterListCtrl
,
47546 &_swigt__p_wxDirPickerCtrl
,
47547 &_swigt__p_wxDisplayChangedEvent
,
47548 &_swigt__p_wxDropFilesEvent
,
47549 &_swigt__p_wxDuplexMode
,
47550 &_swigt__p_wxEraseEvent
,
47551 &_swigt__p_wxEvent
,
47552 &_swigt__p_wxEvtHandler
,
47553 &_swigt__p_wxFSFile
,
47554 &_swigt__p_wxFileDirPickerEvent
,
47555 &_swigt__p_wxFilePickerCtrl
,
47556 &_swigt__p_wxFileSystem
,
47557 &_swigt__p_wxFlexGridSizer
,
47558 &_swigt__p_wxFocusEvent
,
47560 &_swigt__p_wxFontPickerCtrl
,
47561 &_swigt__p_wxFontPickerEvent
,
47562 &_swigt__p_wxGBSizerItem
,
47563 &_swigt__p_wxGIFHandler
,
47564 &_swigt__p_wxGauge
,
47565 &_swigt__p_wxGenericDirCtrl
,
47566 &_swigt__p_wxGenericDragImage
,
47567 &_swigt__p_wxGridBagSizer
,
47568 &_swigt__p_wxGridSizer
,
47569 &_swigt__p_wxHelpEvent
,
47570 &_swigt__p_wxHelpProvider
,
47571 &_swigt__p_wxHyperlinkCtrl
,
47572 &_swigt__p_wxHyperlinkEvent
,
47573 &_swigt__p_wxICOHandler
,
47575 &_swigt__p_wxIconizeEvent
,
47576 &_swigt__p_wxIdleEvent
,
47577 &_swigt__p_wxImage
,
47578 &_swigt__p_wxImageHandler
,
47579 &_swigt__p_wxImageList
,
47580 &_swigt__p_wxIndividualLayoutConstraint
,
47581 &_swigt__p_wxInitDialogEvent
,
47582 &_swigt__p_wxItemContainer
,
47583 &_swigt__p_wxJPEGHandler
,
47584 &_swigt__p_wxKeyEvent
,
47585 &_swigt__p_wxLayoutConstraints
,
47586 &_swigt__p_wxListBox
,
47587 &_swigt__p_wxListEvent
,
47588 &_swigt__p_wxListItem
,
47589 &_swigt__p_wxListItemAttr
,
47590 &_swigt__p_wxListView
,
47591 &_swigt__p_wxListbook
,
47592 &_swigt__p_wxListbookEvent
,
47593 &_swigt__p_wxMaximizeEvent
,
47594 &_swigt__p_wxMemoryDC
,
47596 &_swigt__p_wxMenuBar
,
47597 &_swigt__p_wxMenuEvent
,
47598 &_swigt__p_wxMenuItem
,
47599 &_swigt__p_wxMouseCaptureChangedEvent
,
47600 &_swigt__p_wxMouseEvent
,
47601 &_swigt__p_wxMoveEvent
,
47602 &_swigt__p_wxNavigationKeyEvent
,
47603 &_swigt__p_wxNcPaintEvent
,
47604 &_swigt__p_wxNotebook
,
47605 &_swigt__p_wxNotebookEvent
,
47606 &_swigt__p_wxNotifyEvent
,
47607 &_swigt__p_wxObject
,
47608 &_swigt__p_wxPCXHandler
,
47609 &_swigt__p_wxPNGHandler
,
47610 &_swigt__p_wxPNMHandler
,
47611 &_swigt__p_wxPaintEvent
,
47612 &_swigt__p_wxPaletteChangedEvent
,
47613 &_swigt__p_wxPaperSize
,
47614 &_swigt__p_wxPickerBase
,
47615 &_swigt__p_wxPoint
,
47616 &_swigt__p_wxPyApp
,
47617 &_swigt__p_wxPyCommandEvent
,
47618 &_swigt__p_wxPyControl
,
47619 &_swigt__p_wxPyEvent
,
47620 &_swigt__p_wxPyImageHandler
,
47621 &_swigt__p_wxPyListCtrl
,
47622 &_swigt__p_wxPySizer
,
47623 &_swigt__p_wxPyTreeCtrl
,
47624 &_swigt__p_wxPyTreeItemData
,
47625 &_swigt__p_wxPyValidator
,
47626 &_swigt__p_wxQueryNewPaletteEvent
,
47627 &_swigt__p_wxRadioBox
,
47628 &_swigt__p_wxRadioButton
,
47630 &_swigt__p_wxScrollBar
,
47631 &_swigt__p_wxScrollEvent
,
47632 &_swigt__p_wxScrollWinEvent
,
47633 &_swigt__p_wxSetCursorEvent
,
47634 &_swigt__p_wxShowEvent
,
47635 &_swigt__p_wxSimpleHelpProvider
,
47637 &_swigt__p_wxSizeEvent
,
47638 &_swigt__p_wxSizer
,
47639 &_swigt__p_wxSizerItem
,
47640 &_swigt__p_wxSlider
,
47641 &_swigt__p_wxSpinButton
,
47642 &_swigt__p_wxSpinCtrl
,
47643 &_swigt__p_wxSpinEvent
,
47644 &_swigt__p_wxStaticBitmap
,
47645 &_swigt__p_wxStaticBox
,
47646 &_swigt__p_wxStaticBoxSizer
,
47647 &_swigt__p_wxStaticLine
,
47648 &_swigt__p_wxStaticText
,
47649 &_swigt__p_wxStdDialogButtonSizer
,
47650 &_swigt__p_wxString
,
47651 &_swigt__p_wxSysColourChangedEvent
,
47652 &_swigt__p_wxTIFFHandler
,
47653 &_swigt__p_wxTextAttr
,
47654 &_swigt__p_wxTextCtrl
,
47655 &_swigt__p_wxTextUrlEvent
,
47656 &_swigt__p_wxToggleButton
,
47657 &_swigt__p_wxToolBar
,
47658 &_swigt__p_wxToolBarBase
,
47659 &_swigt__p_wxToolBarToolBase
,
47660 &_swigt__p_wxToolbook
,
47661 &_swigt__p_wxToolbookEvent
,
47662 &_swigt__p_wxTreeCtrl
,
47663 &_swigt__p_wxTreeEvent
,
47664 &_swigt__p_wxTreeItemId
,
47665 &_swigt__p_wxTreebook
,
47666 &_swigt__p_wxTreebookEvent
,
47667 &_swigt__p_wxUpdateUIEvent
,
47668 &_swigt__p_wxValidator
,
47669 &_swigt__p_wxVisualAttributes
,
47670 &_swigt__p_wxWindow
,
47671 &_swigt__p_wxWindowBase
,
47672 &_swigt__p_wxWindowCreateEvent
,
47673 &_swigt__p_wxWindowDestroyEvent
,
47674 &_swigt__p_wxXPMHandler
,
47677 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
47678 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
47679 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
47680 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
47681 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
47682 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
47683 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
47684 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
47685 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
47686 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
47687 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
47688 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
47689 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}};
47690 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}};
47691 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}};
47692 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}};
47693 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
47694 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
47695 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}};
47696 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
47697 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47698 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
47699 static swig_cast_info _swigc__p_wxColourPickerCtrl
[] = { {&_swigt__p_wxColourPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47700 static swig_cast_info _swigc__p_wxColourPickerEvent
[] = { {&_swigt__p_wxColourPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
47701 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
47702 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
47703 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
47704 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
47705 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
47706 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
47707 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
47708 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
47709 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
47710 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
47711 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0},{0, 0, 0, 0}};
47712 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
47713 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
47714 static swig_cast_info _swigc__p_wxControl
[] = { {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxControl
, 0, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxControl
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxControl
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxControl
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxControl
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxControl
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxControl
, 0, 0},{0, 0, 0, 0}};
47715 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}};
47716 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
47717 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
47718 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47719 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
47720 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47721 static swig_cast_info _swigc__p_wxDirPickerCtrl
[] = { {&_swigt__p_wxDirPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47722 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
47723 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
47724 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
47725 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
47726 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
47727 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
47728 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
47729 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
47730 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
47731 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
47732 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
47733 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
47734 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
47735 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
47736 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
47737 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
47738 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
47739 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
47740 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
47741 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
47742 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
47743 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
47744 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
47745 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
47746 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
47747 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
47748 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
47749 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
47750 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
47751 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
47752 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
47753 static swig_cast_info _swigc__p_wxFileDirPickerEvent
[] = { {&_swigt__p_wxFileDirPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
47754 static swig_cast_info _swigc__p_wxFilePickerCtrl
[] = { {&_swigt__p_wxFilePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47755 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
47756 static swig_cast_info _swigc__p_wxFontPickerCtrl
[] = { {&_swigt__p_wxFontPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47757 static swig_cast_info _swigc__p_wxFontPickerEvent
[] = { {&_swigt__p_wxFontPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
47758 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
47759 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47760 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
47761 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
47762 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}};
47763 static swig_cast_info _swigc__p_wxHyperlinkCtrl
[] = { {&_swigt__p_wxHyperlinkCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47764 static swig_cast_info _swigc__p_wxHyperlinkEvent
[] = { {&_swigt__p_wxHyperlinkEvent
, 0, 0, 0},{0, 0, 0, 0}};
47765 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
47766 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
47767 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}};
47768 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
47769 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}};
47770 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
47771 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
47772 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
47773 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
47774 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
47775 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47776 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
47777 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
47778 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
47779 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47780 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}};
47781 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
47782 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
47783 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
47784 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
47785 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
47786 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
47787 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
47788 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
47789 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
47790 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
47791 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
47792 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
47793 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
47794 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
47795 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
47796 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
47797 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
47798 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
47799 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
47800 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
47801 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
47802 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
47803 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
47804 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
47805 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
47806 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
47807 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
47808 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
47809 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
47810 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
47811 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelp
, _p_wxContextHelpTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListItem
, _p_wxListItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDragImage
, _p_wxGenericDragImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarToolBase
, _p_wxToolBarToolBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
47812 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
47813 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}};
47814 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
47815 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
47816 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}};
47817 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47818 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
47819 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
47820 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
47821 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
47822 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
47823 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
47824 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
47825 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
47826 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
47827 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47828 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
47829 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
47830 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
47831 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
47832 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
47833 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
47834 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
47835 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47836 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
47837 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
47838 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
47839 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}};
47840 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
47841 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
47842 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47843 static swig_cast_info _swigc__p_wxTreeCtrl
[] = { {&_swigt__p_wxTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47844 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
47845 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
47846 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
47847 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47848 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}};
47849 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
47850 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
47851 static swig_cast_info _swigc__p_wxWindowBase
[] = { {&_swigt__p_wxWindowBase
, 0, 0, 0},{0, 0, 0, 0}};
47853 static swig_cast_info
*swig_cast_initial
[] = {
47856 _swigc__p_form_ops_t
,
47859 _swigc__p_unsigned_char
,
47860 _swigc__p_unsigned_int
,
47861 _swigc__p_unsigned_long
,
47863 _swigc__p_wxANIHandler
,
47864 _swigc__p_wxAcceleratorTable
,
47865 _swigc__p_wxActivateEvent
,
47866 _swigc__p_wxArrayInt
,
47867 _swigc__p_wxArrayString
,
47868 _swigc__p_wxBMPHandler
,
47869 _swigc__p_wxBitmap
,
47870 _swigc__p_wxBitmapButton
,
47871 _swigc__p_wxBookCtrlBase
,
47872 _swigc__p_wxBookCtrlBaseEvent
,
47873 _swigc__p_wxBoxSizer
,
47874 _swigc__p_wxButton
,
47875 _swigc__p_wxCURHandler
,
47876 _swigc__p_wxCheckBox
,
47877 _swigc__p_wxCheckListBox
,
47878 _swigc__p_wxChildFocusEvent
,
47879 _swigc__p_wxChoice
,
47880 _swigc__p_wxChoicebook
,
47881 _swigc__p_wxChoicebookEvent
,
47882 _swigc__p_wxClipboardTextEvent
,
47883 _swigc__p_wxCloseEvent
,
47884 _swigc__p_wxColour
,
47885 _swigc__p_wxColourPickerCtrl
,
47886 _swigc__p_wxColourPickerEvent
,
47887 _swigc__p_wxComboBox
,
47888 _swigc__p_wxCommandEvent
,
47889 _swigc__p_wxContextHelp
,
47890 _swigc__p_wxContextHelpButton
,
47891 _swigc__p_wxContextMenuEvent
,
47892 _swigc__p_wxControl
,
47893 _swigc__p_wxControlWithItems
,
47894 _swigc__p_wxCursor
,
47896 _swigc__p_wxDateEvent
,
47897 _swigc__p_wxDatePickerCtrl
,
47898 _swigc__p_wxDateTime
,
47899 _swigc__p_wxDirFilterListCtrl
,
47900 _swigc__p_wxDirPickerCtrl
,
47901 _swigc__p_wxDisplayChangedEvent
,
47902 _swigc__p_wxDropFilesEvent
,
47903 _swigc__p_wxDuplexMode
,
47904 _swigc__p_wxEraseEvent
,
47906 _swigc__p_wxEvtHandler
,
47907 _swigc__p_wxFSFile
,
47908 _swigc__p_wxFileDirPickerEvent
,
47909 _swigc__p_wxFilePickerCtrl
,
47910 _swigc__p_wxFileSystem
,
47911 _swigc__p_wxFlexGridSizer
,
47912 _swigc__p_wxFocusEvent
,
47914 _swigc__p_wxFontPickerCtrl
,
47915 _swigc__p_wxFontPickerEvent
,
47916 _swigc__p_wxGBSizerItem
,
47917 _swigc__p_wxGIFHandler
,
47919 _swigc__p_wxGenericDirCtrl
,
47920 _swigc__p_wxGenericDragImage
,
47921 _swigc__p_wxGridBagSizer
,
47922 _swigc__p_wxGridSizer
,
47923 _swigc__p_wxHelpEvent
,
47924 _swigc__p_wxHelpProvider
,
47925 _swigc__p_wxHyperlinkCtrl
,
47926 _swigc__p_wxHyperlinkEvent
,
47927 _swigc__p_wxICOHandler
,
47929 _swigc__p_wxIconizeEvent
,
47930 _swigc__p_wxIdleEvent
,
47932 _swigc__p_wxImageHandler
,
47933 _swigc__p_wxImageList
,
47934 _swigc__p_wxIndividualLayoutConstraint
,
47935 _swigc__p_wxInitDialogEvent
,
47936 _swigc__p_wxItemContainer
,
47937 _swigc__p_wxJPEGHandler
,
47938 _swigc__p_wxKeyEvent
,
47939 _swigc__p_wxLayoutConstraints
,
47940 _swigc__p_wxListBox
,
47941 _swigc__p_wxListEvent
,
47942 _swigc__p_wxListItem
,
47943 _swigc__p_wxListItemAttr
,
47944 _swigc__p_wxListView
,
47945 _swigc__p_wxListbook
,
47946 _swigc__p_wxListbookEvent
,
47947 _swigc__p_wxMaximizeEvent
,
47948 _swigc__p_wxMemoryDC
,
47950 _swigc__p_wxMenuBar
,
47951 _swigc__p_wxMenuEvent
,
47952 _swigc__p_wxMenuItem
,
47953 _swigc__p_wxMouseCaptureChangedEvent
,
47954 _swigc__p_wxMouseEvent
,
47955 _swigc__p_wxMoveEvent
,
47956 _swigc__p_wxNavigationKeyEvent
,
47957 _swigc__p_wxNcPaintEvent
,
47958 _swigc__p_wxNotebook
,
47959 _swigc__p_wxNotebookEvent
,
47960 _swigc__p_wxNotifyEvent
,
47961 _swigc__p_wxObject
,
47962 _swigc__p_wxPCXHandler
,
47963 _swigc__p_wxPNGHandler
,
47964 _swigc__p_wxPNMHandler
,
47965 _swigc__p_wxPaintEvent
,
47966 _swigc__p_wxPaletteChangedEvent
,
47967 _swigc__p_wxPaperSize
,
47968 _swigc__p_wxPickerBase
,
47971 _swigc__p_wxPyCommandEvent
,
47972 _swigc__p_wxPyControl
,
47973 _swigc__p_wxPyEvent
,
47974 _swigc__p_wxPyImageHandler
,
47975 _swigc__p_wxPyListCtrl
,
47976 _swigc__p_wxPySizer
,
47977 _swigc__p_wxPyTreeCtrl
,
47978 _swigc__p_wxPyTreeItemData
,
47979 _swigc__p_wxPyValidator
,
47980 _swigc__p_wxQueryNewPaletteEvent
,
47981 _swigc__p_wxRadioBox
,
47982 _swigc__p_wxRadioButton
,
47984 _swigc__p_wxScrollBar
,
47985 _swigc__p_wxScrollEvent
,
47986 _swigc__p_wxScrollWinEvent
,
47987 _swigc__p_wxSetCursorEvent
,
47988 _swigc__p_wxShowEvent
,
47989 _swigc__p_wxSimpleHelpProvider
,
47991 _swigc__p_wxSizeEvent
,
47993 _swigc__p_wxSizerItem
,
47994 _swigc__p_wxSlider
,
47995 _swigc__p_wxSpinButton
,
47996 _swigc__p_wxSpinCtrl
,
47997 _swigc__p_wxSpinEvent
,
47998 _swigc__p_wxStaticBitmap
,
47999 _swigc__p_wxStaticBox
,
48000 _swigc__p_wxStaticBoxSizer
,
48001 _swigc__p_wxStaticLine
,
48002 _swigc__p_wxStaticText
,
48003 _swigc__p_wxStdDialogButtonSizer
,
48004 _swigc__p_wxString
,
48005 _swigc__p_wxSysColourChangedEvent
,
48006 _swigc__p_wxTIFFHandler
,
48007 _swigc__p_wxTextAttr
,
48008 _swigc__p_wxTextCtrl
,
48009 _swigc__p_wxTextUrlEvent
,
48010 _swigc__p_wxToggleButton
,
48011 _swigc__p_wxToolBar
,
48012 _swigc__p_wxToolBarBase
,
48013 _swigc__p_wxToolBarToolBase
,
48014 _swigc__p_wxToolbook
,
48015 _swigc__p_wxToolbookEvent
,
48016 _swigc__p_wxTreeCtrl
,
48017 _swigc__p_wxTreeEvent
,
48018 _swigc__p_wxTreeItemId
,
48019 _swigc__p_wxTreebook
,
48020 _swigc__p_wxTreebookEvent
,
48021 _swigc__p_wxUpdateUIEvent
,
48022 _swigc__p_wxValidator
,
48023 _swigc__p_wxVisualAttributes
,
48024 _swigc__p_wxWindow
,
48025 _swigc__p_wxWindowBase
,
48026 _swigc__p_wxWindowCreateEvent
,
48027 _swigc__p_wxWindowDestroyEvent
,
48028 _swigc__p_wxXPMHandler
,
48032 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
48034 static swig_const_info swig_const_table
[] = {
48035 {0, 0, 0, 0.0, 0, 0}};
48040 /* -----------------------------------------------------------------------------
48041 * Type initialization:
48042 * This problem is tough by the requirement that no dynamic
48043 * memory is used. Also, since swig_type_info structures store pointers to
48044 * swig_cast_info structures and swig_cast_info structures store pointers back
48045 * to swig_type_info structures, we need some lookup code at initialization.
48046 * The idea is that swig generates all the structures that are needed.
48047 * The runtime then collects these partially filled structures.
48048 * The SWIG_InitializeModule function takes these initial arrays out of
48049 * swig_module, and does all the lookup, filling in the swig_module.types
48050 * array with the correct data and linking the correct swig_cast_info
48051 * structures together.
48053 * The generated swig_type_info structures are assigned staticly to an initial
48054 * array. We just loop though that array, and handle each type individually.
48055 * First we lookup if this type has been already loaded, and if so, use the
48056 * loaded structure instead of the generated one. Then we have to fill in the
48057 * cast linked list. The cast data is initially stored in something like a
48058 * two-dimensional array. Each row corresponds to a type (there are the same
48059 * number of rows as there are in the swig_type_initial array). Each entry in
48060 * a column is one of the swig_cast_info structures for that type.
48061 * The cast_initial array is actually an array of arrays, because each row has
48062 * a variable number of columns. So to actually build the cast linked list,
48063 * we find the array of casts associated with the type, and loop through it
48064 * adding the casts to the list. The one last trick we need to do is making
48065 * sure the type pointer in the swig_cast_info struct is correct.
48067 * First off, we lookup the cast->type name to see if it is already loaded.
48068 * There are three cases to handle:
48069 * 1) If the cast->type has already been loaded AND the type we are adding
48070 * casting info to has not been loaded (it is in this module), THEN we
48071 * replace the cast->type pointer with the type pointer that has already
48073 * 2) If BOTH types (the one we are adding casting info to, and the
48074 * cast->type) are loaded, THEN the cast info has already been loaded by
48075 * the previous module so we just ignore it.
48076 * 3) Finally, if cast->type has not already been loaded, then we add that
48077 * swig_cast_info to the linked list (because the cast->type) pointer will
48079 * ----------------------------------------------------------------------------- */
48089 #define SWIGRUNTIME_DEBUG
48093 SWIG_InitializeModule(void *clientdata
) {
48095 swig_module_info
*module_head
;
48096 static int init_run
= 0;
48098 clientdata
= clientdata
;
48100 if (init_run
) return;
48103 /* Initialize the swig_module */
48104 swig_module
.type_initial
= swig_type_initial
;
48105 swig_module
.cast_initial
= swig_cast_initial
;
48107 /* Try and load any already created modules */
48108 module_head
= SWIG_GetModule(clientdata
);
48110 swig_module
.next
= module_head
->next
;
48111 module_head
->next
= &swig_module
;
48113 /* This is the first module loaded */
48114 swig_module
.next
= &swig_module
;
48115 SWIG_SetModule(clientdata
, &swig_module
);
48118 /* Now work on filling in swig_module.types */
48119 #ifdef SWIGRUNTIME_DEBUG
48120 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
48122 for (i
= 0; i
< swig_module
.size
; ++i
) {
48123 swig_type_info
*type
= 0;
48124 swig_type_info
*ret
;
48125 swig_cast_info
*cast
;
48127 #ifdef SWIGRUNTIME_DEBUG
48128 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
48131 /* if there is another module already loaded */
48132 if (swig_module
.next
!= &swig_module
) {
48133 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
48136 /* Overwrite clientdata field */
48137 #ifdef SWIGRUNTIME_DEBUG
48138 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
48140 if (swig_module
.type_initial
[i
]->clientdata
) {
48141 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
48142 #ifdef SWIGRUNTIME_DEBUG
48143 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
48147 type
= swig_module
.type_initial
[i
];
48150 /* Insert casting types */
48151 cast
= swig_module
.cast_initial
[i
];
48152 while (cast
->type
) {
48153 /* Don't need to add information already in the list */
48155 #ifdef SWIGRUNTIME_DEBUG
48156 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
48158 if (swig_module
.next
!= &swig_module
) {
48159 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
48160 #ifdef SWIGRUNTIME_DEBUG
48161 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
48165 if (type
== swig_module
.type_initial
[i
]) {
48166 #ifdef SWIGRUNTIME_DEBUG
48167 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
48172 /* Check for casting already in the list */
48173 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
48174 #ifdef SWIGRUNTIME_DEBUG
48175 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
48177 if (!ocast
) ret
= 0;
48182 #ifdef SWIGRUNTIME_DEBUG
48183 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
48186 type
->cast
->prev
= cast
;
48187 cast
->next
= type
->cast
;
48193 /* Set entry in modules->types array equal to the type */
48194 swig_module
.types
[i
] = type
;
48196 swig_module
.types
[i
] = 0;
48198 #ifdef SWIGRUNTIME_DEBUG
48199 printf("**** SWIG_InitializeModule: Cast List ******\n");
48200 for (i
= 0; i
< swig_module
.size
; ++i
) {
48202 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
48203 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
48204 while (cast
->type
) {
48205 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
48209 printf("---- Total casts: %d\n",j
);
48211 printf("**** SWIG_InitializeModule: Cast List ******\n");
48215 /* This function will propagate the clientdata field of type to
48216 * any new swig_type_info structures that have been added into the list
48217 * of equivalent types. It is like calling
48218 * SWIG_TypeClientData(type, clientdata) a second time.
48221 SWIG_PropagateClientData(void) {
48223 swig_cast_info
*equiv
;
48224 static int init_run
= 0;
48226 if (init_run
) return;
48229 for (i
= 0; i
< swig_module
.size
; i
++) {
48230 if (swig_module
.types
[i
]->clientdata
) {
48231 equiv
= swig_module
.types
[i
]->cast
;
48233 if (!equiv
->converter
) {
48234 if (equiv
->type
&& !equiv
->type
->clientdata
)
48235 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
48237 equiv
= equiv
->next
;
48257 /* Python-specific SWIG API */
48258 #define SWIG_newvarlink() SWIG_Python_newvarlink()
48259 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
48260 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
48262 /* -----------------------------------------------------------------------------
48263 * global variable support code.
48264 * ----------------------------------------------------------------------------- */
48266 typedef struct swig_globalvar
{
48267 char *name
; /* Name of global variable */
48268 PyObject
*(*get_attr
)(void); /* Return the current value */
48269 int (*set_attr
)(PyObject
*); /* Set the value */
48270 struct swig_globalvar
*next
;
48273 typedef struct swig_varlinkobject
{
48275 swig_globalvar
*vars
;
48276 } swig_varlinkobject
;
48278 SWIGINTERN PyObject
*
48279 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
48280 return PyString_FromString("<Swig global variables>");
48283 SWIGINTERN PyObject
*
48284 swig_varlink_str(swig_varlinkobject
*v
) {
48285 PyObject
*str
= PyString_FromString("(");
48286 swig_globalvar
*var
;
48287 for (var
= v
->vars
; var
; var
=var
->next
) {
48288 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
48289 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
48291 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
48296 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
48297 PyObject
*str
= swig_varlink_str(v
);
48298 fprintf(fp
,"Swig global variables ");
48299 fprintf(fp
,"%s\n", PyString_AsString(str
));
48305 swig_varlink_dealloc(swig_varlinkobject
*v
) {
48306 swig_globalvar
*var
= v
->vars
;
48308 swig_globalvar
*n
= var
->next
;
48315 SWIGINTERN PyObject
*
48316 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
48317 PyObject
*res
= NULL
;
48318 swig_globalvar
*var
= v
->vars
;
48320 if (strcmp(var
->name
,n
) == 0) {
48321 res
= (*var
->get_attr
)();
48326 if (res
== NULL
&& !PyErr_Occurred()) {
48327 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
48333 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
48335 swig_globalvar
*var
= v
->vars
;
48337 if (strcmp(var
->name
,n
) == 0) {
48338 res
= (*var
->set_attr
)(p
);
48343 if (res
== 1 && !PyErr_Occurred()) {
48344 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
48349 SWIGINTERN PyTypeObject
*
48350 swig_varlink_type(void) {
48351 static char varlink__doc__
[] = "Swig var link object";
48352 static PyTypeObject varlink_type
;
48353 static int type_init
= 0;
48355 const PyTypeObject tmp
48357 PyObject_HEAD_INIT(NULL
)
48358 0, /* Number of items in variable part (ob_size) */
48359 (char *)"swigvarlink", /* Type name (tp_name) */
48360 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
48361 0, /* Itemsize (tp_itemsize) */
48362 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
48363 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
48364 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
48365 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
48366 0, /* tp_compare */
48367 (reprfunc
) swig_varlink_repr
, /* tp_repr */
48368 0, /* tp_as_number */
48369 0, /* tp_as_sequence */
48370 0, /* tp_as_mapping */
48373 (reprfunc
)swig_varlink_str
, /* tp_str */
48374 0, /* tp_getattro */
48375 0, /* tp_setattro */
48376 0, /* tp_as_buffer */
48378 varlink__doc__
, /* tp_doc */
48379 0, /* tp_traverse */
48381 0, /* tp_richcompare */
48382 0, /* tp_weaklistoffset */
48383 #if PY_VERSION_HEX >= 0x02020000
48384 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
48386 #if PY_VERSION_HEX >= 0x02030000
48389 #ifdef COUNT_ALLOCS
48390 0,0,0,0 /* tp_alloc -> tp_next */
48393 varlink_type
= tmp
;
48394 varlink_type
.ob_type
= &PyType_Type
;
48397 return &varlink_type
;
48400 /* Create a variable linking object for use later */
48401 SWIGINTERN PyObject
*
48402 SWIG_Python_newvarlink(void) {
48403 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
48407 return ((PyObject
*) result
);
48411 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
48412 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
48413 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
48415 size_t size
= strlen(name
)+1;
48416 gv
->name
= (char *)malloc(size
);
48418 strncpy(gv
->name
,name
,size
);
48419 gv
->get_attr
= get_attr
;
48420 gv
->set_attr
= set_attr
;
48421 gv
->next
= v
->vars
;
48427 SWIGINTERN PyObject
*
48429 static PyObject
*_SWIG_globals
= 0;
48430 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
48431 return _SWIG_globals
;
48434 /* -----------------------------------------------------------------------------
48435 * constants/methods manipulation
48436 * ----------------------------------------------------------------------------- */
48438 /* Install Constants */
48440 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
48443 for (i
= 0; constants
[i
].type
; ++i
) {
48444 switch(constants
[i
].type
) {
48445 case SWIG_PY_POINTER
:
48446 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
48448 case SWIG_PY_BINARY
:
48449 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
48456 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
48462 /* -----------------------------------------------------------------------------*/
48463 /* Fix SwigMethods to carry the callback ptrs when needed */
48464 /* -----------------------------------------------------------------------------*/
48467 SWIG_Python_FixMethods(PyMethodDef
*methods
,
48468 swig_const_info
*const_table
,
48469 swig_type_info
**types
,
48470 swig_type_info
**types_initial
) {
48472 for (i
= 0; methods
[i
].ml_name
; ++i
) {
48473 const char *c
= methods
[i
].ml_doc
;
48474 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
48476 swig_const_info
*ci
= 0;
48477 const char *name
= c
+ 10;
48478 for (j
= 0; const_table
[j
].type
; ++j
) {
48479 if (strncmp(const_table
[j
].name
, name
,
48480 strlen(const_table
[j
].name
)) == 0) {
48481 ci
= &(const_table
[j
]);
48486 size_t shift
= (ci
->ptype
) - types
;
48487 swig_type_info
*ty
= types_initial
[shift
];
48488 size_t ldoc
= (c
- methods
[i
].ml_doc
);
48489 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
48490 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
48493 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
48495 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
48497 strncpy(buff
, "swig_ptr: ", 10);
48499 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
48500 methods
[i
].ml_doc
= ndoc
;
48512 /* -----------------------------------------------------------------------------*
48513 * Partial Init method
48514 * -----------------------------------------------------------------------------*/
48519 SWIGEXPORT
void SWIG_init(void) {
48522 /* Fix SwigMethods to carry the callback ptrs when needed */
48523 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
48525 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
48526 d
= PyModule_GetDict(m
);
48528 SWIG_InitializeModule(0);
48529 SWIG_InstallConstants(d
,swig_const_table
);
48532 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
48533 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
48534 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
48535 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
48536 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
48537 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
48538 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
48539 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
48540 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
48541 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
48542 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
48543 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
48544 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
48545 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
48546 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
48547 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
48548 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
48549 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
48550 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
48551 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
48552 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
48553 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
48554 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
48555 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
48556 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
48557 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
48558 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
48559 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
48560 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
48561 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
48562 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
48563 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
48564 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
48565 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
48566 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
48567 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
48568 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
48569 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
48570 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
48571 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
48572 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
48573 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
48574 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
48575 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
48576 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
48577 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
48578 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
48579 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
48580 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
48581 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
48582 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
48583 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
48584 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
48585 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
48586 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
48587 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
48588 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
48589 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
48590 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
48591 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
48592 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
48593 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
48594 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
48595 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
48596 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
48597 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
48598 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
48599 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
48600 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
48601 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
48602 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
48603 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
48604 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
48605 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
48606 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
48607 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
48608 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
48609 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
48610 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
48611 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
48612 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
48613 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
48614 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
48615 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
48616 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
48617 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
48618 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
48619 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
48620 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
48621 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
48622 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
48623 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
48624 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
48625 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
48626 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
48627 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
48628 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
48629 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
48630 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
48631 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
48632 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
48633 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
48634 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
48635 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
48636 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
48637 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
48638 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
48639 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
48640 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
48641 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
48642 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
48643 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
48644 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
48645 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
48646 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
48647 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
48648 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
48649 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
48650 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
48651 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
48652 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE
)));
48653 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
48654 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
48655 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
48656 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
48657 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
48658 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
48659 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
48660 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
48661 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
48662 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
48663 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
48664 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
48665 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
48666 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
48667 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
48668 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
48669 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
48670 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
48671 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
48672 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
48673 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
48674 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
48675 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
48676 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
48677 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
48678 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
48679 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
48680 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
48681 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
48682 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
48683 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
48684 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
48685 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
48686 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
48687 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
48688 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
48689 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
48690 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
48691 SWIG_Python_SetConstant(d
, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS
)));
48692 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
48693 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
48694 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
48695 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
48696 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
48697 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
48698 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
48699 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
48700 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
48701 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
48702 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
48703 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
48704 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
48705 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
48706 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
48707 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
48708 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
48709 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
48710 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
48711 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
48712 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
48713 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
48714 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
48715 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
48716 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
48717 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
48718 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
48719 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
48720 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
48721 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
48722 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
48723 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
48724 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
48725 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
48726 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
48727 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
48728 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
48729 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
48730 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
48731 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
48732 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
48733 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
48734 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
48735 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
48736 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
48737 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
48738 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
48739 SWIG_Python_SetConstant(d
, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM
)));
48740 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
48741 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
48742 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
48743 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
48744 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
48745 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
48746 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
48747 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
48748 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
48749 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
48750 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
48751 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
48752 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
48753 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
48754 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
48755 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
48756 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
48757 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
48758 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
48759 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
48760 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
48761 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
48762 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
48763 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
48764 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
48765 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
48766 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
48767 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
48768 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
48769 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
48770 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
48771 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
48772 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
48773 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
48774 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
48775 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
48776 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
48777 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
48778 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
48779 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
48780 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
48781 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
48783 // Map renamed classes back to their common name for OOR
48784 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
48786 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
48787 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
48788 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
48789 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
48790 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
48791 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
48792 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
48793 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
48794 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
48795 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
48796 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
48797 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
48798 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
48799 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
48800 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
48801 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
48802 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
48803 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
48804 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
48805 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
48806 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
48807 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
48808 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
48809 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
48810 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
48811 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
48812 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
48813 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
48814 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
48815 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
48816 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
48817 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
48818 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
48819 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
48820 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
48821 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
48822 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
48823 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
48824 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
48825 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
48826 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
48827 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
48828 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
48829 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
48830 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
48831 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
48832 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
48833 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
48834 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
48835 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
48836 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
48837 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
48838 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
48839 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
48840 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
48841 SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get
, NullTreeItemId_set
);
48843 // Map renamed classes back to their common name for OOR
48844 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
48845 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
48847 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
48848 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
48849 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
48850 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
48851 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
48852 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
48853 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
48854 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
48855 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
48856 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
48857 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown
)));
48858 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard
)));
48859 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton
)));
48861 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
48863 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
48864 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
48865 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
48866 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
48867 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
48868 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));
48869 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get
, HyperlinkCtrlNameStr_set
);
48870 SWIG_Python_SetConstant(d
, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU
)));
48871 SWIG_Python_SetConstant(d
, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE
)));
48872 PyDict_SetItemString(d
, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK
));
48873 SWIG_Python_SetConstant(d
, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL
)));
48874 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get
, ColourPickerCtrlNameStr_set
);
48875 SWIG_Python_SetConstant(d
, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL
)));
48876 SWIG_Python_SetConstant(d
, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL
)));
48877 SWIG_Python_SetConstant(d
, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE
)));
48878 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED
));
48879 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get
, FilePickerCtrlNameStr_set
);
48880 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
48881 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get
, DirPickerCtrlNameStr_set
);
48882 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
48883 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
48884 SWIG_Python_SetConstant(d
, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN
)));
48885 SWIG_Python_SetConstant(d
, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE
)));
48886 SWIG_Python_SetConstant(d
, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT
)));
48887 SWIG_Python_SetConstant(d
, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST
)));
48888 SWIG_Python_SetConstant(d
, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR
)));
48889 SWIG_Python_SetConstant(d
, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST
)));
48890 SWIG_Python_SetConstant(d
, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR
)));
48891 SWIG_Python_SetConstant(d
, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL
)));
48892 SWIG_Python_SetConstant(d
, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE
)));
48893 SWIG_Python_SetConstant(d
, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL
)));
48894 SWIG_Python_SetConstant(d
, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE
)));
48895 PyDict_SetItemString(d
, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED
));
48896 PyDict_SetItemString(d
, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED
));
48897 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get
, FontPickerCtrlNameStr_set
);
48898 SWIG_Python_SetConstant(d
, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL
)));
48899 SWIG_Python_SetConstant(d
, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL
)));
48900 SWIG_Python_SetConstant(d
, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL
)));
48901 SWIG_Python_SetConstant(d
, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE
)));
48902 PyDict_SetItemString(d
, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED
));