1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_long swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxArrayInt swig_types[12]
2479 #define SWIGTYPE_p_wxArrayString swig_types[13]
2480 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2481 #define SWIGTYPE_p_wxBitmap swig_types[15]
2482 #define SWIGTYPE_p_wxBitmapButton swig_types[16]
2483 #define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
2484 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxBoxSizer swig_types[19]
2486 #define SWIGTYPE_p_wxButton swig_types[20]
2487 #define SWIGTYPE_p_wxCURHandler swig_types[21]
2488 #define SWIGTYPE_p_wxCheckBox swig_types[22]
2489 #define SWIGTYPE_p_wxCheckListBox swig_types[23]
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491 #define SWIGTYPE_p_wxChoice swig_types[25]
2492 #define SWIGTYPE_p_wxChoicebook swig_types[26]
2493 #define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
2494 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[28]
2495 #define SWIGTYPE_p_wxCloseEvent swig_types[29]
2496 #define SWIGTYPE_p_wxColour swig_types[30]
2497 #define SWIGTYPE_p_wxColourPickerCtrl swig_types[31]
2498 #define SWIGTYPE_p_wxColourPickerEvent swig_types[32]
2499 #define SWIGTYPE_p_wxComboBox swig_types[33]
2500 #define SWIGTYPE_p_wxCommandEvent swig_types[34]
2501 #define SWIGTYPE_p_wxContextHelp swig_types[35]
2502 #define SWIGTYPE_p_wxContextHelpButton swig_types[36]
2503 #define SWIGTYPE_p_wxContextMenuEvent swig_types[37]
2504 #define SWIGTYPE_p_wxControl swig_types[38]
2505 #define SWIGTYPE_p_wxControlWithItems swig_types[39]
2506 #define SWIGTYPE_p_wxCursor swig_types[40]
2507 #define SWIGTYPE_p_wxDC swig_types[41]
2508 #define SWIGTYPE_p_wxDateEvent swig_types[42]
2509 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[43]
2510 #define SWIGTYPE_p_wxDateTime swig_types[44]
2511 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[45]
2512 #define SWIGTYPE_p_wxDirPickerCtrl swig_types[46]
2513 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[47]
2514 #define SWIGTYPE_p_wxDropFilesEvent swig_types[48]
2515 #define SWIGTYPE_p_wxDuplexMode swig_types[49]
2516 #define SWIGTYPE_p_wxEraseEvent swig_types[50]
2517 #define SWIGTYPE_p_wxEvent swig_types[51]
2518 #define SWIGTYPE_p_wxEvtHandler swig_types[52]
2519 #define SWIGTYPE_p_wxFSFile swig_types[53]
2520 #define SWIGTYPE_p_wxFileDirPickerEvent swig_types[54]
2521 #define SWIGTYPE_p_wxFilePickerCtrl swig_types[55]
2522 #define SWIGTYPE_p_wxFileSystem swig_types[56]
2523 #define SWIGTYPE_p_wxFlexGridSizer swig_types[57]
2524 #define SWIGTYPE_p_wxFocusEvent swig_types[58]
2525 #define SWIGTYPE_p_wxFont swig_types[59]
2526 #define SWIGTYPE_p_wxFontPickerCtrl swig_types[60]
2527 #define SWIGTYPE_p_wxFontPickerEvent swig_types[61]
2528 #define SWIGTYPE_p_wxGBSizerItem swig_types[62]
2529 #define SWIGTYPE_p_wxGIFHandler swig_types[63]
2530 #define SWIGTYPE_p_wxGauge swig_types[64]
2531 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[65]
2532 #define SWIGTYPE_p_wxGenericDragImage swig_types[66]
2533 #define SWIGTYPE_p_wxGridBagSizer swig_types[67]
2534 #define SWIGTYPE_p_wxGridSizer swig_types[68]
2535 #define SWIGTYPE_p_wxHelpEvent swig_types[69]
2536 #define SWIGTYPE_p_wxHelpProvider swig_types[70]
2537 #define SWIGTYPE_p_wxHyperlinkCtrl swig_types[71]
2538 #define SWIGTYPE_p_wxHyperlinkEvent swig_types[72]
2539 #define SWIGTYPE_p_wxICOHandler swig_types[73]
2540 #define SWIGTYPE_p_wxIcon swig_types[74]
2541 #define SWIGTYPE_p_wxIconizeEvent swig_types[75]
2542 #define SWIGTYPE_p_wxIdleEvent swig_types[76]
2543 #define SWIGTYPE_p_wxImage swig_types[77]
2544 #define SWIGTYPE_p_wxImageHandler swig_types[78]
2545 #define SWIGTYPE_p_wxImageList swig_types[79]
2546 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[80]
2547 #define SWIGTYPE_p_wxInitDialogEvent swig_types[81]
2548 #define SWIGTYPE_p_wxItemContainer swig_types[82]
2549 #define SWIGTYPE_p_wxJPEGHandler swig_types[83]
2550 #define SWIGTYPE_p_wxKeyEvent swig_types[84]
2551 #define SWIGTYPE_p_wxLayoutConstraints swig_types[85]
2552 #define SWIGTYPE_p_wxListBox swig_types[86]
2553 #define SWIGTYPE_p_wxListEvent swig_types[87]
2554 #define SWIGTYPE_p_wxListItem swig_types[88]
2555 #define SWIGTYPE_p_wxListItemAttr swig_types[89]
2556 #define SWIGTYPE_p_wxListView swig_types[90]
2557 #define SWIGTYPE_p_wxListbook swig_types[91]
2558 #define SWIGTYPE_p_wxListbookEvent swig_types[92]
2559 #define SWIGTYPE_p_wxMaximizeEvent swig_types[93]
2560 #define SWIGTYPE_p_wxMemoryDC swig_types[94]
2561 #define SWIGTYPE_p_wxMenu swig_types[95]
2562 #define SWIGTYPE_p_wxMenuBar swig_types[96]
2563 #define SWIGTYPE_p_wxMenuEvent swig_types[97]
2564 #define SWIGTYPE_p_wxMenuItem swig_types[98]
2565 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[99]
2566 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[100]
2567 #define SWIGTYPE_p_wxMouseEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMoveEvent swig_types[102]
2569 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[103]
2570 #define SWIGTYPE_p_wxNcPaintEvent swig_types[104]
2571 #define SWIGTYPE_p_wxNotebook swig_types[105]
2572 #define SWIGTYPE_p_wxNotebookEvent swig_types[106]
2573 #define SWIGTYPE_p_wxNotifyEvent swig_types[107]
2574 #define SWIGTYPE_p_wxObject swig_types[108]
2575 #define SWIGTYPE_p_wxPCXHandler swig_types[109]
2576 #define SWIGTYPE_p_wxPNGHandler swig_types[110]
2577 #define SWIGTYPE_p_wxPNMHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPaintEvent swig_types[112]
2579 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[113]
2580 #define SWIGTYPE_p_wxPaperSize swig_types[114]
2581 #define SWIGTYPE_p_wxPickerBase swig_types[115]
2582 #define SWIGTYPE_p_wxPoint swig_types[116]
2583 #define SWIGTYPE_p_wxPyApp swig_types[117]
2584 #define SWIGTYPE_p_wxPyCommandEvent swig_types[118]
2585 #define SWIGTYPE_p_wxPyControl swig_types[119]
2586 #define SWIGTYPE_p_wxPyEvent swig_types[120]
2587 #define SWIGTYPE_p_wxPyImageHandler swig_types[121]
2588 #define SWIGTYPE_p_wxPyListCtrl swig_types[122]
2589 #define SWIGTYPE_p_wxPySizer swig_types[123]
2590 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[124]
2591 #define SWIGTYPE_p_wxPyTreeItemData swig_types[125]
2592 #define SWIGTYPE_p_wxPyValidator swig_types[126]
2593 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[127]
2594 #define SWIGTYPE_p_wxRadioBox swig_types[128]
2595 #define SWIGTYPE_p_wxRadioButton swig_types[129]
2596 #define SWIGTYPE_p_wxRect swig_types[130]
2597 #define SWIGTYPE_p_wxScrollBar swig_types[131]
2598 #define SWIGTYPE_p_wxScrollEvent swig_types[132]
2599 #define SWIGTYPE_p_wxScrollWinEvent swig_types[133]
2600 #define SWIGTYPE_p_wxSetCursorEvent swig_types[134]
2601 #define SWIGTYPE_p_wxShowEvent swig_types[135]
2602 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[136]
2603 #define SWIGTYPE_p_wxSize swig_types[137]
2604 #define SWIGTYPE_p_wxSizeEvent swig_types[138]
2605 #define SWIGTYPE_p_wxSizer swig_types[139]
2606 #define SWIGTYPE_p_wxSizerItem swig_types[140]
2607 #define SWIGTYPE_p_wxSlider swig_types[141]
2608 #define SWIGTYPE_p_wxSpinButton swig_types[142]
2609 #define SWIGTYPE_p_wxSpinCtrl swig_types[143]
2610 #define SWIGTYPE_p_wxSpinEvent swig_types[144]
2611 #define SWIGTYPE_p_wxStaticBitmap swig_types[145]
2612 #define SWIGTYPE_p_wxStaticBox swig_types[146]
2613 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[147]
2614 #define SWIGTYPE_p_wxStaticLine swig_types[148]
2615 #define SWIGTYPE_p_wxStaticText swig_types[149]
2616 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[150]
2617 #define SWIGTYPE_p_wxString swig_types[151]
2618 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[152]
2619 #define SWIGTYPE_p_wxTIFFHandler swig_types[153]
2620 #define SWIGTYPE_p_wxTextAttr swig_types[154]
2621 #define SWIGTYPE_p_wxTextCtrl swig_types[155]
2622 #define SWIGTYPE_p_wxTextUrlEvent swig_types[156]
2623 #define SWIGTYPE_p_wxToggleButton swig_types[157]
2624 #define SWIGTYPE_p_wxToolBar swig_types[158]
2625 #define SWIGTYPE_p_wxToolBarBase swig_types[159]
2626 #define SWIGTYPE_p_wxToolBarToolBase swig_types[160]
2627 #define SWIGTYPE_p_wxToolbook swig_types[161]
2628 #define SWIGTYPE_p_wxToolbookEvent swig_types[162]
2629 #define SWIGTYPE_p_wxTreeEvent swig_types[163]
2630 #define SWIGTYPE_p_wxTreeItemId swig_types[164]
2631 #define SWIGTYPE_p_wxTreebook swig_types[165]
2632 #define SWIGTYPE_p_wxTreebookEvent swig_types[166]
2633 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[167]
2634 #define SWIGTYPE_p_wxValidator swig_types[168]
2635 #define SWIGTYPE_p_wxVisualAttributes swig_types[169]
2636 #define SWIGTYPE_p_wxWindow swig_types[170]
2637 #define SWIGTYPE_p_wxWindowBase swig_types[171]
2638 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[172]
2639 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[173]
2640 #define SWIGTYPE_p_wxXPMHandler swig_types[174]
2641 static swig_type_info
*swig_types
[176];
2642 static swig_module_info swig_module
= {swig_types
, 175, 0, 0, 0, 0};
2643 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2644 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2646 /* -------- TYPES TABLE (END) -------- */
2648 #if (PY_VERSION_HEX <= 0x02000000)
2649 # if !defined(SWIG_PYTHON_CLASSIC)
2650 # error "This python version requires to use swig with the '-classic' option"
2653 #if (PY_VERSION_HEX <= 0x02020000)
2654 # error "This python version requires to use swig with the '-nomodern' option"
2656 #if (PY_VERSION_HEX <= 0x02020000)
2657 # error "This python version requires to use swig with the '-nomodernargs' option"
2660 # error "This python version requires to use swig with the '-nofastunpack' option"
2663 /*-----------------------------------------------
2664 @(target):= _controls_.so
2665 ------------------------------------------------*/
2666 #define SWIG_init init_controls_
2668 #define SWIG_name "_controls_"
2670 #define SWIGVERSION 0x010329
2673 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2674 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2677 #include <stdexcept>
2681 class PyObject_ptr
{
2686 PyObject_ptr() :_obj(0)
2690 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2695 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2697 if (initial_ref
) Py_XINCREF(_obj
);
2700 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2702 Py_XINCREF(item
._obj
);
2713 operator PyObject
*() const
2718 PyObject
*operator->() const
2727 struct PyObject_var
: PyObject_ptr
{
2728 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2730 PyObject_var
& operator = (PyObject
* obj
)
2740 #include "wx/wxPython/wxPython.h"
2741 #include "wx/wxPython/pyclasses.h"
2743 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2744 static const wxString
wxPyEmptyString(wxEmptyString
);
2745 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2747 const wxArrayString wxPyEmptyStringArray
;
2749 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
2751 #define SWIG_From_long PyInt_FromLong
2754 SWIGINTERNINLINE PyObject
*
2755 SWIG_From_int (int value
)
2757 return SWIG_From_long (value
);
2763 # define LLONG_MIN LONG_LONG_MIN
2766 # define LLONG_MAX LONG_LONG_MAX
2769 # define ULLONG_MAX ULONG_LONG_MAX
2774 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2776 if (PyNumber_Check(obj
)) {
2777 if (val
) *val
= PyInt_AsLong(obj
);
2780 return SWIG_TypeError
;
2785 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2788 int res
= SWIG_AsVal_long (obj
, &v
);
2789 if (SWIG_IsOK(res
)) {
2790 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2791 return SWIG_OverflowError
;
2793 if (val
) *val
= static_cast< int >(v
);
2799 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
2802 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2804 if (obj
== Py_True
) {
2805 if (val
) *val
= true;
2807 } else if (obj
== Py_False
) {
2808 if (val
) *val
= false;
2812 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2813 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2818 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
2819 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
2820 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
2821 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
2822 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
2823 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
2825 #include <wx/checklst.h>
2827 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
2828 SWIGINTERN
void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2831 wxPyClientData
* data
= new wxPyClientData(clientData
);
2832 self
->Insert(item
, pos
, data
);
2835 self
->Insert(item
, pos
);
2839 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2842 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2843 return SWIG_TypeError
;
2846 *val
= (unsigned long)v
;
2852 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2855 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2856 if (SWIG_IsOK(res
)) {
2857 if ((v
> UINT_MAX
)) {
2858 return SWIG_OverflowError
;
2860 if (val
) *val
= static_cast< unsigned int >(v
);
2866 SWIGINTERN PyObject
*wxListBox_GetSelections(wxListBox
*self
){
2867 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2869 self
->GetSelections(lst
);
2870 PyObject
*tup
= PyTuple_New(lst
.GetCount());
2871 for (size_t i
=0; i
<lst
.GetCount(); i
++)
2873 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
2875 wxPyEndBlockThreads(blocked
);
2878 SWIGINTERN
void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2880 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2881 self
->GetItem(item
)->SetTextColour(c
);
2884 SWIGINTERN
void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2886 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2887 self
->GetItem(item
)->SetBackgroundColour(c
);
2890 SWIGINTERN
void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
2892 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2893 self
->GetItem(item
)->SetFont(f
);
2896 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
2897 SWIGINTERN
void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
2898 self
->AppendText(text
);
2900 SWIGINTERN wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
2901 return self
->GetValue().Mid(from
, to
- from
);
2903 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
2904 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
2905 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2906 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
2907 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
2909 SWIGINTERNINLINE PyObject
*
2910 SWIG_From_unsigned_SS_long (unsigned long value
)
2912 return (value
> LONG_MAX
) ?
2913 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2917 SWIGINTERNINLINE PyObject
*
2918 SWIG_From_size_t (size_t value
)
2920 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2924 SWIGINTERNINLINE PyObject
*
2925 SWIG_From_unsigned_SS_int (unsigned int value
)
2927 return SWIG_From_unsigned_SS_long (value
);
2931 #include <wx/slider.h>
2934 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
2935 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
2937 #if !wxUSE_TOGGLEBTN
2938 // implement dummy items for platforms that don't have this class
2940 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2942 class wxToggleButton
: public wxControl
2945 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
2946 const wxPoint
&, const wxSize
&, long,
2947 const wxValidator
&, const wxString
&)
2948 { wxPyRaiseNotImplemented(); }
2951 { wxPyRaiseNotImplemented(); }
2955 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
2957 SWIGINTERNINLINE
int
2958 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2961 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2962 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2966 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2967 SWIGINTERN PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2968 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2970 Py_INCREF(udata
->m_obj
);
2971 return udata
->m_obj
;
2977 SWIGINTERN
void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2978 self
->SetClientData(new wxPyUserData(clientData
));
2980 SWIGINTERN wxToolBarToolBase
*wxToolBarBase_DoAddTool(wxToolBarBase
*self
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
2981 wxPyUserData
* udata
= NULL
;
2982 if (clientData
&& clientData
!= Py_None
)
2983 udata
= new wxPyUserData(clientData
);
2984 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2985 shortHelp
, longHelp
, udata
);
2987 SWIGINTERN wxToolBarToolBase
*wxToolBarBase_DoInsertTool(wxToolBarBase
*self
,size_t pos
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
2988 wxPyUserData
* udata
= NULL
;
2989 if (clientData
&& clientData
!= Py_None
)
2990 udata
= new wxPyUserData(clientData
);
2991 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2992 shortHelp
, longHelp
, udata
);
2994 SWIGINTERN PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
2995 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
2997 Py_INCREF(udata
->m_obj
);
2998 return udata
->m_obj
;
3004 SWIGINTERN
void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
3005 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
3008 #include <wx/listctrl.h>
3010 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
3011 SWIGINTERN
void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
3012 // Python aware sorting function for wxPyListCtrl
3013 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
3015 PyObject
* func
= (PyObject
*)funcPtr
;
3016 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3018 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
3019 PyObject
* result
= PyEval_CallObject(func
, args
);
3022 retval
= PyInt_AsLong(result
);
3026 wxPyEndBlockThreads(blocked
);
3030 // C++ Version of a Python aware class
3031 class wxPyListCtrl
: public wxListCtrl
{
3032 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
3034 wxPyListCtrl() : wxListCtrl() {}
3035 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
3039 const wxValidator
& validator
,
3040 const wxString
& name
) :
3041 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3043 bool Create(wxWindow
* parent
, wxWindowID id
,
3047 const wxValidator
& validator
,
3048 const wxString
& name
) {
3049 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3052 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
3053 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
3055 // use the virtual version to avoid a confusing assert in the base class
3056 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
3057 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
3062 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
3064 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
3065 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
3066 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
3067 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
3070 SWIGINTERN wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
3072 item
.SetMask( wxLIST_MASK_STATE
|
3080 if (self
->GetColumn(col
, item
))
3081 return new wxListItem(item
);
3085 SWIGINTERN wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
3086 wxListItem
* info
= new wxListItem
;
3087 info
->m_itemId
= itemId
;
3089 info
->m_mask
= 0xFFFF;
3090 self
->GetItem(*info
);
3093 SWIGINTERN wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
3095 self
->GetItemPosition(item
, pos
);
3098 SWIGINTERN wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
3100 self
->GetItemRect(item
, rect
, code
);
3103 SWIGINTERN
bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
3104 if (!PyCallable_Check(func
))
3106 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
3108 SWIGINTERN wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
3116 #include <wx/treectrl.h>
3117 #include "wx/wxPython/pytree.h"
3119 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3120 SWIGINTERN
bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
3121 SWIGINTERN
bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
3122 SWIGINTERN
void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
3124 static wxTreeItemId wxNullTreeItemId
;
3126 // C++ version of Python aware wxTreeCtrl
3127 class wxPyTreeCtrl
: public wxTreeCtrl
{
3128 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3130 wxPyTreeCtrl() : wxTreeCtrl() {}
3131 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3135 const wxValidator
& validator
,
3136 const wxString
& name
) :
3137 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3139 bool Create(wxWindow
*parent
, wxWindowID id
,
3143 const wxValidator
& validator
,
3144 const wxString
& name
) {
3145 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3149 int OnCompareItems(const wxTreeItemId
& item1
,
3150 const wxTreeItemId
& item2
) {
3153 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3154 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3155 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3156 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3157 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3161 wxPyEndBlockThreads(blocked
);
3163 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3169 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
3172 SWIGINTERN wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3173 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3175 data
= new wxPyTreeItemData();
3176 data
->SetId(item
); // set the id
3177 self
->SetItemData(item
, data
);
3181 SWIGINTERN PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3182 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3184 data
= new wxPyTreeItemData();
3185 data
->SetId(item
); // set the id
3186 self
->SetItemData(item
, data
);
3188 return data
->GetData();
3190 SWIGINTERN
void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3191 data
->SetId(item
); // set the id
3192 self
->SetItemData(item
, data
);
3194 SWIGINTERN
void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3195 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3197 data
= new wxPyTreeItemData(obj
);
3198 data
->SetId(item
); // set the id
3199 self
->SetItemData(item
, data
);
3203 SWIGINTERN PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
3204 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3205 PyObject
* rval
= PyList_New(0);
3206 wxArrayTreeItemIds array
;
3208 num
= self
->GetSelections(array
);
3209 for (x
=0; x
< num
; x
++) {
3210 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3211 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3212 PyList_Append(rval
, item
);
3215 wxPyEndBlockThreads(blocked
);
3218 SWIGINTERN PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3220 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3221 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3222 PyObject
* tup
= PyTuple_New(2);
3223 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3224 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3225 wxPyEndBlockThreads(blocked
);
3228 SWIGINTERN PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3229 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3230 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3231 PyObject
* tup
= PyTuple_New(2);
3232 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3233 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3234 wxPyEndBlockThreads(blocked
);
3237 SWIGINTERN PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3239 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3240 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3241 wxRect
* r
= new wxRect(rect
);
3242 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
3243 wxPyEndBlockThreads(blocked
);
3249 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
3251 SWIGINTERNINLINE PyObject
*
3252 SWIG_From_bool (bool value
)
3254 return PyBool_FromLong(value
? 1 : 0);
3257 // C++ version of Python aware wxControl
3258 class wxPyControl
: public wxControl
3260 DECLARE_DYNAMIC_CLASS(wxPyControl
)
3262 wxPyControl() : wxControl() {}
3263 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
3264 const wxPoint
& pos
= wxDefaultPosition
,
3265 const wxSize
& size
= wxDefaultSize
,
3267 const wxValidator
& validator
=wxDefaultValidator
,
3268 const wxString
& name
= wxPyControlNameStr
)
3269 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3271 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
3273 bool DoEraseBackground(wxDC
* dc
) {
3275 return wxWindow::DoEraseBackground(dc
->GetHDC());
3277 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3283 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3284 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3285 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3286 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3288 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3289 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3290 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3292 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3293 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3295 DEC_PYCALLBACK__(InitDialog
);
3296 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3297 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3298 DEC_PYCALLBACK_BOOL_(Validate
);
3300 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3301 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3302 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3304 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3305 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3307 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3308 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3310 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3312 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3317 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
3319 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
3320 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
3321 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
3322 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
3324 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
3325 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
3326 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
3328 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
3329 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
3331 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
3332 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
3333 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
3334 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
3336 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
3337 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
3338 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
3340 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
3341 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
3343 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
3344 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
3346 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
3348 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
3352 SWIGINTERN
void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
3354 #include <wx/generic/dragimgg.h>
3356 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
3357 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
3359 self
->GetRange(&rv
, NULL
);
3362 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
3364 self
->GetRange(NULL
, &rv
);
3367 static const wxString
wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr
);
3368 static const wxString
wxPyColourPickerCtrlNameStr(wxColourPickerCtrlNameStr
);
3369 static const wxString
wxPyFilePickerCtrlNameStr(wxFilePickerCtrlNameStr
);
3370 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3371 static const wxString
wxPyDirPickerCtrlNameStr(wxDirPickerCtrlNameStr
);
3372 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3373 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3374 static const wxString
wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr
);
3378 SWIGINTERN
int ButtonNameStr_set(PyObject
*) {
3379 SWIG_Error(SWIG_AttributeError
,"Variable ButtonNameStr is read-only.");
3384 SWIGINTERN PyObject
*ButtonNameStr_get(void) {
3385 PyObject
*pyobj
= 0;
3389 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3391 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3398 SWIGINTERN PyObject
*_wrap_new_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3399 PyObject
*resultobj
= 0;
3400 wxWindow
*arg1
= (wxWindow
*) 0 ;
3401 int arg2
= (int) -1 ;
3402 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3403 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3404 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3405 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3406 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3407 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3408 long arg6
= (long) 0 ;
3409 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3410 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3411 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3412 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3413 wxButton
*result
= 0 ;
3418 bool temp3
= false ;
3425 bool temp8
= false ;
3426 PyObject
* obj0
= 0 ;
3427 PyObject
* obj1
= 0 ;
3428 PyObject
* obj2
= 0 ;
3429 PyObject
* obj3
= 0 ;
3430 PyObject
* obj4
= 0 ;
3431 PyObject
* obj5
= 0 ;
3432 PyObject
* obj6
= 0 ;
3433 PyObject
* obj7
= 0 ;
3434 char * kwnames
[] = {
3435 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3440 if (!SWIG_IsOK(res1
)) {
3441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3443 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3446 if (!SWIG_IsOK(ecode2
)) {
3447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3449 arg2
= static_cast< int >(val2
);
3453 arg3
= wxString_in_helper(obj2
);
3454 if (arg3
== NULL
) SWIG_fail
;
3461 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3467 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3471 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3472 if (!SWIG_IsOK(ecode6
)) {
3473 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3475 arg6
= static_cast< long >(val6
);
3478 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3479 if (!SWIG_IsOK(res7
)) {
3480 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3483 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3485 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3489 arg8
= wxString_in_helper(obj7
);
3490 if (arg8
== NULL
) SWIG_fail
;
3495 if (!wxPyCheckForApp()) SWIG_fail
;
3496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3497 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3498 wxPyEndAllowThreads(__tstate
);
3499 if (PyErr_Occurred()) SWIG_fail
;
3501 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_NEW
| 0 );
3524 SWIGINTERN PyObject
*_wrap_new_PreButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3525 PyObject
*resultobj
= 0;
3526 wxButton
*result
= 0 ;
3528 if (!SWIG_Python_UnpackTuple(args
,"new_PreButton",0,0,0)) SWIG_fail
;
3530 if (!wxPyCheckForApp()) SWIG_fail
;
3531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3532 result
= (wxButton
*)new wxButton();
3533 wxPyEndAllowThreads(__tstate
);
3534 if (PyErr_Occurred()) SWIG_fail
;
3536 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_OWN
| 0 );
3543 SWIGINTERN PyObject
*_wrap_Button_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3544 PyObject
*resultobj
= 0;
3545 wxButton
*arg1
= (wxButton
*) 0 ;
3546 wxWindow
*arg2
= (wxWindow
*) 0 ;
3547 int arg3
= (int) -1 ;
3548 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3549 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3550 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3551 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3552 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3553 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3554 long arg7
= (long) 0 ;
3555 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3556 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3557 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3558 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3566 bool temp4
= false ;
3573 bool temp9
= false ;
3574 PyObject
* obj0
= 0 ;
3575 PyObject
* obj1
= 0 ;
3576 PyObject
* obj2
= 0 ;
3577 PyObject
* obj3
= 0 ;
3578 PyObject
* obj4
= 0 ;
3579 PyObject
* obj5
= 0 ;
3580 PyObject
* obj6
= 0 ;
3581 PyObject
* obj7
= 0 ;
3582 PyObject
* obj8
= 0 ;
3583 char * kwnames
[] = {
3584 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3589 if (!SWIG_IsOK(res1
)) {
3590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3592 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3593 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3594 if (!SWIG_IsOK(res2
)) {
3595 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3597 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3599 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3600 if (!SWIG_IsOK(ecode3
)) {
3601 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3603 arg3
= static_cast< int >(val3
);
3607 arg4
= wxString_in_helper(obj3
);
3608 if (arg4
== NULL
) SWIG_fail
;
3615 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3621 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3625 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3626 if (!SWIG_IsOK(ecode7
)) {
3627 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3629 arg7
= static_cast< long >(val7
);
3632 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3633 if (!SWIG_IsOK(res8
)) {
3634 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3637 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3639 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3643 arg9
= wxString_in_helper(obj8
);
3644 if (arg9
== NULL
) SWIG_fail
;
3649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3650 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3651 wxPyEndAllowThreads(__tstate
);
3652 if (PyErr_Occurred()) SWIG_fail
;
3655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3679 SWIGINTERN PyObject
*_wrap_Button_SetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3680 PyObject
*resultobj
= 0;
3681 wxButton
*arg1
= (wxButton
*) 0 ;
3684 PyObject
*swig_obj
[1] ;
3686 if (!args
) SWIG_fail
;
3688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3689 if (!SWIG_IsOK(res1
)) {
3690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3692 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3695 (arg1
)->SetDefault();
3696 wxPyEndAllowThreads(__tstate
);
3697 if (PyErr_Occurred()) SWIG_fail
;
3699 resultobj
= SWIG_Py_Void();
3706 SWIGINTERN PyObject
*_wrap_Button_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3707 PyObject
*resultobj
= 0;
3710 if (!SWIG_Python_UnpackTuple(args
,"Button_GetDefaultSize",0,0,0)) SWIG_fail
;
3712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3713 result
= wxButton::GetDefaultSize();
3714 wxPyEndAllowThreads(__tstate
);
3715 if (PyErr_Occurred()) SWIG_fail
;
3717 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
3724 SWIGINTERN PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3725 PyObject
*resultobj
= 0;
3726 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3727 SwigValueWrapper
<wxVisualAttributes
> result
;
3730 PyObject
* obj0
= 0 ;
3731 char * kwnames
[] = {
3732 (char *) "variant", NULL
3735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3737 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3738 if (!SWIG_IsOK(ecode1
)) {
3739 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3741 arg1
= static_cast< wxWindowVariant
>(val1
);
3744 if (!wxPyCheckForApp()) SWIG_fail
;
3745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3746 result
= wxButton::GetClassDefaultAttributes(arg1
);
3747 wxPyEndAllowThreads(__tstate
);
3748 if (PyErr_Occurred()) SWIG_fail
;
3750 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3757 SWIGINTERN PyObject
*Button_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3759 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3760 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton
, SWIG_NewClientData(obj
));
3761 return SWIG_Py_Void();
3764 SWIGINTERN PyObject
*Button_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3765 return SWIG_Python_InitShadowInstance(args
);
3768 SWIGINTERN PyObject
*_wrap_new_BitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3769 PyObject
*resultobj
= 0;
3770 wxWindow
*arg1
= (wxWindow
*) 0 ;
3771 int arg2
= (int) -1 ;
3772 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
3773 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
3774 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3775 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3776 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3777 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3778 long arg6
= (long) wxBU_AUTODRAW
;
3779 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3780 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3781 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3782 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3783 wxBitmapButton
*result
= 0 ;
3796 bool temp8
= false ;
3797 PyObject
* obj0
= 0 ;
3798 PyObject
* obj1
= 0 ;
3799 PyObject
* obj2
= 0 ;
3800 PyObject
* obj3
= 0 ;
3801 PyObject
* obj4
= 0 ;
3802 PyObject
* obj5
= 0 ;
3803 PyObject
* obj6
= 0 ;
3804 PyObject
* obj7
= 0 ;
3805 char * kwnames
[] = {
3806 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3811 if (!SWIG_IsOK(res1
)) {
3812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3814 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3816 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3817 if (!SWIG_IsOK(ecode2
)) {
3818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3820 arg2
= static_cast< int >(val2
);
3823 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3824 if (!SWIG_IsOK(res3
)) {
3825 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3828 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3830 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
3835 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3841 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3845 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3846 if (!SWIG_IsOK(ecode6
)) {
3847 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3849 arg6
= static_cast< long >(val6
);
3852 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3853 if (!SWIG_IsOK(res7
)) {
3854 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3857 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3859 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3863 arg8
= wxString_in_helper(obj7
);
3864 if (arg8
== NULL
) SWIG_fail
;
3869 if (!wxPyCheckForApp()) SWIG_fail
;
3870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3871 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3872 wxPyEndAllowThreads(__tstate
);
3873 if (PyErr_Occurred()) SWIG_fail
;
3875 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_NEW
| 0 );
3890 SWIGINTERN PyObject
*_wrap_new_PreBitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3891 PyObject
*resultobj
= 0;
3892 wxBitmapButton
*result
= 0 ;
3894 if (!SWIG_Python_UnpackTuple(args
,"new_PreBitmapButton",0,0,0)) SWIG_fail
;
3896 if (!wxPyCheckForApp()) SWIG_fail
;
3897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3898 result
= (wxBitmapButton
*)new wxBitmapButton();
3899 wxPyEndAllowThreads(__tstate
);
3900 if (PyErr_Occurred()) SWIG_fail
;
3902 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_OWN
| 0 );
3909 SWIGINTERN PyObject
*_wrap_BitmapButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3910 PyObject
*resultobj
= 0;
3911 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3912 wxWindow
*arg2
= (wxWindow
*) 0 ;
3913 int arg3
= (int) -1 ;
3914 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
3915 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
3916 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3917 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3918 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3919 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3920 long arg7
= (long) wxBU_AUTODRAW
;
3921 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3922 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3923 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3924 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3940 bool temp9
= false ;
3941 PyObject
* obj0
= 0 ;
3942 PyObject
* obj1
= 0 ;
3943 PyObject
* obj2
= 0 ;
3944 PyObject
* obj3
= 0 ;
3945 PyObject
* obj4
= 0 ;
3946 PyObject
* obj5
= 0 ;
3947 PyObject
* obj6
= 0 ;
3948 PyObject
* obj7
= 0 ;
3949 PyObject
* obj8
= 0 ;
3950 char * kwnames
[] = {
3951 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
3956 if (!SWIG_IsOK(res1
)) {
3957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
3959 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
3960 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3961 if (!SWIG_IsOK(res2
)) {
3962 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3964 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3966 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3967 if (!SWIG_IsOK(ecode3
)) {
3968 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
3970 arg3
= static_cast< int >(val3
);
3973 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3974 if (!SWIG_IsOK(res4
)) {
3975 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3978 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3980 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
3985 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3991 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3995 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3996 if (!SWIG_IsOK(ecode7
)) {
3997 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
3999 arg7
= static_cast< long >(val7
);
4002 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4003 if (!SWIG_IsOK(res8
)) {
4004 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4007 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4009 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4013 arg9
= wxString_in_helper(obj8
);
4014 if (arg9
== NULL
) SWIG_fail
;
4019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4020 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4021 wxPyEndAllowThreads(__tstate
);
4022 if (PyErr_Occurred()) SWIG_fail
;
4025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4041 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4042 PyObject
*resultobj
= 0;
4043 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4047 PyObject
*swig_obj
[1] ;
4049 if (!args
) SWIG_fail
;
4051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4052 if (!SWIG_IsOK(res1
)) {
4053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4055 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4058 result
= (arg1
)->GetBitmapLabel();
4059 wxPyEndAllowThreads(__tstate
);
4060 if (PyErr_Occurred()) SWIG_fail
;
4062 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4069 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4070 PyObject
*resultobj
= 0;
4071 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4075 PyObject
*swig_obj
[1] ;
4077 if (!args
) SWIG_fail
;
4079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4080 if (!SWIG_IsOK(res1
)) {
4081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4083 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4086 result
= (arg1
)->GetBitmapDisabled();
4087 wxPyEndAllowThreads(__tstate
);
4088 if (PyErr_Occurred()) SWIG_fail
;
4090 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4097 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4098 PyObject
*resultobj
= 0;
4099 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4103 PyObject
*swig_obj
[1] ;
4105 if (!args
) SWIG_fail
;
4107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4108 if (!SWIG_IsOK(res1
)) {
4109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4111 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4114 result
= (arg1
)->GetBitmapFocus();
4115 wxPyEndAllowThreads(__tstate
);
4116 if (PyErr_Occurred()) SWIG_fail
;
4118 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4125 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4126 PyObject
*resultobj
= 0;
4127 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4131 PyObject
*swig_obj
[1] ;
4133 if (!args
) SWIG_fail
;
4135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4136 if (!SWIG_IsOK(res1
)) {
4137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4139 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4142 result
= (arg1
)->GetBitmapSelected();
4143 wxPyEndAllowThreads(__tstate
);
4144 if (PyErr_Occurred()) SWIG_fail
;
4146 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4153 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4154 PyObject
*resultobj
= 0;
4155 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4159 PyObject
*swig_obj
[1] ;
4161 if (!args
) SWIG_fail
;
4163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4164 if (!SWIG_IsOK(res1
)) {
4165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4167 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4170 result
= (arg1
)->GetBitmapHover();
4171 wxPyEndAllowThreads(__tstate
);
4172 if (PyErr_Occurred()) SWIG_fail
;
4174 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4181 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4182 PyObject
*resultobj
= 0;
4183 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4184 wxBitmap
*arg2
= 0 ;
4189 PyObject
* obj0
= 0 ;
4190 PyObject
* obj1
= 0 ;
4191 char * kwnames
[] = {
4192 (char *) "self",(char *) "bitmap", NULL
4195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4197 if (!SWIG_IsOK(res1
)) {
4198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4200 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4201 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4202 if (!SWIG_IsOK(res2
)) {
4203 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4206 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4208 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4211 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
4212 wxPyEndAllowThreads(__tstate
);
4213 if (PyErr_Occurred()) SWIG_fail
;
4215 resultobj
= SWIG_Py_Void();
4222 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4223 PyObject
*resultobj
= 0;
4224 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4225 wxBitmap
*arg2
= 0 ;
4230 PyObject
* obj0
= 0 ;
4231 PyObject
* obj1
= 0 ;
4232 char * kwnames
[] = {
4233 (char *) "self",(char *) "bitmap", NULL
4236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4238 if (!SWIG_IsOK(res1
)) {
4239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4241 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4242 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4243 if (!SWIG_IsOK(res2
)) {
4244 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4247 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4249 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4252 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
4253 wxPyEndAllowThreads(__tstate
);
4254 if (PyErr_Occurred()) SWIG_fail
;
4256 resultobj
= SWIG_Py_Void();
4263 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4264 PyObject
*resultobj
= 0;
4265 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4266 wxBitmap
*arg2
= 0 ;
4271 PyObject
* obj0
= 0 ;
4272 PyObject
* obj1
= 0 ;
4273 char * kwnames
[] = {
4274 (char *) "self",(char *) "bitmap", NULL
4277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4279 if (!SWIG_IsOK(res1
)) {
4280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4282 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4283 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4284 if (!SWIG_IsOK(res2
)) {
4285 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4288 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4290 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4293 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
4294 wxPyEndAllowThreads(__tstate
);
4295 if (PyErr_Occurred()) SWIG_fail
;
4297 resultobj
= SWIG_Py_Void();
4304 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4305 PyObject
*resultobj
= 0;
4306 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4307 wxBitmap
*arg2
= 0 ;
4312 PyObject
* obj0
= 0 ;
4313 PyObject
* obj1
= 0 ;
4314 char * kwnames
[] = {
4315 (char *) "self",(char *) "bitmap", NULL
4318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4320 if (!SWIG_IsOK(res1
)) {
4321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4323 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4324 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4325 if (!SWIG_IsOK(res2
)) {
4326 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4329 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4331 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4334 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
4335 wxPyEndAllowThreads(__tstate
);
4336 if (PyErr_Occurred()) SWIG_fail
;
4338 resultobj
= SWIG_Py_Void();
4345 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4346 PyObject
*resultobj
= 0;
4347 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4348 wxBitmap
*arg2
= 0 ;
4353 PyObject
* obj0
= 0 ;
4354 PyObject
* obj1
= 0 ;
4355 char * kwnames
[] = {
4356 (char *) "self",(char *) "hover", NULL
4359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4361 if (!SWIG_IsOK(res1
)) {
4362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4364 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4365 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4366 if (!SWIG_IsOK(res2
)) {
4367 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4370 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4372 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4375 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
4376 wxPyEndAllowThreads(__tstate
);
4377 if (PyErr_Occurred()) SWIG_fail
;
4379 resultobj
= SWIG_Py_Void();
4386 SWIGINTERN PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4387 PyObject
*resultobj
= 0;
4388 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4397 PyObject
* obj0
= 0 ;
4398 PyObject
* obj1
= 0 ;
4399 PyObject
* obj2
= 0 ;
4400 char * kwnames
[] = {
4401 (char *) "self",(char *) "x",(char *) "y", NULL
4404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4406 if (!SWIG_IsOK(res1
)) {
4407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4409 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4410 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4411 if (!SWIG_IsOK(ecode2
)) {
4412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4414 arg2
= static_cast< int >(val2
);
4415 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4416 if (!SWIG_IsOK(ecode3
)) {
4417 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4419 arg3
= static_cast< int >(val3
);
4421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4422 (arg1
)->SetMargins(arg2
,arg3
);
4423 wxPyEndAllowThreads(__tstate
);
4424 if (PyErr_Occurred()) SWIG_fail
;
4426 resultobj
= SWIG_Py_Void();
4433 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4434 PyObject
*resultobj
= 0;
4435 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4439 PyObject
*swig_obj
[1] ;
4441 if (!args
) SWIG_fail
;
4443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4444 if (!SWIG_IsOK(res1
)) {
4445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4447 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4450 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
4451 wxPyEndAllowThreads(__tstate
);
4452 if (PyErr_Occurred()) SWIG_fail
;
4454 resultobj
= SWIG_From_int(static_cast< int >(result
));
4461 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4462 PyObject
*resultobj
= 0;
4463 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4467 PyObject
*swig_obj
[1] ;
4469 if (!args
) SWIG_fail
;
4471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4472 if (!SWIG_IsOK(res1
)) {
4473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4475 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4478 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
4479 wxPyEndAllowThreads(__tstate
);
4480 if (PyErr_Occurred()) SWIG_fail
;
4482 resultobj
= SWIG_From_int(static_cast< int >(result
));
4489 SWIGINTERN PyObject
*BitmapButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4491 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4492 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton
, SWIG_NewClientData(obj
));
4493 return SWIG_Py_Void();
4496 SWIGINTERN PyObject
*BitmapButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4497 return SWIG_Python_InitShadowInstance(args
);
4500 SWIGINTERN
int CheckBoxNameStr_set(PyObject
*) {
4501 SWIG_Error(SWIG_AttributeError
,"Variable CheckBoxNameStr is read-only.");
4506 SWIGINTERN PyObject
*CheckBoxNameStr_get(void) {
4507 PyObject
*pyobj
= 0;
4511 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4513 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4520 SWIGINTERN PyObject
*_wrap_new_CheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4521 PyObject
*resultobj
= 0;
4522 wxWindow
*arg1
= (wxWindow
*) 0 ;
4523 int arg2
= (int) -1 ;
4524 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4525 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4526 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4527 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4528 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4529 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4530 long arg6
= (long) 0 ;
4531 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4532 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4533 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
4534 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4535 wxCheckBox
*result
= 0 ;
4540 bool temp3
= false ;
4547 bool temp8
= false ;
4548 PyObject
* obj0
= 0 ;
4549 PyObject
* obj1
= 0 ;
4550 PyObject
* obj2
= 0 ;
4551 PyObject
* obj3
= 0 ;
4552 PyObject
* obj4
= 0 ;
4553 PyObject
* obj5
= 0 ;
4554 PyObject
* obj6
= 0 ;
4555 PyObject
* obj7
= 0 ;
4556 char * kwnames
[] = {
4557 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4562 if (!SWIG_IsOK(res1
)) {
4563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4565 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4567 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4568 if (!SWIG_IsOK(ecode2
)) {
4569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4571 arg2
= static_cast< int >(val2
);
4575 arg3
= wxString_in_helper(obj2
);
4576 if (arg3
== NULL
) SWIG_fail
;
4583 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4589 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4593 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4594 if (!SWIG_IsOK(ecode6
)) {
4595 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4597 arg6
= static_cast< long >(val6
);
4600 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
4601 if (!SWIG_IsOK(res7
)) {
4602 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4605 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4607 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
4611 arg8
= wxString_in_helper(obj7
);
4612 if (arg8
== NULL
) SWIG_fail
;
4617 if (!wxPyCheckForApp()) SWIG_fail
;
4618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4619 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4620 wxPyEndAllowThreads(__tstate
);
4621 if (PyErr_Occurred()) SWIG_fail
;
4623 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_NEW
| 0 );
4646 SWIGINTERN PyObject
*_wrap_new_PreCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4647 PyObject
*resultobj
= 0;
4648 wxCheckBox
*result
= 0 ;
4650 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckBox",0,0,0)) SWIG_fail
;
4652 if (!wxPyCheckForApp()) SWIG_fail
;
4653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4654 result
= (wxCheckBox
*)new wxCheckBox();
4655 wxPyEndAllowThreads(__tstate
);
4656 if (PyErr_Occurred()) SWIG_fail
;
4658 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_OWN
| 0 );
4665 SWIGINTERN PyObject
*_wrap_CheckBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4666 PyObject
*resultobj
= 0;
4667 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4668 wxWindow
*arg2
= (wxWindow
*) 0 ;
4669 int arg3
= (int) -1 ;
4670 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4671 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4672 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4673 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4674 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4675 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4676 long arg7
= (long) 0 ;
4677 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4678 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4679 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
4680 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4688 bool temp4
= false ;
4695 bool temp9
= false ;
4696 PyObject
* obj0
= 0 ;
4697 PyObject
* obj1
= 0 ;
4698 PyObject
* obj2
= 0 ;
4699 PyObject
* obj3
= 0 ;
4700 PyObject
* obj4
= 0 ;
4701 PyObject
* obj5
= 0 ;
4702 PyObject
* obj6
= 0 ;
4703 PyObject
* obj7
= 0 ;
4704 PyObject
* obj8
= 0 ;
4705 char * kwnames
[] = {
4706 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4711 if (!SWIG_IsOK(res1
)) {
4712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4714 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4715 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4716 if (!SWIG_IsOK(res2
)) {
4717 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4719 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4721 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4722 if (!SWIG_IsOK(ecode3
)) {
4723 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4725 arg3
= static_cast< int >(val3
);
4729 arg4
= wxString_in_helper(obj3
);
4730 if (arg4
== NULL
) SWIG_fail
;
4737 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4743 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4747 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4748 if (!SWIG_IsOK(ecode7
)) {
4749 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4751 arg7
= static_cast< long >(val7
);
4754 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4755 if (!SWIG_IsOK(res8
)) {
4756 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4759 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4761 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4765 arg9
= wxString_in_helper(obj8
);
4766 if (arg9
== NULL
) SWIG_fail
;
4771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4772 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4773 wxPyEndAllowThreads(__tstate
);
4774 if (PyErr_Occurred()) SWIG_fail
;
4777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4801 SWIGINTERN PyObject
*_wrap_CheckBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4802 PyObject
*resultobj
= 0;
4803 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4807 PyObject
*swig_obj
[1] ;
4809 if (!args
) SWIG_fail
;
4811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4812 if (!SWIG_IsOK(res1
)) {
4813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4815 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4818 result
= (bool)(arg1
)->GetValue();
4819 wxPyEndAllowThreads(__tstate
);
4820 if (PyErr_Occurred()) SWIG_fail
;
4823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4831 SWIGINTERN PyObject
*_wrap_CheckBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4832 PyObject
*resultobj
= 0;
4833 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4837 PyObject
*swig_obj
[1] ;
4839 if (!args
) SWIG_fail
;
4841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4842 if (!SWIG_IsOK(res1
)) {
4843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4845 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4848 result
= (bool)(arg1
)->IsChecked();
4849 wxPyEndAllowThreads(__tstate
);
4850 if (PyErr_Occurred()) SWIG_fail
;
4853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4861 SWIGINTERN PyObject
*_wrap_CheckBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4862 PyObject
*resultobj
= 0;
4863 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4869 PyObject
* obj0
= 0 ;
4870 PyObject
* obj1
= 0 ;
4871 char * kwnames
[] = {
4872 (char *) "self",(char *) "state", NULL
4875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4877 if (!SWIG_IsOK(res1
)) {
4878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4880 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4881 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4882 if (!SWIG_IsOK(ecode2
)) {
4883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4885 arg2
= static_cast< bool >(val2
);
4887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4888 (arg1
)->SetValue(arg2
);
4889 wxPyEndAllowThreads(__tstate
);
4890 if (PyErr_Occurred()) SWIG_fail
;
4892 resultobj
= SWIG_Py_Void();
4899 SWIGINTERN PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4900 PyObject
*resultobj
= 0;
4901 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4902 wxCheckBoxState result
;
4905 PyObject
*swig_obj
[1] ;
4907 if (!args
) SWIG_fail
;
4909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4910 if (!SWIG_IsOK(res1
)) {
4911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4913 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4916 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
4917 wxPyEndAllowThreads(__tstate
);
4918 if (PyErr_Occurred()) SWIG_fail
;
4920 resultobj
= SWIG_From_int(static_cast< int >(result
));
4927 SWIGINTERN PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4928 PyObject
*resultobj
= 0;
4929 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4930 wxCheckBoxState arg2
;
4935 PyObject
* obj0
= 0 ;
4936 PyObject
* obj1
= 0 ;
4937 char * kwnames
[] = {
4938 (char *) "self",(char *) "state", NULL
4941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4943 if (!SWIG_IsOK(res1
)) {
4944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4946 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4947 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4948 if (!SWIG_IsOK(ecode2
)) {
4949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
4951 arg2
= static_cast< wxCheckBoxState
>(val2
);
4953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4954 (arg1
)->Set3StateValue(arg2
);
4955 wxPyEndAllowThreads(__tstate
);
4956 if (PyErr_Occurred()) SWIG_fail
;
4958 resultobj
= SWIG_Py_Void();
4965 SWIGINTERN PyObject
*_wrap_CheckBox_Is3State(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4966 PyObject
*resultobj
= 0;
4967 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4971 PyObject
*swig_obj
[1] ;
4973 if (!args
) SWIG_fail
;
4975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4976 if (!SWIG_IsOK(res1
)) {
4977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4979 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4982 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
4983 wxPyEndAllowThreads(__tstate
);
4984 if (PyErr_Occurred()) SWIG_fail
;
4987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4995 SWIGINTERN PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4996 PyObject
*resultobj
= 0;
4997 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
5001 PyObject
*swig_obj
[1] ;
5003 if (!args
) SWIG_fail
;
5005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5006 if (!SWIG_IsOK(res1
)) {
5007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5009 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5012 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
5013 wxPyEndAllowThreads(__tstate
);
5014 if (PyErr_Occurred()) SWIG_fail
;
5017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5025 SWIGINTERN PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5026 PyObject
*resultobj
= 0;
5027 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5028 SwigValueWrapper
<wxVisualAttributes
> result
;
5031 PyObject
* obj0
= 0 ;
5032 char * kwnames
[] = {
5033 (char *) "variant", NULL
5036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5038 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5039 if (!SWIG_IsOK(ecode1
)) {
5040 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5042 arg1
= static_cast< wxWindowVariant
>(val1
);
5045 if (!wxPyCheckForApp()) SWIG_fail
;
5046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5047 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
5048 wxPyEndAllowThreads(__tstate
);
5049 if (PyErr_Occurred()) SWIG_fail
;
5051 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5058 SWIGINTERN PyObject
*CheckBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5060 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5061 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox
, SWIG_NewClientData(obj
));
5062 return SWIG_Py_Void();
5065 SWIGINTERN PyObject
*CheckBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5066 return SWIG_Python_InitShadowInstance(args
);
5069 SWIGINTERN
int ChoiceNameStr_set(PyObject
*) {
5070 SWIG_Error(SWIG_AttributeError
,"Variable ChoiceNameStr is read-only.");
5075 SWIGINTERN PyObject
*ChoiceNameStr_get(void) {
5076 PyObject
*pyobj
= 0;
5080 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5082 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5089 SWIGINTERN PyObject
*_wrap_new_Choice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5090 PyObject
*resultobj
= 0;
5091 wxWindow
*arg1
= (wxWindow
*) 0 ;
5092 int arg2
= (int) -1 ;
5093 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5094 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5095 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5096 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5097 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5098 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5099 long arg6
= (long) 0 ;
5100 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5101 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5102 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
5103 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5104 wxChoice
*result
= 0 ;
5111 bool temp5
= false ;
5116 bool temp8
= false ;
5117 PyObject
* obj0
= 0 ;
5118 PyObject
* obj1
= 0 ;
5119 PyObject
* obj2
= 0 ;
5120 PyObject
* obj3
= 0 ;
5121 PyObject
* obj4
= 0 ;
5122 PyObject
* obj5
= 0 ;
5123 PyObject
* obj6
= 0 ;
5124 PyObject
* obj7
= 0 ;
5125 char * kwnames
[] = {
5126 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5131 if (!SWIG_IsOK(res1
)) {
5132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5134 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5136 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5137 if (!SWIG_IsOK(ecode2
)) {
5138 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5140 arg2
= static_cast< int >(val2
);
5145 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5151 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5156 if (! PySequence_Check(obj4
)) {
5157 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5160 arg5
= new wxArrayString
;
5162 int i
, len
=PySequence_Length(obj4
);
5163 for (i
=0; i
<len
; i
++) {
5164 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5165 wxString
* s
= wxString_in_helper(item
);
5166 if (PyErr_Occurred()) SWIG_fail
;
5174 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5175 if (!SWIG_IsOK(ecode6
)) {
5176 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5178 arg6
= static_cast< long >(val6
);
5181 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5182 if (!SWIG_IsOK(res7
)) {
5183 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5186 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5188 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5192 arg8
= wxString_in_helper(obj7
);
5193 if (arg8
== NULL
) SWIG_fail
;
5198 if (!wxPyCheckForApp()) SWIG_fail
;
5199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5200 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5201 wxPyEndAllowThreads(__tstate
);
5202 if (PyErr_Occurred()) SWIG_fail
;
5204 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_NEW
| 0 );
5206 if (temp5
) delete arg5
;
5215 if (temp5
) delete arg5
;
5225 SWIGINTERN PyObject
*_wrap_new_PreChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5226 PyObject
*resultobj
= 0;
5227 wxChoice
*result
= 0 ;
5229 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoice",0,0,0)) SWIG_fail
;
5231 if (!wxPyCheckForApp()) SWIG_fail
;
5232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5233 result
= (wxChoice
*)new wxChoice();
5234 wxPyEndAllowThreads(__tstate
);
5235 if (PyErr_Occurred()) SWIG_fail
;
5237 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_OWN
| 0 );
5244 SWIGINTERN PyObject
*_wrap_Choice_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5245 PyObject
*resultobj
= 0;
5246 wxChoice
*arg1
= (wxChoice
*) 0 ;
5247 wxWindow
*arg2
= (wxWindow
*) 0 ;
5248 int arg3
= (int) -1 ;
5249 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5250 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5251 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5252 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5253 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5254 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5255 long arg7
= (long) 0 ;
5256 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5257 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5258 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
5259 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5269 bool temp6
= false ;
5274 bool temp9
= false ;
5275 PyObject
* obj0
= 0 ;
5276 PyObject
* obj1
= 0 ;
5277 PyObject
* obj2
= 0 ;
5278 PyObject
* obj3
= 0 ;
5279 PyObject
* obj4
= 0 ;
5280 PyObject
* obj5
= 0 ;
5281 PyObject
* obj6
= 0 ;
5282 PyObject
* obj7
= 0 ;
5283 PyObject
* obj8
= 0 ;
5284 char * kwnames
[] = {
5285 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5290 if (!SWIG_IsOK(res1
)) {
5291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5293 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5294 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5295 if (!SWIG_IsOK(res2
)) {
5296 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5298 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5300 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5301 if (!SWIG_IsOK(ecode3
)) {
5302 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5304 arg3
= static_cast< int >(val3
);
5309 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5315 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5320 if (! PySequence_Check(obj5
)) {
5321 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5324 arg6
= new wxArrayString
;
5326 int i
, len
=PySequence_Length(obj5
);
5327 for (i
=0; i
<len
; i
++) {
5328 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5329 wxString
* s
= wxString_in_helper(item
);
5330 if (PyErr_Occurred()) SWIG_fail
;
5338 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5339 if (!SWIG_IsOK(ecode7
)) {
5340 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5342 arg7
= static_cast< long >(val7
);
5345 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5346 if (!SWIG_IsOK(res8
)) {
5347 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5350 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5352 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5356 arg9
= wxString_in_helper(obj8
);
5357 if (arg9
== NULL
) SWIG_fail
;
5362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5363 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5364 wxPyEndAllowThreads(__tstate
);
5365 if (PyErr_Occurred()) SWIG_fail
;
5368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5371 if (temp6
) delete arg6
;
5380 if (temp6
) delete arg6
;
5390 SWIGINTERN PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5391 PyObject
*resultobj
= 0;
5392 wxChoice
*arg1
= (wxChoice
*) 0 ;
5396 PyObject
*swig_obj
[1] ;
5398 if (!args
) SWIG_fail
;
5400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5401 if (!SWIG_IsOK(res1
)) {
5402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5404 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5407 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
5408 wxPyEndAllowThreads(__tstate
);
5409 if (PyErr_Occurred()) SWIG_fail
;
5411 resultobj
= SWIG_From_int(static_cast< int >(result
));
5418 SWIGINTERN PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5419 PyObject
*resultobj
= 0;
5420 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5421 SwigValueWrapper
<wxVisualAttributes
> result
;
5424 PyObject
* obj0
= 0 ;
5425 char * kwnames
[] = {
5426 (char *) "variant", NULL
5429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5431 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5432 if (!SWIG_IsOK(ecode1
)) {
5433 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5435 arg1
= static_cast< wxWindowVariant
>(val1
);
5438 if (!wxPyCheckForApp()) SWIG_fail
;
5439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5440 result
= wxChoice::GetClassDefaultAttributes(arg1
);
5441 wxPyEndAllowThreads(__tstate
);
5442 if (PyErr_Occurred()) SWIG_fail
;
5444 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5451 SWIGINTERN PyObject
*Choice_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5453 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5454 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice
, SWIG_NewClientData(obj
));
5455 return SWIG_Py_Void();
5458 SWIGINTERN PyObject
*Choice_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5459 return SWIG_Python_InitShadowInstance(args
);
5462 SWIGINTERN
int ComboBoxNameStr_set(PyObject
*) {
5463 SWIG_Error(SWIG_AttributeError
,"Variable ComboBoxNameStr is read-only.");
5468 SWIGINTERN PyObject
*ComboBoxNameStr_get(void) {
5469 PyObject
*pyobj
= 0;
5473 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5475 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5482 SWIGINTERN PyObject
*_wrap_new_ComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5483 PyObject
*resultobj
= 0;
5484 wxWindow
*arg1
= (wxWindow
*) 0 ;
5485 int arg2
= (int) -1 ;
5486 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5487 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5488 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5489 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5490 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5491 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5492 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5493 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5494 long arg7
= (long) 0 ;
5495 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5496 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5497 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
5498 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5499 wxComboBox
*result
= 0 ;
5504 bool temp3
= false ;
5507 bool temp6
= false ;
5512 bool temp9
= false ;
5513 PyObject
* obj0
= 0 ;
5514 PyObject
* obj1
= 0 ;
5515 PyObject
* obj2
= 0 ;
5516 PyObject
* obj3
= 0 ;
5517 PyObject
* obj4
= 0 ;
5518 PyObject
* obj5
= 0 ;
5519 PyObject
* obj6
= 0 ;
5520 PyObject
* obj7
= 0 ;
5521 PyObject
* obj8
= 0 ;
5522 char * kwnames
[] = {
5523 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5528 if (!SWIG_IsOK(res1
)) {
5529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5531 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5533 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5534 if (!SWIG_IsOK(ecode2
)) {
5535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5537 arg2
= static_cast< int >(val2
);
5541 arg3
= wxString_in_helper(obj2
);
5542 if (arg3
== NULL
) SWIG_fail
;
5549 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5555 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5560 if (! PySequence_Check(obj5
)) {
5561 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5564 arg6
= new wxArrayString
;
5566 int i
, len
=PySequence_Length(obj5
);
5567 for (i
=0; i
<len
; i
++) {
5568 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5569 wxString
* s
= wxString_in_helper(item
);
5570 if (PyErr_Occurred()) SWIG_fail
;
5578 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5579 if (!SWIG_IsOK(ecode7
)) {
5580 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5582 arg7
= static_cast< long >(val7
);
5585 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5586 if (!SWIG_IsOK(res8
)) {
5587 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5590 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5592 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5596 arg9
= wxString_in_helper(obj8
);
5597 if (arg9
== NULL
) SWIG_fail
;
5602 if (!wxPyCheckForApp()) SWIG_fail
;
5603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5604 result
= (wxComboBox
*)new wxComboBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5605 wxPyEndAllowThreads(__tstate
);
5606 if (PyErr_Occurred()) SWIG_fail
;
5608 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_NEW
| 0 );
5614 if (temp6
) delete arg6
;
5627 if (temp6
) delete arg6
;
5637 SWIGINTERN PyObject
*_wrap_new_PreComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5638 PyObject
*resultobj
= 0;
5639 wxComboBox
*result
= 0 ;
5641 if (!SWIG_Python_UnpackTuple(args
,"new_PreComboBox",0,0,0)) SWIG_fail
;
5643 if (!wxPyCheckForApp()) SWIG_fail
;
5644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5645 result
= (wxComboBox
*)new wxComboBox();
5646 wxPyEndAllowThreads(__tstate
);
5647 if (PyErr_Occurred()) SWIG_fail
;
5649 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_OWN
| 0 );
5656 SWIGINTERN PyObject
*_wrap_ComboBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5657 PyObject
*resultobj
= 0;
5658 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5659 wxWindow
*arg2
= (wxWindow
*) 0 ;
5660 int arg3
= (int) -1 ;
5661 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5662 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5663 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5664 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5665 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5666 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5667 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
5668 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
5669 long arg8
= (long) 0 ;
5670 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5671 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5672 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
5673 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5681 bool temp4
= false ;
5684 bool temp7
= false ;
5689 bool temp10
= false ;
5690 PyObject
* obj0
= 0 ;
5691 PyObject
* obj1
= 0 ;
5692 PyObject
* obj2
= 0 ;
5693 PyObject
* obj3
= 0 ;
5694 PyObject
* obj4
= 0 ;
5695 PyObject
* obj5
= 0 ;
5696 PyObject
* obj6
= 0 ;
5697 PyObject
* obj7
= 0 ;
5698 PyObject
* obj8
= 0 ;
5699 PyObject
* obj9
= 0 ;
5700 char * kwnames
[] = {
5701 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
5705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5706 if (!SWIG_IsOK(res1
)) {
5707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5709 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5710 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5711 if (!SWIG_IsOK(res2
)) {
5712 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5714 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5716 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5717 if (!SWIG_IsOK(ecode3
)) {
5718 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5720 arg3
= static_cast< int >(val3
);
5724 arg4
= wxString_in_helper(obj3
);
5725 if (arg4
== NULL
) SWIG_fail
;
5732 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5738 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5743 if (! PySequence_Check(obj6
)) {
5744 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5747 arg7
= new wxArrayString
;
5749 int i
, len
=PySequence_Length(obj6
);
5750 for (i
=0; i
<len
; i
++) {
5751 PyObject
* item
= PySequence_GetItem(obj6
, i
);
5752 wxString
* s
= wxString_in_helper(item
);
5753 if (PyErr_Occurred()) SWIG_fail
;
5761 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
5762 if (!SWIG_IsOK(ecode8
)) {
5763 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5765 arg8
= static_cast< long >(val8
);
5768 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
5769 if (!SWIG_IsOK(res9
)) {
5770 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5773 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5775 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
5779 arg10
= wxString_in_helper(obj9
);
5780 if (arg10
== NULL
) SWIG_fail
;
5785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5786 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxArrayString
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
5787 wxPyEndAllowThreads(__tstate
);
5788 if (PyErr_Occurred()) SWIG_fail
;
5791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5798 if (temp7
) delete arg7
;
5811 if (temp7
) delete arg7
;
5821 SWIGINTERN PyObject
*_wrap_ComboBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5822 PyObject
*resultobj
= 0;
5823 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5827 PyObject
*swig_obj
[1] ;
5829 if (!args
) SWIG_fail
;
5831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5832 if (!SWIG_IsOK(res1
)) {
5833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5835 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5838 result
= ((wxComboBox
const *)arg1
)->GetValue();
5839 wxPyEndAllowThreads(__tstate
);
5840 if (PyErr_Occurred()) SWIG_fail
;
5844 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5846 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5855 SWIGINTERN PyObject
*_wrap_ComboBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5856 PyObject
*resultobj
= 0;
5857 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5858 wxString
*arg2
= 0 ;
5861 bool temp2
= false ;
5862 PyObject
* obj0
= 0 ;
5863 PyObject
* obj1
= 0 ;
5864 char * kwnames
[] = {
5865 (char *) "self",(char *) "value", NULL
5868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5870 if (!SWIG_IsOK(res1
)) {
5871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5873 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5875 arg2
= wxString_in_helper(obj1
);
5876 if (arg2
== NULL
) SWIG_fail
;
5880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5881 (arg1
)->SetValue((wxString
const &)*arg2
);
5882 wxPyEndAllowThreads(__tstate
);
5883 if (PyErr_Occurred()) SWIG_fail
;
5885 resultobj
= SWIG_Py_Void();
5900 SWIGINTERN PyObject
*_wrap_ComboBox_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5901 PyObject
*resultobj
= 0;
5902 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5905 PyObject
*swig_obj
[1] ;
5907 if (!args
) SWIG_fail
;
5909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5910 if (!SWIG_IsOK(res1
)) {
5911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5913 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5917 wxPyEndAllowThreads(__tstate
);
5918 if (PyErr_Occurred()) SWIG_fail
;
5920 resultobj
= SWIG_Py_Void();
5927 SWIGINTERN PyObject
*_wrap_ComboBox_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5928 PyObject
*resultobj
= 0;
5929 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5932 PyObject
*swig_obj
[1] ;
5934 if (!args
) SWIG_fail
;
5936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5937 if (!SWIG_IsOK(res1
)) {
5938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5940 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5944 wxPyEndAllowThreads(__tstate
);
5945 if (PyErr_Occurred()) SWIG_fail
;
5947 resultobj
= SWIG_Py_Void();
5954 SWIGINTERN PyObject
*_wrap_ComboBox_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5955 PyObject
*resultobj
= 0;
5956 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5959 PyObject
*swig_obj
[1] ;
5961 if (!args
) SWIG_fail
;
5963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5964 if (!SWIG_IsOK(res1
)) {
5965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
5967 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5971 wxPyEndAllowThreads(__tstate
);
5972 if (PyErr_Occurred()) SWIG_fail
;
5974 resultobj
= SWIG_Py_Void();
5981 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5982 PyObject
*resultobj
= 0;
5983 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5989 PyObject
* obj0
= 0 ;
5990 PyObject
* obj1
= 0 ;
5991 char * kwnames
[] = {
5992 (char *) "self",(char *) "pos", NULL
5995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5997 if (!SWIG_IsOK(res1
)) {
5998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
6000 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6001 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6002 if (!SWIG_IsOK(ecode2
)) {
6003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6005 arg2
= static_cast< long >(val2
);
6007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6008 (arg1
)->SetInsertionPoint(arg2
);
6009 wxPyEndAllowThreads(__tstate
);
6010 if (PyErr_Occurred()) SWIG_fail
;
6012 resultobj
= SWIG_Py_Void();
6019 SWIGINTERN PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6020 PyObject
*resultobj
= 0;
6021 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6025 PyObject
*swig_obj
[1] ;
6027 if (!args
) SWIG_fail
;
6029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6030 if (!SWIG_IsOK(res1
)) {
6031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6033 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6036 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
6037 wxPyEndAllowThreads(__tstate
);
6038 if (PyErr_Occurred()) SWIG_fail
;
6040 resultobj
= SWIG_From_long(static_cast< long >(result
));
6047 SWIGINTERN PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6048 PyObject
*resultobj
= 0;
6049 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6053 PyObject
*swig_obj
[1] ;
6055 if (!args
) SWIG_fail
;
6057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6058 if (!SWIG_IsOK(res1
)) {
6059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6061 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6064 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
6065 wxPyEndAllowThreads(__tstate
);
6066 if (PyErr_Occurred()) SWIG_fail
;
6068 resultobj
= SWIG_From_long(static_cast< long >(result
));
6075 SWIGINTERN PyObject
*_wrap_ComboBox_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6076 PyObject
*resultobj
= 0;
6077 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6080 wxString
*arg4
= 0 ;
6087 bool temp4
= false ;
6088 PyObject
* obj0
= 0 ;
6089 PyObject
* obj1
= 0 ;
6090 PyObject
* obj2
= 0 ;
6091 PyObject
* obj3
= 0 ;
6092 char * kwnames
[] = {
6093 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6098 if (!SWIG_IsOK(res1
)) {
6099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6101 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6102 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6103 if (!SWIG_IsOK(ecode2
)) {
6104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6106 arg2
= static_cast< long >(val2
);
6107 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6108 if (!SWIG_IsOK(ecode3
)) {
6109 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6111 arg3
= static_cast< long >(val3
);
6113 arg4
= wxString_in_helper(obj3
);
6114 if (arg4
== NULL
) SWIG_fail
;
6118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6119 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6120 wxPyEndAllowThreads(__tstate
);
6121 if (PyErr_Occurred()) SWIG_fail
;
6123 resultobj
= SWIG_Py_Void();
6138 SWIGINTERN PyObject
*_wrap_ComboBox_SetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6139 PyObject
*resultobj
= 0;
6140 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6149 PyObject
* obj0
= 0 ;
6150 PyObject
* obj1
= 0 ;
6151 PyObject
* obj2
= 0 ;
6152 char * kwnames
[] = {
6153 (char *) "self",(char *) "from",(char *) "to", NULL
6156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6158 if (!SWIG_IsOK(res1
)) {
6159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6161 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6162 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6163 if (!SWIG_IsOK(ecode2
)) {
6164 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6166 arg2
= static_cast< long >(val2
);
6167 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6168 if (!SWIG_IsOK(ecode3
)) {
6169 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6171 arg3
= static_cast< long >(val3
);
6173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6174 (arg1
)->SetSelection(arg2
,arg3
);
6175 wxPyEndAllowThreads(__tstate
);
6176 if (PyErr_Occurred()) SWIG_fail
;
6178 resultobj
= SWIG_Py_Void();
6185 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6186 PyObject
*resultobj
= 0;
6187 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6191 PyObject
*swig_obj
[1] ;
6193 if (!args
) SWIG_fail
;
6195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6196 if (!SWIG_IsOK(res1
)) {
6197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6199 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6202 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6203 wxPyEndAllowThreads(__tstate
);
6204 if (PyErr_Occurred()) SWIG_fail
;
6206 resultobj
= SWIG_From_int(static_cast< int >(result
));
6213 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6214 PyObject
*resultobj
= 0;
6215 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6216 wxString
*arg2
= 0 ;
6220 bool temp2
= false ;
6221 PyObject
* obj0
= 0 ;
6222 PyObject
* obj1
= 0 ;
6223 char * kwnames
[] = {
6224 (char *) "self",(char *) "string", NULL
6227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6229 if (!SWIG_IsOK(res1
)) {
6230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6232 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6234 arg2
= wxString_in_helper(obj1
);
6235 if (arg2
== NULL
) SWIG_fail
;
6239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6240 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6241 wxPyEndAllowThreads(__tstate
);
6242 if (PyErr_Occurred()) SWIG_fail
;
6245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6261 SWIGINTERN PyObject
*_wrap_ComboBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6262 PyObject
*resultobj
= 0;
6263 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6265 wxString
*arg3
= 0 ;
6270 bool temp3
= false ;
6271 PyObject
* obj0
= 0 ;
6272 PyObject
* obj1
= 0 ;
6273 PyObject
* obj2
= 0 ;
6274 char * kwnames
[] = {
6275 (char *) "self",(char *) "n",(char *) "string", NULL
6278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6280 if (!SWIG_IsOK(res1
)) {
6281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetString" "', expected argument " "1"" of type '" "wxComboBox *""'");
6283 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6284 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6285 if (!SWIG_IsOK(ecode2
)) {
6286 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetString" "', expected argument " "2"" of type '" "int""'");
6288 arg2
= static_cast< int >(val2
);
6290 arg3
= wxString_in_helper(obj2
);
6291 if (arg3
== NULL
) SWIG_fail
;
6295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6296 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
6297 wxPyEndAllowThreads(__tstate
);
6298 if (PyErr_Occurred()) SWIG_fail
;
6300 resultobj
= SWIG_Py_Void();
6315 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6316 PyObject
*resultobj
= 0;
6317 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6323 PyObject
* obj0
= 0 ;
6324 PyObject
* obj1
= 0 ;
6325 char * kwnames
[] = {
6326 (char *) "self",(char *) "editable", NULL
6329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6331 if (!SWIG_IsOK(res1
)) {
6332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6334 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6335 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6336 if (!SWIG_IsOK(ecode2
)) {
6337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6339 arg2
= static_cast< bool >(val2
);
6341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6342 (arg1
)->SetEditable(arg2
);
6343 wxPyEndAllowThreads(__tstate
);
6344 if (PyErr_Occurred()) SWIG_fail
;
6346 resultobj
= SWIG_Py_Void();
6353 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6354 PyObject
*resultobj
= 0;
6355 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6358 PyObject
*swig_obj
[1] ;
6360 if (!args
) SWIG_fail
;
6362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6363 if (!SWIG_IsOK(res1
)) {
6364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6366 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6369 (arg1
)->SetInsertionPointEnd();
6370 wxPyEndAllowThreads(__tstate
);
6371 if (PyErr_Occurred()) SWIG_fail
;
6373 resultobj
= SWIG_Py_Void();
6380 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6381 PyObject
*resultobj
= 0;
6382 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6391 PyObject
* obj0
= 0 ;
6392 PyObject
* obj1
= 0 ;
6393 PyObject
* obj2
= 0 ;
6394 char * kwnames
[] = {
6395 (char *) "self",(char *) "from",(char *) "to", NULL
6398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6400 if (!SWIG_IsOK(res1
)) {
6401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6403 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6404 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6405 if (!SWIG_IsOK(ecode2
)) {
6406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6408 arg2
= static_cast< long >(val2
);
6409 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6410 if (!SWIG_IsOK(ecode3
)) {
6411 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6413 arg3
= static_cast< long >(val3
);
6415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6416 (arg1
)->Remove(arg2
,arg3
);
6417 wxPyEndAllowThreads(__tstate
);
6418 if (PyErr_Occurred()) SWIG_fail
;
6420 resultobj
= SWIG_Py_Void();
6427 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6428 PyObject
*resultobj
= 0;
6429 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6433 PyObject
*swig_obj
[1] ;
6435 if (!args
) SWIG_fail
;
6437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6438 if (!SWIG_IsOK(res1
)) {
6439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6441 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6444 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6445 wxPyEndAllowThreads(__tstate
);
6446 if (PyErr_Occurred()) SWIG_fail
;
6449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6457 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6458 PyObject
*resultobj
= 0;
6459 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6462 PyObject
*swig_obj
[1] ;
6464 if (!args
) SWIG_fail
;
6466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6467 if (!SWIG_IsOK(res1
)) {
6468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6470 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6474 wxPyEndAllowThreads(__tstate
);
6475 if (PyErr_Occurred()) SWIG_fail
;
6477 resultobj
= SWIG_Py_Void();
6484 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6485 PyObject
*resultobj
= 0;
6486 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6489 PyObject
*swig_obj
[1] ;
6491 if (!args
) SWIG_fail
;
6493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6494 if (!SWIG_IsOK(res1
)) {
6495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6497 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6501 wxPyEndAllowThreads(__tstate
);
6502 if (PyErr_Occurred()) SWIG_fail
;
6504 resultobj
= SWIG_Py_Void();
6511 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6512 PyObject
*resultobj
= 0;
6513 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6516 PyObject
*swig_obj
[1] ;
6518 if (!args
) SWIG_fail
;
6520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6521 if (!SWIG_IsOK(res1
)) {
6522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6524 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6527 (arg1
)->SelectAll();
6528 wxPyEndAllowThreads(__tstate
);
6529 if (PyErr_Occurred()) SWIG_fail
;
6531 resultobj
= SWIG_Py_Void();
6538 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6539 PyObject
*resultobj
= 0;
6540 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6544 PyObject
*swig_obj
[1] ;
6546 if (!args
) SWIG_fail
;
6548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6549 if (!SWIG_IsOK(res1
)) {
6550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6552 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6555 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6556 wxPyEndAllowThreads(__tstate
);
6557 if (PyErr_Occurred()) SWIG_fail
;
6560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6568 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6569 PyObject
*resultobj
= 0;
6570 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6574 PyObject
*swig_obj
[1] ;
6576 if (!args
) SWIG_fail
;
6578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6579 if (!SWIG_IsOK(res1
)) {
6580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6582 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6585 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6586 wxPyEndAllowThreads(__tstate
);
6587 if (PyErr_Occurred()) SWIG_fail
;
6590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6598 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6599 PyObject
*resultobj
= 0;
6600 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6604 PyObject
*swig_obj
[1] ;
6606 if (!args
) SWIG_fail
;
6608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6609 if (!SWIG_IsOK(res1
)) {
6610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6612 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6615 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6616 wxPyEndAllowThreads(__tstate
);
6617 if (PyErr_Occurred()) SWIG_fail
;
6620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6628 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6629 PyObject
*resultobj
= 0;
6630 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6634 PyObject
*swig_obj
[1] ;
6636 if (!args
) SWIG_fail
;
6638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6639 if (!SWIG_IsOK(res1
)) {
6640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6642 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6645 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6646 wxPyEndAllowThreads(__tstate
);
6647 if (PyErr_Occurred()) SWIG_fail
;
6650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6658 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6659 PyObject
*resultobj
= 0;
6660 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6664 PyObject
*swig_obj
[1] ;
6666 if (!args
) SWIG_fail
;
6668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6669 if (!SWIG_IsOK(res1
)) {
6670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6672 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6675 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6676 wxPyEndAllowThreads(__tstate
);
6677 if (PyErr_Occurred()) SWIG_fail
;
6680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6688 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6689 PyObject
*resultobj
= 0;
6690 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6691 SwigValueWrapper
<wxVisualAttributes
> result
;
6694 PyObject
* obj0
= 0 ;
6695 char * kwnames
[] = {
6696 (char *) "variant", NULL
6699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6701 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6702 if (!SWIG_IsOK(ecode1
)) {
6703 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6705 arg1
= static_cast< wxWindowVariant
>(val1
);
6708 if (!wxPyCheckForApp()) SWIG_fail
;
6709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6710 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6711 wxPyEndAllowThreads(__tstate
);
6712 if (PyErr_Occurred()) SWIG_fail
;
6714 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6721 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6723 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6724 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6725 return SWIG_Py_Void();
6728 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6729 return SWIG_Python_InitShadowInstance(args
);
6732 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6733 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6738 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6739 PyObject
*pyobj
= 0;
6743 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6745 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6752 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6753 PyObject
*resultobj
= 0;
6754 wxWindow
*arg1
= (wxWindow
*) 0 ;
6755 int arg2
= (int) -1 ;
6756 int arg3
= (int) 100 ;
6757 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6758 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6759 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6760 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6761 long arg6
= (long) wxGA_HORIZONTAL
;
6762 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6763 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6764 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6765 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6766 wxGauge
*result
= 0 ;
6779 bool temp8
= false ;
6780 PyObject
* obj0
= 0 ;
6781 PyObject
* obj1
= 0 ;
6782 PyObject
* obj2
= 0 ;
6783 PyObject
* obj3
= 0 ;
6784 PyObject
* obj4
= 0 ;
6785 PyObject
* obj5
= 0 ;
6786 PyObject
* obj6
= 0 ;
6787 PyObject
* obj7
= 0 ;
6788 char * kwnames
[] = {
6789 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6794 if (!SWIG_IsOK(res1
)) {
6795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6797 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6799 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6800 if (!SWIG_IsOK(ecode2
)) {
6801 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6803 arg2
= static_cast< int >(val2
);
6806 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6807 if (!SWIG_IsOK(ecode3
)) {
6808 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6810 arg3
= static_cast< int >(val3
);
6815 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6821 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6825 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6826 if (!SWIG_IsOK(ecode6
)) {
6827 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6829 arg6
= static_cast< long >(val6
);
6832 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6833 if (!SWIG_IsOK(res7
)) {
6834 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6837 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6839 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6843 arg8
= wxString_in_helper(obj7
);
6844 if (arg8
== NULL
) SWIG_fail
;
6849 if (!wxPyCheckForApp()) SWIG_fail
;
6850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6851 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6852 wxPyEndAllowThreads(__tstate
);
6853 if (PyErr_Occurred()) SWIG_fail
;
6855 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6870 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6871 PyObject
*resultobj
= 0;
6872 wxGauge
*result
= 0 ;
6874 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6876 if (!wxPyCheckForApp()) SWIG_fail
;
6877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6878 result
= (wxGauge
*)new wxGauge();
6879 wxPyEndAllowThreads(__tstate
);
6880 if (PyErr_Occurred()) SWIG_fail
;
6882 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6889 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6890 PyObject
*resultobj
= 0;
6891 wxGauge
*arg1
= (wxGauge
*) 0 ;
6892 wxWindow
*arg2
= (wxWindow
*) 0 ;
6893 int arg3
= (int) -1 ;
6894 int arg4
= (int) 100 ;
6895 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6896 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6897 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6898 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6899 long arg7
= (long) wxGA_HORIZONTAL
;
6900 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6901 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6902 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6903 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6919 bool temp9
= false ;
6920 PyObject
* obj0
= 0 ;
6921 PyObject
* obj1
= 0 ;
6922 PyObject
* obj2
= 0 ;
6923 PyObject
* obj3
= 0 ;
6924 PyObject
* obj4
= 0 ;
6925 PyObject
* obj5
= 0 ;
6926 PyObject
* obj6
= 0 ;
6927 PyObject
* obj7
= 0 ;
6928 PyObject
* obj8
= 0 ;
6929 char * kwnames
[] = {
6930 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6935 if (!SWIG_IsOK(res1
)) {
6936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6938 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6939 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6940 if (!SWIG_IsOK(res2
)) {
6941 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6943 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6945 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6946 if (!SWIG_IsOK(ecode3
)) {
6947 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6949 arg3
= static_cast< int >(val3
);
6952 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6953 if (!SWIG_IsOK(ecode4
)) {
6954 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
6956 arg4
= static_cast< int >(val4
);
6961 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6967 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6971 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6972 if (!SWIG_IsOK(ecode7
)) {
6973 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
6975 arg7
= static_cast< long >(val7
);
6978 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
6979 if (!SWIG_IsOK(res8
)) {
6980 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6983 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6985 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
6989 arg9
= wxString_in_helper(obj8
);
6990 if (arg9
== NULL
) SWIG_fail
;
6995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6996 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6997 wxPyEndAllowThreads(__tstate
);
6998 if (PyErr_Occurred()) SWIG_fail
;
7001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7017 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7018 PyObject
*resultobj
= 0;
7019 wxGauge
*arg1
= (wxGauge
*) 0 ;
7025 PyObject
* obj0
= 0 ;
7026 PyObject
* obj1
= 0 ;
7027 char * kwnames
[] = {
7028 (char *) "self",(char *) "range", NULL
7031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7033 if (!SWIG_IsOK(res1
)) {
7034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7036 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7037 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7038 if (!SWIG_IsOK(ecode2
)) {
7039 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7041 arg2
= static_cast< int >(val2
);
7043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7044 (arg1
)->SetRange(arg2
);
7045 wxPyEndAllowThreads(__tstate
);
7046 if (PyErr_Occurred()) SWIG_fail
;
7048 resultobj
= SWIG_Py_Void();
7055 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7056 PyObject
*resultobj
= 0;
7057 wxGauge
*arg1
= (wxGauge
*) 0 ;
7061 PyObject
*swig_obj
[1] ;
7063 if (!args
) SWIG_fail
;
7065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7066 if (!SWIG_IsOK(res1
)) {
7067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7069 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7072 result
= (int)((wxGauge
const *)arg1
)->GetRange();
7073 wxPyEndAllowThreads(__tstate
);
7074 if (PyErr_Occurred()) SWIG_fail
;
7076 resultobj
= SWIG_From_int(static_cast< int >(result
));
7083 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7084 PyObject
*resultobj
= 0;
7085 wxGauge
*arg1
= (wxGauge
*) 0 ;
7091 PyObject
* obj0
= 0 ;
7092 PyObject
* obj1
= 0 ;
7093 char * kwnames
[] = {
7094 (char *) "self",(char *) "pos", NULL
7097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7099 if (!SWIG_IsOK(res1
)) {
7100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7102 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7103 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7104 if (!SWIG_IsOK(ecode2
)) {
7105 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7107 arg2
= static_cast< int >(val2
);
7109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7110 (arg1
)->SetValue(arg2
);
7111 wxPyEndAllowThreads(__tstate
);
7112 if (PyErr_Occurred()) SWIG_fail
;
7114 resultobj
= SWIG_Py_Void();
7121 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7122 PyObject
*resultobj
= 0;
7123 wxGauge
*arg1
= (wxGauge
*) 0 ;
7127 PyObject
*swig_obj
[1] ;
7129 if (!args
) SWIG_fail
;
7131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7132 if (!SWIG_IsOK(res1
)) {
7133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7135 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7138 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7139 wxPyEndAllowThreads(__tstate
);
7140 if (PyErr_Occurred()) SWIG_fail
;
7142 resultobj
= SWIG_From_int(static_cast< int >(result
));
7149 SWIGINTERN PyObject
*_wrap_Gauge_Pulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7150 PyObject
*resultobj
= 0;
7151 wxGauge
*arg1
= (wxGauge
*) 0 ;
7154 PyObject
*swig_obj
[1] ;
7156 if (!args
) SWIG_fail
;
7158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7159 if (!SWIG_IsOK(res1
)) {
7160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Pulse" "', expected argument " "1"" of type '" "wxGauge *""'");
7162 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7166 wxPyEndAllowThreads(__tstate
);
7167 if (PyErr_Occurred()) SWIG_fail
;
7169 resultobj
= SWIG_Py_Void();
7176 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7177 PyObject
*resultobj
= 0;
7178 wxGauge
*arg1
= (wxGauge
*) 0 ;
7182 PyObject
*swig_obj
[1] ;
7184 if (!args
) SWIG_fail
;
7186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7187 if (!SWIG_IsOK(res1
)) {
7188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7190 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7193 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7194 wxPyEndAllowThreads(__tstate
);
7195 if (PyErr_Occurred()) SWIG_fail
;
7198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7206 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7207 PyObject
*resultobj
= 0;
7208 wxGauge
*arg1
= (wxGauge
*) 0 ;
7214 PyObject
* obj0
= 0 ;
7215 PyObject
* obj1
= 0 ;
7216 char * kwnames
[] = {
7217 (char *) "self",(char *) "w", NULL
7220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7222 if (!SWIG_IsOK(res1
)) {
7223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7225 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7226 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7227 if (!SWIG_IsOK(ecode2
)) {
7228 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7230 arg2
= static_cast< int >(val2
);
7232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7233 (arg1
)->SetShadowWidth(arg2
);
7234 wxPyEndAllowThreads(__tstate
);
7235 if (PyErr_Occurred()) SWIG_fail
;
7237 resultobj
= SWIG_Py_Void();
7244 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7245 PyObject
*resultobj
= 0;
7246 wxGauge
*arg1
= (wxGauge
*) 0 ;
7250 PyObject
*swig_obj
[1] ;
7252 if (!args
) SWIG_fail
;
7254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7255 if (!SWIG_IsOK(res1
)) {
7256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7258 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7261 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7262 wxPyEndAllowThreads(__tstate
);
7263 if (PyErr_Occurred()) SWIG_fail
;
7265 resultobj
= SWIG_From_int(static_cast< int >(result
));
7272 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7273 PyObject
*resultobj
= 0;
7274 wxGauge
*arg1
= (wxGauge
*) 0 ;
7280 PyObject
* obj0
= 0 ;
7281 PyObject
* obj1
= 0 ;
7282 char * kwnames
[] = {
7283 (char *) "self",(char *) "w", NULL
7286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7288 if (!SWIG_IsOK(res1
)) {
7289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7291 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7292 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7293 if (!SWIG_IsOK(ecode2
)) {
7294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7296 arg2
= static_cast< int >(val2
);
7298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7299 (arg1
)->SetBezelFace(arg2
);
7300 wxPyEndAllowThreads(__tstate
);
7301 if (PyErr_Occurred()) SWIG_fail
;
7303 resultobj
= SWIG_Py_Void();
7310 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7311 PyObject
*resultobj
= 0;
7312 wxGauge
*arg1
= (wxGauge
*) 0 ;
7316 PyObject
*swig_obj
[1] ;
7318 if (!args
) SWIG_fail
;
7320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7321 if (!SWIG_IsOK(res1
)) {
7322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7324 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7327 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7328 wxPyEndAllowThreads(__tstate
);
7329 if (PyErr_Occurred()) SWIG_fail
;
7331 resultobj
= SWIG_From_int(static_cast< int >(result
));
7338 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7339 PyObject
*resultobj
= 0;
7340 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7341 SwigValueWrapper
<wxVisualAttributes
> result
;
7344 PyObject
* obj0
= 0 ;
7345 char * kwnames
[] = {
7346 (char *) "variant", NULL
7349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7351 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7352 if (!SWIG_IsOK(ecode1
)) {
7353 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7355 arg1
= static_cast< wxWindowVariant
>(val1
);
7358 if (!wxPyCheckForApp()) SWIG_fail
;
7359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7360 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7361 wxPyEndAllowThreads(__tstate
);
7362 if (PyErr_Occurred()) SWIG_fail
;
7364 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7371 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7373 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7374 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7375 return SWIG_Py_Void();
7378 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7379 return SWIG_Python_InitShadowInstance(args
);
7382 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7383 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7388 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7389 PyObject
*pyobj
= 0;
7393 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7395 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7402 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7403 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7408 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7409 PyObject
*pyobj
= 0;
7413 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7415 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7422 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7423 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7428 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7429 PyObject
*pyobj
= 0;
7433 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7435 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7442 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7443 PyObject
*resultobj
= 0;
7444 wxWindow
*arg1
= (wxWindow
*) 0 ;
7445 int arg2
= (int) -1 ;
7446 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7447 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7448 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7449 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7450 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7451 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7452 long arg6
= (long) 0 ;
7453 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7454 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7455 wxStaticBox
*result
= 0 ;
7460 bool temp3
= false ;
7465 bool temp7
= false ;
7466 PyObject
* obj0
= 0 ;
7467 PyObject
* obj1
= 0 ;
7468 PyObject
* obj2
= 0 ;
7469 PyObject
* obj3
= 0 ;
7470 PyObject
* obj4
= 0 ;
7471 PyObject
* obj5
= 0 ;
7472 PyObject
* obj6
= 0 ;
7473 char * kwnames
[] = {
7474 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7479 if (!SWIG_IsOK(res1
)) {
7480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7482 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7484 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7485 if (!SWIG_IsOK(ecode2
)) {
7486 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7488 arg2
= static_cast< int >(val2
);
7492 arg3
= wxString_in_helper(obj2
);
7493 if (arg3
== NULL
) SWIG_fail
;
7500 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7506 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7510 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7511 if (!SWIG_IsOK(ecode6
)) {
7512 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7514 arg6
= static_cast< long >(val6
);
7518 arg7
= wxString_in_helper(obj6
);
7519 if (arg7
== NULL
) SWIG_fail
;
7524 if (!wxPyCheckForApp()) SWIG_fail
;
7525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7526 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7527 wxPyEndAllowThreads(__tstate
);
7528 if (PyErr_Occurred()) SWIG_fail
;
7530 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7553 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7554 PyObject
*resultobj
= 0;
7555 wxStaticBox
*result
= 0 ;
7557 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7559 if (!wxPyCheckForApp()) SWIG_fail
;
7560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7561 result
= (wxStaticBox
*)new wxStaticBox();
7562 wxPyEndAllowThreads(__tstate
);
7563 if (PyErr_Occurred()) SWIG_fail
;
7565 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7572 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7573 PyObject
*resultobj
= 0;
7574 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7575 wxWindow
*arg2
= (wxWindow
*) 0 ;
7576 int arg3
= (int) -1 ;
7577 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7578 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7579 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7580 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7581 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7582 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7583 long arg7
= (long) 0 ;
7584 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7585 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7593 bool temp4
= false ;
7598 bool temp8
= false ;
7599 PyObject
* obj0
= 0 ;
7600 PyObject
* obj1
= 0 ;
7601 PyObject
* obj2
= 0 ;
7602 PyObject
* obj3
= 0 ;
7603 PyObject
* obj4
= 0 ;
7604 PyObject
* obj5
= 0 ;
7605 PyObject
* obj6
= 0 ;
7606 PyObject
* obj7
= 0 ;
7607 char * kwnames
[] = {
7608 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7613 if (!SWIG_IsOK(res1
)) {
7614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7616 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7617 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7618 if (!SWIG_IsOK(res2
)) {
7619 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7621 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7623 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7624 if (!SWIG_IsOK(ecode3
)) {
7625 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7627 arg3
= static_cast< int >(val3
);
7631 arg4
= wxString_in_helper(obj3
);
7632 if (arg4
== NULL
) SWIG_fail
;
7639 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7645 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7649 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7650 if (!SWIG_IsOK(ecode7
)) {
7651 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7653 arg7
= static_cast< long >(val7
);
7657 arg8
= wxString_in_helper(obj7
);
7658 if (arg8
== NULL
) SWIG_fail
;
7663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7664 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7665 wxPyEndAllowThreads(__tstate
);
7666 if (PyErr_Occurred()) SWIG_fail
;
7669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7693 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7694 PyObject
*resultobj
= 0;
7695 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7696 SwigValueWrapper
<wxVisualAttributes
> result
;
7699 PyObject
* obj0
= 0 ;
7700 char * kwnames
[] = {
7701 (char *) "variant", NULL
7704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7706 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7707 if (!SWIG_IsOK(ecode1
)) {
7708 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7710 arg1
= static_cast< wxWindowVariant
>(val1
);
7713 if (!wxPyCheckForApp()) SWIG_fail
;
7714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7715 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7716 wxPyEndAllowThreads(__tstate
);
7717 if (PyErr_Occurred()) SWIG_fail
;
7719 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7726 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7728 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7729 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7730 return SWIG_Py_Void();
7733 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7734 return SWIG_Python_InitShadowInstance(args
);
7737 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7738 PyObject
*resultobj
= 0;
7739 wxWindow
*arg1
= (wxWindow
*) 0 ;
7740 int arg2
= (int) -1 ;
7741 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7742 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7743 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7744 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7745 long arg5
= (long) wxLI_HORIZONTAL
;
7746 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
7747 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7748 wxStaticLine
*result
= 0 ;
7757 bool temp6
= false ;
7758 PyObject
* obj0
= 0 ;
7759 PyObject
* obj1
= 0 ;
7760 PyObject
* obj2
= 0 ;
7761 PyObject
* obj3
= 0 ;
7762 PyObject
* obj4
= 0 ;
7763 PyObject
* obj5
= 0 ;
7764 char * kwnames
[] = {
7765 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7770 if (!SWIG_IsOK(res1
)) {
7771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7773 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7775 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7776 if (!SWIG_IsOK(ecode2
)) {
7777 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7779 arg2
= static_cast< int >(val2
);
7784 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7790 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7794 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7795 if (!SWIG_IsOK(ecode5
)) {
7796 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7798 arg5
= static_cast< long >(val5
);
7802 arg6
= wxString_in_helper(obj5
);
7803 if (arg6
== NULL
) SWIG_fail
;
7808 if (!wxPyCheckForApp()) SWIG_fail
;
7809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7810 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7811 wxPyEndAllowThreads(__tstate
);
7812 if (PyErr_Occurred()) SWIG_fail
;
7814 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7829 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7830 PyObject
*resultobj
= 0;
7831 wxStaticLine
*result
= 0 ;
7833 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7835 if (!wxPyCheckForApp()) SWIG_fail
;
7836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7837 result
= (wxStaticLine
*)new wxStaticLine();
7838 wxPyEndAllowThreads(__tstate
);
7839 if (PyErr_Occurred()) SWIG_fail
;
7841 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7848 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7849 PyObject
*resultobj
= 0;
7850 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7851 wxWindow
*arg2
= (wxWindow
*) 0 ;
7852 int arg3
= (int) -1 ;
7853 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7854 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7855 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7856 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7857 long arg6
= (long) wxLI_HORIZONTAL
;
7858 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
7859 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7871 bool temp7
= false ;
7872 PyObject
* obj0
= 0 ;
7873 PyObject
* obj1
= 0 ;
7874 PyObject
* obj2
= 0 ;
7875 PyObject
* obj3
= 0 ;
7876 PyObject
* obj4
= 0 ;
7877 PyObject
* obj5
= 0 ;
7878 PyObject
* obj6
= 0 ;
7879 char * kwnames
[] = {
7880 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7885 if (!SWIG_IsOK(res1
)) {
7886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7888 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7889 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7890 if (!SWIG_IsOK(res2
)) {
7891 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7893 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7895 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7896 if (!SWIG_IsOK(ecode3
)) {
7897 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7899 arg3
= static_cast< int >(val3
);
7904 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7910 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7914 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7915 if (!SWIG_IsOK(ecode6
)) {
7916 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7918 arg6
= static_cast< long >(val6
);
7922 arg7
= wxString_in_helper(obj6
);
7923 if (arg7
== NULL
) SWIG_fail
;
7928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7929 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7930 wxPyEndAllowThreads(__tstate
);
7931 if (PyErr_Occurred()) SWIG_fail
;
7934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7950 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7951 PyObject
*resultobj
= 0;
7952 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7956 PyObject
*swig_obj
[1] ;
7958 if (!args
) SWIG_fail
;
7960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7961 if (!SWIG_IsOK(res1
)) {
7962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7964 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7967 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
7968 wxPyEndAllowThreads(__tstate
);
7969 if (PyErr_Occurred()) SWIG_fail
;
7972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7980 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7981 PyObject
*resultobj
= 0;
7984 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
7986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7987 result
= (int)wxStaticLine::GetDefaultSize();
7988 wxPyEndAllowThreads(__tstate
);
7989 if (PyErr_Occurred()) SWIG_fail
;
7991 resultobj
= SWIG_From_int(static_cast< int >(result
));
7998 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7999 PyObject
*resultobj
= 0;
8000 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8001 SwigValueWrapper
<wxVisualAttributes
> result
;
8004 PyObject
* obj0
= 0 ;
8005 char * kwnames
[] = {
8006 (char *) "variant", NULL
8009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8011 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8012 if (!SWIG_IsOK(ecode1
)) {
8013 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8015 arg1
= static_cast< wxWindowVariant
>(val1
);
8018 if (!wxPyCheckForApp()) SWIG_fail
;
8019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8020 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
8021 wxPyEndAllowThreads(__tstate
);
8022 if (PyErr_Occurred()) SWIG_fail
;
8024 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8031 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8033 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8034 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
8035 return SWIG_Py_Void();
8038 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8039 return SWIG_Python_InitShadowInstance(args
);
8042 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8043 PyObject
*resultobj
= 0;
8044 wxWindow
*arg1
= (wxWindow
*) 0 ;
8045 int arg2
= (int) -1 ;
8046 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8047 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8048 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8049 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8050 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8051 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8052 long arg6
= (long) 0 ;
8053 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8054 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8055 wxStaticText
*result
= 0 ;
8060 bool temp3
= false ;
8065 bool temp7
= false ;
8066 PyObject
* obj0
= 0 ;
8067 PyObject
* obj1
= 0 ;
8068 PyObject
* obj2
= 0 ;
8069 PyObject
* obj3
= 0 ;
8070 PyObject
* obj4
= 0 ;
8071 PyObject
* obj5
= 0 ;
8072 PyObject
* obj6
= 0 ;
8073 char * kwnames
[] = {
8074 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8079 if (!SWIG_IsOK(res1
)) {
8080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8082 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8084 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8085 if (!SWIG_IsOK(ecode2
)) {
8086 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8088 arg2
= static_cast< int >(val2
);
8092 arg3
= wxString_in_helper(obj2
);
8093 if (arg3
== NULL
) SWIG_fail
;
8100 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8106 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8110 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8111 if (!SWIG_IsOK(ecode6
)) {
8112 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8114 arg6
= static_cast< long >(val6
);
8118 arg7
= wxString_in_helper(obj6
);
8119 if (arg7
== NULL
) SWIG_fail
;
8124 if (!wxPyCheckForApp()) SWIG_fail
;
8125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8126 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8127 wxPyEndAllowThreads(__tstate
);
8128 if (PyErr_Occurred()) SWIG_fail
;
8130 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8153 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8154 PyObject
*resultobj
= 0;
8155 wxStaticText
*result
= 0 ;
8157 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8159 if (!wxPyCheckForApp()) SWIG_fail
;
8160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8161 result
= (wxStaticText
*)new wxStaticText();
8162 wxPyEndAllowThreads(__tstate
);
8163 if (PyErr_Occurred()) SWIG_fail
;
8165 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8172 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8173 PyObject
*resultobj
= 0;
8174 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8175 wxWindow
*arg2
= (wxWindow
*) 0 ;
8176 int arg3
= (int) -1 ;
8177 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8178 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8179 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8180 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8181 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8182 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8183 long arg7
= (long) 0 ;
8184 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8185 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8193 bool temp4
= false ;
8198 bool temp8
= false ;
8199 PyObject
* obj0
= 0 ;
8200 PyObject
* obj1
= 0 ;
8201 PyObject
* obj2
= 0 ;
8202 PyObject
* obj3
= 0 ;
8203 PyObject
* obj4
= 0 ;
8204 PyObject
* obj5
= 0 ;
8205 PyObject
* obj6
= 0 ;
8206 PyObject
* obj7
= 0 ;
8207 char * kwnames
[] = {
8208 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8213 if (!SWIG_IsOK(res1
)) {
8214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8216 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8217 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8218 if (!SWIG_IsOK(res2
)) {
8219 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8221 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8223 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8224 if (!SWIG_IsOK(ecode3
)) {
8225 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8227 arg3
= static_cast< int >(val3
);
8231 arg4
= wxString_in_helper(obj3
);
8232 if (arg4
== NULL
) SWIG_fail
;
8239 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8245 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8249 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8250 if (!SWIG_IsOK(ecode7
)) {
8251 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8253 arg7
= static_cast< long >(val7
);
8257 arg8
= wxString_in_helper(obj7
);
8258 if (arg8
== NULL
) SWIG_fail
;
8263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8264 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8265 wxPyEndAllowThreads(__tstate
);
8266 if (PyErr_Occurred()) SWIG_fail
;
8269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8293 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8294 PyObject
*resultobj
= 0;
8295 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8301 PyObject
* obj0
= 0 ;
8302 PyObject
* obj1
= 0 ;
8303 char * kwnames
[] = {
8304 (char *) "self",(char *) "width", NULL
8307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8309 if (!SWIG_IsOK(res1
)) {
8310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8312 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8313 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8314 if (!SWIG_IsOK(ecode2
)) {
8315 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8317 arg2
= static_cast< int >(val2
);
8319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8321 wxPyEndAllowThreads(__tstate
);
8322 if (PyErr_Occurred()) SWIG_fail
;
8324 resultobj
= SWIG_Py_Void();
8331 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8332 PyObject
*resultobj
= 0;
8333 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8334 SwigValueWrapper
<wxVisualAttributes
> result
;
8337 PyObject
* obj0
= 0 ;
8338 char * kwnames
[] = {
8339 (char *) "variant", NULL
8342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8344 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8345 if (!SWIG_IsOK(ecode1
)) {
8346 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8348 arg1
= static_cast< wxWindowVariant
>(val1
);
8351 if (!wxPyCheckForApp()) SWIG_fail
;
8352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8353 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8354 wxPyEndAllowThreads(__tstate
);
8355 if (PyErr_Occurred()) SWIG_fail
;
8357 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8364 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8366 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8367 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8368 return SWIG_Py_Void();
8371 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8372 return SWIG_Python_InitShadowInstance(args
);
8375 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8376 PyObject
*resultobj
= 0;
8377 wxWindow
*arg1
= (wxWindow
*) 0 ;
8378 int arg2
= (int) -1 ;
8379 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8380 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8381 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8382 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8383 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8384 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8385 long arg6
= (long) 0 ;
8386 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8387 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8388 wxStaticBitmap
*result
= 0 ;
8399 bool temp7
= false ;
8400 PyObject
* obj0
= 0 ;
8401 PyObject
* obj1
= 0 ;
8402 PyObject
* obj2
= 0 ;
8403 PyObject
* obj3
= 0 ;
8404 PyObject
* obj4
= 0 ;
8405 PyObject
* obj5
= 0 ;
8406 PyObject
* obj6
= 0 ;
8407 char * kwnames
[] = {
8408 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8413 if (!SWIG_IsOK(res1
)) {
8414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8416 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8418 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8419 if (!SWIG_IsOK(ecode2
)) {
8420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8422 arg2
= static_cast< int >(val2
);
8425 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8426 if (!SWIG_IsOK(res3
)) {
8427 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8430 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8432 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8437 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8443 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8447 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8448 if (!SWIG_IsOK(ecode6
)) {
8449 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8451 arg6
= static_cast< long >(val6
);
8455 arg7
= wxString_in_helper(obj6
);
8456 if (arg7
== NULL
) SWIG_fail
;
8461 if (!wxPyCheckForApp()) SWIG_fail
;
8462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8463 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8464 wxPyEndAllowThreads(__tstate
);
8465 if (PyErr_Occurred()) SWIG_fail
;
8467 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8482 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8483 PyObject
*resultobj
= 0;
8484 wxStaticBitmap
*result
= 0 ;
8486 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8488 if (!wxPyCheckForApp()) SWIG_fail
;
8489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8490 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8491 wxPyEndAllowThreads(__tstate
);
8492 if (PyErr_Occurred()) SWIG_fail
;
8494 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8501 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8502 PyObject
*resultobj
= 0;
8503 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8504 wxWindow
*arg2
= (wxWindow
*) 0 ;
8505 int arg3
= (int) -1 ;
8506 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8507 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8508 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8509 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8510 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8511 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8512 long arg7
= (long) 0 ;
8513 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8514 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8528 bool temp8
= false ;
8529 PyObject
* obj0
= 0 ;
8530 PyObject
* obj1
= 0 ;
8531 PyObject
* obj2
= 0 ;
8532 PyObject
* obj3
= 0 ;
8533 PyObject
* obj4
= 0 ;
8534 PyObject
* obj5
= 0 ;
8535 PyObject
* obj6
= 0 ;
8536 PyObject
* obj7
= 0 ;
8537 char * kwnames
[] = {
8538 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8543 if (!SWIG_IsOK(res1
)) {
8544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8546 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8547 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8548 if (!SWIG_IsOK(res2
)) {
8549 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8551 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8553 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8554 if (!SWIG_IsOK(ecode3
)) {
8555 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8557 arg3
= static_cast< int >(val3
);
8560 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8561 if (!SWIG_IsOK(res4
)) {
8562 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8565 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8567 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8572 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8578 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8582 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8583 if (!SWIG_IsOK(ecode7
)) {
8584 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8586 arg7
= static_cast< long >(val7
);
8590 arg8
= wxString_in_helper(obj7
);
8591 if (arg8
== NULL
) SWIG_fail
;
8596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8597 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8598 wxPyEndAllowThreads(__tstate
);
8599 if (PyErr_Occurred()) SWIG_fail
;
8602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8618 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8619 PyObject
*resultobj
= 0;
8620 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8624 PyObject
*swig_obj
[1] ;
8626 if (!args
) SWIG_fail
;
8628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8629 if (!SWIG_IsOK(res1
)) {
8630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8632 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8635 result
= (arg1
)->GetBitmap();
8636 wxPyEndAllowThreads(__tstate
);
8637 if (PyErr_Occurred()) SWIG_fail
;
8639 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8646 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8647 PyObject
*resultobj
= 0;
8648 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8649 wxBitmap
*arg2
= 0 ;
8654 PyObject
* obj0
= 0 ;
8655 PyObject
* obj1
= 0 ;
8656 char * kwnames
[] = {
8657 (char *) "self",(char *) "bitmap", NULL
8660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8662 if (!SWIG_IsOK(res1
)) {
8663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8665 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8666 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8667 if (!SWIG_IsOK(res2
)) {
8668 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8671 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8673 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8676 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8677 wxPyEndAllowThreads(__tstate
);
8678 if (PyErr_Occurred()) SWIG_fail
;
8680 resultobj
= SWIG_Py_Void();
8687 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8688 PyObject
*resultobj
= 0;
8689 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8695 PyObject
* obj0
= 0 ;
8696 PyObject
* obj1
= 0 ;
8697 char * kwnames
[] = {
8698 (char *) "self",(char *) "icon", NULL
8701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8703 if (!SWIG_IsOK(res1
)) {
8704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8706 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8707 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8708 if (!SWIG_IsOK(res2
)) {
8709 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8712 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8714 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8717 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8718 wxPyEndAllowThreads(__tstate
);
8719 if (PyErr_Occurred()) SWIG_fail
;
8721 resultobj
= SWIG_Py_Void();
8728 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8729 PyObject
*resultobj
= 0;
8730 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8731 SwigValueWrapper
<wxVisualAttributes
> result
;
8734 PyObject
* obj0
= 0 ;
8735 char * kwnames
[] = {
8736 (char *) "variant", NULL
8739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8741 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8742 if (!SWIG_IsOK(ecode1
)) {
8743 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8745 arg1
= static_cast< wxWindowVariant
>(val1
);
8748 if (!wxPyCheckForApp()) SWIG_fail
;
8749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8750 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8751 wxPyEndAllowThreads(__tstate
);
8752 if (PyErr_Occurred()) SWIG_fail
;
8754 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8761 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8763 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8764 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8765 return SWIG_Py_Void();
8768 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8769 return SWIG_Python_InitShadowInstance(args
);
8772 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8773 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8778 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8779 PyObject
*pyobj
= 0;
8783 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8785 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8792 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8793 PyObject
*resultobj
= 0;
8794 wxWindow
*arg1
= (wxWindow
*) 0 ;
8795 int arg2
= (int) -1 ;
8796 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8797 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8798 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8799 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8800 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8801 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8802 long arg6
= (long) 0 ;
8803 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8804 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8805 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8806 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8807 wxListBox
*result
= 0 ;
8814 bool temp5
= false ;
8819 bool temp8
= false ;
8820 PyObject
* obj0
= 0 ;
8821 PyObject
* obj1
= 0 ;
8822 PyObject
* obj2
= 0 ;
8823 PyObject
* obj3
= 0 ;
8824 PyObject
* obj4
= 0 ;
8825 PyObject
* obj5
= 0 ;
8826 PyObject
* obj6
= 0 ;
8827 PyObject
* obj7
= 0 ;
8828 char * kwnames
[] = {
8829 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8834 if (!SWIG_IsOK(res1
)) {
8835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8837 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8839 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8840 if (!SWIG_IsOK(ecode2
)) {
8841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8843 arg2
= static_cast< int >(val2
);
8848 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8854 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8859 if (! PySequence_Check(obj4
)) {
8860 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8863 arg5
= new wxArrayString
;
8865 int i
, len
=PySequence_Length(obj4
);
8866 for (i
=0; i
<len
; i
++) {
8867 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8868 wxString
* s
= wxString_in_helper(item
);
8869 if (PyErr_Occurred()) SWIG_fail
;
8877 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8878 if (!SWIG_IsOK(ecode6
)) {
8879 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8881 arg6
= static_cast< long >(val6
);
8884 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
8885 if (!SWIG_IsOK(res7
)) {
8886 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8889 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8891 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
8895 arg8
= wxString_in_helper(obj7
);
8896 if (arg8
== NULL
) SWIG_fail
;
8901 if (!wxPyCheckForApp()) SWIG_fail
;
8902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8903 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8904 wxPyEndAllowThreads(__tstate
);
8905 if (PyErr_Occurred()) SWIG_fail
;
8907 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
8909 if (temp5
) delete arg5
;
8918 if (temp5
) delete arg5
;
8928 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8929 PyObject
*resultobj
= 0;
8930 wxListBox
*result
= 0 ;
8932 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
8934 if (!wxPyCheckForApp()) SWIG_fail
;
8935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8936 result
= (wxListBox
*)new wxListBox();
8937 wxPyEndAllowThreads(__tstate
);
8938 if (PyErr_Occurred()) SWIG_fail
;
8940 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
8947 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8948 PyObject
*resultobj
= 0;
8949 wxListBox
*arg1
= (wxListBox
*) 0 ;
8950 wxWindow
*arg2
= (wxWindow
*) 0 ;
8951 int arg3
= (int) -1 ;
8952 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8953 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8954 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8955 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8956 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8957 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8958 long arg7
= (long) 0 ;
8959 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8960 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8961 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8962 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8972 bool temp6
= false ;
8977 bool temp9
= false ;
8978 PyObject
* obj0
= 0 ;
8979 PyObject
* obj1
= 0 ;
8980 PyObject
* obj2
= 0 ;
8981 PyObject
* obj3
= 0 ;
8982 PyObject
* obj4
= 0 ;
8983 PyObject
* obj5
= 0 ;
8984 PyObject
* obj6
= 0 ;
8985 PyObject
* obj7
= 0 ;
8986 PyObject
* obj8
= 0 ;
8987 char * kwnames
[] = {
8988 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
8992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
8993 if (!SWIG_IsOK(res1
)) {
8994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
8996 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
8997 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8998 if (!SWIG_IsOK(res2
)) {
8999 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9001 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9003 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9004 if (!SWIG_IsOK(ecode3
)) {
9005 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9007 arg3
= static_cast< int >(val3
);
9012 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9018 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9023 if (! PySequence_Check(obj5
)) {
9024 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9027 arg6
= new wxArrayString
;
9029 int i
, len
=PySequence_Length(obj5
);
9030 for (i
=0; i
<len
; i
++) {
9031 PyObject
* item
= PySequence_GetItem(obj5
, i
);
9032 wxString
* s
= wxString_in_helper(item
);
9033 if (PyErr_Occurred()) SWIG_fail
;
9041 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
9042 if (!SWIG_IsOK(ecode7
)) {
9043 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9045 arg7
= static_cast< long >(val7
);
9048 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
9049 if (!SWIG_IsOK(res8
)) {
9050 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9053 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9055 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9059 arg9
= wxString_in_helper(obj8
);
9060 if (arg9
== NULL
) SWIG_fail
;
9065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9066 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9067 wxPyEndAllowThreads(__tstate
);
9068 if (PyErr_Occurred()) SWIG_fail
;
9071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9074 if (temp6
) delete arg6
;
9083 if (temp6
) delete arg6
;
9093 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9094 PyObject
*resultobj
= 0;
9095 wxListBox
*arg1
= (wxListBox
*) 0 ;
9096 wxString
*arg2
= 0 ;
9098 PyObject
*arg4
= (PyObject
*) NULL
;
9101 bool temp2
= false ;
9104 PyObject
* obj0
= 0 ;
9105 PyObject
* obj1
= 0 ;
9106 PyObject
* obj2
= 0 ;
9107 PyObject
* obj3
= 0 ;
9108 char * kwnames
[] = {
9109 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9114 if (!SWIG_IsOK(res1
)) {
9115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9117 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9119 arg2
= wxString_in_helper(obj1
);
9120 if (arg2
== NULL
) SWIG_fail
;
9123 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9124 if (!SWIG_IsOK(ecode3
)) {
9125 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9127 arg3
= static_cast< int >(val3
);
9132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9133 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9134 wxPyEndAllowThreads(__tstate
);
9135 if (PyErr_Occurred()) SWIG_fail
;
9137 resultobj
= SWIG_Py_Void();
9152 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9153 PyObject
*resultobj
= 0;
9154 wxListBox
*arg1
= (wxListBox
*) 0 ;
9155 wxArrayString
*arg2
= 0 ;
9159 bool temp2
= false ;
9162 PyObject
* obj0
= 0 ;
9163 PyObject
* obj1
= 0 ;
9164 PyObject
* obj2
= 0 ;
9165 char * kwnames
[] = {
9166 (char *) "self",(char *) "items",(char *) "pos", NULL
9169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9171 if (!SWIG_IsOK(res1
)) {
9172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9174 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9176 if (! PySequence_Check(obj1
)) {
9177 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9180 arg2
= new wxArrayString
;
9182 int i
, len
=PySequence_Length(obj1
);
9183 for (i
=0; i
<len
; i
++) {
9184 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9185 wxString
* s
= wxString_in_helper(item
);
9186 if (PyErr_Occurred()) SWIG_fail
;
9192 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9193 if (!SWIG_IsOK(ecode3
)) {
9194 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9196 arg3
= static_cast< unsigned int >(val3
);
9198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9199 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9200 wxPyEndAllowThreads(__tstate
);
9201 if (PyErr_Occurred()) SWIG_fail
;
9203 resultobj
= SWIG_Py_Void();
9205 if (temp2
) delete arg2
;
9210 if (temp2
) delete arg2
;
9216 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9217 PyObject
*resultobj
= 0;
9218 wxListBox
*arg1
= (wxListBox
*) 0 ;
9219 wxArrayString
*arg2
= 0 ;
9222 bool temp2
= false ;
9223 PyObject
* obj0
= 0 ;
9224 PyObject
* obj1
= 0 ;
9225 char * kwnames
[] = {
9226 (char *) "self",(char *) "items", NULL
9229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9231 if (!SWIG_IsOK(res1
)) {
9232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9234 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9236 if (! PySequence_Check(obj1
)) {
9237 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9240 arg2
= new wxArrayString
;
9242 int i
, len
=PySequence_Length(obj1
);
9243 for (i
=0; i
<len
; i
++) {
9244 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9245 wxString
* s
= wxString_in_helper(item
);
9246 if (PyErr_Occurred()) SWIG_fail
;
9253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9254 (arg1
)->Set((wxArrayString
const &)*arg2
);
9255 wxPyEndAllowThreads(__tstate
);
9256 if (PyErr_Occurred()) SWIG_fail
;
9258 resultobj
= SWIG_Py_Void();
9260 if (temp2
) delete arg2
;
9265 if (temp2
) delete arg2
;
9271 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9272 PyObject
*resultobj
= 0;
9273 wxListBox
*arg1
= (wxListBox
*) 0 ;
9280 PyObject
* obj0
= 0 ;
9281 PyObject
* obj1
= 0 ;
9282 char * kwnames
[] = {
9283 (char *) "self",(char *) "n", NULL
9286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9288 if (!SWIG_IsOK(res1
)) {
9289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9291 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9292 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9293 if (!SWIG_IsOK(ecode2
)) {
9294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9296 arg2
= static_cast< int >(val2
);
9298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9299 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9300 wxPyEndAllowThreads(__tstate
);
9301 if (PyErr_Occurred()) SWIG_fail
;
9304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9312 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9313 PyObject
*resultobj
= 0;
9314 wxListBox
*arg1
= (wxListBox
*) 0 ;
9316 bool arg3
= (bool) true ;
9323 PyObject
* obj0
= 0 ;
9324 PyObject
* obj1
= 0 ;
9325 PyObject
* obj2
= 0 ;
9326 char * kwnames
[] = {
9327 (char *) "self",(char *) "n",(char *) "select", NULL
9330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9332 if (!SWIG_IsOK(res1
)) {
9333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9335 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9336 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9337 if (!SWIG_IsOK(ecode2
)) {
9338 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9340 arg2
= static_cast< int >(val2
);
9342 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9343 if (!SWIG_IsOK(ecode3
)) {
9344 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9346 arg3
= static_cast< bool >(val3
);
9349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9350 (arg1
)->SetSelection(arg2
,arg3
);
9351 wxPyEndAllowThreads(__tstate
);
9352 if (PyErr_Occurred()) SWIG_fail
;
9354 resultobj
= SWIG_Py_Void();
9361 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9362 PyObject
*resultobj
= 0;
9363 wxListBox
*arg1
= (wxListBox
*) 0 ;
9369 PyObject
* obj0
= 0 ;
9370 PyObject
* obj1
= 0 ;
9371 char * kwnames
[] = {
9372 (char *) "self",(char *) "n", NULL
9375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9377 if (!SWIG_IsOK(res1
)) {
9378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9380 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9381 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9382 if (!SWIG_IsOK(ecode2
)) {
9383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9385 arg2
= static_cast< int >(val2
);
9387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9388 (arg1
)->Select(arg2
);
9389 wxPyEndAllowThreads(__tstate
);
9390 if (PyErr_Occurred()) SWIG_fail
;
9392 resultobj
= SWIG_Py_Void();
9399 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9400 PyObject
*resultobj
= 0;
9401 wxListBox
*arg1
= (wxListBox
*) 0 ;
9407 PyObject
* obj0
= 0 ;
9408 PyObject
* obj1
= 0 ;
9409 char * kwnames
[] = {
9410 (char *) "self",(char *) "n", NULL
9413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9415 if (!SWIG_IsOK(res1
)) {
9416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9418 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9419 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9420 if (!SWIG_IsOK(ecode2
)) {
9421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9423 arg2
= static_cast< int >(val2
);
9425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9426 (arg1
)->Deselect(arg2
);
9427 wxPyEndAllowThreads(__tstate
);
9428 if (PyErr_Occurred()) SWIG_fail
;
9430 resultobj
= SWIG_Py_Void();
9437 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9438 PyObject
*resultobj
= 0;
9439 wxListBox
*arg1
= (wxListBox
*) 0 ;
9440 int arg2
= (int) -1 ;
9445 PyObject
* obj0
= 0 ;
9446 PyObject
* obj1
= 0 ;
9447 char * kwnames
[] = {
9448 (char *) "self",(char *) "itemToLeaveSelected", NULL
9451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9453 if (!SWIG_IsOK(res1
)) {
9454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9456 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9458 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9459 if (!SWIG_IsOK(ecode2
)) {
9460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9462 arg2
= static_cast< int >(val2
);
9465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9466 (arg1
)->DeselectAll(arg2
);
9467 wxPyEndAllowThreads(__tstate
);
9468 if (PyErr_Occurred()) SWIG_fail
;
9470 resultobj
= SWIG_Py_Void();
9477 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9478 PyObject
*resultobj
= 0;
9479 wxListBox
*arg1
= (wxListBox
*) 0 ;
9480 wxString
*arg2
= 0 ;
9481 bool arg3
= (bool) true ;
9485 bool temp2
= false ;
9488 PyObject
* obj0
= 0 ;
9489 PyObject
* obj1
= 0 ;
9490 PyObject
* obj2
= 0 ;
9491 char * kwnames
[] = {
9492 (char *) "self",(char *) "s",(char *) "select", NULL
9495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9497 if (!SWIG_IsOK(res1
)) {
9498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9500 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9502 arg2
= wxString_in_helper(obj1
);
9503 if (arg2
== NULL
) SWIG_fail
;
9507 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9508 if (!SWIG_IsOK(ecode3
)) {
9509 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9511 arg3
= static_cast< bool >(val3
);
9514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9515 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9516 wxPyEndAllowThreads(__tstate
);
9517 if (PyErr_Occurred()) SWIG_fail
;
9520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9536 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9537 PyObject
*resultobj
= 0;
9538 wxListBox
*arg1
= (wxListBox
*) 0 ;
9539 PyObject
*result
= 0 ;
9542 PyObject
*swig_obj
[1] ;
9544 if (!args
) SWIG_fail
;
9546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9547 if (!SWIG_IsOK(res1
)) {
9548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9550 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9553 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9554 wxPyEndAllowThreads(__tstate
);
9555 if (PyErr_Occurred()) SWIG_fail
;
9564 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9565 PyObject
*resultobj
= 0;
9566 wxListBox
*arg1
= (wxListBox
*) 0 ;
9572 PyObject
* obj0
= 0 ;
9573 PyObject
* obj1
= 0 ;
9574 char * kwnames
[] = {
9575 (char *) "self",(char *) "n", NULL
9578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9580 if (!SWIG_IsOK(res1
)) {
9581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9583 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9584 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9585 if (!SWIG_IsOK(ecode2
)) {
9586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9588 arg2
= static_cast< int >(val2
);
9590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9591 (arg1
)->SetFirstItem(arg2
);
9592 wxPyEndAllowThreads(__tstate
);
9593 if (PyErr_Occurred()) SWIG_fail
;
9595 resultobj
= SWIG_Py_Void();
9602 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9603 PyObject
*resultobj
= 0;
9604 wxListBox
*arg1
= (wxListBox
*) 0 ;
9605 wxString
*arg2
= 0 ;
9608 bool temp2
= false ;
9609 PyObject
* obj0
= 0 ;
9610 PyObject
* obj1
= 0 ;
9611 char * kwnames
[] = {
9612 (char *) "self",(char *) "s", NULL
9615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9617 if (!SWIG_IsOK(res1
)) {
9618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9620 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9622 arg2
= wxString_in_helper(obj1
);
9623 if (arg2
== NULL
) SWIG_fail
;
9627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9628 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9629 wxPyEndAllowThreads(__tstate
);
9630 if (PyErr_Occurred()) SWIG_fail
;
9632 resultobj
= SWIG_Py_Void();
9647 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9648 PyObject
*resultobj
= 0;
9649 wxListBox
*arg1
= (wxListBox
*) 0 ;
9655 PyObject
* obj0
= 0 ;
9656 PyObject
* obj1
= 0 ;
9657 char * kwnames
[] = {
9658 (char *) "self",(char *) "n", NULL
9661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9663 if (!SWIG_IsOK(res1
)) {
9664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9666 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9667 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9668 if (!SWIG_IsOK(ecode2
)) {
9669 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9671 arg2
= static_cast< int >(val2
);
9673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9674 (arg1
)->EnsureVisible(arg2
);
9675 wxPyEndAllowThreads(__tstate
);
9676 if (PyErr_Occurred()) SWIG_fail
;
9678 resultobj
= SWIG_Py_Void();
9685 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9686 PyObject
*resultobj
= 0;
9687 wxListBox
*arg1
= (wxListBox
*) 0 ;
9688 wxString
*arg2
= 0 ;
9691 bool temp2
= false ;
9692 PyObject
* obj0
= 0 ;
9693 PyObject
* obj1
= 0 ;
9694 char * kwnames
[] = {
9695 (char *) "self",(char *) "s", NULL
9698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9700 if (!SWIG_IsOK(res1
)) {
9701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9703 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9705 arg2
= wxString_in_helper(obj1
);
9706 if (arg2
== NULL
) SWIG_fail
;
9710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9711 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9712 wxPyEndAllowThreads(__tstate
);
9713 if (PyErr_Occurred()) SWIG_fail
;
9715 resultobj
= SWIG_Py_Void();
9730 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9731 PyObject
*resultobj
= 0;
9732 wxListBox
*arg1
= (wxListBox
*) 0 ;
9736 PyObject
*swig_obj
[1] ;
9738 if (!args
) SWIG_fail
;
9740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9741 if (!SWIG_IsOK(res1
)) {
9742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9744 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9747 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9748 wxPyEndAllowThreads(__tstate
);
9749 if (PyErr_Occurred()) SWIG_fail
;
9752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9760 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9761 PyObject
*resultobj
= 0;
9762 wxListBox
*arg1
= (wxListBox
*) 0 ;
9768 PyObject
* obj0
= 0 ;
9769 PyObject
* obj1
= 0 ;
9770 char * kwnames
[] = {
9771 (char *) "self",(char *) "pt", NULL
9774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9776 if (!SWIG_IsOK(res1
)) {
9777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9779 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9782 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9786 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9787 wxPyEndAllowThreads(__tstate
);
9788 if (PyErr_Occurred()) SWIG_fail
;
9790 resultobj
= SWIG_From_int(static_cast< int >(result
));
9797 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9798 PyObject
*resultobj
= 0;
9799 wxListBox
*arg1
= (wxListBox
*) 0 ;
9801 wxColour
*arg3
= 0 ;
9807 PyObject
* obj0
= 0 ;
9808 PyObject
* obj1
= 0 ;
9809 PyObject
* obj2
= 0 ;
9810 char * kwnames
[] = {
9811 (char *) "self",(char *) "item",(char *) "c", NULL
9814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9816 if (!SWIG_IsOK(res1
)) {
9817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9819 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9820 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9821 if (!SWIG_IsOK(ecode2
)) {
9822 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9824 arg2
= static_cast< int >(val2
);
9827 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9831 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9832 wxPyEndAllowThreads(__tstate
);
9833 if (PyErr_Occurred()) SWIG_fail
;
9835 resultobj
= SWIG_Py_Void();
9842 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9843 PyObject
*resultobj
= 0;
9844 wxListBox
*arg1
= (wxListBox
*) 0 ;
9846 wxColour
*arg3
= 0 ;
9852 PyObject
* obj0
= 0 ;
9853 PyObject
* obj1
= 0 ;
9854 PyObject
* obj2
= 0 ;
9855 char * kwnames
[] = {
9856 (char *) "self",(char *) "item",(char *) "c", NULL
9859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9861 if (!SWIG_IsOK(res1
)) {
9862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9864 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9865 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9866 if (!SWIG_IsOK(ecode2
)) {
9867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9869 arg2
= static_cast< int >(val2
);
9872 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9876 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9877 wxPyEndAllowThreads(__tstate
);
9878 if (PyErr_Occurred()) SWIG_fail
;
9880 resultobj
= SWIG_Py_Void();
9887 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9888 PyObject
*resultobj
= 0;
9889 wxListBox
*arg1
= (wxListBox
*) 0 ;
9898 PyObject
* obj0
= 0 ;
9899 PyObject
* obj1
= 0 ;
9900 PyObject
* obj2
= 0 ;
9901 char * kwnames
[] = {
9902 (char *) "self",(char *) "item",(char *) "f", NULL
9905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9907 if (!SWIG_IsOK(res1
)) {
9908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9910 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9911 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9912 if (!SWIG_IsOK(ecode2
)) {
9913 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9915 arg2
= static_cast< int >(val2
);
9916 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
9917 if (!SWIG_IsOK(res3
)) {
9918 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9921 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9923 arg3
= reinterpret_cast< wxFont
* >(argp3
);
9925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9926 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
9927 wxPyEndAllowThreads(__tstate
);
9928 if (PyErr_Occurred()) SWIG_fail
;
9930 resultobj
= SWIG_Py_Void();
9937 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9938 PyObject
*resultobj
= 0;
9939 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9940 SwigValueWrapper
<wxVisualAttributes
> result
;
9943 PyObject
* obj0
= 0 ;
9944 char * kwnames
[] = {
9945 (char *) "variant", NULL
9948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9950 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9951 if (!SWIG_IsOK(ecode1
)) {
9952 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9954 arg1
= static_cast< wxWindowVariant
>(val1
);
9957 if (!wxPyCheckForApp()) SWIG_fail
;
9958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9959 result
= wxListBox::GetClassDefaultAttributes(arg1
);
9960 wxPyEndAllowThreads(__tstate
);
9961 if (PyErr_Occurred()) SWIG_fail
;
9963 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9970 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9972 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9973 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
9974 return SWIG_Py_Void();
9977 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9978 return SWIG_Python_InitShadowInstance(args
);
9981 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9982 PyObject
*resultobj
= 0;
9983 wxWindow
*arg1
= (wxWindow
*) 0 ;
9984 int arg2
= (int) -1 ;
9985 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9986 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9987 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9988 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9989 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
9990 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
9991 long arg6
= (long) 0 ;
9992 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9993 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9994 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
9995 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9996 wxCheckListBox
*result
= 0 ;
10003 bool temp5
= false ;
10008 bool temp8
= false ;
10009 PyObject
* obj0
= 0 ;
10010 PyObject
* obj1
= 0 ;
10011 PyObject
* obj2
= 0 ;
10012 PyObject
* obj3
= 0 ;
10013 PyObject
* obj4
= 0 ;
10014 PyObject
* obj5
= 0 ;
10015 PyObject
* obj6
= 0 ;
10016 PyObject
* obj7
= 0 ;
10017 char * kwnames
[] = {
10018 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
10022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10023 if (!SWIG_IsOK(res1
)) {
10024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10026 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10028 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10029 if (!SWIG_IsOK(ecode2
)) {
10030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10032 arg2
= static_cast< int >(val2
);
10037 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10043 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10048 if (! PySequence_Check(obj4
)) {
10049 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10052 arg5
= new wxArrayString
;
10054 int i
, len
=PySequence_Length(obj4
);
10055 for (i
=0; i
<len
; i
++) {
10056 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10057 wxString
* s
= wxString_in_helper(item
);
10058 if (PyErr_Occurred()) SWIG_fail
;
10066 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10067 if (!SWIG_IsOK(ecode6
)) {
10068 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10070 arg6
= static_cast< long >(val6
);
10073 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10074 if (!SWIG_IsOK(res7
)) {
10075 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10078 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10080 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10084 arg8
= wxString_in_helper(obj7
);
10085 if (arg8
== NULL
) SWIG_fail
;
10090 if (!wxPyCheckForApp()) SWIG_fail
;
10091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10092 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10093 wxPyEndAllowThreads(__tstate
);
10094 if (PyErr_Occurred()) SWIG_fail
;
10096 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10098 if (temp5
) delete arg5
;
10107 if (temp5
) delete arg5
;
10117 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10118 PyObject
*resultobj
= 0;
10119 wxCheckListBox
*result
= 0 ;
10121 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10123 if (!wxPyCheckForApp()) SWIG_fail
;
10124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10125 result
= (wxCheckListBox
*)new wxCheckListBox();
10126 wxPyEndAllowThreads(__tstate
);
10127 if (PyErr_Occurred()) SWIG_fail
;
10129 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10136 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10137 PyObject
*resultobj
= 0;
10138 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10139 wxWindow
*arg2
= (wxWindow
*) 0 ;
10140 int arg3
= (int) -1 ;
10141 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10142 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10143 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10144 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10145 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10146 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10147 long arg7
= (long) 0 ;
10148 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10149 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10150 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10151 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10161 bool temp6
= false ;
10166 bool temp9
= false ;
10167 PyObject
* obj0
= 0 ;
10168 PyObject
* obj1
= 0 ;
10169 PyObject
* obj2
= 0 ;
10170 PyObject
* obj3
= 0 ;
10171 PyObject
* obj4
= 0 ;
10172 PyObject
* obj5
= 0 ;
10173 PyObject
* obj6
= 0 ;
10174 PyObject
* obj7
= 0 ;
10175 PyObject
* obj8
= 0 ;
10176 char * kwnames
[] = {
10177 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10182 if (!SWIG_IsOK(res1
)) {
10183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10185 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10186 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10187 if (!SWIG_IsOK(res2
)) {
10188 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10190 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10192 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10193 if (!SWIG_IsOK(ecode3
)) {
10194 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10196 arg3
= static_cast< int >(val3
);
10201 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10207 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10212 if (! PySequence_Check(obj5
)) {
10213 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10216 arg6
= new wxArrayString
;
10218 int i
, len
=PySequence_Length(obj5
);
10219 for (i
=0; i
<len
; i
++) {
10220 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10221 wxString
* s
= wxString_in_helper(item
);
10222 if (PyErr_Occurred()) SWIG_fail
;
10230 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10231 if (!SWIG_IsOK(ecode7
)) {
10232 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10234 arg7
= static_cast< long >(val7
);
10237 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10238 if (!SWIG_IsOK(res8
)) {
10239 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10242 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10244 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10248 arg9
= wxString_in_helper(obj8
);
10249 if (arg9
== NULL
) SWIG_fail
;
10254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10255 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10256 wxPyEndAllowThreads(__tstate
);
10257 if (PyErr_Occurred()) SWIG_fail
;
10260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10263 if (temp6
) delete arg6
;
10272 if (temp6
) delete arg6
;
10282 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10283 PyObject
*resultobj
= 0;
10284 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10285 unsigned int arg2
;
10289 unsigned int val2
;
10291 PyObject
* obj0
= 0 ;
10292 PyObject
* obj1
= 0 ;
10293 char * kwnames
[] = {
10294 (char *) "self",(char *) "index", NULL
10297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10299 if (!SWIG_IsOK(res1
)) {
10300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10302 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10303 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10304 if (!SWIG_IsOK(ecode2
)) {
10305 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10307 arg2
= static_cast< unsigned int >(val2
);
10309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10310 result
= (bool)(arg1
)->IsChecked(arg2
);
10311 wxPyEndAllowThreads(__tstate
);
10312 if (PyErr_Occurred()) SWIG_fail
;
10315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10323 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10324 PyObject
*resultobj
= 0;
10325 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10326 unsigned int arg2
;
10327 int arg3
= (int) true ;
10330 unsigned int val2
;
10334 PyObject
* obj0
= 0 ;
10335 PyObject
* obj1
= 0 ;
10336 PyObject
* obj2
= 0 ;
10337 char * kwnames
[] = {
10338 (char *) "self",(char *) "index",(char *) "check", NULL
10341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10343 if (!SWIG_IsOK(res1
)) {
10344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10346 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10347 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10348 if (!SWIG_IsOK(ecode2
)) {
10349 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10351 arg2
= static_cast< unsigned int >(val2
);
10353 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10354 if (!SWIG_IsOK(ecode3
)) {
10355 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10357 arg3
= static_cast< int >(val3
);
10360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10361 (arg1
)->Check(arg2
,arg3
);
10362 wxPyEndAllowThreads(__tstate
);
10363 if (PyErr_Occurred()) SWIG_fail
;
10365 resultobj
= SWIG_Py_Void();
10372 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10374 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10375 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10376 return SWIG_Py_Void();
10379 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10380 return SWIG_Python_InitShadowInstance(args
);
10383 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10384 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10389 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10390 PyObject
*pyobj
= 0;
10394 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10396 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10403 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10404 PyObject
*resultobj
= 0;
10405 wxColour
const &arg1_defvalue
= wxNullColour
;
10406 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10407 wxColour
const &arg2_defvalue
= wxNullColour
;
10408 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10409 wxFont
const &arg3_defvalue
= wxNullFont
;
10410 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10411 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10412 wxTextAttr
*result
= 0 ;
10419 PyObject
* obj0
= 0 ;
10420 PyObject
* obj1
= 0 ;
10421 PyObject
* obj2
= 0 ;
10422 PyObject
* obj3
= 0 ;
10423 char * kwnames
[] = {
10424 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10431 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10437 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10441 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10442 if (!SWIG_IsOK(res3
)) {
10443 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10446 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10448 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10451 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10452 if (!SWIG_IsOK(ecode4
)) {
10453 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10455 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10459 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10460 wxPyEndAllowThreads(__tstate
);
10461 if (PyErr_Occurred()) SWIG_fail
;
10463 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10470 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10471 PyObject
*resultobj
= 0;
10472 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10475 PyObject
*swig_obj
[1] ;
10477 if (!args
) SWIG_fail
;
10478 swig_obj
[0] = args
;
10479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10480 if (!SWIG_IsOK(res1
)) {
10481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10483 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10488 wxPyEndAllowThreads(__tstate
);
10489 if (PyErr_Occurred()) SWIG_fail
;
10491 resultobj
= SWIG_Py_Void();
10498 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10499 PyObject
*resultobj
= 0;
10500 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10503 PyObject
*swig_obj
[1] ;
10505 if (!args
) SWIG_fail
;
10506 swig_obj
[0] = args
;
10507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10508 if (!SWIG_IsOK(res1
)) {
10509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10511 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10515 wxPyEndAllowThreads(__tstate
);
10516 if (PyErr_Occurred()) SWIG_fail
;
10518 resultobj
= SWIG_Py_Void();
10525 SWIGINTERN PyObject
*_wrap_TextAttr_Merge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10526 PyObject
*resultobj
= 0;
10527 wxTextAttr
*arg1
= 0 ;
10528 wxTextAttr
*arg2
= 0 ;
10534 PyObject
* obj0
= 0 ;
10535 PyObject
* obj1
= 0 ;
10536 char * kwnames
[] = {
10537 (char *) "base",(char *) "overlay", NULL
10540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_Merge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10541 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10542 if (!SWIG_IsOK(res1
)) {
10543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10546 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10548 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10549 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10550 if (!SWIG_IsOK(res2
)) {
10551 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10554 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10556 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
10558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10559 result
= wxTextAttr::Merge((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
);
10560 wxPyEndAllowThreads(__tstate
);
10561 if (PyErr_Occurred()) SWIG_fail
;
10563 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
10570 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10571 PyObject
*resultobj
= 0;
10572 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10573 wxColour
*arg2
= 0 ;
10577 PyObject
* obj0
= 0 ;
10578 PyObject
* obj1
= 0 ;
10579 char * kwnames
[] = {
10580 (char *) "self",(char *) "colText", NULL
10583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10585 if (!SWIG_IsOK(res1
)) {
10586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10588 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10591 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10595 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10596 wxPyEndAllowThreads(__tstate
);
10597 if (PyErr_Occurred()) SWIG_fail
;
10599 resultobj
= SWIG_Py_Void();
10606 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10607 PyObject
*resultobj
= 0;
10608 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10609 wxColour
*arg2
= 0 ;
10613 PyObject
* obj0
= 0 ;
10614 PyObject
* obj1
= 0 ;
10615 char * kwnames
[] = {
10616 (char *) "self",(char *) "colBack", NULL
10619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10621 if (!SWIG_IsOK(res1
)) {
10622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10624 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10627 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10631 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10632 wxPyEndAllowThreads(__tstate
);
10633 if (PyErr_Occurred()) SWIG_fail
;
10635 resultobj
= SWIG_Py_Void();
10642 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10643 PyObject
*resultobj
= 0;
10644 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10646 long arg3
= (long) wxTEXT_ATTR_FONT
;
10653 PyObject
* obj0
= 0 ;
10654 PyObject
* obj1
= 0 ;
10655 PyObject
* obj2
= 0 ;
10656 char * kwnames
[] = {
10657 (char *) "self",(char *) "font",(char *) "flags", NULL
10660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10662 if (!SWIG_IsOK(res1
)) {
10663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10665 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10666 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10667 if (!SWIG_IsOK(res2
)) {
10668 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10671 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10673 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10675 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10676 if (!SWIG_IsOK(ecode3
)) {
10677 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10679 arg3
= static_cast< long >(val3
);
10682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10683 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10684 wxPyEndAllowThreads(__tstate
);
10685 if (PyErr_Occurred()) SWIG_fail
;
10687 resultobj
= SWIG_Py_Void();
10694 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10695 PyObject
*resultobj
= 0;
10696 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10697 wxTextAttrAlignment arg2
;
10702 PyObject
* obj0
= 0 ;
10703 PyObject
* obj1
= 0 ;
10704 char * kwnames
[] = {
10705 (char *) "self",(char *) "alignment", NULL
10708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10710 if (!SWIG_IsOK(res1
)) {
10711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10713 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10714 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10715 if (!SWIG_IsOK(ecode2
)) {
10716 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10718 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10721 (arg1
)->SetAlignment(arg2
);
10722 wxPyEndAllowThreads(__tstate
);
10723 if (PyErr_Occurred()) SWIG_fail
;
10725 resultobj
= SWIG_Py_Void();
10732 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10733 PyObject
*resultobj
= 0;
10734 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10735 wxArrayInt
*arg2
= 0 ;
10738 bool temp2
= false ;
10739 PyObject
* obj0
= 0 ;
10740 PyObject
* obj1
= 0 ;
10741 char * kwnames
[] = {
10742 (char *) "self",(char *) "tabs", NULL
10745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10747 if (!SWIG_IsOK(res1
)) {
10748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10750 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10752 if (! PySequence_Check(obj1
)) {
10753 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10756 arg2
= new wxArrayInt
;
10758 int i
, len
=PySequence_Length(obj1
);
10759 for (i
=0; i
<len
; i
++) {
10760 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10761 PyObject
* number
= PyNumber_Int(item
);
10762 arg2
->Add(PyInt_AS_LONG(number
));
10768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10769 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10770 wxPyEndAllowThreads(__tstate
);
10771 if (PyErr_Occurred()) SWIG_fail
;
10773 resultobj
= SWIG_Py_Void();
10775 if (temp2
) delete arg2
;
10780 if (temp2
) delete arg2
;
10786 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10787 PyObject
*resultobj
= 0;
10788 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10790 int arg3
= (int) 0 ;
10797 PyObject
* obj0
= 0 ;
10798 PyObject
* obj1
= 0 ;
10799 PyObject
* obj2
= 0 ;
10800 char * kwnames
[] = {
10801 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10806 if (!SWIG_IsOK(res1
)) {
10807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10809 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10810 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10811 if (!SWIG_IsOK(ecode2
)) {
10812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10814 arg2
= static_cast< int >(val2
);
10816 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10817 if (!SWIG_IsOK(ecode3
)) {
10818 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10820 arg3
= static_cast< int >(val3
);
10823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10824 (arg1
)->SetLeftIndent(arg2
,arg3
);
10825 wxPyEndAllowThreads(__tstate
);
10826 if (PyErr_Occurred()) SWIG_fail
;
10828 resultobj
= SWIG_Py_Void();
10835 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10836 PyObject
*resultobj
= 0;
10837 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10843 PyObject
* obj0
= 0 ;
10844 PyObject
* obj1
= 0 ;
10845 char * kwnames
[] = {
10846 (char *) "self",(char *) "indent", NULL
10849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10851 if (!SWIG_IsOK(res1
)) {
10852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10854 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10855 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10856 if (!SWIG_IsOK(ecode2
)) {
10857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10859 arg2
= static_cast< int >(val2
);
10861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10862 (arg1
)->SetRightIndent(arg2
);
10863 wxPyEndAllowThreads(__tstate
);
10864 if (PyErr_Occurred()) SWIG_fail
;
10866 resultobj
= SWIG_Py_Void();
10873 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10874 PyObject
*resultobj
= 0;
10875 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10881 PyObject
* obj0
= 0 ;
10882 PyObject
* obj1
= 0 ;
10883 char * kwnames
[] = {
10884 (char *) "self",(char *) "flags", NULL
10887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10889 if (!SWIG_IsOK(res1
)) {
10890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10892 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10893 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10894 if (!SWIG_IsOK(ecode2
)) {
10895 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10897 arg2
= static_cast< long >(val2
);
10899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10900 (arg1
)->SetFlags(arg2
);
10901 wxPyEndAllowThreads(__tstate
);
10902 if (PyErr_Occurred()) SWIG_fail
;
10904 resultobj
= SWIG_Py_Void();
10911 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10912 PyObject
*resultobj
= 0;
10913 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10917 PyObject
*swig_obj
[1] ;
10919 if (!args
) SWIG_fail
;
10920 swig_obj
[0] = args
;
10921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10922 if (!SWIG_IsOK(res1
)) {
10923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10925 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10928 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
10929 wxPyEndAllowThreads(__tstate
);
10930 if (PyErr_Occurred()) SWIG_fail
;
10933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10941 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10942 PyObject
*resultobj
= 0;
10943 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10947 PyObject
*swig_obj
[1] ;
10949 if (!args
) SWIG_fail
;
10950 swig_obj
[0] = args
;
10951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10952 if (!SWIG_IsOK(res1
)) {
10953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10955 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10958 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
10959 wxPyEndAllowThreads(__tstate
);
10960 if (PyErr_Occurred()) SWIG_fail
;
10963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10971 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10972 PyObject
*resultobj
= 0;
10973 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10977 PyObject
*swig_obj
[1] ;
10979 if (!args
) SWIG_fail
;
10980 swig_obj
[0] = args
;
10981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10982 if (!SWIG_IsOK(res1
)) {
10983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10985 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10988 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
10989 wxPyEndAllowThreads(__tstate
);
10990 if (PyErr_Occurred()) SWIG_fail
;
10993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11001 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11002 PyObject
*resultobj
= 0;
11003 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11007 PyObject
*swig_obj
[1] ;
11009 if (!args
) SWIG_fail
;
11010 swig_obj
[0] = args
;
11011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11012 if (!SWIG_IsOK(res1
)) {
11013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11015 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11018 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
11019 wxPyEndAllowThreads(__tstate
);
11020 if (PyErr_Occurred()) SWIG_fail
;
11023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11031 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11032 PyObject
*resultobj
= 0;
11033 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11037 PyObject
*swig_obj
[1] ;
11039 if (!args
) SWIG_fail
;
11040 swig_obj
[0] = args
;
11041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11042 if (!SWIG_IsOK(res1
)) {
11043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11045 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11048 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
11049 wxPyEndAllowThreads(__tstate
);
11050 if (PyErr_Occurred()) SWIG_fail
;
11053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11061 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11062 PyObject
*resultobj
= 0;
11063 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11067 PyObject
*swig_obj
[1] ;
11069 if (!args
) SWIG_fail
;
11070 swig_obj
[0] = args
;
11071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11072 if (!SWIG_IsOK(res1
)) {
11073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11075 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11078 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11079 wxPyEndAllowThreads(__tstate
);
11080 if (PyErr_Occurred()) SWIG_fail
;
11083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11091 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11092 PyObject
*resultobj
= 0;
11093 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11097 PyObject
*swig_obj
[1] ;
11099 if (!args
) SWIG_fail
;
11100 swig_obj
[0] = args
;
11101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11102 if (!SWIG_IsOK(res1
)) {
11103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11105 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11108 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11109 wxPyEndAllowThreads(__tstate
);
11110 if (PyErr_Occurred()) SWIG_fail
;
11113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11121 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11122 PyObject
*resultobj
= 0;
11123 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11130 PyObject
* obj0
= 0 ;
11131 PyObject
* obj1
= 0 ;
11132 char * kwnames
[] = {
11133 (char *) "self",(char *) "flag", NULL
11136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11138 if (!SWIG_IsOK(res1
)) {
11139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11141 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11142 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11143 if (!SWIG_IsOK(ecode2
)) {
11144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11146 arg2
= static_cast< long >(val2
);
11148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11149 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11150 wxPyEndAllowThreads(__tstate
);
11151 if (PyErr_Occurred()) SWIG_fail
;
11154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11162 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11163 PyObject
*resultobj
= 0;
11164 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11165 wxColour
*result
= 0 ;
11168 PyObject
*swig_obj
[1] ;
11170 if (!args
) SWIG_fail
;
11171 swig_obj
[0] = args
;
11172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11173 if (!SWIG_IsOK(res1
)) {
11174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11176 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11180 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11181 result
= (wxColour
*) &_result_ref
;
11183 wxPyEndAllowThreads(__tstate
);
11184 if (PyErr_Occurred()) SWIG_fail
;
11186 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11193 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11194 PyObject
*resultobj
= 0;
11195 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11196 wxColour
*result
= 0 ;
11199 PyObject
*swig_obj
[1] ;
11201 if (!args
) SWIG_fail
;
11202 swig_obj
[0] = args
;
11203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11204 if (!SWIG_IsOK(res1
)) {
11205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11207 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11211 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11212 result
= (wxColour
*) &_result_ref
;
11214 wxPyEndAllowThreads(__tstate
);
11215 if (PyErr_Occurred()) SWIG_fail
;
11217 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11224 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11225 PyObject
*resultobj
= 0;
11226 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11227 wxFont
*result
= 0 ;
11230 PyObject
*swig_obj
[1] ;
11232 if (!args
) SWIG_fail
;
11233 swig_obj
[0] = args
;
11234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11235 if (!SWIG_IsOK(res1
)) {
11236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11238 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11242 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11243 result
= (wxFont
*) &_result_ref
;
11245 wxPyEndAllowThreads(__tstate
);
11246 if (PyErr_Occurred()) SWIG_fail
;
11249 wxFont
* resultptr
= new wxFont(*result
);
11250 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11258 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11259 PyObject
*resultobj
= 0;
11260 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11261 wxTextAttrAlignment result
;
11264 PyObject
*swig_obj
[1] ;
11266 if (!args
) SWIG_fail
;
11267 swig_obj
[0] = args
;
11268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11269 if (!SWIG_IsOK(res1
)) {
11270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11272 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11275 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11276 wxPyEndAllowThreads(__tstate
);
11277 if (PyErr_Occurred()) SWIG_fail
;
11279 resultobj
= SWIG_From_int(static_cast< int >(result
));
11286 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11287 PyObject
*resultobj
= 0;
11288 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11289 wxArrayInt
*result
= 0 ;
11292 PyObject
*swig_obj
[1] ;
11294 if (!args
) SWIG_fail
;
11295 swig_obj
[0] = args
;
11296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11297 if (!SWIG_IsOK(res1
)) {
11298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11300 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11304 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11305 result
= (wxArrayInt
*) &_result_ref
;
11307 wxPyEndAllowThreads(__tstate
);
11308 if (PyErr_Occurred()) SWIG_fail
;
11311 resultobj
= PyList_New(0);
11313 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
11314 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
11315 PyList_Append(resultobj
, val
);
11325 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11326 PyObject
*resultobj
= 0;
11327 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11331 PyObject
*swig_obj
[1] ;
11333 if (!args
) SWIG_fail
;
11334 swig_obj
[0] = args
;
11335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11336 if (!SWIG_IsOK(res1
)) {
11337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11339 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11342 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11343 wxPyEndAllowThreads(__tstate
);
11344 if (PyErr_Occurred()) SWIG_fail
;
11346 resultobj
= SWIG_From_long(static_cast< long >(result
));
11353 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11354 PyObject
*resultobj
= 0;
11355 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11359 PyObject
*swig_obj
[1] ;
11361 if (!args
) SWIG_fail
;
11362 swig_obj
[0] = args
;
11363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11364 if (!SWIG_IsOK(res1
)) {
11365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11367 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11370 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11371 wxPyEndAllowThreads(__tstate
);
11372 if (PyErr_Occurred()) SWIG_fail
;
11374 resultobj
= SWIG_From_long(static_cast< long >(result
));
11381 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11382 PyObject
*resultobj
= 0;
11383 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11387 PyObject
*swig_obj
[1] ;
11389 if (!args
) SWIG_fail
;
11390 swig_obj
[0] = args
;
11391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11392 if (!SWIG_IsOK(res1
)) {
11393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11395 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11398 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11399 wxPyEndAllowThreads(__tstate
);
11400 if (PyErr_Occurred()) SWIG_fail
;
11402 resultobj
= SWIG_From_long(static_cast< long >(result
));
11409 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11410 PyObject
*resultobj
= 0;
11411 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11415 PyObject
*swig_obj
[1] ;
11417 if (!args
) SWIG_fail
;
11418 swig_obj
[0] = args
;
11419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11420 if (!SWIG_IsOK(res1
)) {
11421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11423 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11426 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11427 wxPyEndAllowThreads(__tstate
);
11428 if (PyErr_Occurred()) SWIG_fail
;
11430 resultobj
= SWIG_From_long(static_cast< long >(result
));
11437 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11438 PyObject
*resultobj
= 0;
11439 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11443 PyObject
*swig_obj
[1] ;
11445 if (!args
) SWIG_fail
;
11446 swig_obj
[0] = args
;
11447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11448 if (!SWIG_IsOK(res1
)) {
11449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11451 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11454 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11455 wxPyEndAllowThreads(__tstate
);
11456 if (PyErr_Occurred()) SWIG_fail
;
11459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11467 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11468 PyObject
*resultobj
= 0;
11469 wxTextAttr
*arg1
= 0 ;
11470 wxTextAttr
*arg2
= 0 ;
11471 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11479 PyObject
* obj0
= 0 ;
11480 PyObject
* obj1
= 0 ;
11481 PyObject
* obj2
= 0 ;
11482 char * kwnames
[] = {
11483 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11487 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11488 if (!SWIG_IsOK(res1
)) {
11489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11492 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11494 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11495 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11496 if (!SWIG_IsOK(res2
)) {
11497 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11500 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11502 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11503 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11504 if (!SWIG_IsOK(res3
)) {
11505 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11507 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11510 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11511 wxPyEndAllowThreads(__tstate
);
11512 if (PyErr_Occurred()) SWIG_fail
;
11514 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11521 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11523 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11524 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11525 return SWIG_Py_Void();
11528 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11529 return SWIG_Python_InitShadowInstance(args
);
11532 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11533 PyObject
*resultobj
= 0;
11534 wxWindow
*arg1
= (wxWindow
*) 0 ;
11535 int arg2
= (int) -1 ;
11536 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11537 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11538 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11539 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11540 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11541 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11542 long arg6
= (long) 0 ;
11543 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11544 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11545 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11546 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11547 wxTextCtrl
*result
= 0 ;
11552 bool temp3
= false ;
11559 bool temp8
= false ;
11560 PyObject
* obj0
= 0 ;
11561 PyObject
* obj1
= 0 ;
11562 PyObject
* obj2
= 0 ;
11563 PyObject
* obj3
= 0 ;
11564 PyObject
* obj4
= 0 ;
11565 PyObject
* obj5
= 0 ;
11566 PyObject
* obj6
= 0 ;
11567 PyObject
* obj7
= 0 ;
11568 char * kwnames
[] = {
11569 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11574 if (!SWIG_IsOK(res1
)) {
11575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11577 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11579 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11580 if (!SWIG_IsOK(ecode2
)) {
11581 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11583 arg2
= static_cast< int >(val2
);
11587 arg3
= wxString_in_helper(obj2
);
11588 if (arg3
== NULL
) SWIG_fail
;
11595 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11601 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11605 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11606 if (!SWIG_IsOK(ecode6
)) {
11607 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11609 arg6
= static_cast< long >(val6
);
11612 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11613 if (!SWIG_IsOK(res7
)) {
11614 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11617 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11619 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11623 arg8
= wxString_in_helper(obj7
);
11624 if (arg8
== NULL
) SWIG_fail
;
11629 if (!wxPyCheckForApp()) SWIG_fail
;
11630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11631 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11632 wxPyEndAllowThreads(__tstate
);
11633 if (PyErr_Occurred()) SWIG_fail
;
11635 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11658 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11659 PyObject
*resultobj
= 0;
11660 wxTextCtrl
*result
= 0 ;
11662 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11664 if (!wxPyCheckForApp()) SWIG_fail
;
11665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11666 result
= (wxTextCtrl
*)new wxTextCtrl();
11667 wxPyEndAllowThreads(__tstate
);
11668 if (PyErr_Occurred()) SWIG_fail
;
11670 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11677 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11678 PyObject
*resultobj
= 0;
11679 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11680 wxWindow
*arg2
= (wxWindow
*) 0 ;
11681 int arg3
= (int) -1 ;
11682 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11683 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11684 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11685 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11686 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11687 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11688 long arg7
= (long) 0 ;
11689 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11690 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11691 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11692 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11700 bool temp4
= false ;
11707 bool temp9
= false ;
11708 PyObject
* obj0
= 0 ;
11709 PyObject
* obj1
= 0 ;
11710 PyObject
* obj2
= 0 ;
11711 PyObject
* obj3
= 0 ;
11712 PyObject
* obj4
= 0 ;
11713 PyObject
* obj5
= 0 ;
11714 PyObject
* obj6
= 0 ;
11715 PyObject
* obj7
= 0 ;
11716 PyObject
* obj8
= 0 ;
11717 char * kwnames
[] = {
11718 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11723 if (!SWIG_IsOK(res1
)) {
11724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11726 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11727 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11728 if (!SWIG_IsOK(res2
)) {
11729 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11731 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11733 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11734 if (!SWIG_IsOK(ecode3
)) {
11735 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11737 arg3
= static_cast< int >(val3
);
11741 arg4
= wxString_in_helper(obj3
);
11742 if (arg4
== NULL
) SWIG_fail
;
11749 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11755 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11759 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11760 if (!SWIG_IsOK(ecode7
)) {
11761 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11763 arg7
= static_cast< long >(val7
);
11766 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11767 if (!SWIG_IsOK(res8
)) {
11768 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11771 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11773 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11777 arg9
= wxString_in_helper(obj8
);
11778 if (arg9
== NULL
) SWIG_fail
;
11783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11784 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11785 wxPyEndAllowThreads(__tstate
);
11786 if (PyErr_Occurred()) SWIG_fail
;
11789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11813 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11814 PyObject
*resultobj
= 0;
11815 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11819 PyObject
*swig_obj
[1] ;
11821 if (!args
) SWIG_fail
;
11822 swig_obj
[0] = args
;
11823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11824 if (!SWIG_IsOK(res1
)) {
11825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11827 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11830 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11831 wxPyEndAllowThreads(__tstate
);
11832 if (PyErr_Occurred()) SWIG_fail
;
11836 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11838 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11847 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11848 PyObject
*resultobj
= 0;
11849 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11850 wxString
*arg2
= 0 ;
11853 bool temp2
= false ;
11854 PyObject
* obj0
= 0 ;
11855 PyObject
* obj1
= 0 ;
11856 char * kwnames
[] = {
11857 (char *) "self",(char *) "value", NULL
11860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11862 if (!SWIG_IsOK(res1
)) {
11863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11865 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11867 arg2
= wxString_in_helper(obj1
);
11868 if (arg2
== NULL
) SWIG_fail
;
11872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11873 (arg1
)->SetValue((wxString
const &)*arg2
);
11874 wxPyEndAllowThreads(__tstate
);
11875 if (PyErr_Occurred()) SWIG_fail
;
11877 resultobj
= SWIG_Py_Void();
11892 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11893 PyObject
*resultobj
= 0;
11894 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11904 PyObject
* obj0
= 0 ;
11905 PyObject
* obj1
= 0 ;
11906 PyObject
* obj2
= 0 ;
11907 char * kwnames
[] = {
11908 (char *) "self",(char *) "from",(char *) "to", NULL
11911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11913 if (!SWIG_IsOK(res1
)) {
11914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11916 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11917 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11918 if (!SWIG_IsOK(ecode2
)) {
11919 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
11921 arg2
= static_cast< long >(val2
);
11922 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
11923 if (!SWIG_IsOK(ecode3
)) {
11924 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
11926 arg3
= static_cast< long >(val3
);
11928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11929 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
11930 wxPyEndAllowThreads(__tstate
);
11931 if (PyErr_Occurred()) SWIG_fail
;
11935 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11937 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11946 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11947 PyObject
*resultobj
= 0;
11948 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11955 PyObject
* obj0
= 0 ;
11956 PyObject
* obj1
= 0 ;
11957 char * kwnames
[] = {
11958 (char *) "self",(char *) "lineNo", NULL
11961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11963 if (!SWIG_IsOK(res1
)) {
11964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11966 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11967 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11968 if (!SWIG_IsOK(ecode2
)) {
11969 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
11971 arg2
= static_cast< long >(val2
);
11973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11974 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
11975 wxPyEndAllowThreads(__tstate
);
11976 if (PyErr_Occurred()) SWIG_fail
;
11978 resultobj
= SWIG_From_int(static_cast< int >(result
));
11985 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11986 PyObject
*resultobj
= 0;
11987 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11994 PyObject
* obj0
= 0 ;
11995 PyObject
* obj1
= 0 ;
11996 char * kwnames
[] = {
11997 (char *) "self",(char *) "lineNo", NULL
12000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12002 if (!SWIG_IsOK(res1
)) {
12003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12005 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12006 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12007 if (!SWIG_IsOK(ecode2
)) {
12008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12010 arg2
= static_cast< long >(val2
);
12012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12013 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
12014 wxPyEndAllowThreads(__tstate
);
12015 if (PyErr_Occurred()) SWIG_fail
;
12019 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12021 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12030 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12031 PyObject
*resultobj
= 0;
12032 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12036 PyObject
*swig_obj
[1] ;
12038 if (!args
) SWIG_fail
;
12039 swig_obj
[0] = args
;
12040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12041 if (!SWIG_IsOK(res1
)) {
12042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12044 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12047 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
12048 wxPyEndAllowThreads(__tstate
);
12049 if (PyErr_Occurred()) SWIG_fail
;
12051 resultobj
= SWIG_From_int(static_cast< int >(result
));
12058 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12059 PyObject
*resultobj
= 0;
12060 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12064 PyObject
*swig_obj
[1] ;
12066 if (!args
) SWIG_fail
;
12067 swig_obj
[0] = args
;
12068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12069 if (!SWIG_IsOK(res1
)) {
12070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12072 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12075 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12076 wxPyEndAllowThreads(__tstate
);
12077 if (PyErr_Occurred()) SWIG_fail
;
12080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12088 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12089 PyObject
*resultobj
= 0;
12090 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12094 PyObject
*swig_obj
[1] ;
12096 if (!args
) SWIG_fail
;
12097 swig_obj
[0] = args
;
12098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12099 if (!SWIG_IsOK(res1
)) {
12100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12102 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12105 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12106 wxPyEndAllowThreads(__tstate
);
12107 if (PyErr_Occurred()) SWIG_fail
;
12110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12118 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12119 PyObject
*resultobj
= 0;
12120 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12124 PyObject
*swig_obj
[1] ;
12126 if (!args
) SWIG_fail
;
12127 swig_obj
[0] = args
;
12128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12129 if (!SWIG_IsOK(res1
)) {
12130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12132 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12135 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12136 wxPyEndAllowThreads(__tstate
);
12137 if (PyErr_Occurred()) SWIG_fail
;
12140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12148 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12149 PyObject
*resultobj
= 0;
12150 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12154 PyObject
*swig_obj
[1] ;
12156 if (!args
) SWIG_fail
;
12157 swig_obj
[0] = args
;
12158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12159 if (!SWIG_IsOK(res1
)) {
12160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12162 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12165 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12166 wxPyEndAllowThreads(__tstate
);
12167 if (PyErr_Occurred()) SWIG_fail
;
12170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12178 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12179 PyObject
*resultobj
= 0;
12180 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12181 long *arg2
= (long *) 0 ;
12182 long *arg3
= (long *) 0 ;
12186 int res2
= SWIG_TMPOBJ
;
12188 int res3
= SWIG_TMPOBJ
;
12189 PyObject
*swig_obj
[1] ;
12193 if (!args
) SWIG_fail
;
12194 swig_obj
[0] = args
;
12195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12196 if (!SWIG_IsOK(res1
)) {
12197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12199 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12202 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12203 wxPyEndAllowThreads(__tstate
);
12204 if (PyErr_Occurred()) SWIG_fail
;
12206 resultobj
= SWIG_Py_Void();
12207 if (SWIG_IsTmpObj(res2
)) {
12208 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12210 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12211 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12213 if (SWIG_IsTmpObj(res3
)) {
12214 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12216 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12217 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12225 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12226 PyObject
*resultobj
= 0;
12227 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12231 PyObject
*swig_obj
[1] ;
12233 if (!args
) SWIG_fail
;
12234 swig_obj
[0] = args
;
12235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12236 if (!SWIG_IsOK(res1
)) {
12237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12239 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12242 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12243 wxPyEndAllowThreads(__tstate
);
12244 if (PyErr_Occurred()) SWIG_fail
;
12248 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12250 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12259 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12260 PyObject
*resultobj
= 0;
12261 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12264 PyObject
*swig_obj
[1] ;
12266 if (!args
) SWIG_fail
;
12267 swig_obj
[0] = args
;
12268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12269 if (!SWIG_IsOK(res1
)) {
12270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12272 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12276 wxPyEndAllowThreads(__tstate
);
12277 if (PyErr_Occurred()) SWIG_fail
;
12279 resultobj
= SWIG_Py_Void();
12286 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12287 PyObject
*resultobj
= 0;
12288 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12291 wxString
*arg4
= 0 ;
12298 bool temp4
= false ;
12299 PyObject
* obj0
= 0 ;
12300 PyObject
* obj1
= 0 ;
12301 PyObject
* obj2
= 0 ;
12302 PyObject
* obj3
= 0 ;
12303 char * kwnames
[] = {
12304 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12309 if (!SWIG_IsOK(res1
)) {
12310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12312 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12313 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12314 if (!SWIG_IsOK(ecode2
)) {
12315 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12317 arg2
= static_cast< long >(val2
);
12318 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12319 if (!SWIG_IsOK(ecode3
)) {
12320 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12322 arg3
= static_cast< long >(val3
);
12324 arg4
= wxString_in_helper(obj3
);
12325 if (arg4
== NULL
) SWIG_fail
;
12329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12330 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12331 wxPyEndAllowThreads(__tstate
);
12332 if (PyErr_Occurred()) SWIG_fail
;
12334 resultobj
= SWIG_Py_Void();
12349 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12350 PyObject
*resultobj
= 0;
12351 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12360 PyObject
* obj0
= 0 ;
12361 PyObject
* obj1
= 0 ;
12362 PyObject
* obj2
= 0 ;
12363 char * kwnames
[] = {
12364 (char *) "self",(char *) "from",(char *) "to", NULL
12367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12369 if (!SWIG_IsOK(res1
)) {
12370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12372 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12373 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12374 if (!SWIG_IsOK(ecode2
)) {
12375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12377 arg2
= static_cast< long >(val2
);
12378 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12379 if (!SWIG_IsOK(ecode3
)) {
12380 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12382 arg3
= static_cast< long >(val3
);
12384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12385 (arg1
)->Remove(arg2
,arg3
);
12386 wxPyEndAllowThreads(__tstate
);
12387 if (PyErr_Occurred()) SWIG_fail
;
12389 resultobj
= SWIG_Py_Void();
12396 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12397 PyObject
*resultobj
= 0;
12398 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12399 wxString
*arg2
= 0 ;
12403 bool temp2
= false ;
12404 PyObject
* obj0
= 0 ;
12405 PyObject
* obj1
= 0 ;
12406 char * kwnames
[] = {
12407 (char *) "self",(char *) "file", NULL
12410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12412 if (!SWIG_IsOK(res1
)) {
12413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12415 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12417 arg2
= wxString_in_helper(obj1
);
12418 if (arg2
== NULL
) SWIG_fail
;
12422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12423 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
12424 wxPyEndAllowThreads(__tstate
);
12425 if (PyErr_Occurred()) SWIG_fail
;
12428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12444 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12445 PyObject
*resultobj
= 0;
12446 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12447 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12448 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12452 bool temp2
= false ;
12453 PyObject
* obj0
= 0 ;
12454 PyObject
* obj1
= 0 ;
12455 char * kwnames
[] = {
12456 (char *) "self",(char *) "file", NULL
12459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12461 if (!SWIG_IsOK(res1
)) {
12462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12464 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12467 arg2
= wxString_in_helper(obj1
);
12468 if (arg2
== NULL
) SWIG_fail
;
12473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12474 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
12475 wxPyEndAllowThreads(__tstate
);
12476 if (PyErr_Occurred()) SWIG_fail
;
12479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12495 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12496 PyObject
*resultobj
= 0;
12497 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12500 PyObject
*swig_obj
[1] ;
12502 if (!args
) SWIG_fail
;
12503 swig_obj
[0] = args
;
12504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12505 if (!SWIG_IsOK(res1
)) {
12506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12508 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12511 (arg1
)->MarkDirty();
12512 wxPyEndAllowThreads(__tstate
);
12513 if (PyErr_Occurred()) SWIG_fail
;
12515 resultobj
= SWIG_Py_Void();
12522 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12523 PyObject
*resultobj
= 0;
12524 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12527 PyObject
*swig_obj
[1] ;
12529 if (!args
) SWIG_fail
;
12530 swig_obj
[0] = args
;
12531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12532 if (!SWIG_IsOK(res1
)) {
12533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12535 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12538 (arg1
)->DiscardEdits();
12539 wxPyEndAllowThreads(__tstate
);
12540 if (PyErr_Occurred()) SWIG_fail
;
12542 resultobj
= SWIG_Py_Void();
12549 SWIGINTERN PyObject
*_wrap_TextCtrl_SetModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12550 PyObject
*resultobj
= 0;
12551 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12557 PyObject
* obj0
= 0 ;
12558 PyObject
* obj1
= 0 ;
12559 char * kwnames
[] = {
12560 (char *) "self",(char *) "modified", NULL
12563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetModified",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12565 if (!SWIG_IsOK(res1
)) {
12566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12568 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12569 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12570 if (!SWIG_IsOK(ecode2
)) {
12571 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
12573 arg2
= static_cast< bool >(val2
);
12575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12576 (arg1
)->SetModified(arg2
);
12577 wxPyEndAllowThreads(__tstate
);
12578 if (PyErr_Occurred()) SWIG_fail
;
12580 resultobj
= SWIG_Py_Void();
12587 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12588 PyObject
*resultobj
= 0;
12589 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12590 unsigned long arg2
;
12593 unsigned long val2
;
12595 PyObject
* obj0
= 0 ;
12596 PyObject
* obj1
= 0 ;
12597 char * kwnames
[] = {
12598 (char *) "self",(char *) "len", NULL
12601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12603 if (!SWIG_IsOK(res1
)) {
12604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12606 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12607 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12608 if (!SWIG_IsOK(ecode2
)) {
12609 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12611 arg2
= static_cast< unsigned long >(val2
);
12613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12614 (arg1
)->SetMaxLength(arg2
);
12615 wxPyEndAllowThreads(__tstate
);
12616 if (PyErr_Occurred()) SWIG_fail
;
12618 resultobj
= SWIG_Py_Void();
12625 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12626 PyObject
*resultobj
= 0;
12627 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12628 wxString
*arg2
= 0 ;
12631 bool temp2
= false ;
12632 PyObject
* obj0
= 0 ;
12633 PyObject
* obj1
= 0 ;
12634 char * kwnames
[] = {
12635 (char *) "self",(char *) "text", NULL
12638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12640 if (!SWIG_IsOK(res1
)) {
12641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12643 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12645 arg2
= wxString_in_helper(obj1
);
12646 if (arg2
== NULL
) SWIG_fail
;
12650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12651 (arg1
)->WriteText((wxString
const &)*arg2
);
12652 wxPyEndAllowThreads(__tstate
);
12653 if (PyErr_Occurred()) SWIG_fail
;
12655 resultobj
= SWIG_Py_Void();
12670 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12671 PyObject
*resultobj
= 0;
12672 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12673 wxString
*arg2
= 0 ;
12676 bool temp2
= false ;
12677 PyObject
* obj0
= 0 ;
12678 PyObject
* obj1
= 0 ;
12679 char * kwnames
[] = {
12680 (char *) "self",(char *) "text", NULL
12683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12685 if (!SWIG_IsOK(res1
)) {
12686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12688 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12690 arg2
= wxString_in_helper(obj1
);
12691 if (arg2
== NULL
) SWIG_fail
;
12695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12696 (arg1
)->AppendText((wxString
const &)*arg2
);
12697 wxPyEndAllowThreads(__tstate
);
12698 if (PyErr_Occurred()) SWIG_fail
;
12700 resultobj
= SWIG_Py_Void();
12715 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12716 PyObject
*resultobj
= 0;
12717 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12718 wxKeyEvent
*arg2
= 0 ;
12724 PyObject
* obj0
= 0 ;
12725 PyObject
* obj1
= 0 ;
12726 char * kwnames
[] = {
12727 (char *) "self",(char *) "event", NULL
12730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12732 if (!SWIG_IsOK(res1
)) {
12733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12735 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12736 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12737 if (!SWIG_IsOK(res2
)) {
12738 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12741 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12743 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12746 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12747 wxPyEndAllowThreads(__tstate
);
12748 if (PyErr_Occurred()) SWIG_fail
;
12751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12759 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12760 PyObject
*resultobj
= 0;
12761 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12764 wxTextAttr
*arg4
= 0 ;
12774 PyObject
* obj0
= 0 ;
12775 PyObject
* obj1
= 0 ;
12776 PyObject
* obj2
= 0 ;
12777 PyObject
* obj3
= 0 ;
12778 char * kwnames
[] = {
12779 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12784 if (!SWIG_IsOK(res1
)) {
12785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12787 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12788 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12789 if (!SWIG_IsOK(ecode2
)) {
12790 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12792 arg2
= static_cast< long >(val2
);
12793 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12794 if (!SWIG_IsOK(ecode3
)) {
12795 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12797 arg3
= static_cast< long >(val3
);
12798 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12799 if (!SWIG_IsOK(res4
)) {
12800 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12803 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12805 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12808 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12809 wxPyEndAllowThreads(__tstate
);
12810 if (PyErr_Occurred()) SWIG_fail
;
12813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12821 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12822 PyObject
*resultobj
= 0;
12823 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12825 wxTextAttr
*arg3
= 0 ;
12833 PyObject
* obj0
= 0 ;
12834 PyObject
* obj1
= 0 ;
12835 PyObject
* obj2
= 0 ;
12836 char * kwnames
[] = {
12837 (char *) "self",(char *) "position",(char *) "style", NULL
12840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12842 if (!SWIG_IsOK(res1
)) {
12843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12845 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12846 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12847 if (!SWIG_IsOK(ecode2
)) {
12848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12850 arg2
= static_cast< long >(val2
);
12851 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
12852 if (!SWIG_IsOK(res3
)) {
12853 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12856 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12858 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
12860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12861 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
12862 wxPyEndAllowThreads(__tstate
);
12863 if (PyErr_Occurred()) SWIG_fail
;
12866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12874 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12875 PyObject
*resultobj
= 0;
12876 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12877 wxTextAttr
*arg2
= 0 ;
12883 PyObject
* obj0
= 0 ;
12884 PyObject
* obj1
= 0 ;
12885 char * kwnames
[] = {
12886 (char *) "self",(char *) "style", NULL
12889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12891 if (!SWIG_IsOK(res1
)) {
12892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12894 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12895 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12896 if (!SWIG_IsOK(res2
)) {
12897 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12900 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12902 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
12904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12905 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
12906 wxPyEndAllowThreads(__tstate
);
12907 if (PyErr_Occurred()) SWIG_fail
;
12910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12918 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12919 PyObject
*resultobj
= 0;
12920 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12921 wxTextAttr
*result
= 0 ;
12924 PyObject
*swig_obj
[1] ;
12926 if (!args
) SWIG_fail
;
12927 swig_obj
[0] = args
;
12928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12929 if (!SWIG_IsOK(res1
)) {
12930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12932 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12936 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
12937 result
= (wxTextAttr
*) &_result_ref
;
12939 wxPyEndAllowThreads(__tstate
);
12940 if (PyErr_Occurred()) SWIG_fail
;
12942 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
12949 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12950 PyObject
*resultobj
= 0;
12951 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12961 PyObject
* obj0
= 0 ;
12962 PyObject
* obj1
= 0 ;
12963 PyObject
* obj2
= 0 ;
12964 char * kwnames
[] = {
12965 (char *) "self",(char *) "x",(char *) "y", NULL
12968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12970 if (!SWIG_IsOK(res1
)) {
12971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12973 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12974 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12975 if (!SWIG_IsOK(ecode2
)) {
12976 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
12978 arg2
= static_cast< long >(val2
);
12979 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12980 if (!SWIG_IsOK(ecode3
)) {
12981 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
12983 arg3
= static_cast< long >(val3
);
12985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12986 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
12987 wxPyEndAllowThreads(__tstate
);
12988 if (PyErr_Occurred()) SWIG_fail
;
12990 resultobj
= SWIG_From_long(static_cast< long >(result
));
12997 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12998 PyObject
*resultobj
= 0;
12999 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13001 long *arg3
= (long *) 0 ;
13002 long *arg4
= (long *) 0 ;
13008 int res3
= SWIG_TMPOBJ
;
13010 int res4
= SWIG_TMPOBJ
;
13011 PyObject
* obj0
= 0 ;
13012 PyObject
* obj1
= 0 ;
13013 char * kwnames
[] = {
13014 (char *) "self",(char *) "pos", NULL
13019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13021 if (!SWIG_IsOK(res1
)) {
13022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13024 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13025 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13026 if (!SWIG_IsOK(ecode2
)) {
13027 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13029 arg2
= static_cast< long >(val2
);
13031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13032 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
13033 wxPyEndAllowThreads(__tstate
);
13034 if (PyErr_Occurred()) SWIG_fail
;
13036 resultobj
= SWIG_Py_Void();
13037 if (SWIG_IsTmpObj(res3
)) {
13038 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13040 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13041 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13043 if (SWIG_IsTmpObj(res4
)) {
13044 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13046 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13047 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13055 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13056 PyObject
*resultobj
= 0;
13057 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13063 PyObject
* obj0
= 0 ;
13064 PyObject
* obj1
= 0 ;
13065 char * kwnames
[] = {
13066 (char *) "self",(char *) "pos", NULL
13069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13071 if (!SWIG_IsOK(res1
)) {
13072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13074 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13075 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13076 if (!SWIG_IsOK(ecode2
)) {
13077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13079 arg2
= static_cast< long >(val2
);
13081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13082 (arg1
)->ShowPosition(arg2
);
13083 wxPyEndAllowThreads(__tstate
);
13084 if (PyErr_Occurred()) SWIG_fail
;
13086 resultobj
= SWIG_Py_Void();
13093 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13094 PyObject
*resultobj
= 0;
13095 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13096 wxPoint
*arg2
= 0 ;
13097 long *arg3
= (long *) 0 ;
13098 long *arg4
= (long *) 0 ;
13099 wxTextCtrlHitTestResult result
;
13104 int res3
= SWIG_TMPOBJ
;
13106 int res4
= SWIG_TMPOBJ
;
13107 PyObject
* obj0
= 0 ;
13108 PyObject
* obj1
= 0 ;
13109 char * kwnames
[] = {
13110 (char *) "self",(char *) "pt", NULL
13115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13117 if (!SWIG_IsOK(res1
)) {
13118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13120 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13123 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13127 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13128 wxPyEndAllowThreads(__tstate
);
13129 if (PyErr_Occurred()) SWIG_fail
;
13131 resultobj
= SWIG_From_int(static_cast< int >(result
));
13132 if (SWIG_IsTmpObj(res3
)) {
13133 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13135 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13136 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13138 if (SWIG_IsTmpObj(res4
)) {
13139 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13141 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13142 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13150 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13151 PyObject
*resultobj
= 0;
13152 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13153 wxPoint
*arg2
= 0 ;
13154 long *arg3
= (long *) 0 ;
13155 wxTextCtrlHitTestResult result
;
13160 int res3
= SWIG_TMPOBJ
;
13161 PyObject
* obj0
= 0 ;
13162 PyObject
* obj1
= 0 ;
13163 char * kwnames
[] = {
13164 (char *) "self",(char *) "pt", NULL
13168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13170 if (!SWIG_IsOK(res1
)) {
13171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13173 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13176 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13180 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13181 wxPyEndAllowThreads(__tstate
);
13182 if (PyErr_Occurred()) SWIG_fail
;
13184 resultobj
= SWIG_From_int(static_cast< int >(result
));
13185 if (SWIG_IsTmpObj(res3
)) {
13186 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13188 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13189 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13197 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13198 PyObject
*resultobj
= 0;
13199 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13202 PyObject
*swig_obj
[1] ;
13204 if (!args
) SWIG_fail
;
13205 swig_obj
[0] = args
;
13206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13207 if (!SWIG_IsOK(res1
)) {
13208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13210 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13214 wxPyEndAllowThreads(__tstate
);
13215 if (PyErr_Occurred()) SWIG_fail
;
13217 resultobj
= SWIG_Py_Void();
13224 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13225 PyObject
*resultobj
= 0;
13226 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13229 PyObject
*swig_obj
[1] ;
13231 if (!args
) SWIG_fail
;
13232 swig_obj
[0] = args
;
13233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13234 if (!SWIG_IsOK(res1
)) {
13235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13237 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13241 wxPyEndAllowThreads(__tstate
);
13242 if (PyErr_Occurred()) SWIG_fail
;
13244 resultobj
= SWIG_Py_Void();
13251 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13252 PyObject
*resultobj
= 0;
13253 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13256 PyObject
*swig_obj
[1] ;
13258 if (!args
) SWIG_fail
;
13259 swig_obj
[0] = args
;
13260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13261 if (!SWIG_IsOK(res1
)) {
13262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13264 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13268 wxPyEndAllowThreads(__tstate
);
13269 if (PyErr_Occurred()) SWIG_fail
;
13271 resultobj
= SWIG_Py_Void();
13278 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13279 PyObject
*resultobj
= 0;
13280 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13284 PyObject
*swig_obj
[1] ;
13286 if (!args
) SWIG_fail
;
13287 swig_obj
[0] = args
;
13288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13289 if (!SWIG_IsOK(res1
)) {
13290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13292 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13295 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13296 wxPyEndAllowThreads(__tstate
);
13297 if (PyErr_Occurred()) SWIG_fail
;
13300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13308 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13309 PyObject
*resultobj
= 0;
13310 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13314 PyObject
*swig_obj
[1] ;
13316 if (!args
) SWIG_fail
;
13317 swig_obj
[0] = args
;
13318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13319 if (!SWIG_IsOK(res1
)) {
13320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13322 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13325 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13326 wxPyEndAllowThreads(__tstate
);
13327 if (PyErr_Occurred()) SWIG_fail
;
13330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13338 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13339 PyObject
*resultobj
= 0;
13340 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13344 PyObject
*swig_obj
[1] ;
13346 if (!args
) SWIG_fail
;
13347 swig_obj
[0] = args
;
13348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13349 if (!SWIG_IsOK(res1
)) {
13350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13352 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13355 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13356 wxPyEndAllowThreads(__tstate
);
13357 if (PyErr_Occurred()) SWIG_fail
;
13360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13368 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13369 PyObject
*resultobj
= 0;
13370 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13373 PyObject
*swig_obj
[1] ;
13375 if (!args
) SWIG_fail
;
13376 swig_obj
[0] = args
;
13377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13378 if (!SWIG_IsOK(res1
)) {
13379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13381 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13385 wxPyEndAllowThreads(__tstate
);
13386 if (PyErr_Occurred()) SWIG_fail
;
13388 resultobj
= SWIG_Py_Void();
13395 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13396 PyObject
*resultobj
= 0;
13397 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13400 PyObject
*swig_obj
[1] ;
13402 if (!args
) SWIG_fail
;
13403 swig_obj
[0] = args
;
13404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13405 if (!SWIG_IsOK(res1
)) {
13406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13408 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13412 wxPyEndAllowThreads(__tstate
);
13413 if (PyErr_Occurred()) SWIG_fail
;
13415 resultobj
= SWIG_Py_Void();
13422 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13423 PyObject
*resultobj
= 0;
13424 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13428 PyObject
*swig_obj
[1] ;
13430 if (!args
) SWIG_fail
;
13431 swig_obj
[0] = args
;
13432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13433 if (!SWIG_IsOK(res1
)) {
13434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13436 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13439 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13440 wxPyEndAllowThreads(__tstate
);
13441 if (PyErr_Occurred()) SWIG_fail
;
13444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13452 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13453 PyObject
*resultobj
= 0;
13454 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13458 PyObject
*swig_obj
[1] ;
13460 if (!args
) SWIG_fail
;
13461 swig_obj
[0] = args
;
13462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13463 if (!SWIG_IsOK(res1
)) {
13464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13466 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13469 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13470 wxPyEndAllowThreads(__tstate
);
13471 if (PyErr_Occurred()) SWIG_fail
;
13474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13482 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13483 PyObject
*resultobj
= 0;
13484 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13490 PyObject
* obj0
= 0 ;
13491 PyObject
* obj1
= 0 ;
13492 char * kwnames
[] = {
13493 (char *) "self",(char *) "pos", NULL
13496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13498 if (!SWIG_IsOK(res1
)) {
13499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13501 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13502 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13503 if (!SWIG_IsOK(ecode2
)) {
13504 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13506 arg2
= static_cast< long >(val2
);
13508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13509 (arg1
)->SetInsertionPoint(arg2
);
13510 wxPyEndAllowThreads(__tstate
);
13511 if (PyErr_Occurred()) SWIG_fail
;
13513 resultobj
= SWIG_Py_Void();
13520 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13521 PyObject
*resultobj
= 0;
13522 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13525 PyObject
*swig_obj
[1] ;
13527 if (!args
) SWIG_fail
;
13528 swig_obj
[0] = args
;
13529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13530 if (!SWIG_IsOK(res1
)) {
13531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13533 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13536 (arg1
)->SetInsertionPointEnd();
13537 wxPyEndAllowThreads(__tstate
);
13538 if (PyErr_Occurred()) SWIG_fail
;
13540 resultobj
= SWIG_Py_Void();
13547 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13548 PyObject
*resultobj
= 0;
13549 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13553 PyObject
*swig_obj
[1] ;
13555 if (!args
) SWIG_fail
;
13556 swig_obj
[0] = args
;
13557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13558 if (!SWIG_IsOK(res1
)) {
13559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13561 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13564 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13565 wxPyEndAllowThreads(__tstate
);
13566 if (PyErr_Occurred()) SWIG_fail
;
13568 resultobj
= SWIG_From_long(static_cast< long >(result
));
13575 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13576 PyObject
*resultobj
= 0;
13577 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13581 PyObject
*swig_obj
[1] ;
13583 if (!args
) SWIG_fail
;
13584 swig_obj
[0] = args
;
13585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13586 if (!SWIG_IsOK(res1
)) {
13587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13589 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13592 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13593 wxPyEndAllowThreads(__tstate
);
13594 if (PyErr_Occurred()) SWIG_fail
;
13596 resultobj
= SWIG_From_long(static_cast< long >(result
));
13603 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13604 PyObject
*resultobj
= 0;
13605 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13614 PyObject
* obj0
= 0 ;
13615 PyObject
* obj1
= 0 ;
13616 PyObject
* obj2
= 0 ;
13617 char * kwnames
[] = {
13618 (char *) "self",(char *) "from",(char *) "to", NULL
13621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13623 if (!SWIG_IsOK(res1
)) {
13624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13626 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13627 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13628 if (!SWIG_IsOK(ecode2
)) {
13629 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13631 arg2
= static_cast< long >(val2
);
13632 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13633 if (!SWIG_IsOK(ecode3
)) {
13634 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13636 arg3
= static_cast< long >(val3
);
13638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13639 (arg1
)->SetSelection(arg2
,arg3
);
13640 wxPyEndAllowThreads(__tstate
);
13641 if (PyErr_Occurred()) SWIG_fail
;
13643 resultobj
= SWIG_Py_Void();
13650 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13651 PyObject
*resultobj
= 0;
13652 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13655 PyObject
*swig_obj
[1] ;
13657 if (!args
) SWIG_fail
;
13658 swig_obj
[0] = args
;
13659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13660 if (!SWIG_IsOK(res1
)) {
13661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13663 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13666 (arg1
)->SelectAll();
13667 wxPyEndAllowThreads(__tstate
);
13668 if (PyErr_Occurred()) SWIG_fail
;
13670 resultobj
= SWIG_Py_Void();
13677 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13678 PyObject
*resultobj
= 0;
13679 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13685 PyObject
* obj0
= 0 ;
13686 PyObject
* obj1
= 0 ;
13687 char * kwnames
[] = {
13688 (char *) "self",(char *) "editable", NULL
13691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13693 if (!SWIG_IsOK(res1
)) {
13694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13696 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13697 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13698 if (!SWIG_IsOK(ecode2
)) {
13699 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13701 arg2
= static_cast< bool >(val2
);
13703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13704 (arg1
)->SetEditable(arg2
);
13705 wxPyEndAllowThreads(__tstate
);
13706 if (PyErr_Occurred()) SWIG_fail
;
13708 resultobj
= SWIG_Py_Void();
13715 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13716 PyObject
*resultobj
= 0;
13717 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13718 wxString
*arg2
= 0 ;
13721 bool temp2
= false ;
13722 PyObject
* obj0
= 0 ;
13723 PyObject
* obj1
= 0 ;
13724 char * kwnames
[] = {
13725 (char *) "self",(char *) "text", NULL
13728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13730 if (!SWIG_IsOK(res1
)) {
13731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13733 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13735 arg2
= wxString_in_helper(obj1
);
13736 if (arg2
== NULL
) SWIG_fail
;
13740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13741 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
13742 wxPyEndAllowThreads(__tstate
);
13743 if (PyErr_Occurred()) SWIG_fail
;
13745 resultobj
= SWIG_Py_Void();
13760 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13761 PyObject
*resultobj
= 0;
13762 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13772 PyObject
* obj0
= 0 ;
13773 PyObject
* obj1
= 0 ;
13774 PyObject
* obj2
= 0 ;
13775 char * kwnames
[] = {
13776 (char *) "self",(char *) "from",(char *) "to", NULL
13779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13781 if (!SWIG_IsOK(res1
)) {
13782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13784 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13785 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13786 if (!SWIG_IsOK(ecode2
)) {
13787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13789 arg2
= static_cast< long >(val2
);
13790 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13791 if (!SWIG_IsOK(ecode3
)) {
13792 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
13794 arg3
= static_cast< long >(val3
);
13796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13797 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
13798 wxPyEndAllowThreads(__tstate
);
13799 if (PyErr_Occurred()) SWIG_fail
;
13803 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13805 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13814 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13815 PyObject
*resultobj
= 0;
13816 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13817 SwigValueWrapper
<wxVisualAttributes
> result
;
13820 PyObject
* obj0
= 0 ;
13821 char * kwnames
[] = {
13822 (char *) "variant", NULL
13825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
13827 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13828 if (!SWIG_IsOK(ecode1
)) {
13829 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
13831 arg1
= static_cast< wxWindowVariant
>(val1
);
13834 if (!wxPyCheckForApp()) SWIG_fail
;
13835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13836 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
13837 wxPyEndAllowThreads(__tstate
);
13838 if (PyErr_Occurred()) SWIG_fail
;
13840 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
13847 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13849 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13850 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
13851 return SWIG_Py_Void();
13854 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13855 return SWIG_Python_InitShadowInstance(args
);
13858 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13859 PyObject
*resultobj
= 0;
13861 wxMouseEvent
*arg2
= 0 ;
13864 wxTextUrlEvent
*result
= 0 ;
13873 PyObject
* obj0
= 0 ;
13874 PyObject
* obj1
= 0 ;
13875 PyObject
* obj2
= 0 ;
13876 PyObject
* obj3
= 0 ;
13877 char * kwnames
[] = {
13878 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
13881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13882 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13883 if (!SWIG_IsOK(ecode1
)) {
13884 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
13886 arg1
= static_cast< int >(val1
);
13887 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
13888 if (!SWIG_IsOK(res2
)) {
13889 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13892 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13894 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
13895 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13896 if (!SWIG_IsOK(ecode3
)) {
13897 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
13899 arg3
= static_cast< long >(val3
);
13900 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
13901 if (!SWIG_IsOK(ecode4
)) {
13902 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
13904 arg4
= static_cast< long >(val4
);
13906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13907 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
13908 wxPyEndAllowThreads(__tstate
);
13909 if (PyErr_Occurred()) SWIG_fail
;
13911 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
13918 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13919 PyObject
*resultobj
= 0;
13920 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13921 wxMouseEvent
*result
= 0 ;
13924 PyObject
*swig_obj
[1] ;
13926 if (!args
) SWIG_fail
;
13927 swig_obj
[0] = args
;
13928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13929 if (!SWIG_IsOK(res1
)) {
13930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
13932 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13936 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
13937 result
= (wxMouseEvent
*) &_result_ref
;
13939 wxPyEndAllowThreads(__tstate
);
13940 if (PyErr_Occurred()) SWIG_fail
;
13942 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
13949 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13950 PyObject
*resultobj
= 0;
13951 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13955 PyObject
*swig_obj
[1] ;
13957 if (!args
) SWIG_fail
;
13958 swig_obj
[0] = args
;
13959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13960 if (!SWIG_IsOK(res1
)) {
13961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
13963 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13966 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
13967 wxPyEndAllowThreads(__tstate
);
13968 if (PyErr_Occurred()) SWIG_fail
;
13970 resultobj
= SWIG_From_long(static_cast< long >(result
));
13977 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13978 PyObject
*resultobj
= 0;
13979 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13983 PyObject
*swig_obj
[1] ;
13985 if (!args
) SWIG_fail
;
13986 swig_obj
[0] = args
;
13987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13988 if (!SWIG_IsOK(res1
)) {
13989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
13991 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13994 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
13995 wxPyEndAllowThreads(__tstate
);
13996 if (PyErr_Occurred()) SWIG_fail
;
13998 resultobj
= SWIG_From_long(static_cast< long >(result
));
14005 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14007 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14008 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
14009 return SWIG_Py_Void();
14012 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14013 return SWIG_Python_InitShadowInstance(args
);
14016 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
14017 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
14022 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
14023 PyObject
*pyobj
= 0;
14027 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14029 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14036 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14037 PyObject
*resultobj
= 0;
14038 wxWindow
*arg1
= (wxWindow
*) 0 ;
14039 int arg2
= (int) -1 ;
14040 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14041 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14042 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14043 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14044 long arg5
= (long) wxSB_HORIZONTAL
;
14045 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
14046 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
14047 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
14048 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14049 wxScrollBar
*result
= 0 ;
14060 bool temp7
= false ;
14061 PyObject
* obj0
= 0 ;
14062 PyObject
* obj1
= 0 ;
14063 PyObject
* obj2
= 0 ;
14064 PyObject
* obj3
= 0 ;
14065 PyObject
* obj4
= 0 ;
14066 PyObject
* obj5
= 0 ;
14067 PyObject
* obj6
= 0 ;
14068 char * kwnames
[] = {
14069 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14074 if (!SWIG_IsOK(res1
)) {
14075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14077 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14079 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14080 if (!SWIG_IsOK(ecode2
)) {
14081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14083 arg2
= static_cast< int >(val2
);
14088 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14094 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14098 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14099 if (!SWIG_IsOK(ecode5
)) {
14100 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14102 arg5
= static_cast< long >(val5
);
14105 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14106 if (!SWIG_IsOK(res6
)) {
14107 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14110 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14112 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14116 arg7
= wxString_in_helper(obj6
);
14117 if (arg7
== NULL
) SWIG_fail
;
14122 if (!wxPyCheckForApp()) SWIG_fail
;
14123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14124 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14125 wxPyEndAllowThreads(__tstate
);
14126 if (PyErr_Occurred()) SWIG_fail
;
14128 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14143 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14144 PyObject
*resultobj
= 0;
14145 wxScrollBar
*result
= 0 ;
14147 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14149 if (!wxPyCheckForApp()) SWIG_fail
;
14150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14151 result
= (wxScrollBar
*)new wxScrollBar();
14152 wxPyEndAllowThreads(__tstate
);
14153 if (PyErr_Occurred()) SWIG_fail
;
14155 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14162 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14163 PyObject
*resultobj
= 0;
14164 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14165 wxWindow
*arg2
= (wxWindow
*) 0 ;
14166 int arg3
= (int) -1 ;
14167 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14168 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14169 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14170 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14171 long arg6
= (long) wxSB_HORIZONTAL
;
14172 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14173 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14174 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14175 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14189 bool temp8
= false ;
14190 PyObject
* obj0
= 0 ;
14191 PyObject
* obj1
= 0 ;
14192 PyObject
* obj2
= 0 ;
14193 PyObject
* obj3
= 0 ;
14194 PyObject
* obj4
= 0 ;
14195 PyObject
* obj5
= 0 ;
14196 PyObject
* obj6
= 0 ;
14197 PyObject
* obj7
= 0 ;
14198 char * kwnames
[] = {
14199 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14204 if (!SWIG_IsOK(res1
)) {
14205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14207 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14208 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14209 if (!SWIG_IsOK(res2
)) {
14210 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14212 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14214 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14215 if (!SWIG_IsOK(ecode3
)) {
14216 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14218 arg3
= static_cast< int >(val3
);
14223 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14229 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14233 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14234 if (!SWIG_IsOK(ecode6
)) {
14235 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14237 arg6
= static_cast< long >(val6
);
14240 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14241 if (!SWIG_IsOK(res7
)) {
14242 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14245 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14247 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14251 arg8
= wxString_in_helper(obj7
);
14252 if (arg8
== NULL
) SWIG_fail
;
14257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14258 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14259 wxPyEndAllowThreads(__tstate
);
14260 if (PyErr_Occurred()) SWIG_fail
;
14263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14279 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14280 PyObject
*resultobj
= 0;
14281 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14285 PyObject
*swig_obj
[1] ;
14287 if (!args
) SWIG_fail
;
14288 swig_obj
[0] = args
;
14289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14290 if (!SWIG_IsOK(res1
)) {
14291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14293 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14296 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14297 wxPyEndAllowThreads(__tstate
);
14298 if (PyErr_Occurred()) SWIG_fail
;
14300 resultobj
= SWIG_From_int(static_cast< int >(result
));
14307 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14308 PyObject
*resultobj
= 0;
14309 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14313 PyObject
*swig_obj
[1] ;
14315 if (!args
) SWIG_fail
;
14316 swig_obj
[0] = args
;
14317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14318 if (!SWIG_IsOK(res1
)) {
14319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14321 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14324 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14325 wxPyEndAllowThreads(__tstate
);
14326 if (PyErr_Occurred()) SWIG_fail
;
14328 resultobj
= SWIG_From_int(static_cast< int >(result
));
14335 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14336 PyObject
*resultobj
= 0;
14337 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14341 PyObject
*swig_obj
[1] ;
14343 if (!args
) SWIG_fail
;
14344 swig_obj
[0] = args
;
14345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14346 if (!SWIG_IsOK(res1
)) {
14347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14349 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14352 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14353 wxPyEndAllowThreads(__tstate
);
14354 if (PyErr_Occurred()) SWIG_fail
;
14356 resultobj
= SWIG_From_int(static_cast< int >(result
));
14363 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14364 PyObject
*resultobj
= 0;
14365 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14369 PyObject
*swig_obj
[1] ;
14371 if (!args
) SWIG_fail
;
14372 swig_obj
[0] = args
;
14373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14374 if (!SWIG_IsOK(res1
)) {
14375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14377 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14380 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14381 wxPyEndAllowThreads(__tstate
);
14382 if (PyErr_Occurred()) SWIG_fail
;
14384 resultobj
= SWIG_From_int(static_cast< int >(result
));
14391 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14392 PyObject
*resultobj
= 0;
14393 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14397 PyObject
*swig_obj
[1] ;
14399 if (!args
) SWIG_fail
;
14400 swig_obj
[0] = args
;
14401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14402 if (!SWIG_IsOK(res1
)) {
14403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14405 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14408 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14409 wxPyEndAllowThreads(__tstate
);
14410 if (PyErr_Occurred()) SWIG_fail
;
14413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14421 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14422 PyObject
*resultobj
= 0;
14423 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14429 PyObject
* obj0
= 0 ;
14430 PyObject
* obj1
= 0 ;
14431 char * kwnames
[] = {
14432 (char *) "self",(char *) "viewStart", NULL
14435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14437 if (!SWIG_IsOK(res1
)) {
14438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14440 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14441 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14442 if (!SWIG_IsOK(ecode2
)) {
14443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14445 arg2
= static_cast< int >(val2
);
14447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14448 (arg1
)->SetThumbPosition(arg2
);
14449 wxPyEndAllowThreads(__tstate
);
14450 if (PyErr_Occurred()) SWIG_fail
;
14452 resultobj
= SWIG_Py_Void();
14459 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14460 PyObject
*resultobj
= 0;
14461 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14462 SwigValueWrapper
<wxVisualAttributes
> result
;
14465 PyObject
* obj0
= 0 ;
14466 char * kwnames
[] = {
14467 (char *) "variant", NULL
14470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14472 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14473 if (!SWIG_IsOK(ecode1
)) {
14474 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14476 arg1
= static_cast< wxWindowVariant
>(val1
);
14479 if (!wxPyCheckForApp()) SWIG_fail
;
14480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14481 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14482 wxPyEndAllowThreads(__tstate
);
14483 if (PyErr_Occurred()) SWIG_fail
;
14485 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14492 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14494 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14495 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14496 return SWIG_Py_Void();
14499 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14500 return SWIG_Python_InitShadowInstance(args
);
14503 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14504 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14509 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14510 PyObject
*pyobj
= 0;
14514 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14516 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14523 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14524 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14529 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14530 PyObject
*pyobj
= 0;
14534 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14536 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14543 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14544 PyObject
*resultobj
= 0;
14545 wxWindow
*arg1
= (wxWindow
*) 0 ;
14546 int arg2
= (int) -1 ;
14547 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14548 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14549 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14550 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14551 long arg5
= (long) wxSP_HORIZONTAL
;
14552 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14553 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14554 wxSpinButton
*result
= 0 ;
14563 bool temp6
= false ;
14564 PyObject
* obj0
= 0 ;
14565 PyObject
* obj1
= 0 ;
14566 PyObject
* obj2
= 0 ;
14567 PyObject
* obj3
= 0 ;
14568 PyObject
* obj4
= 0 ;
14569 PyObject
* obj5
= 0 ;
14570 char * kwnames
[] = {
14571 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14576 if (!SWIG_IsOK(res1
)) {
14577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14579 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14581 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14582 if (!SWIG_IsOK(ecode2
)) {
14583 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14585 arg2
= static_cast< int >(val2
);
14590 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14596 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14600 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14601 if (!SWIG_IsOK(ecode5
)) {
14602 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14604 arg5
= static_cast< long >(val5
);
14608 arg6
= wxString_in_helper(obj5
);
14609 if (arg6
== NULL
) SWIG_fail
;
14614 if (!wxPyCheckForApp()) SWIG_fail
;
14615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14616 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14617 wxPyEndAllowThreads(__tstate
);
14618 if (PyErr_Occurred()) SWIG_fail
;
14620 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14635 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14636 PyObject
*resultobj
= 0;
14637 wxSpinButton
*result
= 0 ;
14639 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14641 if (!wxPyCheckForApp()) SWIG_fail
;
14642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14643 result
= (wxSpinButton
*)new wxSpinButton();
14644 wxPyEndAllowThreads(__tstate
);
14645 if (PyErr_Occurred()) SWIG_fail
;
14647 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14654 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14655 PyObject
*resultobj
= 0;
14656 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14657 wxWindow
*arg2
= (wxWindow
*) 0 ;
14658 int arg3
= (int) -1 ;
14659 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14660 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14661 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14662 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14663 long arg6
= (long) wxSP_HORIZONTAL
;
14664 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14665 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14677 bool temp7
= false ;
14678 PyObject
* obj0
= 0 ;
14679 PyObject
* obj1
= 0 ;
14680 PyObject
* obj2
= 0 ;
14681 PyObject
* obj3
= 0 ;
14682 PyObject
* obj4
= 0 ;
14683 PyObject
* obj5
= 0 ;
14684 PyObject
* obj6
= 0 ;
14685 char * kwnames
[] = {
14686 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14691 if (!SWIG_IsOK(res1
)) {
14692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14694 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14695 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14696 if (!SWIG_IsOK(res2
)) {
14697 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14699 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14701 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14702 if (!SWIG_IsOK(ecode3
)) {
14703 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14705 arg3
= static_cast< int >(val3
);
14710 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14716 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14720 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14721 if (!SWIG_IsOK(ecode6
)) {
14722 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14724 arg6
= static_cast< long >(val6
);
14728 arg7
= wxString_in_helper(obj6
);
14729 if (arg7
== NULL
) SWIG_fail
;
14734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14735 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14736 wxPyEndAllowThreads(__tstate
);
14737 if (PyErr_Occurred()) SWIG_fail
;
14740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14756 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14757 PyObject
*resultobj
= 0;
14758 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14762 PyObject
*swig_obj
[1] ;
14764 if (!args
) SWIG_fail
;
14765 swig_obj
[0] = args
;
14766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14767 if (!SWIG_IsOK(res1
)) {
14768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14770 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14773 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
14774 wxPyEndAllowThreads(__tstate
);
14775 if (PyErr_Occurred()) SWIG_fail
;
14777 resultobj
= SWIG_From_int(static_cast< int >(result
));
14784 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14785 PyObject
*resultobj
= 0;
14786 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14790 PyObject
*swig_obj
[1] ;
14792 if (!args
) SWIG_fail
;
14793 swig_obj
[0] = args
;
14794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14795 if (!SWIG_IsOK(res1
)) {
14796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14798 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14801 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
14802 wxPyEndAllowThreads(__tstate
);
14803 if (PyErr_Occurred()) SWIG_fail
;
14805 resultobj
= SWIG_From_int(static_cast< int >(result
));
14812 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14813 PyObject
*resultobj
= 0;
14814 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14818 PyObject
*swig_obj
[1] ;
14820 if (!args
) SWIG_fail
;
14821 swig_obj
[0] = args
;
14822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14823 if (!SWIG_IsOK(res1
)) {
14824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14826 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14829 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
14830 wxPyEndAllowThreads(__tstate
);
14831 if (PyErr_Occurred()) SWIG_fail
;
14833 resultobj
= SWIG_From_int(static_cast< int >(result
));
14840 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14841 PyObject
*resultobj
= 0;
14842 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14848 PyObject
* obj0
= 0 ;
14849 PyObject
* obj1
= 0 ;
14850 char * kwnames
[] = {
14851 (char *) "self",(char *) "val", NULL
14854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14856 if (!SWIG_IsOK(res1
)) {
14857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14859 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14860 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14861 if (!SWIG_IsOK(ecode2
)) {
14862 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
14864 arg2
= static_cast< int >(val2
);
14866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14867 (arg1
)->SetValue(arg2
);
14868 wxPyEndAllowThreads(__tstate
);
14869 if (PyErr_Occurred()) SWIG_fail
;
14871 resultobj
= SWIG_Py_Void();
14878 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14879 PyObject
*resultobj
= 0;
14880 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14886 PyObject
* obj0
= 0 ;
14887 PyObject
* obj1
= 0 ;
14888 char * kwnames
[] = {
14889 (char *) "self",(char *) "minVal", NULL
14892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14894 if (!SWIG_IsOK(res1
)) {
14895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14897 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14898 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14899 if (!SWIG_IsOK(ecode2
)) {
14900 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
14902 arg2
= static_cast< int >(val2
);
14904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14905 (arg1
)->SetMin(arg2
);
14906 wxPyEndAllowThreads(__tstate
);
14907 if (PyErr_Occurred()) SWIG_fail
;
14909 resultobj
= SWIG_Py_Void();
14916 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14917 PyObject
*resultobj
= 0;
14918 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14924 PyObject
* obj0
= 0 ;
14925 PyObject
* obj1
= 0 ;
14926 char * kwnames
[] = {
14927 (char *) "self",(char *) "maxVal", NULL
14930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14932 if (!SWIG_IsOK(res1
)) {
14933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14935 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14936 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14937 if (!SWIG_IsOK(ecode2
)) {
14938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
14940 arg2
= static_cast< int >(val2
);
14942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14943 (arg1
)->SetMax(arg2
);
14944 wxPyEndAllowThreads(__tstate
);
14945 if (PyErr_Occurred()) SWIG_fail
;
14947 resultobj
= SWIG_Py_Void();
14954 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14955 PyObject
*resultobj
= 0;
14956 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14965 PyObject
* obj0
= 0 ;
14966 PyObject
* obj1
= 0 ;
14967 PyObject
* obj2
= 0 ;
14968 char * kwnames
[] = {
14969 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
14972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14974 if (!SWIG_IsOK(res1
)) {
14975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14977 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14978 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14979 if (!SWIG_IsOK(ecode2
)) {
14980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
14982 arg2
= static_cast< int >(val2
);
14983 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14984 if (!SWIG_IsOK(ecode3
)) {
14985 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
14987 arg3
= static_cast< int >(val3
);
14989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14990 (arg1
)->SetRange(arg2
,arg3
);
14991 wxPyEndAllowThreads(__tstate
);
14992 if (PyErr_Occurred()) SWIG_fail
;
14994 resultobj
= SWIG_Py_Void();
15001 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15002 PyObject
*resultobj
= 0;
15003 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15007 PyObject
*swig_obj
[1] ;
15009 if (!args
) SWIG_fail
;
15010 swig_obj
[0] = args
;
15011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15012 if (!SWIG_IsOK(res1
)) {
15013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15015 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15018 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
15019 wxPyEndAllowThreads(__tstate
);
15020 if (PyErr_Occurred()) SWIG_fail
;
15023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15031 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15032 PyObject
*resultobj
= 0;
15033 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15034 SwigValueWrapper
<wxVisualAttributes
> result
;
15037 PyObject
* obj0
= 0 ;
15038 char * kwnames
[] = {
15039 (char *) "variant", NULL
15042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15044 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15045 if (!SWIG_IsOK(ecode1
)) {
15046 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15048 arg1
= static_cast< wxWindowVariant
>(val1
);
15051 if (!wxPyCheckForApp()) SWIG_fail
;
15052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15053 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
15054 wxPyEndAllowThreads(__tstate
);
15055 if (PyErr_Occurred()) SWIG_fail
;
15057 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15064 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15066 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15067 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15068 return SWIG_Py_Void();
15071 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15072 return SWIG_Python_InitShadowInstance(args
);
15075 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15076 PyObject
*resultobj
= 0;
15077 wxWindow
*arg1
= (wxWindow
*) 0 ;
15078 int arg2
= (int) -1 ;
15079 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15080 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15081 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15082 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15083 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15084 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15085 long arg6
= (long) wxSP_ARROW_KEYS
;
15086 int arg7
= (int) 0 ;
15087 int arg8
= (int) 100 ;
15088 int arg9
= (int) 0 ;
15089 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15090 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15091 wxSpinCtrl
*result
= 0 ;
15096 bool temp3
= false ;
15107 bool temp10
= false ;
15108 PyObject
* obj0
= 0 ;
15109 PyObject
* obj1
= 0 ;
15110 PyObject
* obj2
= 0 ;
15111 PyObject
* obj3
= 0 ;
15112 PyObject
* obj4
= 0 ;
15113 PyObject
* obj5
= 0 ;
15114 PyObject
* obj6
= 0 ;
15115 PyObject
* obj7
= 0 ;
15116 PyObject
* obj8
= 0 ;
15117 PyObject
* obj9
= 0 ;
15118 char * kwnames
[] = {
15119 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15124 if (!SWIG_IsOK(res1
)) {
15125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15127 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15129 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15130 if (!SWIG_IsOK(ecode2
)) {
15131 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15133 arg2
= static_cast< int >(val2
);
15137 arg3
= wxString_in_helper(obj2
);
15138 if (arg3
== NULL
) SWIG_fail
;
15145 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15151 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15155 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15156 if (!SWIG_IsOK(ecode6
)) {
15157 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15159 arg6
= static_cast< long >(val6
);
15162 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15163 if (!SWIG_IsOK(ecode7
)) {
15164 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15166 arg7
= static_cast< int >(val7
);
15169 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15170 if (!SWIG_IsOK(ecode8
)) {
15171 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15173 arg8
= static_cast< int >(val8
);
15176 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15177 if (!SWIG_IsOK(ecode9
)) {
15178 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15180 arg9
= static_cast< int >(val9
);
15184 arg10
= wxString_in_helper(obj9
);
15185 if (arg10
== NULL
) SWIG_fail
;
15190 if (!wxPyCheckForApp()) SWIG_fail
;
15191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15192 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15193 wxPyEndAllowThreads(__tstate
);
15194 if (PyErr_Occurred()) SWIG_fail
;
15196 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15219 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15220 PyObject
*resultobj
= 0;
15221 wxSpinCtrl
*result
= 0 ;
15223 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15225 if (!wxPyCheckForApp()) SWIG_fail
;
15226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15227 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15228 wxPyEndAllowThreads(__tstate
);
15229 if (PyErr_Occurred()) SWIG_fail
;
15231 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15238 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15239 PyObject
*resultobj
= 0;
15240 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15241 wxWindow
*arg2
= (wxWindow
*) 0 ;
15242 int arg3
= (int) -1 ;
15243 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15244 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15245 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15246 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15247 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15248 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15249 long arg7
= (long) wxSP_ARROW_KEYS
;
15250 int arg8
= (int) 0 ;
15251 int arg9
= (int) 100 ;
15252 int arg10
= (int) 0 ;
15253 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15254 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15262 bool temp4
= false ;
15273 bool temp11
= false ;
15274 PyObject
* obj0
= 0 ;
15275 PyObject
* obj1
= 0 ;
15276 PyObject
* obj2
= 0 ;
15277 PyObject
* obj3
= 0 ;
15278 PyObject
* obj4
= 0 ;
15279 PyObject
* obj5
= 0 ;
15280 PyObject
* obj6
= 0 ;
15281 PyObject
* obj7
= 0 ;
15282 PyObject
* obj8
= 0 ;
15283 PyObject
* obj9
= 0 ;
15284 PyObject
* obj10
= 0 ;
15285 char * kwnames
[] = {
15286 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15291 if (!SWIG_IsOK(res1
)) {
15292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15294 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15295 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15296 if (!SWIG_IsOK(res2
)) {
15297 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15299 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15301 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15302 if (!SWIG_IsOK(ecode3
)) {
15303 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15305 arg3
= static_cast< int >(val3
);
15309 arg4
= wxString_in_helper(obj3
);
15310 if (arg4
== NULL
) SWIG_fail
;
15317 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15323 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15327 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15328 if (!SWIG_IsOK(ecode7
)) {
15329 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15331 arg7
= static_cast< long >(val7
);
15334 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15335 if (!SWIG_IsOK(ecode8
)) {
15336 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15338 arg8
= static_cast< int >(val8
);
15341 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15342 if (!SWIG_IsOK(ecode9
)) {
15343 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15345 arg9
= static_cast< int >(val9
);
15348 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15349 if (!SWIG_IsOK(ecode10
)) {
15350 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15352 arg10
= static_cast< int >(val10
);
15356 arg11
= wxString_in_helper(obj10
);
15357 if (arg11
== NULL
) SWIG_fail
;
15362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15363 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15364 wxPyEndAllowThreads(__tstate
);
15365 if (PyErr_Occurred()) SWIG_fail
;
15368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15392 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15393 PyObject
*resultobj
= 0;
15394 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15398 PyObject
*swig_obj
[1] ;
15400 if (!args
) SWIG_fail
;
15401 swig_obj
[0] = args
;
15402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15403 if (!SWIG_IsOK(res1
)) {
15404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15406 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15409 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15410 wxPyEndAllowThreads(__tstate
);
15411 if (PyErr_Occurred()) SWIG_fail
;
15413 resultobj
= SWIG_From_int(static_cast< int >(result
));
15420 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15421 PyObject
*resultobj
= 0;
15422 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15428 PyObject
* obj0
= 0 ;
15429 PyObject
* obj1
= 0 ;
15430 char * kwnames
[] = {
15431 (char *) "self",(char *) "value", NULL
15434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15436 if (!SWIG_IsOK(res1
)) {
15437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15439 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15440 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15441 if (!SWIG_IsOK(ecode2
)) {
15442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15444 arg2
= static_cast< int >(val2
);
15446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15447 (arg1
)->SetValue(arg2
);
15448 wxPyEndAllowThreads(__tstate
);
15449 if (PyErr_Occurred()) SWIG_fail
;
15451 resultobj
= SWIG_Py_Void();
15458 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15459 PyObject
*resultobj
= 0;
15460 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15461 wxString
*arg2
= 0 ;
15464 bool temp2
= false ;
15465 PyObject
* obj0
= 0 ;
15466 PyObject
* obj1
= 0 ;
15467 char * kwnames
[] = {
15468 (char *) "self",(char *) "text", NULL
15471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15473 if (!SWIG_IsOK(res1
)) {
15474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15476 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15478 arg2
= wxString_in_helper(obj1
);
15479 if (arg2
== NULL
) SWIG_fail
;
15483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15484 (arg1
)->SetValue((wxString
const &)*arg2
);
15485 wxPyEndAllowThreads(__tstate
);
15486 if (PyErr_Occurred()) SWIG_fail
;
15488 resultobj
= SWIG_Py_Void();
15503 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15504 PyObject
*resultobj
= 0;
15505 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15514 PyObject
* obj0
= 0 ;
15515 PyObject
* obj1
= 0 ;
15516 PyObject
* obj2
= 0 ;
15517 char * kwnames
[] = {
15518 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15523 if (!SWIG_IsOK(res1
)) {
15524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15526 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15527 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15528 if (!SWIG_IsOK(ecode2
)) {
15529 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15531 arg2
= static_cast< int >(val2
);
15532 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15533 if (!SWIG_IsOK(ecode3
)) {
15534 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15536 arg3
= static_cast< int >(val3
);
15538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15539 (arg1
)->SetRange(arg2
,arg3
);
15540 wxPyEndAllowThreads(__tstate
);
15541 if (PyErr_Occurred()) SWIG_fail
;
15543 resultobj
= SWIG_Py_Void();
15550 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15551 PyObject
*resultobj
= 0;
15552 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15556 PyObject
*swig_obj
[1] ;
15558 if (!args
) SWIG_fail
;
15559 swig_obj
[0] = args
;
15560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15561 if (!SWIG_IsOK(res1
)) {
15562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15564 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15567 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15568 wxPyEndAllowThreads(__tstate
);
15569 if (PyErr_Occurred()) SWIG_fail
;
15571 resultobj
= SWIG_From_int(static_cast< int >(result
));
15578 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15579 PyObject
*resultobj
= 0;
15580 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15584 PyObject
*swig_obj
[1] ;
15586 if (!args
) SWIG_fail
;
15587 swig_obj
[0] = args
;
15588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15589 if (!SWIG_IsOK(res1
)) {
15590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15592 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15595 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15596 wxPyEndAllowThreads(__tstate
);
15597 if (PyErr_Occurred()) SWIG_fail
;
15599 resultobj
= SWIG_From_int(static_cast< int >(result
));
15606 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15607 PyObject
*resultobj
= 0;
15608 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15617 PyObject
* obj0
= 0 ;
15618 PyObject
* obj1
= 0 ;
15619 PyObject
* obj2
= 0 ;
15620 char * kwnames
[] = {
15621 (char *) "self",(char *) "from",(char *) "to", NULL
15624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15626 if (!SWIG_IsOK(res1
)) {
15627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15629 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15630 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15631 if (!SWIG_IsOK(ecode2
)) {
15632 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15634 arg2
= static_cast< long >(val2
);
15635 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15636 if (!SWIG_IsOK(ecode3
)) {
15637 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15639 arg3
= static_cast< long >(val3
);
15641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15642 (arg1
)->SetSelection(arg2
,arg3
);
15643 wxPyEndAllowThreads(__tstate
);
15644 if (PyErr_Occurred()) SWIG_fail
;
15646 resultobj
= SWIG_Py_Void();
15653 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15654 PyObject
*resultobj
= 0;
15655 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15656 SwigValueWrapper
<wxVisualAttributes
> result
;
15659 PyObject
* obj0
= 0 ;
15660 char * kwnames
[] = {
15661 (char *) "variant", NULL
15664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15666 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15667 if (!SWIG_IsOK(ecode1
)) {
15668 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15670 arg1
= static_cast< wxWindowVariant
>(val1
);
15673 if (!wxPyCheckForApp()) SWIG_fail
;
15674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15675 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15676 wxPyEndAllowThreads(__tstate
);
15677 if (PyErr_Occurred()) SWIG_fail
;
15679 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15686 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15688 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15689 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15690 return SWIG_Py_Void();
15693 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15694 return SWIG_Python_InitShadowInstance(args
);
15697 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15698 PyObject
*resultobj
= 0;
15699 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15700 int arg2
= (int) 0 ;
15701 wxSpinEvent
*result
= 0 ;
15706 PyObject
* obj0
= 0 ;
15707 PyObject
* obj1
= 0 ;
15708 char * kwnames
[] = {
15709 (char *) "commandType",(char *) "winid", NULL
15712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15714 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15715 if (!SWIG_IsOK(ecode1
)) {
15716 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15718 arg1
= static_cast< wxEventType
>(val1
);
15721 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15722 if (!SWIG_IsOK(ecode2
)) {
15723 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15725 arg2
= static_cast< int >(val2
);
15728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15729 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
15730 wxPyEndAllowThreads(__tstate
);
15731 if (PyErr_Occurred()) SWIG_fail
;
15733 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
15740 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15741 PyObject
*resultobj
= 0;
15742 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15746 PyObject
*swig_obj
[1] ;
15748 if (!args
) SWIG_fail
;
15749 swig_obj
[0] = args
;
15750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15751 if (!SWIG_IsOK(res1
)) {
15752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15754 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15757 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
15758 wxPyEndAllowThreads(__tstate
);
15759 if (PyErr_Occurred()) SWIG_fail
;
15761 resultobj
= SWIG_From_int(static_cast< int >(result
));
15768 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15769 PyObject
*resultobj
= 0;
15770 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15776 PyObject
* obj0
= 0 ;
15777 PyObject
* obj1
= 0 ;
15778 char * kwnames
[] = {
15779 (char *) "self",(char *) "pos", NULL
15782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15784 if (!SWIG_IsOK(res1
)) {
15785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15787 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15788 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15789 if (!SWIG_IsOK(ecode2
)) {
15790 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
15792 arg2
= static_cast< int >(val2
);
15794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15795 (arg1
)->SetPosition(arg2
);
15796 wxPyEndAllowThreads(__tstate
);
15797 if (PyErr_Occurred()) SWIG_fail
;
15799 resultobj
= SWIG_Py_Void();
15806 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15808 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15809 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
15810 return SWIG_Py_Void();
15813 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15814 return SWIG_Python_InitShadowInstance(args
);
15817 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
15818 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
15823 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
15824 PyObject
*pyobj
= 0;
15828 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15830 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15837 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
15838 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
15843 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
15844 PyObject
*pyobj
= 0;
15848 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15850 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15857 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15858 PyObject
*resultobj
= 0;
15859 wxWindow
*arg1
= (wxWindow
*) 0 ;
15860 int arg2
= (int) -1 ;
15861 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15862 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15863 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15864 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15865 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15866 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15867 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
15868 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
15869 int arg7
= (int) 0 ;
15870 long arg8
= (long) wxRA_HORIZONTAL
;
15871 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
15872 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
15873 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
15874 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15875 wxRadioBox
*result
= 0 ;
15880 bool temp3
= false ;
15883 bool temp6
= false ;
15890 bool temp10
= false ;
15891 PyObject
* obj0
= 0 ;
15892 PyObject
* obj1
= 0 ;
15893 PyObject
* obj2
= 0 ;
15894 PyObject
* obj3
= 0 ;
15895 PyObject
* obj4
= 0 ;
15896 PyObject
* obj5
= 0 ;
15897 PyObject
* obj6
= 0 ;
15898 PyObject
* obj7
= 0 ;
15899 PyObject
* obj8
= 0 ;
15900 PyObject
* obj9
= 0 ;
15901 char * kwnames
[] = {
15902 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
15905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15907 if (!SWIG_IsOK(res1
)) {
15908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15910 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15912 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15913 if (!SWIG_IsOK(ecode2
)) {
15914 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
15916 arg2
= static_cast< int >(val2
);
15920 arg3
= wxString_in_helper(obj2
);
15921 if (arg3
== NULL
) SWIG_fail
;
15928 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15934 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15939 if (! PySequence_Check(obj5
)) {
15940 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
15943 arg6
= new wxArrayString
;
15945 int i
, len
=PySequence_Length(obj5
);
15946 for (i
=0; i
<len
; i
++) {
15947 PyObject
* item
= PySequence_GetItem(obj5
, i
);
15948 wxString
* s
= wxString_in_helper(item
);
15949 if (PyErr_Occurred()) SWIG_fail
;
15957 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15958 if (!SWIG_IsOK(ecode7
)) {
15959 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
15961 arg7
= static_cast< int >(val7
);
15964 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
15965 if (!SWIG_IsOK(ecode8
)) {
15966 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
15968 arg8
= static_cast< long >(val8
);
15971 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
15972 if (!SWIG_IsOK(res9
)) {
15973 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
15976 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
15978 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
15982 arg10
= wxString_in_helper(obj9
);
15983 if (arg10
== NULL
) SWIG_fail
;
15988 if (!wxPyCheckForApp()) SWIG_fail
;
15989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15990 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
);
15991 wxPyEndAllowThreads(__tstate
);
15992 if (PyErr_Occurred()) SWIG_fail
;
15994 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
16000 if (temp6
) delete arg6
;
16013 if (temp6
) delete arg6
;
16023 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16024 PyObject
*resultobj
= 0;
16025 wxRadioBox
*result
= 0 ;
16027 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
16029 if (!wxPyCheckForApp()) SWIG_fail
;
16030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16031 result
= (wxRadioBox
*)new wxRadioBox();
16032 wxPyEndAllowThreads(__tstate
);
16033 if (PyErr_Occurred()) SWIG_fail
;
16035 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
16042 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16043 PyObject
*resultobj
= 0;
16044 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16045 wxWindow
*arg2
= (wxWindow
*) 0 ;
16046 int arg3
= (int) -1 ;
16047 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16048 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16049 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16050 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16051 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16052 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16053 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
16054 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
16055 int arg8
= (int) 0 ;
16056 long arg9
= (long) wxRA_HORIZONTAL
;
16057 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
16058 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
16059 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
16060 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16068 bool temp4
= false ;
16071 bool temp7
= false ;
16078 bool temp11
= false ;
16079 PyObject
* obj0
= 0 ;
16080 PyObject
* obj1
= 0 ;
16081 PyObject
* obj2
= 0 ;
16082 PyObject
* obj3
= 0 ;
16083 PyObject
* obj4
= 0 ;
16084 PyObject
* obj5
= 0 ;
16085 PyObject
* obj6
= 0 ;
16086 PyObject
* obj7
= 0 ;
16087 PyObject
* obj8
= 0 ;
16088 PyObject
* obj9
= 0 ;
16089 PyObject
* obj10
= 0 ;
16090 char * kwnames
[] = {
16091 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16096 if (!SWIG_IsOK(res1
)) {
16097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16099 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16100 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16101 if (!SWIG_IsOK(res2
)) {
16102 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16104 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16106 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16107 if (!SWIG_IsOK(ecode3
)) {
16108 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16110 arg3
= static_cast< int >(val3
);
16114 arg4
= wxString_in_helper(obj3
);
16115 if (arg4
== NULL
) SWIG_fail
;
16122 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16128 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16133 if (! PySequence_Check(obj6
)) {
16134 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16137 arg7
= new wxArrayString
;
16139 int i
, len
=PySequence_Length(obj6
);
16140 for (i
=0; i
<len
; i
++) {
16141 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16142 wxString
* s
= wxString_in_helper(item
);
16143 if (PyErr_Occurred()) SWIG_fail
;
16151 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16152 if (!SWIG_IsOK(ecode8
)) {
16153 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16155 arg8
= static_cast< int >(val8
);
16158 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16159 if (!SWIG_IsOK(ecode9
)) {
16160 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16162 arg9
= static_cast< long >(val9
);
16165 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16166 if (!SWIG_IsOK(res10
)) {
16167 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16170 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16172 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16176 arg11
= wxString_in_helper(obj10
);
16177 if (arg11
== NULL
) SWIG_fail
;
16182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16183 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
);
16184 wxPyEndAllowThreads(__tstate
);
16185 if (PyErr_Occurred()) SWIG_fail
;
16188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16195 if (temp7
) delete arg7
;
16208 if (temp7
) delete arg7
;
16218 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16219 PyObject
*resultobj
= 0;
16220 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16226 PyObject
* obj0
= 0 ;
16227 PyObject
* obj1
= 0 ;
16228 char * kwnames
[] = {
16229 (char *) "self",(char *) "n", NULL
16232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16234 if (!SWIG_IsOK(res1
)) {
16235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16237 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16238 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16239 if (!SWIG_IsOK(ecode2
)) {
16240 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16242 arg2
= static_cast< int >(val2
);
16244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16245 (arg1
)->SetSelection(arg2
);
16246 wxPyEndAllowThreads(__tstate
);
16247 if (PyErr_Occurred()) SWIG_fail
;
16249 resultobj
= SWIG_Py_Void();
16256 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16257 PyObject
*resultobj
= 0;
16258 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16262 PyObject
*swig_obj
[1] ;
16264 if (!args
) SWIG_fail
;
16265 swig_obj
[0] = args
;
16266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16267 if (!SWIG_IsOK(res1
)) {
16268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16270 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16273 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16274 wxPyEndAllowThreads(__tstate
);
16275 if (PyErr_Occurred()) SWIG_fail
;
16277 resultobj
= SWIG_From_int(static_cast< int >(result
));
16284 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16285 PyObject
*resultobj
= 0;
16286 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16290 PyObject
*swig_obj
[1] ;
16292 if (!args
) SWIG_fail
;
16293 swig_obj
[0] = args
;
16294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16295 if (!SWIG_IsOK(res1
)) {
16296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16298 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16301 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16302 wxPyEndAllowThreads(__tstate
);
16303 if (PyErr_Occurred()) SWIG_fail
;
16307 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16309 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16318 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16319 PyObject
*resultobj
= 0;
16320 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16321 wxString
*arg2
= 0 ;
16325 bool temp2
= false ;
16326 PyObject
* obj0
= 0 ;
16327 PyObject
* obj1
= 0 ;
16328 char * kwnames
[] = {
16329 (char *) "self",(char *) "s", NULL
16332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16334 if (!SWIG_IsOK(res1
)) {
16335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16337 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16339 arg2
= wxString_in_helper(obj1
);
16340 if (arg2
== NULL
) SWIG_fail
;
16344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16345 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16346 wxPyEndAllowThreads(__tstate
);
16347 if (PyErr_Occurred()) SWIG_fail
;
16350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16366 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16367 PyObject
*resultobj
= 0;
16368 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16372 PyObject
*swig_obj
[1] ;
16374 if (!args
) SWIG_fail
;
16375 swig_obj
[0] = args
;
16376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16377 if (!SWIG_IsOK(res1
)) {
16378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16380 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16383 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16384 wxPyEndAllowThreads(__tstate
);
16385 if (PyErr_Occurred()) SWIG_fail
;
16387 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16394 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16395 PyObject
*resultobj
= 0;
16396 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16397 wxString
*arg2
= 0 ;
16401 bool temp2
= false ;
16402 PyObject
* obj0
= 0 ;
16403 PyObject
* obj1
= 0 ;
16404 char * kwnames
[] = {
16405 (char *) "self",(char *) "s", NULL
16408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16410 if (!SWIG_IsOK(res1
)) {
16411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16413 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16415 arg2
= wxString_in_helper(obj1
);
16416 if (arg2
== NULL
) SWIG_fail
;
16420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16421 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16422 wxPyEndAllowThreads(__tstate
);
16423 if (PyErr_Occurred()) SWIG_fail
;
16425 resultobj
= SWIG_From_int(static_cast< int >(result
));
16440 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16441 PyObject
*resultobj
= 0;
16442 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16449 PyObject
* obj0
= 0 ;
16450 PyObject
* obj1
= 0 ;
16451 char * kwnames
[] = {
16452 (char *) "self",(char *) "n", NULL
16455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16457 if (!SWIG_IsOK(res1
)) {
16458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16460 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16461 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16462 if (!SWIG_IsOK(ecode2
)) {
16463 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16465 arg2
= static_cast< int >(val2
);
16467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16468 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16469 wxPyEndAllowThreads(__tstate
);
16470 if (PyErr_Occurred()) SWIG_fail
;
16474 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16476 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16485 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16486 PyObject
*resultobj
= 0;
16487 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16489 wxString
*arg3
= 0 ;
16494 bool temp3
= false ;
16495 PyObject
* obj0
= 0 ;
16496 PyObject
* obj1
= 0 ;
16497 PyObject
* obj2
= 0 ;
16498 char * kwnames
[] = {
16499 (char *) "self",(char *) "n",(char *) "label", NULL
16502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16504 if (!SWIG_IsOK(res1
)) {
16505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16507 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16508 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16509 if (!SWIG_IsOK(ecode2
)) {
16510 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16512 arg2
= static_cast< int >(val2
);
16514 arg3
= wxString_in_helper(obj2
);
16515 if (arg3
== NULL
) SWIG_fail
;
16519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16520 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16521 wxPyEndAllowThreads(__tstate
);
16522 if (PyErr_Occurred()) SWIG_fail
;
16524 resultobj
= SWIG_Py_Void();
16539 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16540 PyObject
*resultobj
= 0;
16541 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16542 unsigned int arg2
;
16543 bool arg3
= (bool) true ;
16546 unsigned int val2
;
16550 PyObject
* obj0
= 0 ;
16551 PyObject
* obj1
= 0 ;
16552 PyObject
* obj2
= 0 ;
16553 char * kwnames
[] = {
16554 (char *) "self",(char *) "n",(char *) "enable", NULL
16557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16559 if (!SWIG_IsOK(res1
)) {
16560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16562 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16563 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16564 if (!SWIG_IsOK(ecode2
)) {
16565 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16567 arg2
= static_cast< unsigned int >(val2
);
16569 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16570 if (!SWIG_IsOK(ecode3
)) {
16571 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16573 arg3
= static_cast< bool >(val3
);
16576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16577 (arg1
)->Enable(arg2
,arg3
);
16578 wxPyEndAllowThreads(__tstate
);
16579 if (PyErr_Occurred()) SWIG_fail
;
16581 resultobj
= SWIG_Py_Void();
16588 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16589 PyObject
*resultobj
= 0;
16590 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16591 unsigned int arg2
;
16592 bool arg3
= (bool) true ;
16595 unsigned int val2
;
16599 PyObject
* obj0
= 0 ;
16600 PyObject
* obj1
= 0 ;
16601 PyObject
* obj2
= 0 ;
16602 char * kwnames
[] = {
16603 (char *) "self",(char *) "n",(char *) "show", NULL
16606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16608 if (!SWIG_IsOK(res1
)) {
16609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16611 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16612 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16613 if (!SWIG_IsOK(ecode2
)) {
16614 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16616 arg2
= static_cast< unsigned int >(val2
);
16618 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16619 if (!SWIG_IsOK(ecode3
)) {
16620 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16622 arg3
= static_cast< bool >(val3
);
16625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16626 (arg1
)->Show(arg2
,arg3
);
16627 wxPyEndAllowThreads(__tstate
);
16628 if (PyErr_Occurred()) SWIG_fail
;
16630 resultobj
= SWIG_Py_Void();
16637 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16638 PyObject
*resultobj
= 0;
16639 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16640 unsigned int arg2
;
16644 unsigned int val2
;
16646 PyObject
* obj0
= 0 ;
16647 PyObject
* obj1
= 0 ;
16648 char * kwnames
[] = {
16649 (char *) "self",(char *) "n", NULL
16652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16654 if (!SWIG_IsOK(res1
)) {
16655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16657 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16658 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16659 if (!SWIG_IsOK(ecode2
)) {
16660 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16662 arg2
= static_cast< unsigned int >(val2
);
16664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16665 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16666 wxPyEndAllowThreads(__tstate
);
16667 if (PyErr_Occurred()) SWIG_fail
;
16670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16678 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16679 PyObject
*resultobj
= 0;
16680 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16681 unsigned int arg2
;
16685 unsigned int val2
;
16687 PyObject
* obj0
= 0 ;
16688 PyObject
* obj1
= 0 ;
16689 char * kwnames
[] = {
16690 (char *) "self",(char *) "n", NULL
16693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16695 if (!SWIG_IsOK(res1
)) {
16696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16698 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16699 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16700 if (!SWIG_IsOK(ecode2
)) {
16701 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16703 arg2
= static_cast< unsigned int >(val2
);
16705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16706 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
16707 wxPyEndAllowThreads(__tstate
);
16708 if (PyErr_Occurred()) SWIG_fail
;
16711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16719 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16720 PyObject
*resultobj
= 0;
16721 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16722 unsigned int result
;
16725 PyObject
*swig_obj
[1] ;
16727 if (!args
) SWIG_fail
;
16728 swig_obj
[0] = args
;
16729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16730 if (!SWIG_IsOK(res1
)) {
16731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16733 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16736 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
16737 wxPyEndAllowThreads(__tstate
);
16738 if (PyErr_Occurred()) SWIG_fail
;
16740 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16747 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16748 PyObject
*resultobj
= 0;
16749 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16750 unsigned int result
;
16753 PyObject
*swig_obj
[1] ;
16755 if (!args
) SWIG_fail
;
16756 swig_obj
[0] = args
;
16757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16758 if (!SWIG_IsOK(res1
)) {
16759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16761 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16764 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
16765 wxPyEndAllowThreads(__tstate
);
16766 if (PyErr_Occurred()) SWIG_fail
;
16768 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16775 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16776 PyObject
*resultobj
= 0;
16777 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16790 PyObject
* obj0
= 0 ;
16791 PyObject
* obj1
= 0 ;
16792 PyObject
* obj2
= 0 ;
16793 PyObject
* obj3
= 0 ;
16794 char * kwnames
[] = {
16795 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
16798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16800 if (!SWIG_IsOK(res1
)) {
16801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16803 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16804 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16805 if (!SWIG_IsOK(ecode2
)) {
16806 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
16808 arg2
= static_cast< int >(val2
);
16809 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16810 if (!SWIG_IsOK(ecode3
)) {
16811 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
16813 arg3
= static_cast< wxDirection
>(val3
);
16814 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16815 if (!SWIG_IsOK(ecode4
)) {
16816 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
16818 arg4
= static_cast< long >(val4
);
16820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16821 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
16822 wxPyEndAllowThreads(__tstate
);
16823 if (PyErr_Occurred()) SWIG_fail
;
16825 resultobj
= SWIG_From_int(static_cast< int >(result
));
16832 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16833 PyObject
*resultobj
= 0;
16834 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16835 unsigned int arg2
;
16836 wxString
*arg3
= 0 ;
16839 unsigned int val2
;
16841 bool temp3
= false ;
16842 PyObject
* obj0
= 0 ;
16843 PyObject
* obj1
= 0 ;
16844 PyObject
* obj2
= 0 ;
16845 char * kwnames
[] = {
16846 (char *) "self",(char *) "item",(char *) "text", NULL
16849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemToolTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16851 if (!SWIG_IsOK(res1
)) {
16852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16854 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16855 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16856 if (!SWIG_IsOK(ecode2
)) {
16857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16859 arg2
= static_cast< unsigned int >(val2
);
16861 arg3
= wxString_in_helper(obj2
);
16862 if (arg3
== NULL
) SWIG_fail
;
16866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16867 (arg1
)->SetItemToolTip(arg2
,(wxString
const &)*arg3
);
16868 wxPyEndAllowThreads(__tstate
);
16869 if (PyErr_Occurred()) SWIG_fail
;
16871 resultobj
= SWIG_Py_Void();
16886 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16887 PyObject
*resultobj
= 0;
16888 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16889 unsigned int arg2
;
16890 wxToolTip
*result
= 0 ;
16893 unsigned int val2
;
16895 PyObject
* obj0
= 0 ;
16896 PyObject
* obj1
= 0 ;
16897 char * kwnames
[] = {
16898 (char *) "self",(char *) "item", NULL
16901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16903 if (!SWIG_IsOK(res1
)) {
16904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16906 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16907 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16908 if (!SWIG_IsOK(ecode2
)) {
16909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16911 arg2
= static_cast< unsigned int >(val2
);
16913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16914 result
= (wxToolTip
*)((wxRadioBox
const *)arg1
)->GetItemToolTip(arg2
);
16915 wxPyEndAllowThreads(__tstate
);
16916 if (PyErr_Occurred()) SWIG_fail
;
16919 resultobj
= wxPyMake_wxObject(result
, (bool)0);
16927 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16928 PyObject
*resultobj
= 0;
16929 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16930 unsigned int arg2
;
16931 wxString
*arg3
= 0 ;
16934 unsigned int val2
;
16936 bool temp3
= false ;
16937 PyObject
* obj0
= 0 ;
16938 PyObject
* obj1
= 0 ;
16939 PyObject
* obj2
= 0 ;
16940 char * kwnames
[] = {
16941 (char *) "self",(char *) "n",(char *) "helpText", NULL
16944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemHelpText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16946 if (!SWIG_IsOK(res1
)) {
16947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16949 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16950 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16951 if (!SWIG_IsOK(ecode2
)) {
16952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
16954 arg2
= static_cast< unsigned int >(val2
);
16956 arg3
= wxString_in_helper(obj2
);
16957 if (arg3
== NULL
) SWIG_fail
;
16961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16962 (arg1
)->SetItemHelpText(arg2
,(wxString
const &)*arg3
);
16963 wxPyEndAllowThreads(__tstate
);
16964 if (PyErr_Occurred()) SWIG_fail
;
16966 resultobj
= SWIG_Py_Void();
16981 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16982 PyObject
*resultobj
= 0;
16983 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16984 unsigned int arg2
;
16988 unsigned int val2
;
16990 PyObject
* obj0
= 0 ;
16991 PyObject
* obj1
= 0 ;
16992 char * kwnames
[] = {
16993 (char *) "self",(char *) "n", NULL
16996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemHelpText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16998 if (!SWIG_IsOK(res1
)) {
16999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17001 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17002 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17003 if (!SWIG_IsOK(ecode2
)) {
17004 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17006 arg2
= static_cast< unsigned int >(val2
);
17008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17009 result
= ((wxRadioBox
const *)arg1
)->GetItemHelpText(arg2
);
17010 wxPyEndAllowThreads(__tstate
);
17011 if (PyErr_Occurred()) SWIG_fail
;
17015 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17017 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17026 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17027 PyObject
*resultobj
= 0;
17028 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17029 SwigValueWrapper
<wxVisualAttributes
> result
;
17032 PyObject
* obj0
= 0 ;
17033 char * kwnames
[] = {
17034 (char *) "variant", NULL
17037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17039 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17040 if (!SWIG_IsOK(ecode1
)) {
17041 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17043 arg1
= static_cast< wxWindowVariant
>(val1
);
17046 if (!wxPyCheckForApp()) SWIG_fail
;
17047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17048 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
17049 wxPyEndAllowThreads(__tstate
);
17050 if (PyErr_Occurred()) SWIG_fail
;
17052 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17059 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17061 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17062 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
17063 return SWIG_Py_Void();
17066 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17067 return SWIG_Python_InitShadowInstance(args
);
17070 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17071 PyObject
*resultobj
= 0;
17072 wxWindow
*arg1
= (wxWindow
*) 0 ;
17073 int arg2
= (int) -1 ;
17074 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17075 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17076 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17077 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17078 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17079 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17080 long arg6
= (long) 0 ;
17081 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17082 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17083 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
17084 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17085 wxRadioButton
*result
= 0 ;
17090 bool temp3
= false ;
17097 bool temp8
= false ;
17098 PyObject
* obj0
= 0 ;
17099 PyObject
* obj1
= 0 ;
17100 PyObject
* obj2
= 0 ;
17101 PyObject
* obj3
= 0 ;
17102 PyObject
* obj4
= 0 ;
17103 PyObject
* obj5
= 0 ;
17104 PyObject
* obj6
= 0 ;
17105 PyObject
* obj7
= 0 ;
17106 char * kwnames
[] = {
17107 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17112 if (!SWIG_IsOK(res1
)) {
17113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17115 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17117 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17118 if (!SWIG_IsOK(ecode2
)) {
17119 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17121 arg2
= static_cast< int >(val2
);
17125 arg3
= wxString_in_helper(obj2
);
17126 if (arg3
== NULL
) SWIG_fail
;
17133 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17139 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17143 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17144 if (!SWIG_IsOK(ecode6
)) {
17145 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17147 arg6
= static_cast< long >(val6
);
17150 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
17151 if (!SWIG_IsOK(res7
)) {
17152 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17155 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17157 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
17161 arg8
= wxString_in_helper(obj7
);
17162 if (arg8
== NULL
) SWIG_fail
;
17167 if (!wxPyCheckForApp()) SWIG_fail
;
17168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17169 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17170 wxPyEndAllowThreads(__tstate
);
17171 if (PyErr_Occurred()) SWIG_fail
;
17173 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17196 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17197 PyObject
*resultobj
= 0;
17198 wxRadioButton
*result
= 0 ;
17200 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17202 if (!wxPyCheckForApp()) SWIG_fail
;
17203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17204 result
= (wxRadioButton
*)new wxRadioButton();
17205 wxPyEndAllowThreads(__tstate
);
17206 if (PyErr_Occurred()) SWIG_fail
;
17208 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17215 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17216 PyObject
*resultobj
= 0;
17217 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17218 wxWindow
*arg2
= (wxWindow
*) 0 ;
17219 int arg3
= (int) -1 ;
17220 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17221 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17222 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17223 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17224 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17225 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17226 long arg7
= (long) 0 ;
17227 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17228 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17229 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17230 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17238 bool temp4
= false ;
17245 bool temp9
= false ;
17246 PyObject
* obj0
= 0 ;
17247 PyObject
* obj1
= 0 ;
17248 PyObject
* obj2
= 0 ;
17249 PyObject
* obj3
= 0 ;
17250 PyObject
* obj4
= 0 ;
17251 PyObject
* obj5
= 0 ;
17252 PyObject
* obj6
= 0 ;
17253 PyObject
* obj7
= 0 ;
17254 PyObject
* obj8
= 0 ;
17255 char * kwnames
[] = {
17256 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17261 if (!SWIG_IsOK(res1
)) {
17262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17264 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17265 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17266 if (!SWIG_IsOK(res2
)) {
17267 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17269 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17271 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17272 if (!SWIG_IsOK(ecode3
)) {
17273 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17275 arg3
= static_cast< int >(val3
);
17279 arg4
= wxString_in_helper(obj3
);
17280 if (arg4
== NULL
) SWIG_fail
;
17287 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17293 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17297 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17298 if (!SWIG_IsOK(ecode7
)) {
17299 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17301 arg7
= static_cast< long >(val7
);
17304 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17305 if (!SWIG_IsOK(res8
)) {
17306 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17309 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17311 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17315 arg9
= wxString_in_helper(obj8
);
17316 if (arg9
== NULL
) SWIG_fail
;
17321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17322 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17323 wxPyEndAllowThreads(__tstate
);
17324 if (PyErr_Occurred()) SWIG_fail
;
17327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17351 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17352 PyObject
*resultobj
= 0;
17353 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17357 PyObject
*swig_obj
[1] ;
17359 if (!args
) SWIG_fail
;
17360 swig_obj
[0] = args
;
17361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17362 if (!SWIG_IsOK(res1
)) {
17363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17365 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17368 result
= (bool)(arg1
)->GetValue();
17369 wxPyEndAllowThreads(__tstate
);
17370 if (PyErr_Occurred()) SWIG_fail
;
17373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17381 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17382 PyObject
*resultobj
= 0;
17383 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17389 PyObject
* obj0
= 0 ;
17390 PyObject
* obj1
= 0 ;
17391 char * kwnames
[] = {
17392 (char *) "self",(char *) "value", NULL
17395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17397 if (!SWIG_IsOK(res1
)) {
17398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17400 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17401 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17402 if (!SWIG_IsOK(ecode2
)) {
17403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17405 arg2
= static_cast< bool >(val2
);
17407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17408 (arg1
)->SetValue(arg2
);
17409 wxPyEndAllowThreads(__tstate
);
17410 if (PyErr_Occurred()) SWIG_fail
;
17412 resultobj
= SWIG_Py_Void();
17419 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17420 PyObject
*resultobj
= 0;
17421 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17422 SwigValueWrapper
<wxVisualAttributes
> result
;
17425 PyObject
* obj0
= 0 ;
17426 char * kwnames
[] = {
17427 (char *) "variant", NULL
17430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17432 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17433 if (!SWIG_IsOK(ecode1
)) {
17434 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17436 arg1
= static_cast< wxWindowVariant
>(val1
);
17439 if (!wxPyCheckForApp()) SWIG_fail
;
17440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17441 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17442 wxPyEndAllowThreads(__tstate
);
17443 if (PyErr_Occurred()) SWIG_fail
;
17445 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17452 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17454 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17455 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17456 return SWIG_Py_Void();
17459 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17460 return SWIG_Python_InitShadowInstance(args
);
17463 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17464 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17469 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17470 PyObject
*pyobj
= 0;
17474 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17476 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17483 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17484 PyObject
*resultobj
= 0;
17485 wxWindow
*arg1
= (wxWindow
*) 0 ;
17486 int arg2
= (int) -1 ;
17487 int arg3
= (int) 0 ;
17488 int arg4
= (int) 0 ;
17489 int arg5
= (int) 100 ;
17490 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17491 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17492 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17493 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17494 long arg8
= (long) wxSL_HORIZONTAL
;
17495 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17496 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17497 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17498 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17499 wxSlider
*result
= 0 ;
17516 bool temp10
= false ;
17517 PyObject
* obj0
= 0 ;
17518 PyObject
* obj1
= 0 ;
17519 PyObject
* obj2
= 0 ;
17520 PyObject
* obj3
= 0 ;
17521 PyObject
* obj4
= 0 ;
17522 PyObject
* obj5
= 0 ;
17523 PyObject
* obj6
= 0 ;
17524 PyObject
* obj7
= 0 ;
17525 PyObject
* obj8
= 0 ;
17526 PyObject
* obj9
= 0 ;
17527 char * kwnames
[] = {
17528 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17533 if (!SWIG_IsOK(res1
)) {
17534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17536 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17538 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17539 if (!SWIG_IsOK(ecode2
)) {
17540 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17542 arg2
= static_cast< int >(val2
);
17545 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17546 if (!SWIG_IsOK(ecode3
)) {
17547 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17549 arg3
= static_cast< int >(val3
);
17552 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17553 if (!SWIG_IsOK(ecode4
)) {
17554 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17556 arg4
= static_cast< int >(val4
);
17559 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17560 if (!SWIG_IsOK(ecode5
)) {
17561 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17563 arg5
= static_cast< int >(val5
);
17568 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17574 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17578 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17579 if (!SWIG_IsOK(ecode8
)) {
17580 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17582 arg8
= static_cast< long >(val8
);
17585 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17586 if (!SWIG_IsOK(res9
)) {
17587 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17590 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17592 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17596 arg10
= wxString_in_helper(obj9
);
17597 if (arg10
== NULL
) SWIG_fail
;
17602 if (!wxPyCheckForApp()) SWIG_fail
;
17603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17604 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17605 wxPyEndAllowThreads(__tstate
);
17606 if (PyErr_Occurred()) SWIG_fail
;
17608 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17623 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17624 PyObject
*resultobj
= 0;
17625 wxSlider
*result
= 0 ;
17627 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17629 if (!wxPyCheckForApp()) SWIG_fail
;
17630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17631 result
= (wxSlider
*)new wxSlider();
17632 wxPyEndAllowThreads(__tstate
);
17633 if (PyErr_Occurred()) SWIG_fail
;
17635 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17642 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17643 PyObject
*resultobj
= 0;
17644 wxSlider
*arg1
= (wxSlider
*) 0 ;
17645 wxWindow
*arg2
= (wxWindow
*) 0 ;
17646 int arg3
= (int) -1 ;
17647 int arg4
= (int) 0 ;
17648 int arg5
= (int) 0 ;
17649 int arg6
= (int) 100 ;
17650 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17651 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17652 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17653 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17654 long arg9
= (long) wxSL_HORIZONTAL
;
17655 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17656 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17657 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17658 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17678 bool temp11
= false ;
17679 PyObject
* obj0
= 0 ;
17680 PyObject
* obj1
= 0 ;
17681 PyObject
* obj2
= 0 ;
17682 PyObject
* obj3
= 0 ;
17683 PyObject
* obj4
= 0 ;
17684 PyObject
* obj5
= 0 ;
17685 PyObject
* obj6
= 0 ;
17686 PyObject
* obj7
= 0 ;
17687 PyObject
* obj8
= 0 ;
17688 PyObject
* obj9
= 0 ;
17689 PyObject
* obj10
= 0 ;
17690 char * kwnames
[] = {
17691 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17696 if (!SWIG_IsOK(res1
)) {
17697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17699 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17700 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17701 if (!SWIG_IsOK(res2
)) {
17702 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17704 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17706 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17707 if (!SWIG_IsOK(ecode3
)) {
17708 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17710 arg3
= static_cast< int >(val3
);
17713 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17714 if (!SWIG_IsOK(ecode4
)) {
17715 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17717 arg4
= static_cast< int >(val4
);
17720 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17721 if (!SWIG_IsOK(ecode5
)) {
17722 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17724 arg5
= static_cast< int >(val5
);
17727 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17728 if (!SWIG_IsOK(ecode6
)) {
17729 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17731 arg6
= static_cast< int >(val6
);
17736 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17742 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
17746 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
17747 if (!SWIG_IsOK(ecode9
)) {
17748 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17750 arg9
= static_cast< long >(val9
);
17753 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
17754 if (!SWIG_IsOK(res10
)) {
17755 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17758 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17760 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
17764 arg11
= wxString_in_helper(obj10
);
17765 if (arg11
== NULL
) SWIG_fail
;
17770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17771 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
17772 wxPyEndAllowThreads(__tstate
);
17773 if (PyErr_Occurred()) SWIG_fail
;
17776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17792 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17793 PyObject
*resultobj
= 0;
17794 wxSlider
*arg1
= (wxSlider
*) 0 ;
17798 PyObject
*swig_obj
[1] ;
17800 if (!args
) SWIG_fail
;
17801 swig_obj
[0] = args
;
17802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17803 if (!SWIG_IsOK(res1
)) {
17804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
17806 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17809 result
= (int)((wxSlider
const *)arg1
)->GetValue();
17810 wxPyEndAllowThreads(__tstate
);
17811 if (PyErr_Occurred()) SWIG_fail
;
17813 resultobj
= SWIG_From_int(static_cast< int >(result
));
17820 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17821 PyObject
*resultobj
= 0;
17822 wxSlider
*arg1
= (wxSlider
*) 0 ;
17828 PyObject
* obj0
= 0 ;
17829 PyObject
* obj1
= 0 ;
17830 char * kwnames
[] = {
17831 (char *) "self",(char *) "value", NULL
17834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17836 if (!SWIG_IsOK(res1
)) {
17837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
17839 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17840 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17841 if (!SWIG_IsOK(ecode2
)) {
17842 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
17844 arg2
= static_cast< int >(val2
);
17846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17847 (arg1
)->SetValue(arg2
);
17848 wxPyEndAllowThreads(__tstate
);
17849 if (PyErr_Occurred()) SWIG_fail
;
17851 resultobj
= SWIG_Py_Void();
17858 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17859 PyObject
*resultobj
= 0;
17860 wxSlider
*arg1
= (wxSlider
*) 0 ;
17869 PyObject
* obj0
= 0 ;
17870 PyObject
* obj1
= 0 ;
17871 PyObject
* obj2
= 0 ;
17872 char * kwnames
[] = {
17873 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
17876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17878 if (!SWIG_IsOK(res1
)) {
17879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
17881 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17882 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17883 if (!SWIG_IsOK(ecode2
)) {
17884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
17886 arg2
= static_cast< int >(val2
);
17887 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17888 if (!SWIG_IsOK(ecode3
)) {
17889 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
17891 arg3
= static_cast< int >(val3
);
17893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17894 (arg1
)->SetRange(arg2
,arg3
);
17895 wxPyEndAllowThreads(__tstate
);
17896 if (PyErr_Occurred()) SWIG_fail
;
17898 resultobj
= SWIG_Py_Void();
17905 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17906 PyObject
*resultobj
= 0;
17907 wxSlider
*arg1
= (wxSlider
*) 0 ;
17911 PyObject
*swig_obj
[1] ;
17913 if (!args
) SWIG_fail
;
17914 swig_obj
[0] = args
;
17915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17916 if (!SWIG_IsOK(res1
)) {
17917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
17919 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17922 result
= (int)((wxSlider
const *)arg1
)->GetMin();
17923 wxPyEndAllowThreads(__tstate
);
17924 if (PyErr_Occurred()) SWIG_fail
;
17926 resultobj
= SWIG_From_int(static_cast< int >(result
));
17933 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17934 PyObject
*resultobj
= 0;
17935 wxSlider
*arg1
= (wxSlider
*) 0 ;
17939 PyObject
*swig_obj
[1] ;
17941 if (!args
) SWIG_fail
;
17942 swig_obj
[0] = args
;
17943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17944 if (!SWIG_IsOK(res1
)) {
17945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
17947 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17950 result
= (int)((wxSlider
const *)arg1
)->GetMax();
17951 wxPyEndAllowThreads(__tstate
);
17952 if (PyErr_Occurred()) SWIG_fail
;
17954 resultobj
= SWIG_From_int(static_cast< int >(result
));
17961 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17962 PyObject
*resultobj
= 0;
17963 wxSlider
*arg1
= (wxSlider
*) 0 ;
17969 PyObject
* obj0
= 0 ;
17970 PyObject
* obj1
= 0 ;
17971 char * kwnames
[] = {
17972 (char *) "self",(char *) "minValue", NULL
17975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17977 if (!SWIG_IsOK(res1
)) {
17978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
17980 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17981 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17982 if (!SWIG_IsOK(ecode2
)) {
17983 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
17985 arg2
= static_cast< int >(val2
);
17987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17988 (arg1
)->SetMin(arg2
);
17989 wxPyEndAllowThreads(__tstate
);
17990 if (PyErr_Occurred()) SWIG_fail
;
17992 resultobj
= SWIG_Py_Void();
17999 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18000 PyObject
*resultobj
= 0;
18001 wxSlider
*arg1
= (wxSlider
*) 0 ;
18007 PyObject
* obj0
= 0 ;
18008 PyObject
* obj1
= 0 ;
18009 char * kwnames
[] = {
18010 (char *) "self",(char *) "maxValue", NULL
18013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18015 if (!SWIG_IsOK(res1
)) {
18016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
18018 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18019 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18020 if (!SWIG_IsOK(ecode2
)) {
18021 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
18023 arg2
= static_cast< int >(val2
);
18025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18026 (arg1
)->SetMax(arg2
);
18027 wxPyEndAllowThreads(__tstate
);
18028 if (PyErr_Occurred()) SWIG_fail
;
18030 resultobj
= SWIG_Py_Void();
18037 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18038 PyObject
*resultobj
= 0;
18039 wxSlider
*arg1
= (wxSlider
*) 0 ;
18045 PyObject
* obj0
= 0 ;
18046 PyObject
* obj1
= 0 ;
18047 char * kwnames
[] = {
18048 (char *) "self",(char *) "lineSize", NULL
18051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18053 if (!SWIG_IsOK(res1
)) {
18054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18056 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18057 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18058 if (!SWIG_IsOK(ecode2
)) {
18059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18061 arg2
= static_cast< int >(val2
);
18063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18064 (arg1
)->SetLineSize(arg2
);
18065 wxPyEndAllowThreads(__tstate
);
18066 if (PyErr_Occurred()) SWIG_fail
;
18068 resultobj
= SWIG_Py_Void();
18075 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18076 PyObject
*resultobj
= 0;
18077 wxSlider
*arg1
= (wxSlider
*) 0 ;
18083 PyObject
* obj0
= 0 ;
18084 PyObject
* obj1
= 0 ;
18085 char * kwnames
[] = {
18086 (char *) "self",(char *) "pageSize", NULL
18089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18091 if (!SWIG_IsOK(res1
)) {
18092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18094 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18095 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18096 if (!SWIG_IsOK(ecode2
)) {
18097 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18099 arg2
= static_cast< int >(val2
);
18101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18102 (arg1
)->SetPageSize(arg2
);
18103 wxPyEndAllowThreads(__tstate
);
18104 if (PyErr_Occurred()) SWIG_fail
;
18106 resultobj
= SWIG_Py_Void();
18113 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18114 PyObject
*resultobj
= 0;
18115 wxSlider
*arg1
= (wxSlider
*) 0 ;
18119 PyObject
*swig_obj
[1] ;
18121 if (!args
) SWIG_fail
;
18122 swig_obj
[0] = args
;
18123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18124 if (!SWIG_IsOK(res1
)) {
18125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18127 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18130 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
18131 wxPyEndAllowThreads(__tstate
);
18132 if (PyErr_Occurred()) SWIG_fail
;
18134 resultobj
= SWIG_From_int(static_cast< int >(result
));
18141 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18142 PyObject
*resultobj
= 0;
18143 wxSlider
*arg1
= (wxSlider
*) 0 ;
18147 PyObject
*swig_obj
[1] ;
18149 if (!args
) SWIG_fail
;
18150 swig_obj
[0] = args
;
18151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18152 if (!SWIG_IsOK(res1
)) {
18153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18155 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18158 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
18159 wxPyEndAllowThreads(__tstate
);
18160 if (PyErr_Occurred()) SWIG_fail
;
18162 resultobj
= SWIG_From_int(static_cast< int >(result
));
18169 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18170 PyObject
*resultobj
= 0;
18171 wxSlider
*arg1
= (wxSlider
*) 0 ;
18177 PyObject
* obj0
= 0 ;
18178 PyObject
* obj1
= 0 ;
18179 char * kwnames
[] = {
18180 (char *) "self",(char *) "lenPixels", NULL
18183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18185 if (!SWIG_IsOK(res1
)) {
18186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18188 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18189 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18190 if (!SWIG_IsOK(ecode2
)) {
18191 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18193 arg2
= static_cast< int >(val2
);
18195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18196 (arg1
)->SetThumbLength(arg2
);
18197 wxPyEndAllowThreads(__tstate
);
18198 if (PyErr_Occurred()) SWIG_fail
;
18200 resultobj
= SWIG_Py_Void();
18207 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18208 PyObject
*resultobj
= 0;
18209 wxSlider
*arg1
= (wxSlider
*) 0 ;
18213 PyObject
*swig_obj
[1] ;
18215 if (!args
) SWIG_fail
;
18216 swig_obj
[0] = args
;
18217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18218 if (!SWIG_IsOK(res1
)) {
18219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18221 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18224 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18225 wxPyEndAllowThreads(__tstate
);
18226 if (PyErr_Occurred()) SWIG_fail
;
18228 resultobj
= SWIG_From_int(static_cast< int >(result
));
18235 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18236 PyObject
*resultobj
= 0;
18237 wxSlider
*arg1
= (wxSlider
*) 0 ;
18239 int arg3
= (int) 1 ;
18246 PyObject
* obj0
= 0 ;
18247 PyObject
* obj1
= 0 ;
18248 PyObject
* obj2
= 0 ;
18249 char * kwnames
[] = {
18250 (char *) "self",(char *) "n",(char *) "pos", NULL
18253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18255 if (!SWIG_IsOK(res1
)) {
18256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18258 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18259 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18260 if (!SWIG_IsOK(ecode2
)) {
18261 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18263 arg2
= static_cast< int >(val2
);
18265 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18266 if (!SWIG_IsOK(ecode3
)) {
18267 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18269 arg3
= static_cast< int >(val3
);
18272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18273 (arg1
)->SetTickFreq(arg2
,arg3
);
18274 wxPyEndAllowThreads(__tstate
);
18275 if (PyErr_Occurred()) SWIG_fail
;
18277 resultobj
= SWIG_Py_Void();
18284 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18285 PyObject
*resultobj
= 0;
18286 wxSlider
*arg1
= (wxSlider
*) 0 ;
18290 PyObject
*swig_obj
[1] ;
18292 if (!args
) SWIG_fail
;
18293 swig_obj
[0] = args
;
18294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18295 if (!SWIG_IsOK(res1
)) {
18296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18298 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18301 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18302 wxPyEndAllowThreads(__tstate
);
18303 if (PyErr_Occurred()) SWIG_fail
;
18305 resultobj
= SWIG_From_int(static_cast< int >(result
));
18312 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18313 PyObject
*resultobj
= 0;
18314 wxSlider
*arg1
= (wxSlider
*) 0 ;
18317 PyObject
*swig_obj
[1] ;
18319 if (!args
) SWIG_fail
;
18320 swig_obj
[0] = args
;
18321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18322 if (!SWIG_IsOK(res1
)) {
18323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18325 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18328 (arg1
)->ClearTicks();
18329 wxPyEndAllowThreads(__tstate
);
18330 if (PyErr_Occurred()) SWIG_fail
;
18332 resultobj
= SWIG_Py_Void();
18339 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18340 PyObject
*resultobj
= 0;
18341 wxSlider
*arg1
= (wxSlider
*) 0 ;
18347 PyObject
* obj0
= 0 ;
18348 PyObject
* obj1
= 0 ;
18349 char * kwnames
[] = {
18350 (char *) "self",(char *) "tickPos", NULL
18353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18355 if (!SWIG_IsOK(res1
)) {
18356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18358 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18359 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18360 if (!SWIG_IsOK(ecode2
)) {
18361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18363 arg2
= static_cast< int >(val2
);
18365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18366 (arg1
)->SetTick(arg2
);
18367 wxPyEndAllowThreads(__tstate
);
18368 if (PyErr_Occurred()) SWIG_fail
;
18370 resultobj
= SWIG_Py_Void();
18377 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18378 PyObject
*resultobj
= 0;
18379 wxSlider
*arg1
= (wxSlider
*) 0 ;
18382 PyObject
*swig_obj
[1] ;
18384 if (!args
) SWIG_fail
;
18385 swig_obj
[0] = args
;
18386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18387 if (!SWIG_IsOK(res1
)) {
18388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18390 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18393 (arg1
)->ClearSel();
18394 wxPyEndAllowThreads(__tstate
);
18395 if (PyErr_Occurred()) SWIG_fail
;
18397 resultobj
= SWIG_Py_Void();
18404 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18405 PyObject
*resultobj
= 0;
18406 wxSlider
*arg1
= (wxSlider
*) 0 ;
18410 PyObject
*swig_obj
[1] ;
18412 if (!args
) SWIG_fail
;
18413 swig_obj
[0] = args
;
18414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18415 if (!SWIG_IsOK(res1
)) {
18416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18418 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18421 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18422 wxPyEndAllowThreads(__tstate
);
18423 if (PyErr_Occurred()) SWIG_fail
;
18425 resultobj
= SWIG_From_int(static_cast< int >(result
));
18432 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18433 PyObject
*resultobj
= 0;
18434 wxSlider
*arg1
= (wxSlider
*) 0 ;
18438 PyObject
*swig_obj
[1] ;
18440 if (!args
) SWIG_fail
;
18441 swig_obj
[0] = args
;
18442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18443 if (!SWIG_IsOK(res1
)) {
18444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18446 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18449 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18450 wxPyEndAllowThreads(__tstate
);
18451 if (PyErr_Occurred()) SWIG_fail
;
18453 resultobj
= SWIG_From_int(static_cast< int >(result
));
18460 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18461 PyObject
*resultobj
= 0;
18462 wxSlider
*arg1
= (wxSlider
*) 0 ;
18471 PyObject
* obj0
= 0 ;
18472 PyObject
* obj1
= 0 ;
18473 PyObject
* obj2
= 0 ;
18474 char * kwnames
[] = {
18475 (char *) "self",(char *) "min",(char *) "max", NULL
18478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18480 if (!SWIG_IsOK(res1
)) {
18481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18483 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18484 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18485 if (!SWIG_IsOK(ecode2
)) {
18486 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18488 arg2
= static_cast< int >(val2
);
18489 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18490 if (!SWIG_IsOK(ecode3
)) {
18491 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18493 arg3
= static_cast< int >(val3
);
18495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18496 (arg1
)->SetSelection(arg2
,arg3
);
18497 wxPyEndAllowThreads(__tstate
);
18498 if (PyErr_Occurred()) SWIG_fail
;
18500 resultobj
= SWIG_Py_Void();
18507 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18508 PyObject
*resultobj
= 0;
18509 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18510 SwigValueWrapper
<wxVisualAttributes
> result
;
18513 PyObject
* obj0
= 0 ;
18514 char * kwnames
[] = {
18515 (char *) "variant", NULL
18518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18520 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18521 if (!SWIG_IsOK(ecode1
)) {
18522 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18524 arg1
= static_cast< wxWindowVariant
>(val1
);
18527 if (!wxPyCheckForApp()) SWIG_fail
;
18528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18529 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18530 wxPyEndAllowThreads(__tstate
);
18531 if (PyErr_Occurred()) SWIG_fail
;
18533 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18540 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18542 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18543 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18544 return SWIG_Py_Void();
18547 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18548 return SWIG_Python_InitShadowInstance(args
);
18551 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18552 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18557 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18558 PyObject
*pyobj
= 0;
18562 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18564 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18571 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18572 PyObject
*resultobj
= 0;
18573 wxWindow
*arg1
= (wxWindow
*) 0 ;
18574 int arg2
= (int) -1 ;
18575 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18576 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18577 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18578 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18579 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18580 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18581 long arg6
= (long) 0 ;
18582 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18583 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18584 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18585 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18586 wxToggleButton
*result
= 0 ;
18591 bool temp3
= false ;
18598 bool temp8
= false ;
18599 PyObject
* obj0
= 0 ;
18600 PyObject
* obj1
= 0 ;
18601 PyObject
* obj2
= 0 ;
18602 PyObject
* obj3
= 0 ;
18603 PyObject
* obj4
= 0 ;
18604 PyObject
* obj5
= 0 ;
18605 PyObject
* obj6
= 0 ;
18606 PyObject
* obj7
= 0 ;
18607 char * kwnames
[] = {
18608 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18613 if (!SWIG_IsOK(res1
)) {
18614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18616 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18618 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18619 if (!SWIG_IsOK(ecode2
)) {
18620 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18622 arg2
= static_cast< int >(val2
);
18626 arg3
= wxString_in_helper(obj2
);
18627 if (arg3
== NULL
) SWIG_fail
;
18634 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18640 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18644 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18645 if (!SWIG_IsOK(ecode6
)) {
18646 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18648 arg6
= static_cast< long >(val6
);
18651 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18652 if (!SWIG_IsOK(res7
)) {
18653 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18656 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18658 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18662 arg8
= wxString_in_helper(obj7
);
18663 if (arg8
== NULL
) SWIG_fail
;
18668 if (!wxPyCheckForApp()) SWIG_fail
;
18669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18670 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18671 wxPyEndAllowThreads(__tstate
);
18672 if (PyErr_Occurred()) SWIG_fail
;
18674 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18697 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18698 PyObject
*resultobj
= 0;
18699 wxToggleButton
*result
= 0 ;
18701 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
18703 if (!wxPyCheckForApp()) SWIG_fail
;
18704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18705 result
= (wxToggleButton
*)new wxToggleButton();
18706 wxPyEndAllowThreads(__tstate
);
18707 if (PyErr_Occurred()) SWIG_fail
;
18709 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
18716 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18717 PyObject
*resultobj
= 0;
18718 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18719 wxWindow
*arg2
= (wxWindow
*) 0 ;
18720 int arg3
= (int) -1 ;
18721 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18722 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18723 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18724 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18725 wxSize
const &arg6_defvalue
= wxDefaultSize
;
18726 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
18727 long arg7
= (long) 0 ;
18728 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18729 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18730 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
18731 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
18739 bool temp4
= false ;
18746 bool temp9
= false ;
18747 PyObject
* obj0
= 0 ;
18748 PyObject
* obj1
= 0 ;
18749 PyObject
* obj2
= 0 ;
18750 PyObject
* obj3
= 0 ;
18751 PyObject
* obj4
= 0 ;
18752 PyObject
* obj5
= 0 ;
18753 PyObject
* obj6
= 0 ;
18754 PyObject
* obj7
= 0 ;
18755 PyObject
* obj8
= 0 ;
18756 char * kwnames
[] = {
18757 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
18761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18762 if (!SWIG_IsOK(res1
)) {
18763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18765 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18766 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18767 if (!SWIG_IsOK(res2
)) {
18768 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18770 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18772 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18773 if (!SWIG_IsOK(ecode3
)) {
18774 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18776 arg3
= static_cast< int >(val3
);
18780 arg4
= wxString_in_helper(obj3
);
18781 if (arg4
== NULL
) SWIG_fail
;
18788 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18794 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
18798 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18799 if (!SWIG_IsOK(ecode7
)) {
18800 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
18802 arg7
= static_cast< long >(val7
);
18805 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
18806 if (!SWIG_IsOK(res8
)) {
18807 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18810 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18812 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
18816 arg9
= wxString_in_helper(obj8
);
18817 if (arg9
== NULL
) SWIG_fail
;
18822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18823 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
18824 wxPyEndAllowThreads(__tstate
);
18825 if (PyErr_Occurred()) SWIG_fail
;
18828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18852 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18853 PyObject
*resultobj
= 0;
18854 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18860 PyObject
* obj0
= 0 ;
18861 PyObject
* obj1
= 0 ;
18862 char * kwnames
[] = {
18863 (char *) "self",(char *) "value", NULL
18866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18868 if (!SWIG_IsOK(res1
)) {
18869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18871 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18872 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18873 if (!SWIG_IsOK(ecode2
)) {
18874 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
18876 arg2
= static_cast< bool >(val2
);
18878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18879 (arg1
)->SetValue(arg2
);
18880 wxPyEndAllowThreads(__tstate
);
18881 if (PyErr_Occurred()) SWIG_fail
;
18883 resultobj
= SWIG_Py_Void();
18890 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18891 PyObject
*resultobj
= 0;
18892 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18896 PyObject
*swig_obj
[1] ;
18898 if (!args
) SWIG_fail
;
18899 swig_obj
[0] = args
;
18900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18901 if (!SWIG_IsOK(res1
)) {
18902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
18904 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18907 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
18908 wxPyEndAllowThreads(__tstate
);
18909 if (PyErr_Occurred()) SWIG_fail
;
18912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18920 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18921 PyObject
*resultobj
= 0;
18922 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18923 SwigValueWrapper
<wxVisualAttributes
> result
;
18926 PyObject
* obj0
= 0 ;
18927 char * kwnames
[] = {
18928 (char *) "variant", NULL
18931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18933 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18934 if (!SWIG_IsOK(ecode1
)) {
18935 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18937 arg1
= static_cast< wxWindowVariant
>(val1
);
18940 if (!wxPyCheckForApp()) SWIG_fail
;
18941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18942 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
18943 wxPyEndAllowThreads(__tstate
);
18944 if (PyErr_Occurred()) SWIG_fail
;
18946 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18953 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18955 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18956 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
18957 return SWIG_Py_Void();
18960 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18961 return SWIG_Python_InitShadowInstance(args
);
18964 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
18965 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
18970 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
18971 PyObject
*pyobj
= 0;
18975 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
18977 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
18984 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18985 PyObject
*resultobj
= 0;
18986 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18990 PyObject
*swig_obj
[1] ;
18992 if (!args
) SWIG_fail
;
18993 swig_obj
[0] = args
;
18994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18995 if (!SWIG_IsOK(res1
)) {
18996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18998 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19001 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
19002 wxPyEndAllowThreads(__tstate
);
19003 if (PyErr_Occurred()) SWIG_fail
;
19005 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19012 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19013 PyObject
*resultobj
= 0;
19014 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19016 wxWindow
*result
= 0 ;
19021 PyObject
* obj0
= 0 ;
19022 PyObject
* obj1
= 0 ;
19023 char * kwnames
[] = {
19024 (char *) "self",(char *) "n", NULL
19027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19029 if (!SWIG_IsOK(res1
)) {
19030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19032 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19033 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19034 if (!SWIG_IsOK(ecode2
)) {
19035 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19037 arg2
= static_cast< size_t >(val2
);
19039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19040 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
19041 wxPyEndAllowThreads(__tstate
);
19042 if (PyErr_Occurred()) SWIG_fail
;
19045 resultobj
= wxPyMake_wxObject(result
, 0);
19053 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19054 PyObject
*resultobj
= 0;
19055 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19056 wxWindow
*result
= 0 ;
19059 PyObject
*swig_obj
[1] ;
19061 if (!args
) SWIG_fail
;
19062 swig_obj
[0] = args
;
19063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19064 if (!SWIG_IsOK(res1
)) {
19065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19067 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19070 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
19071 wxPyEndAllowThreads(__tstate
);
19072 if (PyErr_Occurred()) SWIG_fail
;
19075 resultobj
= wxPyMake_wxObject(result
, 0);
19083 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19084 PyObject
*resultobj
= 0;
19085 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19089 PyObject
*swig_obj
[1] ;
19091 if (!args
) SWIG_fail
;
19092 swig_obj
[0] = args
;
19093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19094 if (!SWIG_IsOK(res1
)) {
19095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19097 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19100 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
19101 wxPyEndAllowThreads(__tstate
);
19102 if (PyErr_Occurred()) SWIG_fail
;
19104 resultobj
= SWIG_From_int(static_cast< int >(result
));
19111 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19112 PyObject
*resultobj
= 0;
19113 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19115 wxString
*arg3
= 0 ;
19121 bool temp3
= false ;
19122 PyObject
* obj0
= 0 ;
19123 PyObject
* obj1
= 0 ;
19124 PyObject
* obj2
= 0 ;
19125 char * kwnames
[] = {
19126 (char *) "self",(char *) "n",(char *) "strText", NULL
19129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19131 if (!SWIG_IsOK(res1
)) {
19132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19134 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19135 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19136 if (!SWIG_IsOK(ecode2
)) {
19137 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19139 arg2
= static_cast< size_t >(val2
);
19141 arg3
= wxString_in_helper(obj2
);
19142 if (arg3
== NULL
) SWIG_fail
;
19146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19147 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
19148 wxPyEndAllowThreads(__tstate
);
19149 if (PyErr_Occurred()) SWIG_fail
;
19152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19168 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19169 PyObject
*resultobj
= 0;
19170 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19177 PyObject
* obj0
= 0 ;
19178 PyObject
* obj1
= 0 ;
19179 char * kwnames
[] = {
19180 (char *) "self",(char *) "n", NULL
19183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19185 if (!SWIG_IsOK(res1
)) {
19186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19188 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19189 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19190 if (!SWIG_IsOK(ecode2
)) {
19191 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19193 arg2
= static_cast< size_t >(val2
);
19195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19196 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19197 wxPyEndAllowThreads(__tstate
);
19198 if (PyErr_Occurred()) SWIG_fail
;
19202 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19204 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19213 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19214 PyObject
*resultobj
= 0;
19215 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19216 wxImageList
*arg2
= (wxImageList
*) 0 ;
19221 PyObject
* obj0
= 0 ;
19222 PyObject
* obj1
= 0 ;
19223 char * kwnames
[] = {
19224 (char *) "self",(char *) "imageList", NULL
19227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",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_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19232 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19233 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19234 if (!SWIG_IsOK(res2
)) {
19235 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19237 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19240 (arg1
)->SetImageList(arg2
);
19241 wxPyEndAllowThreads(__tstate
);
19242 if (PyErr_Occurred()) SWIG_fail
;
19244 resultobj
= SWIG_Py_Void();
19251 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19252 PyObject
*resultobj
= 0;
19253 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19254 wxImageList
*arg2
= (wxImageList
*) 0 ;
19258 PyObject
* obj0
= 0 ;
19259 PyObject
* obj1
= 0 ;
19260 char * kwnames
[] = {
19261 (char *) "self",(char *) "imageList", NULL
19264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19266 if (!SWIG_IsOK(res1
)) {
19267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19269 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19270 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19271 if (!SWIG_IsOK(res2
)) {
19272 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19276 (arg1
)->AssignImageList(arg2
);
19277 wxPyEndAllowThreads(__tstate
);
19278 if (PyErr_Occurred()) SWIG_fail
;
19280 resultobj
= SWIG_Py_Void();
19287 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19288 PyObject
*resultobj
= 0;
19289 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19290 wxImageList
*result
= 0 ;
19293 PyObject
*swig_obj
[1] ;
19295 if (!args
) SWIG_fail
;
19296 swig_obj
[0] = args
;
19297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19298 if (!SWIG_IsOK(res1
)) {
19299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19301 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19304 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19305 wxPyEndAllowThreads(__tstate
);
19306 if (PyErr_Occurred()) SWIG_fail
;
19309 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19317 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19318 PyObject
*resultobj
= 0;
19319 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19326 PyObject
* obj0
= 0 ;
19327 PyObject
* obj1
= 0 ;
19328 char * kwnames
[] = {
19329 (char *) "self",(char *) "n", NULL
19332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19334 if (!SWIG_IsOK(res1
)) {
19335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19337 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19338 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19339 if (!SWIG_IsOK(ecode2
)) {
19340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19342 arg2
= static_cast< size_t >(val2
);
19344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19345 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19346 wxPyEndAllowThreads(__tstate
);
19347 if (PyErr_Occurred()) SWIG_fail
;
19349 resultobj
= SWIG_From_int(static_cast< int >(result
));
19356 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19357 PyObject
*resultobj
= 0;
19358 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19368 PyObject
* obj0
= 0 ;
19369 PyObject
* obj1
= 0 ;
19370 PyObject
* obj2
= 0 ;
19371 char * kwnames
[] = {
19372 (char *) "self",(char *) "n",(char *) "imageId", NULL
19375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19377 if (!SWIG_IsOK(res1
)) {
19378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19380 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19381 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19382 if (!SWIG_IsOK(ecode2
)) {
19383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19385 arg2
= static_cast< size_t >(val2
);
19386 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19387 if (!SWIG_IsOK(ecode3
)) {
19388 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19390 arg3
= static_cast< int >(val3
);
19392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19393 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19394 wxPyEndAllowThreads(__tstate
);
19395 if (PyErr_Occurred()) SWIG_fail
;
19398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19406 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19407 PyObject
*resultobj
= 0;
19408 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19413 PyObject
* obj0
= 0 ;
19414 PyObject
* obj1
= 0 ;
19415 char * kwnames
[] = {
19416 (char *) "self",(char *) "size", NULL
19419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) 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_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19424 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19427 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19431 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19432 wxPyEndAllowThreads(__tstate
);
19433 if (PyErr_Occurred()) SWIG_fail
;
19435 resultobj
= SWIG_Py_Void();
19442 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19443 PyObject
*resultobj
= 0;
19444 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19450 PyObject
* obj0
= 0 ;
19451 PyObject
* obj1
= 0 ;
19452 char * kwnames
[] = {
19453 (char *) "self",(char *) "sizePage", NULL
19456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19458 if (!SWIG_IsOK(res1
)) {
19459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19461 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19464 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19468 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19469 wxPyEndAllowThreads(__tstate
);
19470 if (PyErr_Occurred()) SWIG_fail
;
19472 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19479 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19480 PyObject
*resultobj
= 0;
19481 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19482 unsigned int result
;
19485 PyObject
*swig_obj
[1] ;
19487 if (!args
) SWIG_fail
;
19488 swig_obj
[0] = args
;
19489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19490 if (!SWIG_IsOK(res1
)) {
19491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19493 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19496 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19497 wxPyEndAllowThreads(__tstate
);
19498 if (PyErr_Occurred()) SWIG_fail
;
19500 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19507 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19508 PyObject
*resultobj
= 0;
19509 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19510 unsigned int arg2
;
19513 unsigned int val2
;
19515 PyObject
* obj0
= 0 ;
19516 PyObject
* obj1
= 0 ;
19517 char * kwnames
[] = {
19518 (char *) "self",(char *) "internalBorder", NULL
19521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19523 if (!SWIG_IsOK(res1
)) {
19524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19526 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19527 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19528 if (!SWIG_IsOK(ecode2
)) {
19529 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19531 arg2
= static_cast< unsigned int >(val2
);
19533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19534 (arg1
)->SetInternalBorder(arg2
);
19535 wxPyEndAllowThreads(__tstate
);
19536 if (PyErr_Occurred()) SWIG_fail
;
19538 resultobj
= SWIG_Py_Void();
19545 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19546 PyObject
*resultobj
= 0;
19547 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19551 PyObject
*swig_obj
[1] ;
19553 if (!args
) SWIG_fail
;
19554 swig_obj
[0] = args
;
19555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19556 if (!SWIG_IsOK(res1
)) {
19557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19559 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19562 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19563 wxPyEndAllowThreads(__tstate
);
19564 if (PyErr_Occurred()) SWIG_fail
;
19567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19575 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19576 PyObject
*resultobj
= 0;
19577 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19583 PyObject
* obj0
= 0 ;
19584 PyObject
* obj1
= 0 ;
19585 char * kwnames
[] = {
19586 (char *) "self",(char *) "margin", NULL
19589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19591 if (!SWIG_IsOK(res1
)) {
19592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19594 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19595 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19596 if (!SWIG_IsOK(ecode2
)) {
19597 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19599 arg2
= static_cast< int >(val2
);
19601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19602 (arg1
)->SetControlMargin(arg2
);
19603 wxPyEndAllowThreads(__tstate
);
19604 if (PyErr_Occurred()) SWIG_fail
;
19606 resultobj
= SWIG_Py_Void();
19613 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19614 PyObject
*resultobj
= 0;
19615 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19619 PyObject
*swig_obj
[1] ;
19621 if (!args
) SWIG_fail
;
19622 swig_obj
[0] = args
;
19623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19624 if (!SWIG_IsOK(res1
)) {
19625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19627 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19630 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
19631 wxPyEndAllowThreads(__tstate
);
19632 if (PyErr_Occurred()) SWIG_fail
;
19634 resultobj
= SWIG_From_int(static_cast< int >(result
));
19641 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19642 PyObject
*resultobj
= 0;
19643 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19649 PyObject
* obj0
= 0 ;
19650 PyObject
* obj1
= 0 ;
19651 char * kwnames
[] = {
19652 (char *) "self",(char *) "fit", NULL
19655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19657 if (!SWIG_IsOK(res1
)) {
19658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19660 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19661 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19662 if (!SWIG_IsOK(ecode2
)) {
19663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19665 arg2
= static_cast< bool >(val2
);
19667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19668 (arg1
)->SetFitToCurrentPage(arg2
);
19669 wxPyEndAllowThreads(__tstate
);
19670 if (PyErr_Occurred()) SWIG_fail
;
19672 resultobj
= SWIG_Py_Void();
19679 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19680 PyObject
*resultobj
= 0;
19681 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19685 PyObject
*swig_obj
[1] ;
19687 if (!args
) SWIG_fail
;
19688 swig_obj
[0] = args
;
19689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19690 if (!SWIG_IsOK(res1
)) {
19691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19693 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19696 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19697 wxPyEndAllowThreads(__tstate
);
19698 if (PyErr_Occurred()) SWIG_fail
;
19701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19709 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19710 PyObject
*resultobj
= 0;
19711 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19712 wxSizer
*result
= 0 ;
19715 PyObject
*swig_obj
[1] ;
19717 if (!args
) SWIG_fail
;
19718 swig_obj
[0] = args
;
19719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19720 if (!SWIG_IsOK(res1
)) {
19721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19723 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19726 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
19727 wxPyEndAllowThreads(__tstate
);
19728 if (PyErr_Occurred()) SWIG_fail
;
19731 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19739 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19740 PyObject
*resultobj
= 0;
19741 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19748 PyObject
* obj0
= 0 ;
19749 PyObject
* obj1
= 0 ;
19750 char * kwnames
[] = {
19751 (char *) "self",(char *) "n", NULL
19754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19756 if (!SWIG_IsOK(res1
)) {
19757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19759 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19760 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19761 if (!SWIG_IsOK(ecode2
)) {
19762 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19764 arg2
= static_cast< size_t >(val2
);
19766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19767 result
= (bool)(arg1
)->DeletePage(arg2
);
19768 wxPyEndAllowThreads(__tstate
);
19769 if (PyErr_Occurred()) SWIG_fail
;
19772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19780 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19781 PyObject
*resultobj
= 0;
19782 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19789 PyObject
* obj0
= 0 ;
19790 PyObject
* obj1
= 0 ;
19791 char * kwnames
[] = {
19792 (char *) "self",(char *) "n", NULL
19795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19797 if (!SWIG_IsOK(res1
)) {
19798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19800 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19801 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19802 if (!SWIG_IsOK(ecode2
)) {
19803 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
19805 arg2
= static_cast< size_t >(val2
);
19807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19808 result
= (bool)(arg1
)->RemovePage(arg2
);
19809 wxPyEndAllowThreads(__tstate
);
19810 if (PyErr_Occurred()) SWIG_fail
;
19813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19821 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19822 PyObject
*resultobj
= 0;
19823 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19827 PyObject
*swig_obj
[1] ;
19829 if (!args
) SWIG_fail
;
19830 swig_obj
[0] = args
;
19831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19832 if (!SWIG_IsOK(res1
)) {
19833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19835 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19838 result
= (bool)(arg1
)->DeleteAllPages();
19839 wxPyEndAllowThreads(__tstate
);
19840 if (PyErr_Occurred()) SWIG_fail
;
19843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19851 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19852 PyObject
*resultobj
= 0;
19853 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19854 wxWindow
*arg2
= (wxWindow
*) 0 ;
19855 wxString
*arg3
= 0 ;
19856 bool arg4
= (bool) false ;
19857 int arg5
= (int) -1 ;
19863 bool temp3
= false ;
19868 PyObject
* obj0
= 0 ;
19869 PyObject
* obj1
= 0 ;
19870 PyObject
* obj2
= 0 ;
19871 PyObject
* obj3
= 0 ;
19872 PyObject
* obj4
= 0 ;
19873 char * kwnames
[] = {
19874 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19879 if (!SWIG_IsOK(res1
)) {
19880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19882 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19883 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19884 if (!SWIG_IsOK(res2
)) {
19885 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
19887 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
19889 arg3
= wxString_in_helper(obj2
);
19890 if (arg3
== NULL
) SWIG_fail
;
19894 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19895 if (!SWIG_IsOK(ecode4
)) {
19896 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
19898 arg4
= static_cast< bool >(val4
);
19901 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19902 if (!SWIG_IsOK(ecode5
)) {
19903 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
19905 arg5
= static_cast< int >(val5
);
19908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19909 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
19910 wxPyEndAllowThreads(__tstate
);
19911 if (PyErr_Occurred()) SWIG_fail
;
19914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19930 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19931 PyObject
*resultobj
= 0;
19932 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19934 wxWindow
*arg3
= (wxWindow
*) 0 ;
19935 wxString
*arg4
= 0 ;
19936 bool arg5
= (bool) false ;
19937 int arg6
= (int) -1 ;
19945 bool temp4
= false ;
19950 PyObject
* obj0
= 0 ;
19951 PyObject
* obj1
= 0 ;
19952 PyObject
* obj2
= 0 ;
19953 PyObject
* obj3
= 0 ;
19954 PyObject
* obj4
= 0 ;
19955 PyObject
* obj5
= 0 ;
19956 char * kwnames
[] = {
19957 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19962 if (!SWIG_IsOK(res1
)) {
19963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19965 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19966 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19967 if (!SWIG_IsOK(ecode2
)) {
19968 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
19970 arg2
= static_cast< size_t >(val2
);
19971 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19972 if (!SWIG_IsOK(res3
)) {
19973 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
19975 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
19977 arg4
= wxString_in_helper(obj3
);
19978 if (arg4
== NULL
) SWIG_fail
;
19982 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19983 if (!SWIG_IsOK(ecode5
)) {
19984 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
19986 arg5
= static_cast< bool >(val5
);
19989 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19990 if (!SWIG_IsOK(ecode6
)) {
19991 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
19993 arg6
= static_cast< int >(val6
);
19996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19997 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
19998 wxPyEndAllowThreads(__tstate
);
19999 if (PyErr_Occurred()) SWIG_fail
;
20002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20018 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20019 PyObject
*resultobj
= 0;
20020 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20027 PyObject
* obj0
= 0 ;
20028 PyObject
* obj1
= 0 ;
20029 char * kwnames
[] = {
20030 (char *) "self",(char *) "n", NULL
20033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20035 if (!SWIG_IsOK(res1
)) {
20036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20038 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20039 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20040 if (!SWIG_IsOK(ecode2
)) {
20041 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20043 arg2
= static_cast< size_t >(val2
);
20045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20046 result
= (int)(arg1
)->SetSelection(arg2
);
20047 wxPyEndAllowThreads(__tstate
);
20048 if (PyErr_Occurred()) SWIG_fail
;
20050 resultobj
= SWIG_From_int(static_cast< int >(result
));
20057 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20058 PyObject
*resultobj
= 0;
20059 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20060 bool arg2
= (bool) true ;
20065 PyObject
* obj0
= 0 ;
20066 PyObject
* obj1
= 0 ;
20067 char * kwnames
[] = {
20068 (char *) "self",(char *) "forward", NULL
20071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20073 if (!SWIG_IsOK(res1
)) {
20074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20076 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20078 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20079 if (!SWIG_IsOK(ecode2
)) {
20080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20082 arg2
= static_cast< bool >(val2
);
20085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20086 (arg1
)->AdvanceSelection(arg2
);
20087 wxPyEndAllowThreads(__tstate
);
20088 if (PyErr_Occurred()) SWIG_fail
;
20090 resultobj
= SWIG_Py_Void();
20097 SWIGINTERN PyObject
*_wrap_BookCtrlBase_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20098 PyObject
*resultobj
= 0;
20099 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20100 wxPoint
*arg2
= 0 ;
20101 long *arg3
= (long *) 0 ;
20107 int res3
= SWIG_TMPOBJ
;
20108 PyObject
* obj0
= 0 ;
20109 PyObject
* obj1
= 0 ;
20110 char * kwnames
[] = {
20111 (char *) "self",(char *) "pt", NULL
20115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_HitTest",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_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20120 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20123 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20127 result
= (int)((wxBookCtrlBase
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20128 wxPyEndAllowThreads(__tstate
);
20129 if (PyErr_Occurred()) SWIG_fail
;
20131 resultobj
= SWIG_From_int(static_cast< int >(result
));
20132 if (SWIG_IsTmpObj(res3
)) {
20133 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20135 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20136 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20144 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20145 PyObject
*resultobj
= 0;
20146 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20147 SwigValueWrapper
<wxVisualAttributes
> result
;
20150 PyObject
* obj0
= 0 ;
20151 char * kwnames
[] = {
20152 (char *) "variant", NULL
20155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20157 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20158 if (!SWIG_IsOK(ecode1
)) {
20159 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20161 arg1
= static_cast< wxWindowVariant
>(val1
);
20164 if (!wxPyCheckForApp()) SWIG_fail
;
20165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20166 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
20167 wxPyEndAllowThreads(__tstate
);
20168 if (PyErr_Occurred()) SWIG_fail
;
20170 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20177 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20179 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20180 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
20181 return SWIG_Py_Void();
20184 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20185 PyObject
*resultobj
= 0;
20186 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20187 int arg2
= (int) 0 ;
20188 int arg3
= (int) -1 ;
20189 int arg4
= (int) -1 ;
20190 wxBookCtrlBaseEvent
*result
= 0 ;
20199 PyObject
* obj0
= 0 ;
20200 PyObject
* obj1
= 0 ;
20201 PyObject
* obj2
= 0 ;
20202 PyObject
* obj3
= 0 ;
20203 char * kwnames
[] = {
20204 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20209 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20210 if (!SWIG_IsOK(ecode1
)) {
20211 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20213 arg1
= static_cast< wxEventType
>(val1
);
20216 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20217 if (!SWIG_IsOK(ecode2
)) {
20218 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20220 arg2
= static_cast< int >(val2
);
20223 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20224 if (!SWIG_IsOK(ecode3
)) {
20225 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20227 arg3
= static_cast< int >(val3
);
20230 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20231 if (!SWIG_IsOK(ecode4
)) {
20232 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20234 arg4
= static_cast< int >(val4
);
20237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20238 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
20239 wxPyEndAllowThreads(__tstate
);
20240 if (PyErr_Occurred()) SWIG_fail
;
20242 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
20249 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20250 PyObject
*resultobj
= 0;
20251 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20255 PyObject
*swig_obj
[1] ;
20257 if (!args
) SWIG_fail
;
20258 swig_obj
[0] = args
;
20259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20260 if (!SWIG_IsOK(res1
)) {
20261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20263 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20266 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
20267 wxPyEndAllowThreads(__tstate
);
20268 if (PyErr_Occurred()) SWIG_fail
;
20270 resultobj
= SWIG_From_int(static_cast< int >(result
));
20277 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20278 PyObject
*resultobj
= 0;
20279 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20285 PyObject
* obj0
= 0 ;
20286 PyObject
* obj1
= 0 ;
20287 char * kwnames
[] = {
20288 (char *) "self",(char *) "nSel", NULL
20291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20293 if (!SWIG_IsOK(res1
)) {
20294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20296 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20297 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20298 if (!SWIG_IsOK(ecode2
)) {
20299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20301 arg2
= static_cast< int >(val2
);
20303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20304 (arg1
)->SetSelection(arg2
);
20305 wxPyEndAllowThreads(__tstate
);
20306 if (PyErr_Occurred()) SWIG_fail
;
20308 resultobj
= SWIG_Py_Void();
20315 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20316 PyObject
*resultobj
= 0;
20317 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20321 PyObject
*swig_obj
[1] ;
20323 if (!args
) SWIG_fail
;
20324 swig_obj
[0] = args
;
20325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20326 if (!SWIG_IsOK(res1
)) {
20327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20329 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20332 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20333 wxPyEndAllowThreads(__tstate
);
20334 if (PyErr_Occurred()) SWIG_fail
;
20336 resultobj
= SWIG_From_int(static_cast< int >(result
));
20343 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20344 PyObject
*resultobj
= 0;
20345 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20351 PyObject
* obj0
= 0 ;
20352 PyObject
* obj1
= 0 ;
20353 char * kwnames
[] = {
20354 (char *) "self",(char *) "nOldSel", NULL
20357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20359 if (!SWIG_IsOK(res1
)) {
20360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20362 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20363 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20364 if (!SWIG_IsOK(ecode2
)) {
20365 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20367 arg2
= static_cast< int >(val2
);
20369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20370 (arg1
)->SetOldSelection(arg2
);
20371 wxPyEndAllowThreads(__tstate
);
20372 if (PyErr_Occurred()) SWIG_fail
;
20374 resultobj
= SWIG_Py_Void();
20381 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20383 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20384 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20385 return SWIG_Py_Void();
20388 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20389 return SWIG_Python_InitShadowInstance(args
);
20392 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20393 PyObject
*resultobj
= 0;
20394 wxWindow
*arg1
= (wxWindow
*) 0 ;
20395 int arg2
= (int) -1 ;
20396 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20397 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20398 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20399 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20400 long arg5
= (long) 0 ;
20401 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20402 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20403 wxNotebook
*result
= 0 ;
20412 bool temp6
= false ;
20413 PyObject
* obj0
= 0 ;
20414 PyObject
* obj1
= 0 ;
20415 PyObject
* obj2
= 0 ;
20416 PyObject
* obj3
= 0 ;
20417 PyObject
* obj4
= 0 ;
20418 PyObject
* obj5
= 0 ;
20419 char * kwnames
[] = {
20420 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20425 if (!SWIG_IsOK(res1
)) {
20426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20428 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20430 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20431 if (!SWIG_IsOK(ecode2
)) {
20432 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20434 arg2
= static_cast< int >(val2
);
20439 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20445 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20449 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20450 if (!SWIG_IsOK(ecode5
)) {
20451 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20453 arg5
= static_cast< long >(val5
);
20457 arg6
= wxString_in_helper(obj5
);
20458 if (arg6
== NULL
) SWIG_fail
;
20463 if (!wxPyCheckForApp()) SWIG_fail
;
20464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20465 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20466 wxPyEndAllowThreads(__tstate
);
20467 if (PyErr_Occurred()) SWIG_fail
;
20469 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20484 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20485 PyObject
*resultobj
= 0;
20486 wxNotebook
*result
= 0 ;
20488 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20490 if (!wxPyCheckForApp()) SWIG_fail
;
20491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20492 result
= (wxNotebook
*)new wxNotebook();
20493 wxPyEndAllowThreads(__tstate
);
20494 if (PyErr_Occurred()) SWIG_fail
;
20496 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20503 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20504 PyObject
*resultobj
= 0;
20505 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20506 wxWindow
*arg2
= (wxWindow
*) 0 ;
20507 int arg3
= (int) -1 ;
20508 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20509 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20510 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20511 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20512 long arg6
= (long) 0 ;
20513 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20514 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20526 bool temp7
= false ;
20527 PyObject
* obj0
= 0 ;
20528 PyObject
* obj1
= 0 ;
20529 PyObject
* obj2
= 0 ;
20530 PyObject
* obj3
= 0 ;
20531 PyObject
* obj4
= 0 ;
20532 PyObject
* obj5
= 0 ;
20533 PyObject
* obj6
= 0 ;
20534 char * kwnames
[] = {
20535 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20540 if (!SWIG_IsOK(res1
)) {
20541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20543 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20544 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20545 if (!SWIG_IsOK(res2
)) {
20546 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20548 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20550 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20551 if (!SWIG_IsOK(ecode3
)) {
20552 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20554 arg3
= static_cast< int >(val3
);
20559 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20565 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20569 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20570 if (!SWIG_IsOK(ecode6
)) {
20571 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20573 arg6
= static_cast< long >(val6
);
20577 arg7
= wxString_in_helper(obj6
);
20578 if (arg7
== NULL
) SWIG_fail
;
20583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20584 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20585 wxPyEndAllowThreads(__tstate
);
20586 if (PyErr_Occurred()) SWIG_fail
;
20589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20605 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20606 PyObject
*resultobj
= 0;
20607 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20611 PyObject
*swig_obj
[1] ;
20613 if (!args
) SWIG_fail
;
20614 swig_obj
[0] = args
;
20615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20616 if (!SWIG_IsOK(res1
)) {
20617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20619 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20622 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20623 wxPyEndAllowThreads(__tstate
);
20624 if (PyErr_Occurred()) SWIG_fail
;
20626 resultobj
= SWIG_From_int(static_cast< int >(result
));
20633 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20634 PyObject
*resultobj
= 0;
20635 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20640 PyObject
* obj0
= 0 ;
20641 PyObject
* obj1
= 0 ;
20642 char * kwnames
[] = {
20643 (char *) "self",(char *) "padding", NULL
20646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20648 if (!SWIG_IsOK(res1
)) {
20649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20651 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20654 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20658 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20659 wxPyEndAllowThreads(__tstate
);
20660 if (PyErr_Occurred()) SWIG_fail
;
20662 resultobj
= SWIG_Py_Void();
20669 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20670 PyObject
*resultobj
= 0;
20671 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20676 PyObject
* obj0
= 0 ;
20677 PyObject
* obj1
= 0 ;
20678 char * kwnames
[] = {
20679 (char *) "self",(char *) "sz", NULL
20682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20684 if (!SWIG_IsOK(res1
)) {
20685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20687 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20690 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20694 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
20695 wxPyEndAllowThreads(__tstate
);
20696 if (PyErr_Occurred()) SWIG_fail
;
20698 resultobj
= SWIG_Py_Void();
20705 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20706 PyObject
*resultobj
= 0;
20707 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20711 PyObject
*swig_obj
[1] ;
20713 if (!args
) SWIG_fail
;
20714 swig_obj
[0] = args
;
20715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20716 if (!SWIG_IsOK(res1
)) {
20717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20719 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20722 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
20723 wxPyEndAllowThreads(__tstate
);
20724 if (PyErr_Occurred()) SWIG_fail
;
20726 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
20733 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20734 PyObject
*resultobj
= 0;
20735 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20736 SwigValueWrapper
<wxVisualAttributes
> result
;
20739 PyObject
* obj0
= 0 ;
20740 char * kwnames
[] = {
20741 (char *) "variant", NULL
20744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20746 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20747 if (!SWIG_IsOK(ecode1
)) {
20748 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20750 arg1
= static_cast< wxWindowVariant
>(val1
);
20753 if (!wxPyCheckForApp()) SWIG_fail
;
20754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20755 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
20756 wxPyEndAllowThreads(__tstate
);
20757 if (PyErr_Occurred()) SWIG_fail
;
20759 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20766 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20768 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20769 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
20770 return SWIG_Py_Void();
20773 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20774 return SWIG_Python_InitShadowInstance(args
);
20777 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20778 PyObject
*resultobj
= 0;
20779 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20780 int arg2
= (int) 0 ;
20781 int arg3
= (int) -1 ;
20782 int arg4
= (int) -1 ;
20783 wxNotebookEvent
*result
= 0 ;
20792 PyObject
* obj0
= 0 ;
20793 PyObject
* obj1
= 0 ;
20794 PyObject
* obj2
= 0 ;
20795 PyObject
* obj3
= 0 ;
20796 char * kwnames
[] = {
20797 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20802 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20803 if (!SWIG_IsOK(ecode1
)) {
20804 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20806 arg1
= static_cast< wxEventType
>(val1
);
20809 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20810 if (!SWIG_IsOK(ecode2
)) {
20811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
20813 arg2
= static_cast< int >(val2
);
20816 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20817 if (!SWIG_IsOK(ecode3
)) {
20818 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
20820 arg3
= static_cast< int >(val3
);
20823 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20824 if (!SWIG_IsOK(ecode4
)) {
20825 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
20827 arg4
= static_cast< int >(val4
);
20830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20831 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
20832 wxPyEndAllowThreads(__tstate
);
20833 if (PyErr_Occurred()) SWIG_fail
;
20835 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
20842 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20844 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20845 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
20846 return SWIG_Py_Void();
20849 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20850 return SWIG_Python_InitShadowInstance(args
);
20853 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20854 PyObject
*resultobj
= 0;
20855 wxWindow
*arg1
= (wxWindow
*) 0 ;
20856 int arg2
= (int) -1 ;
20857 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20858 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20859 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20860 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20861 long arg5
= (long) 0 ;
20862 wxString
const &arg6_defvalue
= wxPyEmptyString
;
20863 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20864 wxListbook
*result
= 0 ;
20873 bool temp6
= false ;
20874 PyObject
* obj0
= 0 ;
20875 PyObject
* obj1
= 0 ;
20876 PyObject
* obj2
= 0 ;
20877 PyObject
* obj3
= 0 ;
20878 PyObject
* obj4
= 0 ;
20879 PyObject
* obj5
= 0 ;
20880 char * kwnames
[] = {
20881 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20886 if (!SWIG_IsOK(res1
)) {
20887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
20889 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20891 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20892 if (!SWIG_IsOK(ecode2
)) {
20893 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
20895 arg2
= static_cast< int >(val2
);
20900 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20906 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20910 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20911 if (!SWIG_IsOK(ecode5
)) {
20912 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
20914 arg5
= static_cast< long >(val5
);
20918 arg6
= wxString_in_helper(obj5
);
20919 if (arg6
== NULL
) SWIG_fail
;
20924 if (!wxPyCheckForApp()) SWIG_fail
;
20925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20926 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20927 wxPyEndAllowThreads(__tstate
);
20928 if (PyErr_Occurred()) SWIG_fail
;
20930 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
20945 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20946 PyObject
*resultobj
= 0;
20947 wxListbook
*result
= 0 ;
20949 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
20951 if (!wxPyCheckForApp()) SWIG_fail
;
20952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20953 result
= (wxListbook
*)new wxListbook();
20954 wxPyEndAllowThreads(__tstate
);
20955 if (PyErr_Occurred()) SWIG_fail
;
20957 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
20964 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20965 PyObject
*resultobj
= 0;
20966 wxListbook
*arg1
= (wxListbook
*) 0 ;
20967 wxWindow
*arg2
= (wxWindow
*) 0 ;
20968 int arg3
= (int) -1 ;
20969 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20970 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20971 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20972 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20973 long arg6
= (long) 0 ;
20974 wxString
const &arg7_defvalue
= wxPyEmptyString
;
20975 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20987 bool temp7
= false ;
20988 PyObject
* obj0
= 0 ;
20989 PyObject
* obj1
= 0 ;
20990 PyObject
* obj2
= 0 ;
20991 PyObject
* obj3
= 0 ;
20992 PyObject
* obj4
= 0 ;
20993 PyObject
* obj5
= 0 ;
20994 PyObject
* obj6
= 0 ;
20995 char * kwnames
[] = {
20996 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21001 if (!SWIG_IsOK(res1
)) {
21002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
21004 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21005 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21006 if (!SWIG_IsOK(res2
)) {
21007 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21009 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21011 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21012 if (!SWIG_IsOK(ecode3
)) {
21013 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
21015 arg3
= static_cast< int >(val3
);
21020 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21026 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21030 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21031 if (!SWIG_IsOK(ecode6
)) {
21032 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21034 arg6
= static_cast< long >(val6
);
21038 arg7
= wxString_in_helper(obj6
);
21039 if (arg7
== NULL
) SWIG_fail
;
21044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21045 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21046 wxPyEndAllowThreads(__tstate
);
21047 if (PyErr_Occurred()) SWIG_fail
;
21050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21066 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21067 PyObject
*resultobj
= 0;
21068 wxListbook
*arg1
= (wxListbook
*) 0 ;
21069 wxListView
*result
= 0 ;
21072 PyObject
*swig_obj
[1] ;
21074 if (!args
) SWIG_fail
;
21075 swig_obj
[0] = args
;
21076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21077 if (!SWIG_IsOK(res1
)) {
21078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21080 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21083 result
= (wxListView
*)(arg1
)->GetListView();
21084 wxPyEndAllowThreads(__tstate
);
21085 if (PyErr_Occurred()) SWIG_fail
;
21087 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
21094 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21096 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21097 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
21098 return SWIG_Py_Void();
21101 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21102 return SWIG_Python_InitShadowInstance(args
);
21105 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21106 PyObject
*resultobj
= 0;
21107 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21108 int arg2
= (int) 0 ;
21109 int arg3
= (int) -1 ;
21110 int arg4
= (int) -1 ;
21111 wxListbookEvent
*result
= 0 ;
21120 PyObject
* obj0
= 0 ;
21121 PyObject
* obj1
= 0 ;
21122 PyObject
* obj2
= 0 ;
21123 PyObject
* obj3
= 0 ;
21124 char * kwnames
[] = {
21125 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21130 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21131 if (!SWIG_IsOK(ecode1
)) {
21132 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21134 arg1
= static_cast< wxEventType
>(val1
);
21137 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21138 if (!SWIG_IsOK(ecode2
)) {
21139 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21141 arg2
= static_cast< int >(val2
);
21144 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21145 if (!SWIG_IsOK(ecode3
)) {
21146 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21148 arg3
= static_cast< int >(val3
);
21151 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21152 if (!SWIG_IsOK(ecode4
)) {
21153 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21155 arg4
= static_cast< int >(val4
);
21158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21159 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
21160 wxPyEndAllowThreads(__tstate
);
21161 if (PyErr_Occurred()) SWIG_fail
;
21163 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
21170 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21172 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21173 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
21174 return SWIG_Py_Void();
21177 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21178 return SWIG_Python_InitShadowInstance(args
);
21181 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21182 PyObject
*resultobj
= 0;
21183 wxWindow
*arg1
= (wxWindow
*) 0 ;
21185 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21186 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21187 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21188 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21189 long arg5
= (long) 0 ;
21190 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21191 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21192 wxChoicebook
*result
= 0 ;
21201 bool temp6
= false ;
21202 PyObject
* obj0
= 0 ;
21203 PyObject
* obj1
= 0 ;
21204 PyObject
* obj2
= 0 ;
21205 PyObject
* obj3
= 0 ;
21206 PyObject
* obj4
= 0 ;
21207 PyObject
* obj5
= 0 ;
21208 char * kwnames
[] = {
21209 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21214 if (!SWIG_IsOK(res1
)) {
21215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21217 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21218 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21219 if (!SWIG_IsOK(ecode2
)) {
21220 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21222 arg2
= static_cast< int >(val2
);
21226 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21232 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21236 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21237 if (!SWIG_IsOK(ecode5
)) {
21238 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21240 arg5
= static_cast< long >(val5
);
21244 arg6
= wxString_in_helper(obj5
);
21245 if (arg6
== NULL
) SWIG_fail
;
21250 if (!wxPyCheckForApp()) SWIG_fail
;
21251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21252 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21253 wxPyEndAllowThreads(__tstate
);
21254 if (PyErr_Occurred()) SWIG_fail
;
21256 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21271 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21272 PyObject
*resultobj
= 0;
21273 wxChoicebook
*result
= 0 ;
21275 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21277 if (!wxPyCheckForApp()) SWIG_fail
;
21278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21279 result
= (wxChoicebook
*)new wxChoicebook();
21280 wxPyEndAllowThreads(__tstate
);
21281 if (PyErr_Occurred()) SWIG_fail
;
21283 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21290 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21291 PyObject
*resultobj
= 0;
21292 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21293 wxWindow
*arg2
= (wxWindow
*) 0 ;
21295 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21296 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21297 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21298 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21299 long arg6
= (long) 0 ;
21300 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21301 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21313 bool temp7
= false ;
21314 PyObject
* obj0
= 0 ;
21315 PyObject
* obj1
= 0 ;
21316 PyObject
* obj2
= 0 ;
21317 PyObject
* obj3
= 0 ;
21318 PyObject
* obj4
= 0 ;
21319 PyObject
* obj5
= 0 ;
21320 PyObject
* obj6
= 0 ;
21321 char * kwnames
[] = {
21322 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21327 if (!SWIG_IsOK(res1
)) {
21328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21330 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21331 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21332 if (!SWIG_IsOK(res2
)) {
21333 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21335 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21336 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21337 if (!SWIG_IsOK(ecode3
)) {
21338 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21340 arg3
= static_cast< int >(val3
);
21344 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21350 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21354 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21355 if (!SWIG_IsOK(ecode6
)) {
21356 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21358 arg6
= static_cast< long >(val6
);
21362 arg7
= wxString_in_helper(obj6
);
21363 if (arg7
== NULL
) SWIG_fail
;
21368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21369 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21370 wxPyEndAllowThreads(__tstate
);
21371 if (PyErr_Occurred()) SWIG_fail
;
21374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21390 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21391 PyObject
*resultobj
= 0;
21392 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21393 wxChoice
*result
= 0 ;
21396 PyObject
*swig_obj
[1] ;
21398 if (!args
) SWIG_fail
;
21399 swig_obj
[0] = args
;
21400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21401 if (!SWIG_IsOK(res1
)) {
21402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21404 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21407 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21408 wxPyEndAllowThreads(__tstate
);
21409 if (PyErr_Occurred()) SWIG_fail
;
21411 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21418 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21420 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21421 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21422 return SWIG_Py_Void();
21425 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21426 return SWIG_Python_InitShadowInstance(args
);
21429 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21430 PyObject
*resultobj
= 0;
21431 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21432 int arg2
= (int) 0 ;
21433 int arg3
= (int) -1 ;
21434 int arg4
= (int) -1 ;
21435 wxChoicebookEvent
*result
= 0 ;
21444 PyObject
* obj0
= 0 ;
21445 PyObject
* obj1
= 0 ;
21446 PyObject
* obj2
= 0 ;
21447 PyObject
* obj3
= 0 ;
21448 char * kwnames
[] = {
21449 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21454 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21455 if (!SWIG_IsOK(ecode1
)) {
21456 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21458 arg1
= static_cast< wxEventType
>(val1
);
21461 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21462 if (!SWIG_IsOK(ecode2
)) {
21463 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21465 arg2
= static_cast< int >(val2
);
21468 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21469 if (!SWIG_IsOK(ecode3
)) {
21470 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21472 arg3
= static_cast< int >(val3
);
21475 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21476 if (!SWIG_IsOK(ecode4
)) {
21477 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21479 arg4
= static_cast< int >(val4
);
21482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21483 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21484 wxPyEndAllowThreads(__tstate
);
21485 if (PyErr_Occurred()) SWIG_fail
;
21487 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21494 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21496 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21497 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21498 return SWIG_Py_Void();
21501 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21502 return SWIG_Python_InitShadowInstance(args
);
21505 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21506 PyObject
*resultobj
= 0;
21507 wxWindow
*arg1
= (wxWindow
*) 0 ;
21509 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21510 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21511 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21512 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21513 long arg5
= (long) wxBK_DEFAULT
;
21514 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21515 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21516 wxTreebook
*result
= 0 ;
21525 bool temp6
= false ;
21526 PyObject
* obj0
= 0 ;
21527 PyObject
* obj1
= 0 ;
21528 PyObject
* obj2
= 0 ;
21529 PyObject
* obj3
= 0 ;
21530 PyObject
* obj4
= 0 ;
21531 PyObject
* obj5
= 0 ;
21532 char * kwnames
[] = {
21533 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21538 if (!SWIG_IsOK(res1
)) {
21539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21541 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21542 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21543 if (!SWIG_IsOK(ecode2
)) {
21544 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21546 arg2
= static_cast< int >(val2
);
21550 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21556 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21560 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21561 if (!SWIG_IsOK(ecode5
)) {
21562 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21564 arg5
= static_cast< long >(val5
);
21568 arg6
= wxString_in_helper(obj5
);
21569 if (arg6
== NULL
) SWIG_fail
;
21574 if (!wxPyCheckForApp()) SWIG_fail
;
21575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21576 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21577 wxPyEndAllowThreads(__tstate
);
21578 if (PyErr_Occurred()) SWIG_fail
;
21580 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
21595 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21596 PyObject
*resultobj
= 0;
21597 wxTreebook
*result
= 0 ;
21599 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
21601 if (!wxPyCheckForApp()) SWIG_fail
;
21602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21603 result
= (wxTreebook
*)new wxTreebook();
21604 wxPyEndAllowThreads(__tstate
);
21605 if (PyErr_Occurred()) SWIG_fail
;
21607 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
21614 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21615 PyObject
*resultobj
= 0;
21616 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21617 wxWindow
*arg2
= (wxWindow
*) 0 ;
21619 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21620 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21621 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21622 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21623 long arg6
= (long) wxBK_DEFAULT
;
21624 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21625 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21637 bool temp7
= false ;
21638 PyObject
* obj0
= 0 ;
21639 PyObject
* obj1
= 0 ;
21640 PyObject
* obj2
= 0 ;
21641 PyObject
* obj3
= 0 ;
21642 PyObject
* obj4
= 0 ;
21643 PyObject
* obj5
= 0 ;
21644 PyObject
* obj6
= 0 ;
21645 char * kwnames
[] = {
21646 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21651 if (!SWIG_IsOK(res1
)) {
21652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21654 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21655 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21656 if (!SWIG_IsOK(res2
)) {
21657 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21659 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21660 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21661 if (!SWIG_IsOK(ecode3
)) {
21662 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
21664 arg3
= static_cast< int >(val3
);
21668 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21674 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21678 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21679 if (!SWIG_IsOK(ecode6
)) {
21680 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
21682 arg6
= static_cast< long >(val6
);
21686 arg7
= wxString_in_helper(obj6
);
21687 if (arg7
== NULL
) SWIG_fail
;
21692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21693 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21694 wxPyEndAllowThreads(__tstate
);
21695 if (PyErr_Occurred()) SWIG_fail
;
21698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21714 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21715 PyObject
*resultobj
= 0;
21716 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21718 wxWindow
*arg3
= (wxWindow
*) 0 ;
21719 wxString
*arg4
= 0 ;
21720 bool arg5
= (bool) false ;
21721 int arg6
= (int) wxNOT_FOUND
;
21729 bool temp4
= false ;
21734 PyObject
* obj0
= 0 ;
21735 PyObject
* obj1
= 0 ;
21736 PyObject
* obj2
= 0 ;
21737 PyObject
* obj3
= 0 ;
21738 PyObject
* obj4
= 0 ;
21739 PyObject
* obj5
= 0 ;
21740 char * kwnames
[] = {
21741 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21746 if (!SWIG_IsOK(res1
)) {
21747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21749 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21750 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21751 if (!SWIG_IsOK(ecode2
)) {
21752 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
21754 arg2
= static_cast< size_t >(val2
);
21755 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21756 if (!SWIG_IsOK(res3
)) {
21757 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
21759 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
21761 arg4
= wxString_in_helper(obj3
);
21762 if (arg4
== NULL
) SWIG_fail
;
21766 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
21767 if (!SWIG_IsOK(ecode5
)) {
21768 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
21770 arg5
= static_cast< bool >(val5
);
21773 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21774 if (!SWIG_IsOK(ecode6
)) {
21775 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
21777 arg6
= static_cast< int >(val6
);
21780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21781 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
21782 wxPyEndAllowThreads(__tstate
);
21783 if (PyErr_Occurred()) SWIG_fail
;
21786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21802 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21803 PyObject
*resultobj
= 0;
21804 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21805 wxWindow
*arg2
= (wxWindow
*) 0 ;
21806 wxString
*arg3
= 0 ;
21807 bool arg4
= (bool) false ;
21808 int arg5
= (int) wxNOT_FOUND
;
21814 bool temp3
= false ;
21819 PyObject
* obj0
= 0 ;
21820 PyObject
* obj1
= 0 ;
21821 PyObject
* obj2
= 0 ;
21822 PyObject
* obj3
= 0 ;
21823 PyObject
* obj4
= 0 ;
21824 char * kwnames
[] = {
21825 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21830 if (!SWIG_IsOK(res1
)) {
21831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21833 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21834 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21835 if (!SWIG_IsOK(res2
)) {
21836 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
21838 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21840 arg3
= wxString_in_helper(obj2
);
21841 if (arg3
== NULL
) SWIG_fail
;
21845 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
21846 if (!SWIG_IsOK(ecode4
)) {
21847 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
21849 arg4
= static_cast< bool >(val4
);
21852 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21853 if (!SWIG_IsOK(ecode5
)) {
21854 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
21856 arg5
= static_cast< int >(val5
);
21859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21860 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
21861 wxPyEndAllowThreads(__tstate
);
21862 if (PyErr_Occurred()) SWIG_fail
;
21865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21881 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21882 PyObject
*resultobj
= 0;
21883 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21890 PyObject
* obj0
= 0 ;
21891 PyObject
* obj1
= 0 ;
21892 char * kwnames
[] = {
21893 (char *) "self",(char *) "pos", NULL
21896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21898 if (!SWIG_IsOK(res1
)) {
21899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21901 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21902 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21903 if (!SWIG_IsOK(ecode2
)) {
21904 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
21906 arg2
= static_cast< size_t >(val2
);
21908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21909 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
21910 wxPyEndAllowThreads(__tstate
);
21911 if (PyErr_Occurred()) SWIG_fail
;
21914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21922 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21923 PyObject
*resultobj
= 0;
21924 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21926 bool arg3
= (bool) true ;
21934 PyObject
* obj0
= 0 ;
21935 PyObject
* obj1
= 0 ;
21936 PyObject
* obj2
= 0 ;
21937 char * kwnames
[] = {
21938 (char *) "self",(char *) "pos",(char *) "expand", NULL
21941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21943 if (!SWIG_IsOK(res1
)) {
21944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
21946 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21947 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21948 if (!SWIG_IsOK(ecode2
)) {
21949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
21951 arg2
= static_cast< size_t >(val2
);
21953 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21954 if (!SWIG_IsOK(ecode3
)) {
21955 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
21957 arg3
= static_cast< bool >(val3
);
21960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21961 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
21962 wxPyEndAllowThreads(__tstate
);
21963 if (PyErr_Occurred()) SWIG_fail
;
21966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21974 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21975 PyObject
*resultobj
= 0;
21976 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21983 PyObject
* obj0
= 0 ;
21984 PyObject
* obj1
= 0 ;
21985 char * kwnames
[] = {
21986 (char *) "self",(char *) "pos", NULL
21989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21991 if (!SWIG_IsOK(res1
)) {
21992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
21994 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21995 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21996 if (!SWIG_IsOK(ecode2
)) {
21997 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
21999 arg2
= static_cast< size_t >(val2
);
22001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22002 result
= (bool)(arg1
)->CollapseNode(arg2
);
22003 wxPyEndAllowThreads(__tstate
);
22004 if (PyErr_Occurred()) SWIG_fail
;
22007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22015 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22016 PyObject
*resultobj
= 0;
22017 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22024 PyObject
* obj0
= 0 ;
22025 PyObject
* obj1
= 0 ;
22026 char * kwnames
[] = {
22027 (char *) "self",(char *) "pos", NULL
22030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22032 if (!SWIG_IsOK(res1
)) {
22033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22035 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22036 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22037 if (!SWIG_IsOK(ecode2
)) {
22038 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22040 arg2
= static_cast< size_t >(val2
);
22042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22043 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
22044 wxPyEndAllowThreads(__tstate
);
22045 if (PyErr_Occurred()) SWIG_fail
;
22047 resultobj
= SWIG_From_int(static_cast< int >(result
));
22054 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22055 PyObject
*resultobj
= 0;
22056 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22057 wxPyTreeCtrl
*result
= 0 ;
22060 PyObject
*swig_obj
[1] ;
22062 if (!args
) SWIG_fail
;
22063 swig_obj
[0] = args
;
22064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22065 if (!SWIG_IsOK(res1
)) {
22066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22068 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22071 result
= (wxPyTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
22072 wxPyEndAllowThreads(__tstate
);
22073 if (PyErr_Occurred()) SWIG_fail
;
22076 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22084 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22086 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22087 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
22088 return SWIG_Py_Void();
22091 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22092 return SWIG_Python_InitShadowInstance(args
);
22095 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22096 PyObject
*resultobj
= 0;
22097 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22098 int arg2
= (int) 0 ;
22099 int arg3
= (int) wxNOT_FOUND
;
22100 int arg4
= (int) wxNOT_FOUND
;
22101 wxTreebookEvent
*result
= 0 ;
22110 PyObject
* obj0
= 0 ;
22111 PyObject
* obj1
= 0 ;
22112 PyObject
* obj2
= 0 ;
22113 PyObject
* obj3
= 0 ;
22114 char * kwnames
[] = {
22115 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22120 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22121 if (!SWIG_IsOK(ecode1
)) {
22122 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22124 arg1
= static_cast< wxEventType
>(val1
);
22127 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22128 if (!SWIG_IsOK(ecode2
)) {
22129 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22131 arg2
= static_cast< int >(val2
);
22134 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22135 if (!SWIG_IsOK(ecode3
)) {
22136 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22138 arg3
= static_cast< int >(val3
);
22141 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22142 if (!SWIG_IsOK(ecode4
)) {
22143 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22145 arg4
= static_cast< int >(val4
);
22148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22149 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
22150 wxPyEndAllowThreads(__tstate
);
22151 if (PyErr_Occurred()) SWIG_fail
;
22153 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
22160 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22162 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22163 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
22164 return SWIG_Py_Void();
22167 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22168 return SWIG_Python_InitShadowInstance(args
);
22171 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22172 PyObject
*resultobj
= 0;
22173 wxWindow
*arg1
= (wxWindow
*) 0 ;
22175 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22176 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22177 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22178 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22179 long arg5
= (long) wxBK_DEFAULT
;
22180 wxString
const &arg6_defvalue
= wxPyEmptyString
;
22181 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22182 wxToolbook
*result
= 0 ;
22191 bool temp6
= false ;
22192 PyObject
* obj0
= 0 ;
22193 PyObject
* obj1
= 0 ;
22194 PyObject
* obj2
= 0 ;
22195 PyObject
* obj3
= 0 ;
22196 PyObject
* obj4
= 0 ;
22197 PyObject
* obj5
= 0 ;
22198 char * kwnames
[] = {
22199 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22204 if (!SWIG_IsOK(res1
)) {
22205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22207 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22208 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22209 if (!SWIG_IsOK(ecode2
)) {
22210 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22212 arg2
= static_cast< int >(val2
);
22216 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22222 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22226 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22227 if (!SWIG_IsOK(ecode5
)) {
22228 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22230 arg5
= static_cast< long >(val5
);
22234 arg6
= wxString_in_helper(obj5
);
22235 if (arg6
== NULL
) SWIG_fail
;
22240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22241 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22242 wxPyEndAllowThreads(__tstate
);
22243 if (PyErr_Occurred()) SWIG_fail
;
22245 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22260 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22261 PyObject
*resultobj
= 0;
22262 wxToolbook
*result
= 0 ;
22264 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22267 result
= (wxToolbook
*)new wxToolbook();
22268 wxPyEndAllowThreads(__tstate
);
22269 if (PyErr_Occurred()) SWIG_fail
;
22271 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22278 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22279 PyObject
*resultobj
= 0;
22280 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22281 wxWindow
*arg2
= (wxWindow
*) 0 ;
22283 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22284 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22285 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22286 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22287 long arg6
= (long) 0 ;
22288 wxString
const &arg7_defvalue
= wxEmptyString
;
22289 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22301 bool temp7
= false ;
22302 PyObject
* obj0
= 0 ;
22303 PyObject
* obj1
= 0 ;
22304 PyObject
* obj2
= 0 ;
22305 PyObject
* obj3
= 0 ;
22306 PyObject
* obj4
= 0 ;
22307 PyObject
* obj5
= 0 ;
22308 PyObject
* obj6
= 0 ;
22309 char * kwnames
[] = {
22310 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22315 if (!SWIG_IsOK(res1
)) {
22316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22318 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22319 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22320 if (!SWIG_IsOK(res2
)) {
22321 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22323 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22324 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22325 if (!SWIG_IsOK(ecode3
)) {
22326 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22328 arg3
= static_cast< int >(val3
);
22332 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22338 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22342 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22343 if (!SWIG_IsOK(ecode6
)) {
22344 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22346 arg6
= static_cast< long >(val6
);
22350 arg7
= wxString_in_helper(obj6
);
22351 if (arg7
== NULL
) SWIG_fail
;
22356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22357 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22358 wxPyEndAllowThreads(__tstate
);
22359 if (PyErr_Occurred()) SWIG_fail
;
22362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22378 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22379 PyObject
*resultobj
= 0;
22380 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22381 wxToolBarBase
*result
= 0 ;
22384 PyObject
*swig_obj
[1] ;
22386 if (!args
) SWIG_fail
;
22387 swig_obj
[0] = args
;
22388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22389 if (!SWIG_IsOK(res1
)) {
22390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22392 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22395 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22396 wxPyEndAllowThreads(__tstate
);
22397 if (PyErr_Occurred()) SWIG_fail
;
22400 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22408 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22409 PyObject
*resultobj
= 0;
22410 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22413 PyObject
*swig_obj
[1] ;
22415 if (!args
) SWIG_fail
;
22416 swig_obj
[0] = args
;
22417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22418 if (!SWIG_IsOK(res1
)) {
22419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22421 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22425 wxPyEndAllowThreads(__tstate
);
22426 if (PyErr_Occurred()) SWIG_fail
;
22428 resultobj
= SWIG_Py_Void();
22435 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22437 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22438 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22439 return SWIG_Py_Void();
22442 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22443 return SWIG_Python_InitShadowInstance(args
);
22446 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22447 PyObject
*resultobj
= 0;
22448 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22449 int arg2
= (int) 0 ;
22450 int arg3
= (int) wxNOT_FOUND
;
22451 int arg4
= (int) wxNOT_FOUND
;
22452 wxToolbookEvent
*result
= 0 ;
22461 PyObject
* obj0
= 0 ;
22462 PyObject
* obj1
= 0 ;
22463 PyObject
* obj2
= 0 ;
22464 PyObject
* obj3
= 0 ;
22465 char * kwnames
[] = {
22466 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22471 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22472 if (!SWIG_IsOK(ecode1
)) {
22473 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22475 arg1
= static_cast< wxEventType
>(val1
);
22478 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22479 if (!SWIG_IsOK(ecode2
)) {
22480 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22482 arg2
= static_cast< int >(val2
);
22485 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22486 if (!SWIG_IsOK(ecode3
)) {
22487 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22489 arg3
= static_cast< int >(val3
);
22492 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22493 if (!SWIG_IsOK(ecode4
)) {
22494 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22496 arg4
= static_cast< int >(val4
);
22499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22500 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22501 wxPyEndAllowThreads(__tstate
);
22502 if (PyErr_Occurred()) SWIG_fail
;
22504 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22511 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22513 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22514 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22515 return SWIG_Py_Void();
22518 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22519 return SWIG_Python_InitShadowInstance(args
);
22522 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22523 PyObject
*resultobj
= 0;
22524 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22528 PyObject
*swig_obj
[1] ;
22530 if (!args
) SWIG_fail
;
22531 swig_obj
[0] = args
;
22532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22533 if (!SWIG_IsOK(res1
)) {
22534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22536 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22539 result
= (int)(arg1
)->GetId();
22540 wxPyEndAllowThreads(__tstate
);
22541 if (PyErr_Occurred()) SWIG_fail
;
22543 resultobj
= SWIG_From_int(static_cast< int >(result
));
22550 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22551 PyObject
*resultobj
= 0;
22552 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22553 wxControl
*result
= 0 ;
22556 PyObject
*swig_obj
[1] ;
22558 if (!args
) SWIG_fail
;
22559 swig_obj
[0] = args
;
22560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22561 if (!SWIG_IsOK(res1
)) {
22562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22564 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22567 result
= (wxControl
*)(arg1
)->GetControl();
22568 wxPyEndAllowThreads(__tstate
);
22569 if (PyErr_Occurred()) SWIG_fail
;
22572 resultobj
= wxPyMake_wxObject(result
, 0);
22580 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22581 PyObject
*resultobj
= 0;
22582 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22583 wxToolBarBase
*result
= 0 ;
22586 PyObject
*swig_obj
[1] ;
22588 if (!args
) SWIG_fail
;
22589 swig_obj
[0] = args
;
22590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22591 if (!SWIG_IsOK(res1
)) {
22592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22594 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22597 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
22598 wxPyEndAllowThreads(__tstate
);
22599 if (PyErr_Occurred()) SWIG_fail
;
22602 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22610 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22611 PyObject
*resultobj
= 0;
22612 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22616 PyObject
*swig_obj
[1] ;
22618 if (!args
) SWIG_fail
;
22619 swig_obj
[0] = args
;
22620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22621 if (!SWIG_IsOK(res1
)) {
22622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22624 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22627 result
= (int)(arg1
)->IsButton();
22628 wxPyEndAllowThreads(__tstate
);
22629 if (PyErr_Occurred()) SWIG_fail
;
22631 resultobj
= SWIG_From_int(static_cast< int >(result
));
22638 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22639 PyObject
*resultobj
= 0;
22640 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22644 PyObject
*swig_obj
[1] ;
22646 if (!args
) SWIG_fail
;
22647 swig_obj
[0] = args
;
22648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22649 if (!SWIG_IsOK(res1
)) {
22650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22652 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22655 result
= (int)(arg1
)->IsControl();
22656 wxPyEndAllowThreads(__tstate
);
22657 if (PyErr_Occurred()) SWIG_fail
;
22659 resultobj
= SWIG_From_int(static_cast< int >(result
));
22666 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22667 PyObject
*resultobj
= 0;
22668 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22672 PyObject
*swig_obj
[1] ;
22674 if (!args
) SWIG_fail
;
22675 swig_obj
[0] = args
;
22676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22677 if (!SWIG_IsOK(res1
)) {
22678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22680 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22683 result
= (int)(arg1
)->IsSeparator();
22684 wxPyEndAllowThreads(__tstate
);
22685 if (PyErr_Occurred()) SWIG_fail
;
22687 resultobj
= SWIG_From_int(static_cast< int >(result
));
22694 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22695 PyObject
*resultobj
= 0;
22696 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22700 PyObject
*swig_obj
[1] ;
22702 if (!args
) SWIG_fail
;
22703 swig_obj
[0] = args
;
22704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22705 if (!SWIG_IsOK(res1
)) {
22706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22708 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22711 result
= (int)(arg1
)->GetStyle();
22712 wxPyEndAllowThreads(__tstate
);
22713 if (PyErr_Occurred()) SWIG_fail
;
22715 resultobj
= SWIG_From_int(static_cast< int >(result
));
22722 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22723 PyObject
*resultobj
= 0;
22724 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22728 PyObject
*swig_obj
[1] ;
22730 if (!args
) SWIG_fail
;
22731 swig_obj
[0] = args
;
22732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22733 if (!SWIG_IsOK(res1
)) {
22734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22736 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22739 result
= (wxItemKind
)(arg1
)->GetKind();
22740 wxPyEndAllowThreads(__tstate
);
22741 if (PyErr_Occurred()) SWIG_fail
;
22743 resultobj
= SWIG_From_int(static_cast< int >(result
));
22750 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22751 PyObject
*resultobj
= 0;
22752 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22756 PyObject
*swig_obj
[1] ;
22758 if (!args
) SWIG_fail
;
22759 swig_obj
[0] = args
;
22760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22761 if (!SWIG_IsOK(res1
)) {
22762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22764 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22767 result
= (bool)(arg1
)->IsEnabled();
22768 wxPyEndAllowThreads(__tstate
);
22769 if (PyErr_Occurred()) SWIG_fail
;
22772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22780 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22781 PyObject
*resultobj
= 0;
22782 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22786 PyObject
*swig_obj
[1] ;
22788 if (!args
) SWIG_fail
;
22789 swig_obj
[0] = args
;
22790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22791 if (!SWIG_IsOK(res1
)) {
22792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22794 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22797 result
= (bool)(arg1
)->IsToggled();
22798 wxPyEndAllowThreads(__tstate
);
22799 if (PyErr_Occurred()) SWIG_fail
;
22802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22810 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22811 PyObject
*resultobj
= 0;
22812 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22816 PyObject
*swig_obj
[1] ;
22818 if (!args
) SWIG_fail
;
22819 swig_obj
[0] = args
;
22820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22821 if (!SWIG_IsOK(res1
)) {
22822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22824 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22827 result
= (bool)(arg1
)->CanBeToggled();
22828 wxPyEndAllowThreads(__tstate
);
22829 if (PyErr_Occurred()) SWIG_fail
;
22832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22840 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22841 PyObject
*resultobj
= 0;
22842 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22843 wxBitmap
*result
= 0 ;
22846 PyObject
*swig_obj
[1] ;
22848 if (!args
) SWIG_fail
;
22849 swig_obj
[0] = args
;
22850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22851 if (!SWIG_IsOK(res1
)) {
22852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22854 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22858 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
22859 result
= (wxBitmap
*) &_result_ref
;
22861 wxPyEndAllowThreads(__tstate
);
22862 if (PyErr_Occurred()) SWIG_fail
;
22865 wxBitmap
* resultptr
= new wxBitmap(*result
);
22866 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22874 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22875 PyObject
*resultobj
= 0;
22876 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22877 wxBitmap
*result
= 0 ;
22880 PyObject
*swig_obj
[1] ;
22882 if (!args
) SWIG_fail
;
22883 swig_obj
[0] = args
;
22884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22885 if (!SWIG_IsOK(res1
)) {
22886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22888 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22892 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
22893 result
= (wxBitmap
*) &_result_ref
;
22895 wxPyEndAllowThreads(__tstate
);
22896 if (PyErr_Occurred()) SWIG_fail
;
22899 wxBitmap
* resultptr
= new wxBitmap(*result
);
22900 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22908 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22909 PyObject
*resultobj
= 0;
22910 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22914 PyObject
*swig_obj
[1] ;
22916 if (!args
) SWIG_fail
;
22917 swig_obj
[0] = args
;
22918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22919 if (!SWIG_IsOK(res1
)) {
22920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22922 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22925 result
= (arg1
)->GetBitmap();
22926 wxPyEndAllowThreads(__tstate
);
22927 if (PyErr_Occurred()) SWIG_fail
;
22929 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
22936 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22937 PyObject
*resultobj
= 0;
22938 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22942 PyObject
*swig_obj
[1] ;
22944 if (!args
) SWIG_fail
;
22945 swig_obj
[0] = args
;
22946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22947 if (!SWIG_IsOK(res1
)) {
22948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22950 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22953 result
= (arg1
)->GetLabel();
22954 wxPyEndAllowThreads(__tstate
);
22955 if (PyErr_Occurred()) SWIG_fail
;
22959 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22961 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22970 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22971 PyObject
*resultobj
= 0;
22972 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22976 PyObject
*swig_obj
[1] ;
22978 if (!args
) SWIG_fail
;
22979 swig_obj
[0] = args
;
22980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22981 if (!SWIG_IsOK(res1
)) {
22982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22984 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22987 result
= (arg1
)->GetShortHelp();
22988 wxPyEndAllowThreads(__tstate
);
22989 if (PyErr_Occurred()) SWIG_fail
;
22993 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22995 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23004 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23005 PyObject
*resultobj
= 0;
23006 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23010 PyObject
*swig_obj
[1] ;
23012 if (!args
) SWIG_fail
;
23013 swig_obj
[0] = args
;
23014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23015 if (!SWIG_IsOK(res1
)) {
23016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23018 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23021 result
= (arg1
)->GetLongHelp();
23022 wxPyEndAllowThreads(__tstate
);
23023 if (PyErr_Occurred()) SWIG_fail
;
23027 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23029 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23038 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23039 PyObject
*resultobj
= 0;
23040 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23047 PyObject
* obj0
= 0 ;
23048 PyObject
* obj1
= 0 ;
23049 char * kwnames
[] = {
23050 (char *) "self",(char *) "enable", NULL
23053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23055 if (!SWIG_IsOK(res1
)) {
23056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23058 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23059 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23060 if (!SWIG_IsOK(ecode2
)) {
23061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23063 arg2
= static_cast< bool >(val2
);
23065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23066 result
= (bool)(arg1
)->Enable(arg2
);
23067 wxPyEndAllowThreads(__tstate
);
23068 if (PyErr_Occurred()) SWIG_fail
;
23071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23079 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23080 PyObject
*resultobj
= 0;
23081 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23084 PyObject
*swig_obj
[1] ;
23086 if (!args
) SWIG_fail
;
23087 swig_obj
[0] = args
;
23088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23089 if (!SWIG_IsOK(res1
)) {
23090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23092 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23096 wxPyEndAllowThreads(__tstate
);
23097 if (PyErr_Occurred()) SWIG_fail
;
23099 resultobj
= SWIG_Py_Void();
23106 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23107 PyObject
*resultobj
= 0;
23108 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23115 PyObject
* obj0
= 0 ;
23116 PyObject
* obj1
= 0 ;
23117 char * kwnames
[] = {
23118 (char *) "self",(char *) "toggle", NULL
23121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23123 if (!SWIG_IsOK(res1
)) {
23124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23126 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23127 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23128 if (!SWIG_IsOK(ecode2
)) {
23129 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23131 arg2
= static_cast< bool >(val2
);
23133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23134 result
= (bool)(arg1
)->SetToggle(arg2
);
23135 wxPyEndAllowThreads(__tstate
);
23136 if (PyErr_Occurred()) SWIG_fail
;
23139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23147 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23148 PyObject
*resultobj
= 0;
23149 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23150 wxString
*arg2
= 0 ;
23154 bool temp2
= false ;
23155 PyObject
* obj0
= 0 ;
23156 PyObject
* obj1
= 0 ;
23157 char * kwnames
[] = {
23158 (char *) "self",(char *) "help", NULL
23161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23163 if (!SWIG_IsOK(res1
)) {
23164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23166 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23168 arg2
= wxString_in_helper(obj1
);
23169 if (arg2
== NULL
) SWIG_fail
;
23173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23174 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
23175 wxPyEndAllowThreads(__tstate
);
23176 if (PyErr_Occurred()) SWIG_fail
;
23179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23195 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23196 PyObject
*resultobj
= 0;
23197 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23198 wxString
*arg2
= 0 ;
23202 bool temp2
= false ;
23203 PyObject
* obj0
= 0 ;
23204 PyObject
* obj1
= 0 ;
23205 char * kwnames
[] = {
23206 (char *) "self",(char *) "help", NULL
23209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23211 if (!SWIG_IsOK(res1
)) {
23212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23214 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23216 arg2
= wxString_in_helper(obj1
);
23217 if (arg2
== NULL
) SWIG_fail
;
23221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23222 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
23223 wxPyEndAllowThreads(__tstate
);
23224 if (PyErr_Occurred()) SWIG_fail
;
23227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23243 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23244 PyObject
*resultobj
= 0;
23245 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23246 wxBitmap
*arg2
= 0 ;
23251 PyObject
* obj0
= 0 ;
23252 PyObject
* obj1
= 0 ;
23253 char * kwnames
[] = {
23254 (char *) "self",(char *) "bmp", NULL
23257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23259 if (!SWIG_IsOK(res1
)) {
23260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23262 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23263 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23264 if (!SWIG_IsOK(res2
)) {
23265 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23268 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23270 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23273 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23274 wxPyEndAllowThreads(__tstate
);
23275 if (PyErr_Occurred()) SWIG_fail
;
23277 resultobj
= SWIG_Py_Void();
23284 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23285 PyObject
*resultobj
= 0;
23286 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23287 wxBitmap
*arg2
= 0 ;
23292 PyObject
* obj0
= 0 ;
23293 PyObject
* obj1
= 0 ;
23294 char * kwnames
[] = {
23295 (char *) "self",(char *) "bmp", NULL
23298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23300 if (!SWIG_IsOK(res1
)) {
23301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23303 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23304 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23305 if (!SWIG_IsOK(res2
)) {
23306 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23309 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23311 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23314 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23315 wxPyEndAllowThreads(__tstate
);
23316 if (PyErr_Occurred()) SWIG_fail
;
23318 resultobj
= SWIG_Py_Void();
23325 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23326 PyObject
*resultobj
= 0;
23327 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23328 wxString
*arg2
= 0 ;
23331 bool temp2
= false ;
23332 PyObject
* obj0
= 0 ;
23333 PyObject
* obj1
= 0 ;
23334 char * kwnames
[] = {
23335 (char *) "self",(char *) "label", NULL
23338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23340 if (!SWIG_IsOK(res1
)) {
23341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23343 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23345 arg2
= wxString_in_helper(obj1
);
23346 if (arg2
== NULL
) SWIG_fail
;
23350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23351 (arg1
)->SetLabel((wxString
const &)*arg2
);
23352 wxPyEndAllowThreads(__tstate
);
23353 if (PyErr_Occurred()) SWIG_fail
;
23355 resultobj
= SWIG_Py_Void();
23370 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23371 PyObject
*resultobj
= 0;
23372 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23375 PyObject
*swig_obj
[1] ;
23377 if (!args
) SWIG_fail
;
23378 swig_obj
[0] = args
;
23379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23380 if (!SWIG_IsOK(res1
)) {
23381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23383 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23387 wxPyEndAllowThreads(__tstate
);
23388 if (PyErr_Occurred()) SWIG_fail
;
23390 resultobj
= SWIG_Py_Void();
23397 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23398 PyObject
*resultobj
= 0;
23399 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23400 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23405 PyObject
* obj0
= 0 ;
23406 PyObject
* obj1
= 0 ;
23407 char * kwnames
[] = {
23408 (char *) "self",(char *) "tbar", NULL
23411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23413 if (!SWIG_IsOK(res1
)) {
23414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23416 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23417 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23418 if (!SWIG_IsOK(res2
)) {
23419 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23421 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23424 (arg1
)->Attach(arg2
);
23425 wxPyEndAllowThreads(__tstate
);
23426 if (PyErr_Occurred()) SWIG_fail
;
23428 resultobj
= SWIG_Py_Void();
23435 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23436 PyObject
*resultobj
= 0;
23437 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23438 PyObject
*result
= 0 ;
23441 PyObject
*swig_obj
[1] ;
23443 if (!args
) SWIG_fail
;
23444 swig_obj
[0] = args
;
23445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23446 if (!SWIG_IsOK(res1
)) {
23447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23449 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23452 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23453 wxPyEndAllowThreads(__tstate
);
23454 if (PyErr_Occurred()) SWIG_fail
;
23456 resultobj
= result
;
23463 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23464 PyObject
*resultobj
= 0;
23465 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23466 PyObject
*arg2
= (PyObject
*) 0 ;
23469 PyObject
* obj0
= 0 ;
23470 PyObject
* obj1
= 0 ;
23471 char * kwnames
[] = {
23472 (char *) "self",(char *) "clientData", NULL
23475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23477 if (!SWIG_IsOK(res1
)) {
23478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23480 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23484 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23485 wxPyEndAllowThreads(__tstate
);
23486 if (PyErr_Occurred()) SWIG_fail
;
23488 resultobj
= SWIG_Py_Void();
23495 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23497 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23498 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23499 return SWIG_Py_Void();
23502 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23503 PyObject
*resultobj
= 0;
23504 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23506 wxString
*arg3
= 0 ;
23507 wxBitmap
*arg4
= 0 ;
23508 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23509 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23510 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23511 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23512 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23513 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23514 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23515 PyObject
*arg9
= (PyObject
*) NULL
;
23516 wxToolBarToolBase
*result
= 0 ;
23521 bool temp3
= false ;
23528 bool temp7
= false ;
23529 bool temp8
= false ;
23530 PyObject
* obj0
= 0 ;
23531 PyObject
* obj1
= 0 ;
23532 PyObject
* obj2
= 0 ;
23533 PyObject
* obj3
= 0 ;
23534 PyObject
* obj4
= 0 ;
23535 PyObject
* obj5
= 0 ;
23536 PyObject
* obj6
= 0 ;
23537 PyObject
* obj7
= 0 ;
23538 PyObject
* obj8
= 0 ;
23539 char * kwnames
[] = {
23540 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23545 if (!SWIG_IsOK(res1
)) {
23546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23548 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23549 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23550 if (!SWIG_IsOK(ecode2
)) {
23551 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23553 arg2
= static_cast< int >(val2
);
23555 arg3
= wxString_in_helper(obj2
);
23556 if (arg3
== NULL
) SWIG_fail
;
23559 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23560 if (!SWIG_IsOK(res4
)) {
23561 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23564 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23566 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23568 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23569 if (!SWIG_IsOK(res5
)) {
23570 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23573 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23575 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23578 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23579 if (!SWIG_IsOK(ecode6
)) {
23580 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23582 arg6
= static_cast< wxItemKind
>(val6
);
23586 arg7
= wxString_in_helper(obj6
);
23587 if (arg7
== NULL
) SWIG_fail
;
23593 arg8
= wxString_in_helper(obj7
);
23594 if (arg8
== NULL
) SWIG_fail
;
23602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23603 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
23604 wxPyEndAllowThreads(__tstate
);
23605 if (PyErr_Occurred()) SWIG_fail
;
23608 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23640 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23641 PyObject
*resultobj
= 0;
23642 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23645 wxString
*arg4
= 0 ;
23646 wxBitmap
*arg5
= 0 ;
23647 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
23648 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
23649 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
23650 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23651 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23652 wxString
const &arg9_defvalue
= wxPyEmptyString
;
23653 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23654 PyObject
*arg10
= (PyObject
*) NULL
;
23655 wxToolBarToolBase
*result
= 0 ;
23662 bool temp4
= false ;
23669 bool temp8
= false ;
23670 bool temp9
= false ;
23671 PyObject
* obj0
= 0 ;
23672 PyObject
* obj1
= 0 ;
23673 PyObject
* obj2
= 0 ;
23674 PyObject
* obj3
= 0 ;
23675 PyObject
* obj4
= 0 ;
23676 PyObject
* obj5
= 0 ;
23677 PyObject
* obj6
= 0 ;
23678 PyObject
* obj7
= 0 ;
23679 PyObject
* obj8
= 0 ;
23680 PyObject
* obj9
= 0 ;
23681 char * kwnames
[] = {
23682 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
23686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23687 if (!SWIG_IsOK(res1
)) {
23688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23690 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23691 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23692 if (!SWIG_IsOK(ecode2
)) {
23693 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
23695 arg2
= static_cast< size_t >(val2
);
23696 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23697 if (!SWIG_IsOK(ecode3
)) {
23698 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
23700 arg3
= static_cast< int >(val3
);
23702 arg4
= wxString_in_helper(obj3
);
23703 if (arg4
== NULL
) SWIG_fail
;
23706 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23707 if (!SWIG_IsOK(res5
)) {
23708 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23711 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23713 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23715 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23716 if (!SWIG_IsOK(res6
)) {
23717 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23720 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23722 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
23725 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
23726 if (!SWIG_IsOK(ecode7
)) {
23727 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
23729 arg7
= static_cast< wxItemKind
>(val7
);
23733 arg8
= wxString_in_helper(obj7
);
23734 if (arg8
== NULL
) SWIG_fail
;
23740 arg9
= wxString_in_helper(obj8
);
23741 if (arg9
== NULL
) SWIG_fail
;
23749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23750 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
23751 wxPyEndAllowThreads(__tstate
);
23752 if (PyErr_Occurred()) SWIG_fail
;
23755 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23787 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23788 PyObject
*resultobj
= 0;
23789 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23790 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
23791 wxToolBarToolBase
*result
= 0 ;
23796 PyObject
* obj0
= 0 ;
23797 PyObject
* obj1
= 0 ;
23798 char * kwnames
[] = {
23799 (char *) "self",(char *) "tool", NULL
23802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23804 if (!SWIG_IsOK(res1
)) {
23805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23807 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23808 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23809 if (!SWIG_IsOK(res2
)) {
23810 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
23812 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
23814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23815 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
23816 wxPyEndAllowThreads(__tstate
);
23817 if (PyErr_Occurred()) SWIG_fail
;
23820 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23828 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23829 PyObject
*resultobj
= 0;
23830 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23832 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
23833 wxToolBarToolBase
*result
= 0 ;
23840 PyObject
* obj0
= 0 ;
23841 PyObject
* obj1
= 0 ;
23842 PyObject
* obj2
= 0 ;
23843 char * kwnames
[] = {
23844 (char *) "self",(char *) "pos",(char *) "tool", NULL
23847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23849 if (!SWIG_IsOK(res1
)) {
23850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23852 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23853 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23854 if (!SWIG_IsOK(ecode2
)) {
23855 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
23857 arg2
= static_cast< size_t >(val2
);
23858 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23859 if (!SWIG_IsOK(res3
)) {
23860 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
23862 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
23864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23865 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
23866 wxPyEndAllowThreads(__tstate
);
23867 if (PyErr_Occurred()) SWIG_fail
;
23870 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23878 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23879 PyObject
*resultobj
= 0;
23880 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23881 wxControl
*arg2
= (wxControl
*) 0 ;
23882 wxToolBarToolBase
*result
= 0 ;
23887 PyObject
* obj0
= 0 ;
23888 PyObject
* obj1
= 0 ;
23889 char * kwnames
[] = {
23890 (char *) "self",(char *) "control", NULL
23893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23895 if (!SWIG_IsOK(res1
)) {
23896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23898 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23899 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
23900 if (!SWIG_IsOK(res2
)) {
23901 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
23903 arg2
= reinterpret_cast< wxControl
* >(argp2
);
23905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23906 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
23907 wxPyEndAllowThreads(__tstate
);
23908 if (PyErr_Occurred()) SWIG_fail
;
23911 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23919 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23920 PyObject
*resultobj
= 0;
23921 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23923 wxControl
*arg3
= (wxControl
*) 0 ;
23924 wxToolBarToolBase
*result
= 0 ;
23931 PyObject
* obj0
= 0 ;
23932 PyObject
* obj1
= 0 ;
23933 PyObject
* obj2
= 0 ;
23934 char * kwnames
[] = {
23935 (char *) "self",(char *) "pos",(char *) "control", NULL
23938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23940 if (!SWIG_IsOK(res1
)) {
23941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23943 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23944 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23945 if (!SWIG_IsOK(ecode2
)) {
23946 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
23948 arg2
= static_cast< size_t >(val2
);
23949 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
23950 if (!SWIG_IsOK(res3
)) {
23951 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
23953 arg3
= reinterpret_cast< wxControl
* >(argp3
);
23955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23956 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
23957 wxPyEndAllowThreads(__tstate
);
23958 if (PyErr_Occurred()) SWIG_fail
;
23961 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23969 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23970 PyObject
*resultobj
= 0;
23971 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23973 wxControl
*result
= 0 ;
23978 PyObject
* obj0
= 0 ;
23979 PyObject
* obj1
= 0 ;
23980 char * kwnames
[] = {
23981 (char *) "self",(char *) "id", NULL
23984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23986 if (!SWIG_IsOK(res1
)) {
23987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23989 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23990 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23991 if (!SWIG_IsOK(ecode2
)) {
23992 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
23994 arg2
= static_cast< int >(val2
);
23996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23997 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
23998 wxPyEndAllowThreads(__tstate
);
23999 if (PyErr_Occurred()) SWIG_fail
;
24002 resultobj
= wxPyMake_wxObject(result
, 0);
24010 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24011 PyObject
*resultobj
= 0;
24012 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24013 wxToolBarToolBase
*result
= 0 ;
24016 PyObject
*swig_obj
[1] ;
24018 if (!args
) SWIG_fail
;
24019 swig_obj
[0] = args
;
24020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24021 if (!SWIG_IsOK(res1
)) {
24022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24024 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24027 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
24028 wxPyEndAllowThreads(__tstate
);
24029 if (PyErr_Occurred()) SWIG_fail
;
24032 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24040 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24041 PyObject
*resultobj
= 0;
24042 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24044 wxToolBarToolBase
*result
= 0 ;
24049 PyObject
* obj0
= 0 ;
24050 PyObject
* obj1
= 0 ;
24051 char * kwnames
[] = {
24052 (char *) "self",(char *) "pos", NULL
24055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24057 if (!SWIG_IsOK(res1
)) {
24058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24060 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24061 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24062 if (!SWIG_IsOK(ecode2
)) {
24063 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24065 arg2
= static_cast< size_t >(val2
);
24067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24068 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
24069 wxPyEndAllowThreads(__tstate
);
24070 if (PyErr_Occurred()) SWIG_fail
;
24073 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24081 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24082 PyObject
*resultobj
= 0;
24083 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24085 wxToolBarToolBase
*result
= 0 ;
24090 PyObject
* obj0
= 0 ;
24091 PyObject
* obj1
= 0 ;
24092 char * kwnames
[] = {
24093 (char *) "self",(char *) "id", NULL
24096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24098 if (!SWIG_IsOK(res1
)) {
24099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24101 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24102 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24103 if (!SWIG_IsOK(ecode2
)) {
24104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24106 arg2
= static_cast< int >(val2
);
24108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24109 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
24110 wxPyEndAllowThreads(__tstate
);
24111 if (PyErr_Occurred()) SWIG_fail
;
24114 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24122 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24123 PyObject
*resultobj
= 0;
24124 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24131 PyObject
* obj0
= 0 ;
24132 PyObject
* obj1
= 0 ;
24133 char * kwnames
[] = {
24134 (char *) "self",(char *) "pos", NULL
24137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24139 if (!SWIG_IsOK(res1
)) {
24140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24142 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24143 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24144 if (!SWIG_IsOK(ecode2
)) {
24145 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24147 arg2
= static_cast< size_t >(val2
);
24149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24150 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
24151 wxPyEndAllowThreads(__tstate
);
24152 if (PyErr_Occurred()) SWIG_fail
;
24155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24163 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24164 PyObject
*resultobj
= 0;
24165 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24172 PyObject
* obj0
= 0 ;
24173 PyObject
* obj1
= 0 ;
24174 char * kwnames
[] = {
24175 (char *) "self",(char *) "id", NULL
24178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24180 if (!SWIG_IsOK(res1
)) {
24181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24183 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24184 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24185 if (!SWIG_IsOK(ecode2
)) {
24186 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24188 arg2
= static_cast< int >(val2
);
24190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24191 result
= (bool)(arg1
)->DeleteTool(arg2
);
24192 wxPyEndAllowThreads(__tstate
);
24193 if (PyErr_Occurred()) SWIG_fail
;
24196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24204 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24205 PyObject
*resultobj
= 0;
24206 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24209 PyObject
*swig_obj
[1] ;
24211 if (!args
) SWIG_fail
;
24212 swig_obj
[0] = args
;
24213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24214 if (!SWIG_IsOK(res1
)) {
24215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24217 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24220 (arg1
)->ClearTools();
24221 wxPyEndAllowThreads(__tstate
);
24222 if (PyErr_Occurred()) SWIG_fail
;
24224 resultobj
= SWIG_Py_Void();
24231 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24232 PyObject
*resultobj
= 0;
24233 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24237 PyObject
*swig_obj
[1] ;
24239 if (!args
) SWIG_fail
;
24240 swig_obj
[0] = args
;
24241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24242 if (!SWIG_IsOK(res1
)) {
24243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24245 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24248 result
= (bool)(arg1
)->Realize();
24249 wxPyEndAllowThreads(__tstate
);
24250 if (PyErr_Occurred()) SWIG_fail
;
24253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24261 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24262 PyObject
*resultobj
= 0;
24263 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24272 PyObject
* obj0
= 0 ;
24273 PyObject
* obj1
= 0 ;
24274 PyObject
* obj2
= 0 ;
24275 char * kwnames
[] = {
24276 (char *) "self",(char *) "id",(char *) "enable", NULL
24279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24281 if (!SWIG_IsOK(res1
)) {
24282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24284 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24285 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24286 if (!SWIG_IsOK(ecode2
)) {
24287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24289 arg2
= static_cast< int >(val2
);
24290 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24291 if (!SWIG_IsOK(ecode3
)) {
24292 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24294 arg3
= static_cast< bool >(val3
);
24296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24297 (arg1
)->EnableTool(arg2
,arg3
);
24298 wxPyEndAllowThreads(__tstate
);
24299 if (PyErr_Occurred()) SWIG_fail
;
24301 resultobj
= SWIG_Py_Void();
24308 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24309 PyObject
*resultobj
= 0;
24310 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24319 PyObject
* obj0
= 0 ;
24320 PyObject
* obj1
= 0 ;
24321 PyObject
* obj2
= 0 ;
24322 char * kwnames
[] = {
24323 (char *) "self",(char *) "id",(char *) "toggle", NULL
24326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24328 if (!SWIG_IsOK(res1
)) {
24329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24331 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24332 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24333 if (!SWIG_IsOK(ecode2
)) {
24334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24336 arg2
= static_cast< int >(val2
);
24337 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24338 if (!SWIG_IsOK(ecode3
)) {
24339 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24341 arg3
= static_cast< bool >(val3
);
24343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24344 (arg1
)->ToggleTool(arg2
,arg3
);
24345 wxPyEndAllowThreads(__tstate
);
24346 if (PyErr_Occurred()) SWIG_fail
;
24348 resultobj
= SWIG_Py_Void();
24355 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24356 PyObject
*resultobj
= 0;
24357 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24366 PyObject
* obj0
= 0 ;
24367 PyObject
* obj1
= 0 ;
24368 PyObject
* obj2
= 0 ;
24369 char * kwnames
[] = {
24370 (char *) "self",(char *) "id",(char *) "toggle", NULL
24373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24375 if (!SWIG_IsOK(res1
)) {
24376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24378 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24379 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24380 if (!SWIG_IsOK(ecode2
)) {
24381 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24383 arg2
= static_cast< int >(val2
);
24384 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24385 if (!SWIG_IsOK(ecode3
)) {
24386 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24388 arg3
= static_cast< bool >(val3
);
24390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24391 (arg1
)->SetToggle(arg2
,arg3
);
24392 wxPyEndAllowThreads(__tstate
);
24393 if (PyErr_Occurred()) SWIG_fail
;
24395 resultobj
= SWIG_Py_Void();
24402 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24403 PyObject
*resultobj
= 0;
24404 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24406 PyObject
*result
= 0 ;
24411 PyObject
* obj0
= 0 ;
24412 PyObject
* obj1
= 0 ;
24413 char * kwnames
[] = {
24414 (char *) "self",(char *) "id", NULL
24417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24419 if (!SWIG_IsOK(res1
)) {
24420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24422 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24423 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24424 if (!SWIG_IsOK(ecode2
)) {
24425 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24427 arg2
= static_cast< int >(val2
);
24429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24430 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24431 wxPyEndAllowThreads(__tstate
);
24432 if (PyErr_Occurred()) SWIG_fail
;
24434 resultobj
= result
;
24441 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24442 PyObject
*resultobj
= 0;
24443 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24445 PyObject
*arg3
= (PyObject
*) 0 ;
24450 PyObject
* obj0
= 0 ;
24451 PyObject
* obj1
= 0 ;
24452 PyObject
* obj2
= 0 ;
24453 char * kwnames
[] = {
24454 (char *) "self",(char *) "id",(char *) "clientData", NULL
24457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24459 if (!SWIG_IsOK(res1
)) {
24460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24462 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24463 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24464 if (!SWIG_IsOK(ecode2
)) {
24465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24467 arg2
= static_cast< int >(val2
);
24470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24471 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24472 wxPyEndAllowThreads(__tstate
);
24473 if (PyErr_Occurred()) SWIG_fail
;
24475 resultobj
= SWIG_Py_Void();
24482 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24483 PyObject
*resultobj
= 0;
24484 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24491 PyObject
* obj0
= 0 ;
24492 PyObject
* obj1
= 0 ;
24493 char * kwnames
[] = {
24494 (char *) "self",(char *) "id", NULL
24497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24499 if (!SWIG_IsOK(res1
)) {
24500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24502 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24503 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24504 if (!SWIG_IsOK(ecode2
)) {
24505 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24507 arg2
= static_cast< int >(val2
);
24509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24510 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24511 wxPyEndAllowThreads(__tstate
);
24512 if (PyErr_Occurred()) SWIG_fail
;
24514 resultobj
= SWIG_From_int(static_cast< int >(result
));
24521 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24522 PyObject
*resultobj
= 0;
24523 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24530 PyObject
* obj0
= 0 ;
24531 PyObject
* obj1
= 0 ;
24532 char * kwnames
[] = {
24533 (char *) "self",(char *) "id", NULL
24536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24538 if (!SWIG_IsOK(res1
)) {
24539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24541 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24542 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24543 if (!SWIG_IsOK(ecode2
)) {
24544 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24546 arg2
= static_cast< int >(val2
);
24548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24549 result
= (bool)(arg1
)->GetToolState(arg2
);
24550 wxPyEndAllowThreads(__tstate
);
24551 if (PyErr_Occurred()) SWIG_fail
;
24554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24562 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24563 PyObject
*resultobj
= 0;
24564 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24571 PyObject
* obj0
= 0 ;
24572 PyObject
* obj1
= 0 ;
24573 char * kwnames
[] = {
24574 (char *) "self",(char *) "id", NULL
24577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24579 if (!SWIG_IsOK(res1
)) {
24580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24582 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24583 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24584 if (!SWIG_IsOK(ecode2
)) {
24585 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24587 arg2
= static_cast< int >(val2
);
24589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24590 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
24591 wxPyEndAllowThreads(__tstate
);
24592 if (PyErr_Occurred()) SWIG_fail
;
24595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24603 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24604 PyObject
*resultobj
= 0;
24605 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24607 wxString
*arg3
= 0 ;
24612 bool temp3
= false ;
24613 PyObject
* obj0
= 0 ;
24614 PyObject
* obj1
= 0 ;
24615 PyObject
* obj2
= 0 ;
24616 char * kwnames
[] = {
24617 (char *) "self",(char *) "id",(char *) "helpString", NULL
24620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24622 if (!SWIG_IsOK(res1
)) {
24623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24625 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24626 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24627 if (!SWIG_IsOK(ecode2
)) {
24628 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24630 arg2
= static_cast< int >(val2
);
24632 arg3
= wxString_in_helper(obj2
);
24633 if (arg3
== NULL
) SWIG_fail
;
24637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24638 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
24639 wxPyEndAllowThreads(__tstate
);
24640 if (PyErr_Occurred()) SWIG_fail
;
24642 resultobj
= SWIG_Py_Void();
24657 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24658 PyObject
*resultobj
= 0;
24659 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24666 PyObject
* obj0
= 0 ;
24667 PyObject
* obj1
= 0 ;
24668 char * kwnames
[] = {
24669 (char *) "self",(char *) "id", NULL
24672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24674 if (!SWIG_IsOK(res1
)) {
24675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24677 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24678 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24679 if (!SWIG_IsOK(ecode2
)) {
24680 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24682 arg2
= static_cast< int >(val2
);
24684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24685 result
= (arg1
)->GetToolShortHelp(arg2
);
24686 wxPyEndAllowThreads(__tstate
);
24687 if (PyErr_Occurred()) SWIG_fail
;
24691 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24693 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24702 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24703 PyObject
*resultobj
= 0;
24704 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24706 wxString
*arg3
= 0 ;
24711 bool temp3
= false ;
24712 PyObject
* obj0
= 0 ;
24713 PyObject
* obj1
= 0 ;
24714 PyObject
* obj2
= 0 ;
24715 char * kwnames
[] = {
24716 (char *) "self",(char *) "id",(char *) "helpString", NULL
24719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24721 if (!SWIG_IsOK(res1
)) {
24722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24724 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24725 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24726 if (!SWIG_IsOK(ecode2
)) {
24727 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24729 arg2
= static_cast< int >(val2
);
24731 arg3
= wxString_in_helper(obj2
);
24732 if (arg3
== NULL
) SWIG_fail
;
24736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24737 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
24738 wxPyEndAllowThreads(__tstate
);
24739 if (PyErr_Occurred()) SWIG_fail
;
24741 resultobj
= SWIG_Py_Void();
24756 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24757 PyObject
*resultobj
= 0;
24758 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24765 PyObject
* obj0
= 0 ;
24766 PyObject
* obj1
= 0 ;
24767 char * kwnames
[] = {
24768 (char *) "self",(char *) "id", NULL
24771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24773 if (!SWIG_IsOK(res1
)) {
24774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24776 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24777 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24778 if (!SWIG_IsOK(ecode2
)) {
24779 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24781 arg2
= static_cast< int >(val2
);
24783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24784 result
= (arg1
)->GetToolLongHelp(arg2
);
24785 wxPyEndAllowThreads(__tstate
);
24786 if (PyErr_Occurred()) SWIG_fail
;
24790 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24792 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24801 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24802 PyObject
*resultobj
= 0;
24803 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24812 PyObject
* obj0
= 0 ;
24813 PyObject
* obj1
= 0 ;
24814 PyObject
* obj2
= 0 ;
24815 char * kwnames
[] = {
24816 (char *) "self",(char *) "x",(char *) "y", NULL
24819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24821 if (!SWIG_IsOK(res1
)) {
24822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24824 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24825 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24826 if (!SWIG_IsOK(ecode2
)) {
24827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
24829 arg2
= static_cast< int >(val2
);
24830 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24831 if (!SWIG_IsOK(ecode3
)) {
24832 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
24834 arg3
= static_cast< int >(val3
);
24836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24837 (arg1
)->SetMargins(arg2
,arg3
);
24838 wxPyEndAllowThreads(__tstate
);
24839 if (PyErr_Occurred()) SWIG_fail
;
24841 resultobj
= SWIG_Py_Void();
24848 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24849 PyObject
*resultobj
= 0;
24850 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24855 PyObject
* obj0
= 0 ;
24856 PyObject
* obj1
= 0 ;
24857 char * kwnames
[] = {
24858 (char *) "self",(char *) "size", NULL
24861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) 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_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24866 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24869 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24873 (arg1
)->SetMargins((wxSize
const &)*arg2
);
24874 wxPyEndAllowThreads(__tstate
);
24875 if (PyErr_Occurred()) SWIG_fail
;
24877 resultobj
= SWIG_Py_Void();
24884 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24885 PyObject
*resultobj
= 0;
24886 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24892 PyObject
* obj0
= 0 ;
24893 PyObject
* obj1
= 0 ;
24894 char * kwnames
[] = {
24895 (char *) "self",(char *) "packing", NULL
24898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24900 if (!SWIG_IsOK(res1
)) {
24901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24903 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24904 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24905 if (!SWIG_IsOK(ecode2
)) {
24906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
24908 arg2
= static_cast< int >(val2
);
24910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24911 (arg1
)->SetToolPacking(arg2
);
24912 wxPyEndAllowThreads(__tstate
);
24913 if (PyErr_Occurred()) SWIG_fail
;
24915 resultobj
= SWIG_Py_Void();
24922 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24923 PyObject
*resultobj
= 0;
24924 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24930 PyObject
* obj0
= 0 ;
24931 PyObject
* obj1
= 0 ;
24932 char * kwnames
[] = {
24933 (char *) "self",(char *) "separation", NULL
24936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24938 if (!SWIG_IsOK(res1
)) {
24939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24941 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24942 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24943 if (!SWIG_IsOK(ecode2
)) {
24944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
24946 arg2
= static_cast< int >(val2
);
24948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24949 (arg1
)->SetToolSeparation(arg2
);
24950 wxPyEndAllowThreads(__tstate
);
24951 if (PyErr_Occurred()) SWIG_fail
;
24953 resultobj
= SWIG_Py_Void();
24960 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24961 PyObject
*resultobj
= 0;
24962 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24966 PyObject
*swig_obj
[1] ;
24968 if (!args
) SWIG_fail
;
24969 swig_obj
[0] = args
;
24970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24971 if (!SWIG_IsOK(res1
)) {
24972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24974 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24977 result
= (arg1
)->GetToolMargins();
24978 wxPyEndAllowThreads(__tstate
);
24979 if (PyErr_Occurred()) SWIG_fail
;
24981 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24988 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24989 PyObject
*resultobj
= 0;
24990 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24994 PyObject
*swig_obj
[1] ;
24996 if (!args
) SWIG_fail
;
24997 swig_obj
[0] = args
;
24998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24999 if (!SWIG_IsOK(res1
)) {
25000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25002 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25005 result
= (arg1
)->GetMargins();
25006 wxPyEndAllowThreads(__tstate
);
25007 if (PyErr_Occurred()) SWIG_fail
;
25009 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25016 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25017 PyObject
*resultobj
= 0;
25018 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25022 PyObject
*swig_obj
[1] ;
25024 if (!args
) SWIG_fail
;
25025 swig_obj
[0] = args
;
25026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25027 if (!SWIG_IsOK(res1
)) {
25028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25030 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25033 result
= (int)(arg1
)->GetToolPacking();
25034 wxPyEndAllowThreads(__tstate
);
25035 if (PyErr_Occurred()) SWIG_fail
;
25037 resultobj
= SWIG_From_int(static_cast< int >(result
));
25044 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25045 PyObject
*resultobj
= 0;
25046 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25050 PyObject
*swig_obj
[1] ;
25052 if (!args
) SWIG_fail
;
25053 swig_obj
[0] = args
;
25054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25055 if (!SWIG_IsOK(res1
)) {
25056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25058 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25061 result
= (int)(arg1
)->GetToolSeparation();
25062 wxPyEndAllowThreads(__tstate
);
25063 if (PyErr_Occurred()) SWIG_fail
;
25065 resultobj
= SWIG_From_int(static_cast< int >(result
));
25072 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25073 PyObject
*resultobj
= 0;
25074 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25080 PyObject
* obj0
= 0 ;
25081 PyObject
* obj1
= 0 ;
25082 char * kwnames
[] = {
25083 (char *) "self",(char *) "nRows", NULL
25086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25088 if (!SWIG_IsOK(res1
)) {
25089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25091 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25092 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25093 if (!SWIG_IsOK(ecode2
)) {
25094 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25096 arg2
= static_cast< int >(val2
);
25098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25099 (arg1
)->SetRows(arg2
);
25100 wxPyEndAllowThreads(__tstate
);
25101 if (PyErr_Occurred()) SWIG_fail
;
25103 resultobj
= SWIG_Py_Void();
25110 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25111 PyObject
*resultobj
= 0;
25112 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25121 PyObject
* obj0
= 0 ;
25122 PyObject
* obj1
= 0 ;
25123 PyObject
* obj2
= 0 ;
25124 char * kwnames
[] = {
25125 (char *) "self",(char *) "rows",(char *) "cols", NULL
25128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) 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_SetMaxRowsCols" "', 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_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25138 arg2
= static_cast< int >(val2
);
25139 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25140 if (!SWIG_IsOK(ecode3
)) {
25141 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25143 arg3
= static_cast< int >(val3
);
25145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25146 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
25147 wxPyEndAllowThreads(__tstate
);
25148 if (PyErr_Occurred()) SWIG_fail
;
25150 resultobj
= SWIG_Py_Void();
25157 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25158 PyObject
*resultobj
= 0;
25159 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25163 PyObject
*swig_obj
[1] ;
25165 if (!args
) SWIG_fail
;
25166 swig_obj
[0] = args
;
25167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25168 if (!SWIG_IsOK(res1
)) {
25169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25171 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25174 result
= (int)(arg1
)->GetMaxRows();
25175 wxPyEndAllowThreads(__tstate
);
25176 if (PyErr_Occurred()) SWIG_fail
;
25178 resultobj
= SWIG_From_int(static_cast< int >(result
));
25185 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25186 PyObject
*resultobj
= 0;
25187 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25191 PyObject
*swig_obj
[1] ;
25193 if (!args
) SWIG_fail
;
25194 swig_obj
[0] = args
;
25195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25196 if (!SWIG_IsOK(res1
)) {
25197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25199 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25202 result
= (int)(arg1
)->GetMaxCols();
25203 wxPyEndAllowThreads(__tstate
);
25204 if (PyErr_Occurred()) SWIG_fail
;
25206 resultobj
= SWIG_From_int(static_cast< int >(result
));
25213 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25214 PyObject
*resultobj
= 0;
25215 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25220 PyObject
* obj0
= 0 ;
25221 PyObject
* obj1
= 0 ;
25222 char * kwnames
[] = {
25223 (char *) "self",(char *) "size", NULL
25226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25228 if (!SWIG_IsOK(res1
)) {
25229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25231 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25234 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25238 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
25239 wxPyEndAllowThreads(__tstate
);
25240 if (PyErr_Occurred()) SWIG_fail
;
25242 resultobj
= SWIG_Py_Void();
25249 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25250 PyObject
*resultobj
= 0;
25251 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25255 PyObject
*swig_obj
[1] ;
25257 if (!args
) SWIG_fail
;
25258 swig_obj
[0] = args
;
25259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25260 if (!SWIG_IsOK(res1
)) {
25261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25263 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25266 result
= (arg1
)->GetToolBitmapSize();
25267 wxPyEndAllowThreads(__tstate
);
25268 if (PyErr_Occurred()) SWIG_fail
;
25270 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25277 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25278 PyObject
*resultobj
= 0;
25279 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25283 PyObject
*swig_obj
[1] ;
25285 if (!args
) SWIG_fail
;
25286 swig_obj
[0] = args
;
25287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25288 if (!SWIG_IsOK(res1
)) {
25289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25291 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25294 result
= (arg1
)->GetToolSize();
25295 wxPyEndAllowThreads(__tstate
);
25296 if (PyErr_Occurred()) SWIG_fail
;
25298 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25305 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25306 PyObject
*resultobj
= 0;
25307 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25310 wxToolBarToolBase
*result
= 0 ;
25317 PyObject
* obj0
= 0 ;
25318 PyObject
* obj1
= 0 ;
25319 PyObject
* obj2
= 0 ;
25320 char * kwnames
[] = {
25321 (char *) "self",(char *) "x",(char *) "y", NULL
25324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25326 if (!SWIG_IsOK(res1
)) {
25327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25329 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25330 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25331 if (!SWIG_IsOK(ecode2
)) {
25332 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25334 arg2
= static_cast< int >(val2
);
25335 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25336 if (!SWIG_IsOK(ecode3
)) {
25337 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25339 arg3
= static_cast< int >(val3
);
25341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25342 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25343 wxPyEndAllowThreads(__tstate
);
25344 if (PyErr_Occurred()) SWIG_fail
;
25347 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25355 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25356 PyObject
*resultobj
= 0;
25357 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25359 wxToolBarToolBase
*result
= 0 ;
25364 PyObject
* obj0
= 0 ;
25365 PyObject
* obj1
= 0 ;
25366 char * kwnames
[] = {
25367 (char *) "self",(char *) "toolid", NULL
25370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25372 if (!SWIG_IsOK(res1
)) {
25373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25375 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25376 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25377 if (!SWIG_IsOK(ecode2
)) {
25378 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25380 arg2
= static_cast< int >(val2
);
25382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25383 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25384 wxPyEndAllowThreads(__tstate
);
25385 if (PyErr_Occurred()) SWIG_fail
;
25388 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25396 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25397 PyObject
*resultobj
= 0;
25398 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25402 PyObject
*swig_obj
[1] ;
25404 if (!args
) SWIG_fail
;
25405 swig_obj
[0] = args
;
25406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25407 if (!SWIG_IsOK(res1
)) {
25408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25410 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25413 result
= (bool)(arg1
)->IsVertical();
25414 wxPyEndAllowThreads(__tstate
);
25415 if (PyErr_Occurred()) SWIG_fail
;
25418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25426 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25427 PyObject
*resultobj
= 0;
25428 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25432 PyObject
*swig_obj
[1] ;
25434 if (!args
) SWIG_fail
;
25435 swig_obj
[0] = args
;
25436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25437 if (!SWIG_IsOK(res1
)) {
25438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25440 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25443 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25444 wxPyEndAllowThreads(__tstate
);
25445 if (PyErr_Occurred()) SWIG_fail
;
25447 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25454 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25456 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25457 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25458 return SWIG_Py_Void();
25461 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25462 PyObject
*resultobj
= 0;
25463 wxWindow
*arg1
= (wxWindow
*) 0 ;
25464 int arg2
= (int) -1 ;
25465 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25466 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25467 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25468 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25469 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25470 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25471 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25472 wxToolBar
*result
= 0 ;
25481 bool temp6
= false ;
25482 PyObject
* obj0
= 0 ;
25483 PyObject
* obj1
= 0 ;
25484 PyObject
* obj2
= 0 ;
25485 PyObject
* obj3
= 0 ;
25486 PyObject
* obj4
= 0 ;
25487 PyObject
* obj5
= 0 ;
25488 char * kwnames
[] = {
25489 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25494 if (!SWIG_IsOK(res1
)) {
25495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25497 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25499 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25500 if (!SWIG_IsOK(ecode2
)) {
25501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25503 arg2
= static_cast< int >(val2
);
25508 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25514 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25518 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25519 if (!SWIG_IsOK(ecode5
)) {
25520 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25522 arg5
= static_cast< long >(val5
);
25526 arg6
= wxString_in_helper(obj5
);
25527 if (arg6
== NULL
) SWIG_fail
;
25532 if (!wxPyCheckForApp()) SWIG_fail
;
25533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25534 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25535 wxPyEndAllowThreads(__tstate
);
25536 if (PyErr_Occurred()) SWIG_fail
;
25538 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
25553 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25554 PyObject
*resultobj
= 0;
25555 wxToolBar
*result
= 0 ;
25557 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
25559 if (!wxPyCheckForApp()) SWIG_fail
;
25560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25561 result
= (wxToolBar
*)new wxToolBar();
25562 wxPyEndAllowThreads(__tstate
);
25563 if (PyErr_Occurred()) SWIG_fail
;
25565 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
25572 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25573 PyObject
*resultobj
= 0;
25574 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25575 wxWindow
*arg2
= (wxWindow
*) 0 ;
25576 int arg3
= (int) -1 ;
25577 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25578 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25579 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25580 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25581 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25582 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
25583 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25595 bool temp7
= false ;
25596 PyObject
* obj0
= 0 ;
25597 PyObject
* obj1
= 0 ;
25598 PyObject
* obj2
= 0 ;
25599 PyObject
* obj3
= 0 ;
25600 PyObject
* obj4
= 0 ;
25601 PyObject
* obj5
= 0 ;
25602 PyObject
* obj6
= 0 ;
25603 char * kwnames
[] = {
25604 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
25609 if (!SWIG_IsOK(res1
)) {
25610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25612 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
25613 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25614 if (!SWIG_IsOK(res2
)) {
25615 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25617 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25619 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25620 if (!SWIG_IsOK(ecode3
)) {
25621 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25623 arg3
= static_cast< int >(val3
);
25628 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25634 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25638 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
25639 if (!SWIG_IsOK(ecode6
)) {
25640 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25642 arg6
= static_cast< long >(val6
);
25646 arg7
= wxString_in_helper(obj6
);
25647 if (arg7
== NULL
) SWIG_fail
;
25652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25653 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25654 wxPyEndAllowThreads(__tstate
);
25655 if (PyErr_Occurred()) SWIG_fail
;
25658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25674 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25675 PyObject
*resultobj
= 0;
25676 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
25677 SwigValueWrapper
<wxVisualAttributes
> result
;
25680 PyObject
* obj0
= 0 ;
25681 char * kwnames
[] = {
25682 (char *) "variant", NULL
25685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
25687 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25688 if (!SWIG_IsOK(ecode1
)) {
25689 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
25691 arg1
= static_cast< wxWindowVariant
>(val1
);
25694 if (!wxPyCheckForApp()) SWIG_fail
;
25695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25696 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
25697 wxPyEndAllowThreads(__tstate
);
25698 if (PyErr_Occurred()) SWIG_fail
;
25700 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
25707 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25709 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25710 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
25711 return SWIG_Py_Void();
25714 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25715 return SWIG_Python_InitShadowInstance(args
);
25718 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
25719 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
25724 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
25725 PyObject
*pyobj
= 0;
25729 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25731 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25738 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25739 PyObject
*resultobj
= 0;
25740 wxColour
const &arg1_defvalue
= wxNullColour
;
25741 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
25742 wxColour
const &arg2_defvalue
= wxNullColour
;
25743 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
25744 wxFont
const &arg3_defvalue
= wxNullFont
;
25745 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
25746 wxListItemAttr
*result
= 0 ;
25751 PyObject
* obj0
= 0 ;
25752 PyObject
* obj1
= 0 ;
25753 PyObject
* obj2
= 0 ;
25754 char * kwnames
[] = {
25755 (char *) "colText",(char *) "colBack",(char *) "font", NULL
25758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25762 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
25768 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25772 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
25773 if (!SWIG_IsOK(res3
)) {
25774 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25777 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25779 arg3
= reinterpret_cast< wxFont
* >(argp3
);
25782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25783 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
25784 wxPyEndAllowThreads(__tstate
);
25785 if (PyErr_Occurred()) SWIG_fail
;
25787 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
25794 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25795 PyObject
*resultobj
= 0;
25796 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25799 PyObject
*swig_obj
[1] ;
25801 if (!args
) SWIG_fail
;
25802 swig_obj
[0] = args
;
25803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
25804 if (!SWIG_IsOK(res1
)) {
25805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25807 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25812 wxPyEndAllowThreads(__tstate
);
25813 if (PyErr_Occurred()) SWIG_fail
;
25815 resultobj
= SWIG_Py_Void();
25822 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25823 PyObject
*resultobj
= 0;
25824 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25825 wxColour
*arg2
= 0 ;
25829 PyObject
* obj0
= 0 ;
25830 PyObject
* obj1
= 0 ;
25831 char * kwnames
[] = {
25832 (char *) "self",(char *) "colText", NULL
25835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25837 if (!SWIG_IsOK(res1
)) {
25838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25840 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25843 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25847 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
25848 wxPyEndAllowThreads(__tstate
);
25849 if (PyErr_Occurred()) SWIG_fail
;
25851 resultobj
= SWIG_Py_Void();
25858 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25859 PyObject
*resultobj
= 0;
25860 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25861 wxColour
*arg2
= 0 ;
25865 PyObject
* obj0
= 0 ;
25866 PyObject
* obj1
= 0 ;
25867 char * kwnames
[] = {
25868 (char *) "self",(char *) "colBack", NULL
25871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25873 if (!SWIG_IsOK(res1
)) {
25874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25876 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25879 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25883 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
25884 wxPyEndAllowThreads(__tstate
);
25885 if (PyErr_Occurred()) SWIG_fail
;
25887 resultobj
= SWIG_Py_Void();
25894 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25895 PyObject
*resultobj
= 0;
25896 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25902 PyObject
* obj0
= 0 ;
25903 PyObject
* obj1
= 0 ;
25904 char * kwnames
[] = {
25905 (char *) "self",(char *) "font", NULL
25908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25910 if (!SWIG_IsOK(res1
)) {
25911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25913 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25914 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
25915 if (!SWIG_IsOK(res2
)) {
25916 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25919 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25921 arg2
= reinterpret_cast< wxFont
* >(argp2
);
25923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25924 (arg1
)->SetFont((wxFont
const &)*arg2
);
25925 wxPyEndAllowThreads(__tstate
);
25926 if (PyErr_Occurred()) SWIG_fail
;
25928 resultobj
= SWIG_Py_Void();
25935 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25936 PyObject
*resultobj
= 0;
25937 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25941 PyObject
*swig_obj
[1] ;
25943 if (!args
) SWIG_fail
;
25944 swig_obj
[0] = args
;
25945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25946 if (!SWIG_IsOK(res1
)) {
25947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25949 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25952 result
= (bool)(arg1
)->HasTextColour();
25953 wxPyEndAllowThreads(__tstate
);
25954 if (PyErr_Occurred()) SWIG_fail
;
25957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25965 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25966 PyObject
*resultobj
= 0;
25967 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25971 PyObject
*swig_obj
[1] ;
25973 if (!args
) SWIG_fail
;
25974 swig_obj
[0] = args
;
25975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25976 if (!SWIG_IsOK(res1
)) {
25977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25979 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25982 result
= (bool)(arg1
)->HasBackgroundColour();
25983 wxPyEndAllowThreads(__tstate
);
25984 if (PyErr_Occurred()) SWIG_fail
;
25987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25995 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25996 PyObject
*resultobj
= 0;
25997 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26001 PyObject
*swig_obj
[1] ;
26003 if (!args
) SWIG_fail
;
26004 swig_obj
[0] = args
;
26005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26006 if (!SWIG_IsOK(res1
)) {
26007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26009 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26012 result
= (bool)(arg1
)->HasFont();
26013 wxPyEndAllowThreads(__tstate
);
26014 if (PyErr_Occurred()) SWIG_fail
;
26017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26025 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26026 PyObject
*resultobj
= 0;
26027 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26031 PyObject
*swig_obj
[1] ;
26033 if (!args
) SWIG_fail
;
26034 swig_obj
[0] = args
;
26035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26036 if (!SWIG_IsOK(res1
)) {
26037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26039 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26042 result
= (arg1
)->GetTextColour();
26043 wxPyEndAllowThreads(__tstate
);
26044 if (PyErr_Occurred()) SWIG_fail
;
26046 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26053 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26054 PyObject
*resultobj
= 0;
26055 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26059 PyObject
*swig_obj
[1] ;
26061 if (!args
) SWIG_fail
;
26062 swig_obj
[0] = args
;
26063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26064 if (!SWIG_IsOK(res1
)) {
26065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26067 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26070 result
= (arg1
)->GetBackgroundColour();
26071 wxPyEndAllowThreads(__tstate
);
26072 if (PyErr_Occurred()) SWIG_fail
;
26074 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26081 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26082 PyObject
*resultobj
= 0;
26083 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26087 PyObject
*swig_obj
[1] ;
26089 if (!args
) SWIG_fail
;
26090 swig_obj
[0] = args
;
26091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26092 if (!SWIG_IsOK(res1
)) {
26093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26095 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26098 result
= (arg1
)->GetFont();
26099 wxPyEndAllowThreads(__tstate
);
26100 if (PyErr_Occurred()) SWIG_fail
;
26102 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
26109 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26110 PyObject
*resultobj
= 0;
26111 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26112 wxListItemAttr
*arg2
= 0 ;
26117 PyObject
* obj0
= 0 ;
26118 PyObject
* obj1
= 0 ;
26119 char * kwnames
[] = {
26120 (char *) "self",(char *) "source", NULL
26123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26125 if (!SWIG_IsOK(res1
)) {
26126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26128 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26129 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
26130 if (!SWIG_IsOK(res2
)) {
26131 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26134 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26136 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
26138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26139 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
26140 wxPyEndAllowThreads(__tstate
);
26141 if (PyErr_Occurred()) SWIG_fail
;
26143 resultobj
= SWIG_Py_Void();
26150 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26151 PyObject
*resultobj
= 0;
26152 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26155 PyObject
*swig_obj
[1] ;
26157 if (!args
) SWIG_fail
;
26158 swig_obj
[0] = args
;
26159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26160 if (!SWIG_IsOK(res1
)) {
26161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26163 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26166 wxListItemAttr_Destroy(arg1
);
26167 wxPyEndAllowThreads(__tstate
);
26168 if (PyErr_Occurred()) SWIG_fail
;
26170 resultobj
= SWIG_Py_Void();
26177 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26179 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26180 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
26181 return SWIG_Py_Void();
26184 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26185 return SWIG_Python_InitShadowInstance(args
);
26188 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26189 PyObject
*resultobj
= 0;
26190 wxListItem
*result
= 0 ;
26192 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
26194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26195 result
= (wxListItem
*)new wxListItem();
26196 wxPyEndAllowThreads(__tstate
);
26197 if (PyErr_Occurred()) SWIG_fail
;
26200 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
26208 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26209 PyObject
*resultobj
= 0;
26210 wxListItem
*arg1
= (wxListItem
*) 0 ;
26213 PyObject
*swig_obj
[1] ;
26215 if (!args
) SWIG_fail
;
26216 swig_obj
[0] = args
;
26217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
26218 if (!SWIG_IsOK(res1
)) {
26219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26221 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26226 wxPyEndAllowThreads(__tstate
);
26227 if (PyErr_Occurred()) SWIG_fail
;
26229 resultobj
= SWIG_Py_Void();
26236 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26237 PyObject
*resultobj
= 0;
26238 wxListItem
*arg1
= (wxListItem
*) 0 ;
26241 PyObject
*swig_obj
[1] ;
26243 if (!args
) SWIG_fail
;
26244 swig_obj
[0] = args
;
26245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26246 if (!SWIG_IsOK(res1
)) {
26247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26249 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26253 wxPyEndAllowThreads(__tstate
);
26254 if (PyErr_Occurred()) SWIG_fail
;
26256 resultobj
= SWIG_Py_Void();
26263 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26264 PyObject
*resultobj
= 0;
26265 wxListItem
*arg1
= (wxListItem
*) 0 ;
26268 PyObject
*swig_obj
[1] ;
26270 if (!args
) SWIG_fail
;
26271 swig_obj
[0] = args
;
26272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26273 if (!SWIG_IsOK(res1
)) {
26274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26276 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26279 (arg1
)->ClearAttributes();
26280 wxPyEndAllowThreads(__tstate
);
26281 if (PyErr_Occurred()) SWIG_fail
;
26283 resultobj
= SWIG_Py_Void();
26290 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26291 PyObject
*resultobj
= 0;
26292 wxListItem
*arg1
= (wxListItem
*) 0 ;
26298 PyObject
* obj0
= 0 ;
26299 PyObject
* obj1
= 0 ;
26300 char * kwnames
[] = {
26301 (char *) "self",(char *) "mask", NULL
26304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26306 if (!SWIG_IsOK(res1
)) {
26307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26309 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26310 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26311 if (!SWIG_IsOK(ecode2
)) {
26312 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26314 arg2
= static_cast< long >(val2
);
26316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26317 (arg1
)->SetMask(arg2
);
26318 wxPyEndAllowThreads(__tstate
);
26319 if (PyErr_Occurred()) SWIG_fail
;
26321 resultobj
= SWIG_Py_Void();
26328 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26329 PyObject
*resultobj
= 0;
26330 wxListItem
*arg1
= (wxListItem
*) 0 ;
26336 PyObject
* obj0
= 0 ;
26337 PyObject
* obj1
= 0 ;
26338 char * kwnames
[] = {
26339 (char *) "self",(char *) "id", NULL
26342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26344 if (!SWIG_IsOK(res1
)) {
26345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26347 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26348 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26349 if (!SWIG_IsOK(ecode2
)) {
26350 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26352 arg2
= static_cast< long >(val2
);
26354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26355 (arg1
)->SetId(arg2
);
26356 wxPyEndAllowThreads(__tstate
);
26357 if (PyErr_Occurred()) SWIG_fail
;
26359 resultobj
= SWIG_Py_Void();
26366 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26367 PyObject
*resultobj
= 0;
26368 wxListItem
*arg1
= (wxListItem
*) 0 ;
26374 PyObject
* obj0
= 0 ;
26375 PyObject
* obj1
= 0 ;
26376 char * kwnames
[] = {
26377 (char *) "self",(char *) "col", NULL
26380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26382 if (!SWIG_IsOK(res1
)) {
26383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26385 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26386 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26387 if (!SWIG_IsOK(ecode2
)) {
26388 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26390 arg2
= static_cast< int >(val2
);
26392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26393 (arg1
)->SetColumn(arg2
);
26394 wxPyEndAllowThreads(__tstate
);
26395 if (PyErr_Occurred()) SWIG_fail
;
26397 resultobj
= SWIG_Py_Void();
26404 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26405 PyObject
*resultobj
= 0;
26406 wxListItem
*arg1
= (wxListItem
*) 0 ;
26412 PyObject
* obj0
= 0 ;
26413 PyObject
* obj1
= 0 ;
26414 char * kwnames
[] = {
26415 (char *) "self",(char *) "state", NULL
26418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26420 if (!SWIG_IsOK(res1
)) {
26421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26423 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26424 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26425 if (!SWIG_IsOK(ecode2
)) {
26426 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26428 arg2
= static_cast< long >(val2
);
26430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26431 (arg1
)->SetState(arg2
);
26432 wxPyEndAllowThreads(__tstate
);
26433 if (PyErr_Occurred()) SWIG_fail
;
26435 resultobj
= SWIG_Py_Void();
26442 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26443 PyObject
*resultobj
= 0;
26444 wxListItem
*arg1
= (wxListItem
*) 0 ;
26450 PyObject
* obj0
= 0 ;
26451 PyObject
* obj1
= 0 ;
26452 char * kwnames
[] = {
26453 (char *) "self",(char *) "stateMask", NULL
26456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26458 if (!SWIG_IsOK(res1
)) {
26459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26461 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26462 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26463 if (!SWIG_IsOK(ecode2
)) {
26464 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26466 arg2
= static_cast< long >(val2
);
26468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26469 (arg1
)->SetStateMask(arg2
);
26470 wxPyEndAllowThreads(__tstate
);
26471 if (PyErr_Occurred()) SWIG_fail
;
26473 resultobj
= SWIG_Py_Void();
26480 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26481 PyObject
*resultobj
= 0;
26482 wxListItem
*arg1
= (wxListItem
*) 0 ;
26483 wxString
*arg2
= 0 ;
26486 bool temp2
= false ;
26487 PyObject
* obj0
= 0 ;
26488 PyObject
* obj1
= 0 ;
26489 char * kwnames
[] = {
26490 (char *) "self",(char *) "text", NULL
26493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26495 if (!SWIG_IsOK(res1
)) {
26496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26498 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26500 arg2
= wxString_in_helper(obj1
);
26501 if (arg2
== NULL
) SWIG_fail
;
26505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26506 (arg1
)->SetText((wxString
const &)*arg2
);
26507 wxPyEndAllowThreads(__tstate
);
26508 if (PyErr_Occurred()) SWIG_fail
;
26510 resultobj
= SWIG_Py_Void();
26525 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26526 PyObject
*resultobj
= 0;
26527 wxListItem
*arg1
= (wxListItem
*) 0 ;
26533 PyObject
* obj0
= 0 ;
26534 PyObject
* obj1
= 0 ;
26535 char * kwnames
[] = {
26536 (char *) "self",(char *) "image", NULL
26539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26541 if (!SWIG_IsOK(res1
)) {
26542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26544 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26545 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26546 if (!SWIG_IsOK(ecode2
)) {
26547 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26549 arg2
= static_cast< int >(val2
);
26551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26552 (arg1
)->SetImage(arg2
);
26553 wxPyEndAllowThreads(__tstate
);
26554 if (PyErr_Occurred()) SWIG_fail
;
26556 resultobj
= SWIG_Py_Void();
26563 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26564 PyObject
*resultobj
= 0;
26565 wxListItem
*arg1
= (wxListItem
*) 0 ;
26571 PyObject
* obj0
= 0 ;
26572 PyObject
* obj1
= 0 ;
26573 char * kwnames
[] = {
26574 (char *) "self",(char *) "data", NULL
26577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26579 if (!SWIG_IsOK(res1
)) {
26580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26582 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26583 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26584 if (!SWIG_IsOK(ecode2
)) {
26585 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26587 arg2
= static_cast< long >(val2
);
26589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26590 (arg1
)->SetData(arg2
);
26591 wxPyEndAllowThreads(__tstate
);
26592 if (PyErr_Occurred()) SWIG_fail
;
26594 resultobj
= SWIG_Py_Void();
26601 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26602 PyObject
*resultobj
= 0;
26603 wxListItem
*arg1
= (wxListItem
*) 0 ;
26609 PyObject
* obj0
= 0 ;
26610 PyObject
* obj1
= 0 ;
26611 char * kwnames
[] = {
26612 (char *) "self",(char *) "width", NULL
26615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26617 if (!SWIG_IsOK(res1
)) {
26618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26620 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26621 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26622 if (!SWIG_IsOK(ecode2
)) {
26623 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
26625 arg2
= static_cast< int >(val2
);
26627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26628 (arg1
)->SetWidth(arg2
);
26629 wxPyEndAllowThreads(__tstate
);
26630 if (PyErr_Occurred()) SWIG_fail
;
26632 resultobj
= SWIG_Py_Void();
26639 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26640 PyObject
*resultobj
= 0;
26641 wxListItem
*arg1
= (wxListItem
*) 0 ;
26642 wxListColumnFormat arg2
;
26647 PyObject
* obj0
= 0 ;
26648 PyObject
* obj1
= 0 ;
26649 char * kwnames
[] = {
26650 (char *) "self",(char *) "align", NULL
26653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26655 if (!SWIG_IsOK(res1
)) {
26656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26658 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26659 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26660 if (!SWIG_IsOK(ecode2
)) {
26661 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
26663 arg2
= static_cast< wxListColumnFormat
>(val2
);
26665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26666 (arg1
)->SetAlign(arg2
);
26667 wxPyEndAllowThreads(__tstate
);
26668 if (PyErr_Occurred()) SWIG_fail
;
26670 resultobj
= SWIG_Py_Void();
26677 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26678 PyObject
*resultobj
= 0;
26679 wxListItem
*arg1
= (wxListItem
*) 0 ;
26680 wxColour
*arg2
= 0 ;
26684 PyObject
* obj0
= 0 ;
26685 PyObject
* obj1
= 0 ;
26686 char * kwnames
[] = {
26687 (char *) "self",(char *) "colText", NULL
26690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26692 if (!SWIG_IsOK(res1
)) {
26693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26695 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26698 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26702 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26703 wxPyEndAllowThreads(__tstate
);
26704 if (PyErr_Occurred()) SWIG_fail
;
26706 resultobj
= SWIG_Py_Void();
26713 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26714 PyObject
*resultobj
= 0;
26715 wxListItem
*arg1
= (wxListItem
*) 0 ;
26716 wxColour
*arg2
= 0 ;
26720 PyObject
* obj0
= 0 ;
26721 PyObject
* obj1
= 0 ;
26722 char * kwnames
[] = {
26723 (char *) "self",(char *) "colBack", NULL
26726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26728 if (!SWIG_IsOK(res1
)) {
26729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26731 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26734 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26738 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26739 wxPyEndAllowThreads(__tstate
);
26740 if (PyErr_Occurred()) SWIG_fail
;
26742 resultobj
= SWIG_Py_Void();
26749 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26750 PyObject
*resultobj
= 0;
26751 wxListItem
*arg1
= (wxListItem
*) 0 ;
26757 PyObject
* obj0
= 0 ;
26758 PyObject
* obj1
= 0 ;
26759 char * kwnames
[] = {
26760 (char *) "self",(char *) "font", NULL
26763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26765 if (!SWIG_IsOK(res1
)) {
26766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
26768 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26769 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26770 if (!SWIG_IsOK(res2
)) {
26771 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26774 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26776 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26779 (arg1
)->SetFont((wxFont
const &)*arg2
);
26780 wxPyEndAllowThreads(__tstate
);
26781 if (PyErr_Occurred()) SWIG_fail
;
26783 resultobj
= SWIG_Py_Void();
26790 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26791 PyObject
*resultobj
= 0;
26792 wxListItem
*arg1
= (wxListItem
*) 0 ;
26796 PyObject
*swig_obj
[1] ;
26798 if (!args
) SWIG_fail
;
26799 swig_obj
[0] = args
;
26800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26801 if (!SWIG_IsOK(res1
)) {
26802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26804 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26807 result
= (long)(arg1
)->GetMask();
26808 wxPyEndAllowThreads(__tstate
);
26809 if (PyErr_Occurred()) SWIG_fail
;
26811 resultobj
= SWIG_From_long(static_cast< long >(result
));
26818 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26819 PyObject
*resultobj
= 0;
26820 wxListItem
*arg1
= (wxListItem
*) 0 ;
26824 PyObject
*swig_obj
[1] ;
26826 if (!args
) SWIG_fail
;
26827 swig_obj
[0] = args
;
26828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26829 if (!SWIG_IsOK(res1
)) {
26830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26832 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26835 result
= (long)(arg1
)->GetId();
26836 wxPyEndAllowThreads(__tstate
);
26837 if (PyErr_Occurred()) SWIG_fail
;
26839 resultobj
= SWIG_From_long(static_cast< long >(result
));
26846 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26847 PyObject
*resultobj
= 0;
26848 wxListItem
*arg1
= (wxListItem
*) 0 ;
26852 PyObject
*swig_obj
[1] ;
26854 if (!args
) SWIG_fail
;
26855 swig_obj
[0] = args
;
26856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26857 if (!SWIG_IsOK(res1
)) {
26858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26860 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26863 result
= (int)(arg1
)->GetColumn();
26864 wxPyEndAllowThreads(__tstate
);
26865 if (PyErr_Occurred()) SWIG_fail
;
26867 resultobj
= SWIG_From_int(static_cast< int >(result
));
26874 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26875 PyObject
*resultobj
= 0;
26876 wxListItem
*arg1
= (wxListItem
*) 0 ;
26880 PyObject
*swig_obj
[1] ;
26882 if (!args
) SWIG_fail
;
26883 swig_obj
[0] = args
;
26884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26885 if (!SWIG_IsOK(res1
)) {
26886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26888 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26891 result
= (long)(arg1
)->GetState();
26892 wxPyEndAllowThreads(__tstate
);
26893 if (PyErr_Occurred()) SWIG_fail
;
26895 resultobj
= SWIG_From_long(static_cast< long >(result
));
26902 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26903 PyObject
*resultobj
= 0;
26904 wxListItem
*arg1
= (wxListItem
*) 0 ;
26905 wxString
*result
= 0 ;
26908 PyObject
*swig_obj
[1] ;
26910 if (!args
) SWIG_fail
;
26911 swig_obj
[0] = args
;
26912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26913 if (!SWIG_IsOK(res1
)) {
26914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26916 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26920 wxString
const &_result_ref
= (arg1
)->GetText();
26921 result
= (wxString
*) &_result_ref
;
26923 wxPyEndAllowThreads(__tstate
);
26924 if (PyErr_Occurred()) SWIG_fail
;
26928 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
26930 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
26939 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26940 PyObject
*resultobj
= 0;
26941 wxListItem
*arg1
= (wxListItem
*) 0 ;
26945 PyObject
*swig_obj
[1] ;
26947 if (!args
) SWIG_fail
;
26948 swig_obj
[0] = args
;
26949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26950 if (!SWIG_IsOK(res1
)) {
26951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26953 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26956 result
= (int)(arg1
)->GetImage();
26957 wxPyEndAllowThreads(__tstate
);
26958 if (PyErr_Occurred()) SWIG_fail
;
26960 resultobj
= SWIG_From_int(static_cast< int >(result
));
26967 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26968 PyObject
*resultobj
= 0;
26969 wxListItem
*arg1
= (wxListItem
*) 0 ;
26973 PyObject
*swig_obj
[1] ;
26975 if (!args
) SWIG_fail
;
26976 swig_obj
[0] = args
;
26977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26978 if (!SWIG_IsOK(res1
)) {
26979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26981 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26984 result
= (long)(arg1
)->GetData();
26985 wxPyEndAllowThreads(__tstate
);
26986 if (PyErr_Occurred()) SWIG_fail
;
26988 resultobj
= SWIG_From_long(static_cast< long >(result
));
26995 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26996 PyObject
*resultobj
= 0;
26997 wxListItem
*arg1
= (wxListItem
*) 0 ;
27001 PyObject
*swig_obj
[1] ;
27003 if (!args
) SWIG_fail
;
27004 swig_obj
[0] = args
;
27005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27006 if (!SWIG_IsOK(res1
)) {
27007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27009 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27012 result
= (int)(arg1
)->GetWidth();
27013 wxPyEndAllowThreads(__tstate
);
27014 if (PyErr_Occurred()) SWIG_fail
;
27016 resultobj
= SWIG_From_int(static_cast< int >(result
));
27023 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27024 PyObject
*resultobj
= 0;
27025 wxListItem
*arg1
= (wxListItem
*) 0 ;
27026 wxListColumnFormat result
;
27029 PyObject
*swig_obj
[1] ;
27031 if (!args
) SWIG_fail
;
27032 swig_obj
[0] = args
;
27033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27034 if (!SWIG_IsOK(res1
)) {
27035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27037 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27040 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
27041 wxPyEndAllowThreads(__tstate
);
27042 if (PyErr_Occurred()) SWIG_fail
;
27044 resultobj
= SWIG_From_int(static_cast< int >(result
));
27051 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27052 PyObject
*resultobj
= 0;
27053 wxListItem
*arg1
= (wxListItem
*) 0 ;
27054 wxListItemAttr
*result
= 0 ;
27057 PyObject
*swig_obj
[1] ;
27059 if (!args
) SWIG_fail
;
27060 swig_obj
[0] = args
;
27061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27062 if (!SWIG_IsOK(res1
)) {
27063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27065 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27068 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
27069 wxPyEndAllowThreads(__tstate
);
27070 if (PyErr_Occurred()) SWIG_fail
;
27072 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
27079 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27080 PyObject
*resultobj
= 0;
27081 wxListItem
*arg1
= (wxListItem
*) 0 ;
27085 PyObject
*swig_obj
[1] ;
27087 if (!args
) SWIG_fail
;
27088 swig_obj
[0] = args
;
27089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27090 if (!SWIG_IsOK(res1
)) {
27091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27093 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27096 result
= (bool)(arg1
)->HasAttributes();
27097 wxPyEndAllowThreads(__tstate
);
27098 if (PyErr_Occurred()) SWIG_fail
;
27101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27109 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27110 PyObject
*resultobj
= 0;
27111 wxListItem
*arg1
= (wxListItem
*) 0 ;
27115 PyObject
*swig_obj
[1] ;
27117 if (!args
) SWIG_fail
;
27118 swig_obj
[0] = args
;
27119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27120 if (!SWIG_IsOK(res1
)) {
27121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27123 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27126 result
= ((wxListItem
const *)arg1
)->GetTextColour();
27127 wxPyEndAllowThreads(__tstate
);
27128 if (PyErr_Occurred()) SWIG_fail
;
27130 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27137 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27138 PyObject
*resultobj
= 0;
27139 wxListItem
*arg1
= (wxListItem
*) 0 ;
27143 PyObject
*swig_obj
[1] ;
27145 if (!args
) SWIG_fail
;
27146 swig_obj
[0] = args
;
27147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27148 if (!SWIG_IsOK(res1
)) {
27149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27151 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27154 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
27155 wxPyEndAllowThreads(__tstate
);
27156 if (PyErr_Occurred()) SWIG_fail
;
27158 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27165 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27166 PyObject
*resultobj
= 0;
27167 wxListItem
*arg1
= (wxListItem
*) 0 ;
27171 PyObject
*swig_obj
[1] ;
27173 if (!args
) SWIG_fail
;
27174 swig_obj
[0] = args
;
27175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27176 if (!SWIG_IsOK(res1
)) {
27177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27179 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27182 result
= ((wxListItem
const *)arg1
)->GetFont();
27183 wxPyEndAllowThreads(__tstate
);
27184 if (PyErr_Occurred()) SWIG_fail
;
27186 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
27193 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27194 PyObject
*resultobj
= 0;
27195 wxListItem
*arg1
= (wxListItem
*) 0 ;
27201 PyObject
*swig_obj
[2] ;
27203 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
27204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27205 if (!SWIG_IsOK(res1
)) {
27206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27208 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27209 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27210 if (!SWIG_IsOK(ecode2
)) {
27211 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27213 arg2
= static_cast< long >(val2
);
27214 if (arg1
) (arg1
)->m_mask
= arg2
;
27216 resultobj
= SWIG_Py_Void();
27223 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27224 PyObject
*resultobj
= 0;
27225 wxListItem
*arg1
= (wxListItem
*) 0 ;
27229 PyObject
*swig_obj
[1] ;
27231 if (!args
) SWIG_fail
;
27232 swig_obj
[0] = args
;
27233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27234 if (!SWIG_IsOK(res1
)) {
27235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27237 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27238 result
= (long) ((arg1
)->m_mask
);
27239 resultobj
= SWIG_From_long(static_cast< long >(result
));
27246 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27247 PyObject
*resultobj
= 0;
27248 wxListItem
*arg1
= (wxListItem
*) 0 ;
27254 PyObject
*swig_obj
[2] ;
27256 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27258 if (!SWIG_IsOK(res1
)) {
27259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27261 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27262 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27263 if (!SWIG_IsOK(ecode2
)) {
27264 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27266 arg2
= static_cast< long >(val2
);
27267 if (arg1
) (arg1
)->m_itemId
= arg2
;
27269 resultobj
= SWIG_Py_Void();
27276 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27277 PyObject
*resultobj
= 0;
27278 wxListItem
*arg1
= (wxListItem
*) 0 ;
27282 PyObject
*swig_obj
[1] ;
27284 if (!args
) SWIG_fail
;
27285 swig_obj
[0] = args
;
27286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27287 if (!SWIG_IsOK(res1
)) {
27288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27290 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27291 result
= (long) ((arg1
)->m_itemId
);
27292 resultobj
= SWIG_From_long(static_cast< long >(result
));
27299 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27300 PyObject
*resultobj
= 0;
27301 wxListItem
*arg1
= (wxListItem
*) 0 ;
27307 PyObject
*swig_obj
[2] ;
27309 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27311 if (!SWIG_IsOK(res1
)) {
27312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27314 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27315 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27316 if (!SWIG_IsOK(ecode2
)) {
27317 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27319 arg2
= static_cast< int >(val2
);
27320 if (arg1
) (arg1
)->m_col
= arg2
;
27322 resultobj
= SWIG_Py_Void();
27329 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27330 PyObject
*resultobj
= 0;
27331 wxListItem
*arg1
= (wxListItem
*) 0 ;
27335 PyObject
*swig_obj
[1] ;
27337 if (!args
) SWIG_fail
;
27338 swig_obj
[0] = args
;
27339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27340 if (!SWIG_IsOK(res1
)) {
27341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27343 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27344 result
= (int) ((arg1
)->m_col
);
27345 resultobj
= SWIG_From_int(static_cast< int >(result
));
27352 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27353 PyObject
*resultobj
= 0;
27354 wxListItem
*arg1
= (wxListItem
*) 0 ;
27360 PyObject
*swig_obj
[2] ;
27362 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27364 if (!SWIG_IsOK(res1
)) {
27365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27367 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27368 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27369 if (!SWIG_IsOK(ecode2
)) {
27370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27372 arg2
= static_cast< long >(val2
);
27373 if (arg1
) (arg1
)->m_state
= arg2
;
27375 resultobj
= SWIG_Py_Void();
27382 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27383 PyObject
*resultobj
= 0;
27384 wxListItem
*arg1
= (wxListItem
*) 0 ;
27388 PyObject
*swig_obj
[1] ;
27390 if (!args
) SWIG_fail
;
27391 swig_obj
[0] = args
;
27392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27393 if (!SWIG_IsOK(res1
)) {
27394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27396 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27397 result
= (long) ((arg1
)->m_state
);
27398 resultobj
= SWIG_From_long(static_cast< long >(result
));
27405 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27406 PyObject
*resultobj
= 0;
27407 wxListItem
*arg1
= (wxListItem
*) 0 ;
27413 PyObject
*swig_obj
[2] ;
27415 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
27416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27417 if (!SWIG_IsOK(res1
)) {
27418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27420 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27421 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27422 if (!SWIG_IsOK(ecode2
)) {
27423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27425 arg2
= static_cast< long >(val2
);
27426 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27428 resultobj
= SWIG_Py_Void();
27435 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27436 PyObject
*resultobj
= 0;
27437 wxListItem
*arg1
= (wxListItem
*) 0 ;
27441 PyObject
*swig_obj
[1] ;
27443 if (!args
) SWIG_fail
;
27444 swig_obj
[0] = args
;
27445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27446 if (!SWIG_IsOK(res1
)) {
27447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27449 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27450 result
= (long) ((arg1
)->m_stateMask
);
27451 resultobj
= SWIG_From_long(static_cast< long >(result
));
27458 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27459 PyObject
*resultobj
= 0;
27460 wxListItem
*arg1
= (wxListItem
*) 0 ;
27461 wxString
*arg2
= (wxString
*) 0 ;
27464 bool temp2
= false ;
27465 PyObject
*swig_obj
[2] ;
27467 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
27468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27469 if (!SWIG_IsOK(res1
)) {
27470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27472 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27474 arg2
= wxString_in_helper(swig_obj
[1]);
27475 if (arg2
== NULL
) SWIG_fail
;
27478 if (arg1
) (arg1
)->m_text
= *arg2
;
27480 resultobj
= SWIG_Py_Void();
27495 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27496 PyObject
*resultobj
= 0;
27497 wxListItem
*arg1
= (wxListItem
*) 0 ;
27498 wxString
*result
= 0 ;
27501 PyObject
*swig_obj
[1] ;
27503 if (!args
) SWIG_fail
;
27504 swig_obj
[0] = args
;
27505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27506 if (!SWIG_IsOK(res1
)) {
27507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27509 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27510 result
= (wxString
*)& ((arg1
)->m_text
);
27513 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27515 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27524 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27525 PyObject
*resultobj
= 0;
27526 wxListItem
*arg1
= (wxListItem
*) 0 ;
27532 PyObject
*swig_obj
[2] ;
27534 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
27535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27536 if (!SWIG_IsOK(res1
)) {
27537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27539 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27540 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27541 if (!SWIG_IsOK(ecode2
)) {
27542 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27544 arg2
= static_cast< int >(val2
);
27545 if (arg1
) (arg1
)->m_image
= arg2
;
27547 resultobj
= SWIG_Py_Void();
27554 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27555 PyObject
*resultobj
= 0;
27556 wxListItem
*arg1
= (wxListItem
*) 0 ;
27560 PyObject
*swig_obj
[1] ;
27562 if (!args
) SWIG_fail
;
27563 swig_obj
[0] = args
;
27564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27565 if (!SWIG_IsOK(res1
)) {
27566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27568 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27569 result
= (int) ((arg1
)->m_image
);
27570 resultobj
= SWIG_From_int(static_cast< int >(result
));
27577 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27578 PyObject
*resultobj
= 0;
27579 wxListItem
*arg1
= (wxListItem
*) 0 ;
27585 PyObject
*swig_obj
[2] ;
27587 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
27588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27589 if (!SWIG_IsOK(res1
)) {
27590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27592 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27593 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27594 if (!SWIG_IsOK(ecode2
)) {
27595 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27597 arg2
= static_cast< long >(val2
);
27598 if (arg1
) (arg1
)->m_data
= arg2
;
27600 resultobj
= SWIG_Py_Void();
27607 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27608 PyObject
*resultobj
= 0;
27609 wxListItem
*arg1
= (wxListItem
*) 0 ;
27613 PyObject
*swig_obj
[1] ;
27615 if (!args
) SWIG_fail
;
27616 swig_obj
[0] = args
;
27617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27618 if (!SWIG_IsOK(res1
)) {
27619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27621 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27622 result
= (long) ((arg1
)->m_data
);
27623 resultobj
= SWIG_From_long(static_cast< long >(result
));
27630 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27631 PyObject
*resultobj
= 0;
27632 wxListItem
*arg1
= (wxListItem
*) 0 ;
27638 PyObject
*swig_obj
[2] ;
27640 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
27641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27642 if (!SWIG_IsOK(res1
)) {
27643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27645 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27646 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27647 if (!SWIG_IsOK(ecode2
)) {
27648 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
27650 arg2
= static_cast< int >(val2
);
27651 if (arg1
) (arg1
)->m_format
= arg2
;
27653 resultobj
= SWIG_Py_Void();
27660 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27661 PyObject
*resultobj
= 0;
27662 wxListItem
*arg1
= (wxListItem
*) 0 ;
27666 PyObject
*swig_obj
[1] ;
27668 if (!args
) SWIG_fail
;
27669 swig_obj
[0] = args
;
27670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27671 if (!SWIG_IsOK(res1
)) {
27672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27674 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27675 result
= (int) ((arg1
)->m_format
);
27676 resultobj
= SWIG_From_int(static_cast< int >(result
));
27683 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27684 PyObject
*resultobj
= 0;
27685 wxListItem
*arg1
= (wxListItem
*) 0 ;
27691 PyObject
*swig_obj
[2] ;
27693 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
27694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27695 if (!SWIG_IsOK(res1
)) {
27696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27698 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27699 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27700 if (!SWIG_IsOK(ecode2
)) {
27701 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
27703 arg2
= static_cast< int >(val2
);
27704 if (arg1
) (arg1
)->m_width
= arg2
;
27706 resultobj
= SWIG_Py_Void();
27713 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27714 PyObject
*resultobj
= 0;
27715 wxListItem
*arg1
= (wxListItem
*) 0 ;
27719 PyObject
*swig_obj
[1] ;
27721 if (!args
) SWIG_fail
;
27722 swig_obj
[0] = args
;
27723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27724 if (!SWIG_IsOK(res1
)) {
27725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27727 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27728 result
= (int) ((arg1
)->m_width
);
27729 resultobj
= SWIG_From_int(static_cast< int >(result
));
27736 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27738 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27739 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
27740 return SWIG_Py_Void();
27743 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27744 return SWIG_Python_InitShadowInstance(args
);
27747 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27748 PyObject
*resultobj
= 0;
27749 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27750 int arg2
= (int) 0 ;
27751 wxListEvent
*result
= 0 ;
27756 PyObject
* obj0
= 0 ;
27757 PyObject
* obj1
= 0 ;
27758 char * kwnames
[] = {
27759 (char *) "commandType",(char *) "id", NULL
27762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27764 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27765 if (!SWIG_IsOK(ecode1
)) {
27766 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
27768 arg1
= static_cast< wxEventType
>(val1
);
27771 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27772 if (!SWIG_IsOK(ecode2
)) {
27773 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
27775 arg2
= static_cast< int >(val2
);
27778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27779 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
27780 wxPyEndAllowThreads(__tstate
);
27781 if (PyErr_Occurred()) SWIG_fail
;
27783 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
27790 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27791 PyObject
*resultobj
= 0;
27792 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27798 PyObject
*swig_obj
[2] ;
27800 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
27801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27802 if (!SWIG_IsOK(res1
)) {
27803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27805 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27806 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27807 if (!SWIG_IsOK(ecode2
)) {
27808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
27810 arg2
= static_cast< int >(val2
);
27811 if (arg1
) (arg1
)->m_code
= arg2
;
27813 resultobj
= SWIG_Py_Void();
27820 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27821 PyObject
*resultobj
= 0;
27822 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27826 PyObject
*swig_obj
[1] ;
27828 if (!args
) SWIG_fail
;
27829 swig_obj
[0] = args
;
27830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27831 if (!SWIG_IsOK(res1
)) {
27832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27834 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27835 result
= (int) ((arg1
)->m_code
);
27836 resultobj
= SWIG_From_int(static_cast< int >(result
));
27843 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27844 PyObject
*resultobj
= 0;
27845 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27851 PyObject
*swig_obj
[2] ;
27853 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27855 if (!SWIG_IsOK(res1
)) {
27856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27858 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27859 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27860 if (!SWIG_IsOK(ecode2
)) {
27861 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
27863 arg2
= static_cast< long >(val2
);
27864 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
27866 resultobj
= SWIG_Py_Void();
27873 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27874 PyObject
*resultobj
= 0;
27875 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27879 PyObject
*swig_obj
[1] ;
27881 if (!args
) SWIG_fail
;
27882 swig_obj
[0] = args
;
27883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27884 if (!SWIG_IsOK(res1
)) {
27885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27887 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27888 result
= (long) ((arg1
)->m_oldItemIndex
);
27889 resultobj
= SWIG_From_long(static_cast< long >(result
));
27896 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27897 PyObject
*resultobj
= 0;
27898 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27904 PyObject
*swig_obj
[2] ;
27906 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27908 if (!SWIG_IsOK(res1
)) {
27909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27911 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27912 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27913 if (!SWIG_IsOK(ecode2
)) {
27914 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
27916 arg2
= static_cast< long >(val2
);
27917 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
27919 resultobj
= SWIG_Py_Void();
27926 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27927 PyObject
*resultobj
= 0;
27928 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27932 PyObject
*swig_obj
[1] ;
27934 if (!args
) SWIG_fail
;
27935 swig_obj
[0] = args
;
27936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27937 if (!SWIG_IsOK(res1
)) {
27938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27940 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27941 result
= (long) ((arg1
)->m_itemIndex
);
27942 resultobj
= SWIG_From_long(static_cast< long >(result
));
27949 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27950 PyObject
*resultobj
= 0;
27951 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27957 PyObject
*swig_obj
[2] ;
27959 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27961 if (!SWIG_IsOK(res1
)) {
27962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27964 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27965 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27966 if (!SWIG_IsOK(ecode2
)) {
27967 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
27969 arg2
= static_cast< int >(val2
);
27970 if (arg1
) (arg1
)->m_col
= arg2
;
27972 resultobj
= SWIG_Py_Void();
27979 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27980 PyObject
*resultobj
= 0;
27981 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27985 PyObject
*swig_obj
[1] ;
27987 if (!args
) SWIG_fail
;
27988 swig_obj
[0] = args
;
27989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27990 if (!SWIG_IsOK(res1
)) {
27991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27993 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27994 result
= (int) ((arg1
)->m_col
);
27995 resultobj
= SWIG_From_int(static_cast< int >(result
));
28002 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28003 PyObject
*resultobj
= 0;
28004 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28005 wxPoint
*arg2
= (wxPoint
*) 0 ;
28010 PyObject
*swig_obj
[2] ;
28012 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
28013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28014 if (!SWIG_IsOK(res1
)) {
28015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28017 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28018 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
28019 if (!SWIG_IsOK(res2
)) {
28020 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
28022 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
28023 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
28025 resultobj
= SWIG_Py_Void();
28032 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28033 PyObject
*resultobj
= 0;
28034 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28035 wxPoint
*result
= 0 ;
28038 PyObject
*swig_obj
[1] ;
28040 if (!args
) SWIG_fail
;
28041 swig_obj
[0] = args
;
28042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28043 if (!SWIG_IsOK(res1
)) {
28044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28046 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28047 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
28048 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
28055 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28056 PyObject
*resultobj
= 0;
28057 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28058 wxListItem
*result
= 0 ;
28061 PyObject
*swig_obj
[1] ;
28063 if (!args
) SWIG_fail
;
28064 swig_obj
[0] = args
;
28065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28066 if (!SWIG_IsOK(res1
)) {
28067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28069 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28070 result
= (wxListItem
*)& ((arg1
)->m_item
);
28072 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28080 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28081 PyObject
*resultobj
= 0;
28082 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28086 PyObject
*swig_obj
[1] ;
28088 if (!args
) SWIG_fail
;
28089 swig_obj
[0] = args
;
28090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28091 if (!SWIG_IsOK(res1
)) {
28092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28094 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28097 result
= (int)(arg1
)->GetKeyCode();
28098 wxPyEndAllowThreads(__tstate
);
28099 if (PyErr_Occurred()) SWIG_fail
;
28101 resultobj
= SWIG_From_int(static_cast< int >(result
));
28108 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28109 PyObject
*resultobj
= 0;
28110 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28114 PyObject
*swig_obj
[1] ;
28116 if (!args
) SWIG_fail
;
28117 swig_obj
[0] = args
;
28118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28119 if (!SWIG_IsOK(res1
)) {
28120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28122 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28125 result
= (long)(arg1
)->GetIndex();
28126 wxPyEndAllowThreads(__tstate
);
28127 if (PyErr_Occurred()) SWIG_fail
;
28129 resultobj
= SWIG_From_long(static_cast< long >(result
));
28136 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28137 PyObject
*resultobj
= 0;
28138 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28142 PyObject
*swig_obj
[1] ;
28144 if (!args
) SWIG_fail
;
28145 swig_obj
[0] = args
;
28146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28147 if (!SWIG_IsOK(res1
)) {
28148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28150 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28153 result
= (int)(arg1
)->GetColumn();
28154 wxPyEndAllowThreads(__tstate
);
28155 if (PyErr_Occurred()) SWIG_fail
;
28157 resultobj
= SWIG_From_int(static_cast< int >(result
));
28164 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28165 PyObject
*resultobj
= 0;
28166 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28170 PyObject
*swig_obj
[1] ;
28172 if (!args
) SWIG_fail
;
28173 swig_obj
[0] = args
;
28174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28175 if (!SWIG_IsOK(res1
)) {
28176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28178 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28181 result
= (arg1
)->GetPoint();
28182 wxPyEndAllowThreads(__tstate
);
28183 if (PyErr_Occurred()) SWIG_fail
;
28185 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
28192 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28193 PyObject
*resultobj
= 0;
28194 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28195 wxString
*result
= 0 ;
28198 PyObject
*swig_obj
[1] ;
28200 if (!args
) SWIG_fail
;
28201 swig_obj
[0] = args
;
28202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28203 if (!SWIG_IsOK(res1
)) {
28204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28206 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28210 wxString
const &_result_ref
= (arg1
)->GetLabel();
28211 result
= (wxString
*) &_result_ref
;
28213 wxPyEndAllowThreads(__tstate
);
28214 if (PyErr_Occurred()) SWIG_fail
;
28218 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28220 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28229 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28230 PyObject
*resultobj
= 0;
28231 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28232 wxString
*result
= 0 ;
28235 PyObject
*swig_obj
[1] ;
28237 if (!args
) SWIG_fail
;
28238 swig_obj
[0] = args
;
28239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28240 if (!SWIG_IsOK(res1
)) {
28241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28243 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28247 wxString
const &_result_ref
= (arg1
)->GetText();
28248 result
= (wxString
*) &_result_ref
;
28250 wxPyEndAllowThreads(__tstate
);
28251 if (PyErr_Occurred()) SWIG_fail
;
28255 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28257 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28266 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28267 PyObject
*resultobj
= 0;
28268 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28272 PyObject
*swig_obj
[1] ;
28274 if (!args
) SWIG_fail
;
28275 swig_obj
[0] = args
;
28276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28277 if (!SWIG_IsOK(res1
)) {
28278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28280 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28283 result
= (int)(arg1
)->GetImage();
28284 wxPyEndAllowThreads(__tstate
);
28285 if (PyErr_Occurred()) SWIG_fail
;
28287 resultobj
= SWIG_From_int(static_cast< int >(result
));
28294 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28295 PyObject
*resultobj
= 0;
28296 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28300 PyObject
*swig_obj
[1] ;
28302 if (!args
) SWIG_fail
;
28303 swig_obj
[0] = args
;
28304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28305 if (!SWIG_IsOK(res1
)) {
28306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28308 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28311 result
= (long)(arg1
)->GetData();
28312 wxPyEndAllowThreads(__tstate
);
28313 if (PyErr_Occurred()) SWIG_fail
;
28315 resultobj
= SWIG_From_long(static_cast< long >(result
));
28322 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28323 PyObject
*resultobj
= 0;
28324 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28328 PyObject
*swig_obj
[1] ;
28330 if (!args
) SWIG_fail
;
28331 swig_obj
[0] = args
;
28332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28333 if (!SWIG_IsOK(res1
)) {
28334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28336 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28339 result
= (long)(arg1
)->GetMask();
28340 wxPyEndAllowThreads(__tstate
);
28341 if (PyErr_Occurred()) SWIG_fail
;
28343 resultobj
= SWIG_From_long(static_cast< long >(result
));
28350 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28351 PyObject
*resultobj
= 0;
28352 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28353 wxListItem
*result
= 0 ;
28356 PyObject
*swig_obj
[1] ;
28358 if (!args
) SWIG_fail
;
28359 swig_obj
[0] = args
;
28360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28361 if (!SWIG_IsOK(res1
)) {
28362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28364 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28368 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28369 result
= (wxListItem
*) &_result_ref
;
28371 wxPyEndAllowThreads(__tstate
);
28372 if (PyErr_Occurred()) SWIG_fail
;
28374 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28381 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28382 PyObject
*resultobj
= 0;
28383 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28387 PyObject
*swig_obj
[1] ;
28389 if (!args
) SWIG_fail
;
28390 swig_obj
[0] = args
;
28391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28392 if (!SWIG_IsOK(res1
)) {
28393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28395 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28398 result
= (long)(arg1
)->GetCacheFrom();
28399 wxPyEndAllowThreads(__tstate
);
28400 if (PyErr_Occurred()) SWIG_fail
;
28402 resultobj
= SWIG_From_long(static_cast< long >(result
));
28409 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28410 PyObject
*resultobj
= 0;
28411 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28415 PyObject
*swig_obj
[1] ;
28417 if (!args
) SWIG_fail
;
28418 swig_obj
[0] = args
;
28419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28420 if (!SWIG_IsOK(res1
)) {
28421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28423 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28426 result
= (long)(arg1
)->GetCacheTo();
28427 wxPyEndAllowThreads(__tstate
);
28428 if (PyErr_Occurred()) SWIG_fail
;
28430 resultobj
= SWIG_From_long(static_cast< long >(result
));
28437 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28438 PyObject
*resultobj
= 0;
28439 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28443 PyObject
*swig_obj
[1] ;
28445 if (!args
) SWIG_fail
;
28446 swig_obj
[0] = args
;
28447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28448 if (!SWIG_IsOK(res1
)) {
28449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28451 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28454 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
28455 wxPyEndAllowThreads(__tstate
);
28456 if (PyErr_Occurred()) SWIG_fail
;
28459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28467 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28468 PyObject
*resultobj
= 0;
28469 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28475 PyObject
* obj0
= 0 ;
28476 PyObject
* obj1
= 0 ;
28477 char * kwnames
[] = {
28478 (char *) "self",(char *) "editCancelled", NULL
28481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28483 if (!SWIG_IsOK(res1
)) {
28484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28486 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28487 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28488 if (!SWIG_IsOK(ecode2
)) {
28489 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28491 arg2
= static_cast< bool >(val2
);
28493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28494 (arg1
)->SetEditCanceled(arg2
);
28495 wxPyEndAllowThreads(__tstate
);
28496 if (PyErr_Occurred()) SWIG_fail
;
28498 resultobj
= SWIG_Py_Void();
28505 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28507 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28508 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
28509 return SWIG_Py_Void();
28512 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28513 return SWIG_Python_InitShadowInstance(args
);
28516 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28517 PyObject
*resultobj
= 0;
28518 wxWindow
*arg1
= (wxWindow
*) 0 ;
28519 int arg2
= (int) -1 ;
28520 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28521 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28522 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28523 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28524 long arg5
= (long) wxLC_ICON
;
28525 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28526 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28527 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
28528 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28529 wxPyListCtrl
*result
= 0 ;
28540 bool temp7
= false ;
28541 PyObject
* obj0
= 0 ;
28542 PyObject
* obj1
= 0 ;
28543 PyObject
* obj2
= 0 ;
28544 PyObject
* obj3
= 0 ;
28545 PyObject
* obj4
= 0 ;
28546 PyObject
* obj5
= 0 ;
28547 PyObject
* obj6
= 0 ;
28548 char * kwnames
[] = {
28549 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28554 if (!SWIG_IsOK(res1
)) {
28555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28557 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28559 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28560 if (!SWIG_IsOK(ecode2
)) {
28561 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28563 arg2
= static_cast< int >(val2
);
28568 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28574 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28578 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28579 if (!SWIG_IsOK(ecode5
)) {
28580 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28582 arg5
= static_cast< long >(val5
);
28585 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
28586 if (!SWIG_IsOK(res6
)) {
28587 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28590 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28592 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
28596 arg7
= wxString_in_helper(obj6
);
28597 if (arg7
== NULL
) SWIG_fail
;
28602 if (!wxPyCheckForApp()) SWIG_fail
;
28603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28604 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28605 wxPyEndAllowThreads(__tstate
);
28606 if (PyErr_Occurred()) SWIG_fail
;
28608 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
28623 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28624 PyObject
*resultobj
= 0;
28625 wxPyListCtrl
*result
= 0 ;
28627 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
28629 if (!wxPyCheckForApp()) SWIG_fail
;
28630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28631 result
= (wxPyListCtrl
*)new wxPyListCtrl();
28632 wxPyEndAllowThreads(__tstate
);
28633 if (PyErr_Occurred()) SWIG_fail
;
28635 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
28642 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28643 PyObject
*resultobj
= 0;
28644 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28645 wxWindow
*arg2
= (wxWindow
*) 0 ;
28646 int arg3
= (int) -1 ;
28647 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28648 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28649 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28650 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28651 long arg6
= (long) wxLC_ICON
;
28652 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28653 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28654 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
28655 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28669 bool temp8
= false ;
28670 PyObject
* obj0
= 0 ;
28671 PyObject
* obj1
= 0 ;
28672 PyObject
* obj2
= 0 ;
28673 PyObject
* obj3
= 0 ;
28674 PyObject
* obj4
= 0 ;
28675 PyObject
* obj5
= 0 ;
28676 PyObject
* obj6
= 0 ;
28677 PyObject
* obj7
= 0 ;
28678 char * kwnames
[] = {
28679 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28684 if (!SWIG_IsOK(res1
)) {
28685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28687 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28688 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28689 if (!SWIG_IsOK(res2
)) {
28690 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
28692 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28694 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28695 if (!SWIG_IsOK(ecode3
)) {
28696 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
28698 arg3
= static_cast< int >(val3
);
28703 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28709 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28713 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28714 if (!SWIG_IsOK(ecode6
)) {
28715 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
28717 arg6
= static_cast< long >(val6
);
28720 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
28721 if (!SWIG_IsOK(res7
)) {
28722 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28725 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28727 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
28731 arg8
= wxString_in_helper(obj7
);
28732 if (arg8
== NULL
) SWIG_fail
;
28737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28738 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28739 wxPyEndAllowThreads(__tstate
);
28740 if (PyErr_Occurred()) SWIG_fail
;
28743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28759 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28760 PyObject
*resultobj
= 0;
28761 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28762 PyObject
*arg2
= (PyObject
*) 0 ;
28763 PyObject
*arg3
= (PyObject
*) 0 ;
28766 PyObject
* obj0
= 0 ;
28767 PyObject
* obj1
= 0 ;
28768 PyObject
* obj2
= 0 ;
28769 char * kwnames
[] = {
28770 (char *) "self",(char *) "self",(char *) "_class", NULL
28773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28775 if (!SWIG_IsOK(res1
)) {
28776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28778 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28783 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28784 wxPyEndAllowThreads(__tstate
);
28785 if (PyErr_Occurred()) SWIG_fail
;
28787 resultobj
= SWIG_Py_Void();
28794 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28795 PyObject
*resultobj
= 0;
28796 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28798 wxListItem
*result
= 0 ;
28803 PyObject
* obj0
= 0 ;
28804 PyObject
* obj1
= 0 ;
28805 char * kwnames
[] = {
28806 (char *) "self",(char *) "col", NULL
28809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28811 if (!SWIG_IsOK(res1
)) {
28812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28814 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28815 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28816 if (!SWIG_IsOK(ecode2
)) {
28817 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
28819 arg2
= static_cast< int >(val2
);
28821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28822 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
28823 wxPyEndAllowThreads(__tstate
);
28824 if (PyErr_Occurred()) SWIG_fail
;
28827 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28835 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28836 PyObject
*resultobj
= 0;
28837 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28839 wxListItem
*arg3
= 0 ;
28847 PyObject
* obj0
= 0 ;
28848 PyObject
* obj1
= 0 ;
28849 PyObject
* obj2
= 0 ;
28850 char * kwnames
[] = {
28851 (char *) "self",(char *) "col",(char *) "item", NULL
28854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28856 if (!SWIG_IsOK(res1
)) {
28857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28859 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28860 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28861 if (!SWIG_IsOK(ecode2
)) {
28862 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
28864 arg2
= static_cast< int >(val2
);
28865 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
28866 if (!SWIG_IsOK(res3
)) {
28867 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28870 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28872 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
28874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28875 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
28876 wxPyEndAllowThreads(__tstate
);
28877 if (PyErr_Occurred()) SWIG_fail
;
28880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28888 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28889 PyObject
*resultobj
= 0;
28890 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28897 PyObject
* obj0
= 0 ;
28898 PyObject
* obj1
= 0 ;
28899 char * kwnames
[] = {
28900 (char *) "self",(char *) "col", NULL
28903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28905 if (!SWIG_IsOK(res1
)) {
28906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28908 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28909 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28910 if (!SWIG_IsOK(ecode2
)) {
28911 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28913 arg2
= static_cast< int >(val2
);
28915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28916 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
28917 wxPyEndAllowThreads(__tstate
);
28918 if (PyErr_Occurred()) SWIG_fail
;
28920 resultobj
= SWIG_From_int(static_cast< int >(result
));
28927 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28928 PyObject
*resultobj
= 0;
28929 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28939 PyObject
* obj0
= 0 ;
28940 PyObject
* obj1
= 0 ;
28941 PyObject
* obj2
= 0 ;
28942 char * kwnames
[] = {
28943 (char *) "self",(char *) "col",(char *) "width", NULL
28946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28948 if (!SWIG_IsOK(res1
)) {
28949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28951 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28952 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28953 if (!SWIG_IsOK(ecode2
)) {
28954 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28956 arg2
= static_cast< int >(val2
);
28957 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28958 if (!SWIG_IsOK(ecode3
)) {
28959 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
28961 arg3
= static_cast< int >(val3
);
28963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28964 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
28965 wxPyEndAllowThreads(__tstate
);
28966 if (PyErr_Occurred()) SWIG_fail
;
28969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28977 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28978 PyObject
*resultobj
= 0;
28979 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28983 PyObject
*swig_obj
[1] ;
28985 if (!args
) SWIG_fail
;
28986 swig_obj
[0] = args
;
28987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28988 if (!SWIG_IsOK(res1
)) {
28989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28991 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28994 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
28995 wxPyEndAllowThreads(__tstate
);
28996 if (PyErr_Occurred()) SWIG_fail
;
28998 resultobj
= SWIG_From_int(static_cast< int >(result
));
29005 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29006 PyObject
*resultobj
= 0;
29007 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29011 PyObject
*swig_obj
[1] ;
29013 if (!args
) SWIG_fail
;
29014 swig_obj
[0] = args
;
29015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29016 if (!SWIG_IsOK(res1
)) {
29017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29019 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29022 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
29023 wxPyEndAllowThreads(__tstate
);
29024 if (PyErr_Occurred()) SWIG_fail
;
29026 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29033 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29034 PyObject
*resultobj
= 0;
29035 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29036 wxTextCtrl
*result
= 0 ;
29039 PyObject
*swig_obj
[1] ;
29041 if (!args
) SWIG_fail
;
29042 swig_obj
[0] = args
;
29043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29044 if (!SWIG_IsOK(res1
)) {
29045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29047 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29050 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
29051 wxPyEndAllowThreads(__tstate
);
29052 if (PyErr_Occurred()) SWIG_fail
;
29055 resultobj
= wxPyMake_wxObject(result
, 0);
29063 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29064 PyObject
*resultobj
= 0;
29065 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29067 int arg3
= (int) 0 ;
29068 wxListItem
*result
= 0 ;
29075 PyObject
* obj0
= 0 ;
29076 PyObject
* obj1
= 0 ;
29077 PyObject
* obj2
= 0 ;
29078 char * kwnames
[] = {
29079 (char *) "self",(char *) "itemId",(char *) "col", NULL
29082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29084 if (!SWIG_IsOK(res1
)) {
29085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29087 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29088 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29089 if (!SWIG_IsOK(ecode2
)) {
29090 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29092 arg2
= static_cast< long >(val2
);
29094 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29095 if (!SWIG_IsOK(ecode3
)) {
29096 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29098 arg3
= static_cast< int >(val3
);
29101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29102 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
29103 wxPyEndAllowThreads(__tstate
);
29104 if (PyErr_Occurred()) SWIG_fail
;
29107 resultobj
= wxPyMake_wxObject(result
, (bool)0);
29115 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29116 PyObject
*resultobj
= 0;
29117 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29118 wxListItem
*arg2
= 0 ;
29124 PyObject
* obj0
= 0 ;
29125 PyObject
* obj1
= 0 ;
29126 char * kwnames
[] = {
29127 (char *) "self",(char *) "info", NULL
29130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29132 if (!SWIG_IsOK(res1
)) {
29133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29135 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29136 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
29137 if (!SWIG_IsOK(res2
)) {
29138 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29141 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29143 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
29145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29146 result
= (bool)(arg1
)->SetItem(*arg2
);
29147 wxPyEndAllowThreads(__tstate
);
29148 if (PyErr_Occurred()) SWIG_fail
;
29151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29159 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29160 PyObject
*resultobj
= 0;
29161 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29164 wxString
*arg4
= 0 ;
29165 int arg5
= (int) -1 ;
29173 bool temp4
= false ;
29176 PyObject
* obj0
= 0 ;
29177 PyObject
* obj1
= 0 ;
29178 PyObject
* obj2
= 0 ;
29179 PyObject
* obj3
= 0 ;
29180 PyObject
* obj4
= 0 ;
29181 char * kwnames
[] = {
29182 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29187 if (!SWIG_IsOK(res1
)) {
29188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29190 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29191 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29192 if (!SWIG_IsOK(ecode2
)) {
29193 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29195 arg2
= static_cast< long >(val2
);
29196 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29197 if (!SWIG_IsOK(ecode3
)) {
29198 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29200 arg3
= static_cast< int >(val3
);
29202 arg4
= wxString_in_helper(obj3
);
29203 if (arg4
== NULL
) SWIG_fail
;
29207 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29208 if (!SWIG_IsOK(ecode5
)) {
29209 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29211 arg5
= static_cast< int >(val5
);
29214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29215 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
29216 wxPyEndAllowThreads(__tstate
);
29217 if (PyErr_Occurred()) SWIG_fail
;
29219 resultobj
= SWIG_From_long(static_cast< long >(result
));
29234 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29235 PyObject
*resultobj
= 0;
29236 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29246 PyObject
* obj0
= 0 ;
29247 PyObject
* obj1
= 0 ;
29248 PyObject
* obj2
= 0 ;
29249 char * kwnames
[] = {
29250 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29255 if (!SWIG_IsOK(res1
)) {
29256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29258 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29259 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29260 if (!SWIG_IsOK(ecode2
)) {
29261 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29263 arg2
= static_cast< long >(val2
);
29264 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29265 if (!SWIG_IsOK(ecode3
)) {
29266 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29268 arg3
= static_cast< long >(val3
);
29270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29271 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29272 wxPyEndAllowThreads(__tstate
);
29273 if (PyErr_Occurred()) SWIG_fail
;
29275 resultobj
= SWIG_From_int(static_cast< int >(result
));
29282 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29283 PyObject
*resultobj
= 0;
29284 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29297 PyObject
* obj0
= 0 ;
29298 PyObject
* obj1
= 0 ;
29299 PyObject
* obj2
= 0 ;
29300 PyObject
* obj3
= 0 ;
29301 char * kwnames
[] = {
29302 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29307 if (!SWIG_IsOK(res1
)) {
29308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29310 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29311 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29312 if (!SWIG_IsOK(ecode2
)) {
29313 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29315 arg2
= static_cast< long >(val2
);
29316 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29317 if (!SWIG_IsOK(ecode3
)) {
29318 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29320 arg3
= static_cast< long >(val3
);
29321 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29322 if (!SWIG_IsOK(ecode4
)) {
29323 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29325 arg4
= static_cast< long >(val4
);
29327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29328 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29329 wxPyEndAllowThreads(__tstate
);
29330 if (PyErr_Occurred()) SWIG_fail
;
29333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29341 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29342 PyObject
*resultobj
= 0;
29343 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29346 int arg4
= (int) -1 ;
29356 PyObject
* obj0
= 0 ;
29357 PyObject
* obj1
= 0 ;
29358 PyObject
* obj2
= 0 ;
29359 PyObject
* obj3
= 0 ;
29360 char * kwnames
[] = {
29361 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29366 if (!SWIG_IsOK(res1
)) {
29367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29369 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29370 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29371 if (!SWIG_IsOK(ecode2
)) {
29372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29374 arg2
= static_cast< long >(val2
);
29375 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29376 if (!SWIG_IsOK(ecode3
)) {
29377 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29379 arg3
= static_cast< int >(val3
);
29381 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29382 if (!SWIG_IsOK(ecode4
)) {
29383 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29385 arg4
= static_cast< int >(val4
);
29388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29389 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29390 wxPyEndAllowThreads(__tstate
);
29391 if (PyErr_Occurred()) SWIG_fail
;
29394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29402 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29403 PyObject
*resultobj
= 0;
29404 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29417 PyObject
* obj0
= 0 ;
29418 PyObject
* obj1
= 0 ;
29419 PyObject
* obj2
= 0 ;
29420 PyObject
* obj3
= 0 ;
29421 char * kwnames
[] = {
29422 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29427 if (!SWIG_IsOK(res1
)) {
29428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29430 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29431 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29432 if (!SWIG_IsOK(ecode2
)) {
29433 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29435 arg2
= static_cast< long >(val2
);
29436 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29437 if (!SWIG_IsOK(ecode3
)) {
29438 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29440 arg3
= static_cast< long >(val3
);
29441 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29442 if (!SWIG_IsOK(ecode4
)) {
29443 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29445 arg4
= static_cast< int >(val4
);
29447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29448 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
29449 wxPyEndAllowThreads(__tstate
);
29450 if (PyErr_Occurred()) SWIG_fail
;
29453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29461 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29462 PyObject
*resultobj
= 0;
29463 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29470 PyObject
* obj0
= 0 ;
29471 PyObject
* obj1
= 0 ;
29472 char * kwnames
[] = {
29473 (char *) "self",(char *) "item", NULL
29476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29478 if (!SWIG_IsOK(res1
)) {
29479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29481 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29482 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29483 if (!SWIG_IsOK(ecode2
)) {
29484 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29486 arg2
= static_cast< long >(val2
);
29488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29489 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
29490 wxPyEndAllowThreads(__tstate
);
29491 if (PyErr_Occurred()) SWIG_fail
;
29495 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29497 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29506 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29507 PyObject
*resultobj
= 0;
29508 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29510 wxString
*arg3
= 0 ;
29515 bool temp3
= false ;
29516 PyObject
* obj0
= 0 ;
29517 PyObject
* obj1
= 0 ;
29518 PyObject
* obj2
= 0 ;
29519 char * kwnames
[] = {
29520 (char *) "self",(char *) "item",(char *) "str", NULL
29523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29525 if (!SWIG_IsOK(res1
)) {
29526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29528 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29529 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29530 if (!SWIG_IsOK(ecode2
)) {
29531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29533 arg2
= static_cast< long >(val2
);
29535 arg3
= wxString_in_helper(obj2
);
29536 if (arg3
== NULL
) SWIG_fail
;
29540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29541 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
29542 wxPyEndAllowThreads(__tstate
);
29543 if (PyErr_Occurred()) SWIG_fail
;
29545 resultobj
= SWIG_Py_Void();
29560 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29561 PyObject
*resultobj
= 0;
29562 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29569 PyObject
* obj0
= 0 ;
29570 PyObject
* obj1
= 0 ;
29571 char * kwnames
[] = {
29572 (char *) "self",(char *) "item", NULL
29575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29577 if (!SWIG_IsOK(res1
)) {
29578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29580 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29581 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29582 if (!SWIG_IsOK(ecode2
)) {
29583 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29585 arg2
= static_cast< long >(val2
);
29587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29588 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
29589 wxPyEndAllowThreads(__tstate
);
29590 if (PyErr_Occurred()) SWIG_fail
;
29592 resultobj
= SWIG_From_long(static_cast< long >(result
));
29599 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29600 PyObject
*resultobj
= 0;
29601 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29611 PyObject
* obj0
= 0 ;
29612 PyObject
* obj1
= 0 ;
29613 PyObject
* obj2
= 0 ;
29614 char * kwnames
[] = {
29615 (char *) "self",(char *) "item",(char *) "data", NULL
29618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29620 if (!SWIG_IsOK(res1
)) {
29621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29623 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29624 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29625 if (!SWIG_IsOK(ecode2
)) {
29626 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
29628 arg2
= static_cast< long >(val2
);
29629 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29630 if (!SWIG_IsOK(ecode3
)) {
29631 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
29633 arg3
= static_cast< long >(val3
);
29635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29636 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
29637 wxPyEndAllowThreads(__tstate
);
29638 if (PyErr_Occurred()) SWIG_fail
;
29641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29649 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29650 PyObject
*resultobj
= 0;
29651 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29658 PyObject
* obj0
= 0 ;
29659 PyObject
* obj1
= 0 ;
29660 char * kwnames
[] = {
29661 (char *) "self",(char *) "item", NULL
29664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29666 if (!SWIG_IsOK(res1
)) {
29667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29669 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29670 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29671 if (!SWIG_IsOK(ecode2
)) {
29672 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
29674 arg2
= static_cast< long >(val2
);
29676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29677 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
29678 wxPyEndAllowThreads(__tstate
);
29679 if (PyErr_Occurred()) SWIG_fail
;
29681 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
29688 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29689 PyObject
*resultobj
= 0;
29690 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29692 int arg3
= (int) wxLIST_RECT_BOUNDS
;
29700 PyObject
* obj0
= 0 ;
29701 PyObject
* obj1
= 0 ;
29702 PyObject
* obj2
= 0 ;
29703 char * kwnames
[] = {
29704 (char *) "self",(char *) "item",(char *) "code", NULL
29707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29709 if (!SWIG_IsOK(res1
)) {
29710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29712 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29713 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29714 if (!SWIG_IsOK(ecode2
)) {
29715 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
29717 arg2
= static_cast< long >(val2
);
29719 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29720 if (!SWIG_IsOK(ecode3
)) {
29721 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
29723 arg3
= static_cast< int >(val3
);
29726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29727 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
29728 wxPyEndAllowThreads(__tstate
);
29729 if (PyErr_Occurred()) SWIG_fail
;
29731 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29738 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29739 PyObject
*resultobj
= 0;
29740 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29742 wxPoint
*arg3
= 0 ;
29749 PyObject
* obj0
= 0 ;
29750 PyObject
* obj1
= 0 ;
29751 PyObject
* obj2
= 0 ;
29752 char * kwnames
[] = {
29753 (char *) "self",(char *) "item",(char *) "pos", NULL
29756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29758 if (!SWIG_IsOK(res1
)) {
29759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29761 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29762 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29763 if (!SWIG_IsOK(ecode2
)) {
29764 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
29766 arg2
= static_cast< long >(val2
);
29769 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29773 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
29774 wxPyEndAllowThreads(__tstate
);
29775 if (PyErr_Occurred()) SWIG_fail
;
29778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29786 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29787 PyObject
*resultobj
= 0;
29788 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29792 PyObject
*swig_obj
[1] ;
29794 if (!args
) SWIG_fail
;
29795 swig_obj
[0] = args
;
29796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29797 if (!SWIG_IsOK(res1
)) {
29798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29800 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29803 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
29804 wxPyEndAllowThreads(__tstate
);
29805 if (PyErr_Occurred()) SWIG_fail
;
29807 resultobj
= SWIG_From_int(static_cast< int >(result
));
29814 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29815 PyObject
*resultobj
= 0;
29816 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29820 PyObject
*swig_obj
[1] ;
29822 if (!args
) SWIG_fail
;
29823 swig_obj
[0] = args
;
29824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29825 if (!SWIG_IsOK(res1
)) {
29826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29828 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29831 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
29832 wxPyEndAllowThreads(__tstate
);
29833 if (PyErr_Occurred()) SWIG_fail
;
29835 resultobj
= SWIG_From_int(static_cast< int >(result
));
29842 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29843 PyObject
*resultobj
= 0;
29844 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29848 PyObject
*swig_obj
[1] ;
29850 if (!args
) SWIG_fail
;
29851 swig_obj
[0] = args
;
29852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29853 if (!SWIG_IsOK(res1
)) {
29854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29856 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29859 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
29860 wxPyEndAllowThreads(__tstate
);
29861 if (PyErr_Occurred()) SWIG_fail
;
29863 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
29870 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29871 PyObject
*resultobj
= 0;
29872 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29874 bool arg3
= (bool) false ;
29881 PyObject
* obj0
= 0 ;
29882 PyObject
* obj1
= 0 ;
29883 PyObject
* obj2
= 0 ;
29884 char * kwnames
[] = {
29885 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
29888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29890 if (!SWIG_IsOK(res1
)) {
29891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29893 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29894 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29895 if (!SWIG_IsOK(ecode2
)) {
29896 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "2"" of type '" "int""'");
29898 arg2
= static_cast< int >(val2
);
29900 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
29901 if (!SWIG_IsOK(ecode3
)) {
29902 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "3"" of type '" "bool""'");
29904 arg3
= static_cast< bool >(val3
);
29907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29908 (arg1
)->SetItemSpacing(arg2
,arg3
);
29909 wxPyEndAllowThreads(__tstate
);
29910 if (PyErr_Occurred()) SWIG_fail
;
29912 resultobj
= SWIG_Py_Void();
29919 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29920 PyObject
*resultobj
= 0;
29921 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29925 PyObject
*swig_obj
[1] ;
29927 if (!args
) SWIG_fail
;
29928 swig_obj
[0] = args
;
29929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29930 if (!SWIG_IsOK(res1
)) {
29931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29933 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29936 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
29937 wxPyEndAllowThreads(__tstate
);
29938 if (PyErr_Occurred()) SWIG_fail
;
29940 resultobj
= SWIG_From_int(static_cast< int >(result
));
29947 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29948 PyObject
*resultobj
= 0;
29949 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29953 PyObject
*swig_obj
[1] ;
29955 if (!args
) SWIG_fail
;
29956 swig_obj
[0] = args
;
29957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29958 if (!SWIG_IsOK(res1
)) {
29959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29961 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29964 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
29965 wxPyEndAllowThreads(__tstate
);
29966 if (PyErr_Occurred()) SWIG_fail
;
29968 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29975 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29976 PyObject
*resultobj
= 0;
29977 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29978 wxColour
*arg2
= 0 ;
29982 PyObject
* obj0
= 0 ;
29983 PyObject
* obj1
= 0 ;
29984 char * kwnames
[] = {
29985 (char *) "self",(char *) "col", NULL
29988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29990 if (!SWIG_IsOK(res1
)) {
29991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29993 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29996 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30000 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
30001 wxPyEndAllowThreads(__tstate
);
30002 if (PyErr_Occurred()) SWIG_fail
;
30004 resultobj
= SWIG_Py_Void();
30011 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30012 PyObject
*resultobj
= 0;
30013 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30017 PyObject
*swig_obj
[1] ;
30019 if (!args
) SWIG_fail
;
30020 swig_obj
[0] = args
;
30021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30022 if (!SWIG_IsOK(res1
)) {
30023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30025 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30028 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
30029 wxPyEndAllowThreads(__tstate
);
30030 if (PyErr_Occurred()) SWIG_fail
;
30032 resultobj
= SWIG_From_long(static_cast< long >(result
));
30039 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30040 PyObject
*resultobj
= 0;
30041 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30043 bool arg3
= (bool) true ;
30050 PyObject
* obj0
= 0 ;
30051 PyObject
* obj1
= 0 ;
30052 PyObject
* obj2
= 0 ;
30053 char * kwnames
[] = {
30054 (char *) "self",(char *) "style",(char *) "add", NULL
30057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30059 if (!SWIG_IsOK(res1
)) {
30060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30062 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30063 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30064 if (!SWIG_IsOK(ecode2
)) {
30065 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30067 arg2
= static_cast< long >(val2
);
30069 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30070 if (!SWIG_IsOK(ecode3
)) {
30071 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30073 arg3
= static_cast< bool >(val3
);
30076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30077 (arg1
)->SetSingleStyle(arg2
,arg3
);
30078 wxPyEndAllowThreads(__tstate
);
30079 if (PyErr_Occurred()) SWIG_fail
;
30081 resultobj
= SWIG_Py_Void();
30088 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30089 PyObject
*resultobj
= 0;
30090 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30092 int arg3
= (int) wxLIST_NEXT_ALL
;
30093 int arg4
= (int) wxLIST_STATE_DONTCARE
;
30103 PyObject
* obj0
= 0 ;
30104 PyObject
* obj1
= 0 ;
30105 PyObject
* obj2
= 0 ;
30106 PyObject
* obj3
= 0 ;
30107 char * kwnames
[] = {
30108 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30113 if (!SWIG_IsOK(res1
)) {
30114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30116 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30117 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30118 if (!SWIG_IsOK(ecode2
)) {
30119 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30121 arg2
= static_cast< long >(val2
);
30123 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30124 if (!SWIG_IsOK(ecode3
)) {
30125 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30127 arg3
= static_cast< int >(val3
);
30130 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30131 if (!SWIG_IsOK(ecode4
)) {
30132 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30134 arg4
= static_cast< int >(val4
);
30137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30138 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
30139 wxPyEndAllowThreads(__tstate
);
30140 if (PyErr_Occurred()) SWIG_fail
;
30142 resultobj
= SWIG_From_long(static_cast< long >(result
));
30149 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30150 PyObject
*resultobj
= 0;
30151 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30153 wxImageList
*result
= 0 ;
30158 PyObject
* obj0
= 0 ;
30159 PyObject
* obj1
= 0 ;
30160 char * kwnames
[] = {
30161 (char *) "self",(char *) "which", NULL
30164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30166 if (!SWIG_IsOK(res1
)) {
30167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30169 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30170 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30171 if (!SWIG_IsOK(ecode2
)) {
30172 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30174 arg2
= static_cast< int >(val2
);
30176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30177 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
30178 wxPyEndAllowThreads(__tstate
);
30179 if (PyErr_Occurred()) SWIG_fail
;
30182 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30190 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30191 PyObject
*resultobj
= 0;
30192 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30193 wxImageList
*arg2
= (wxImageList
*) 0 ;
30201 PyObject
* obj0
= 0 ;
30202 PyObject
* obj1
= 0 ;
30203 PyObject
* obj2
= 0 ;
30204 char * kwnames
[] = {
30205 (char *) "self",(char *) "imageList",(char *) "which", NULL
30208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30210 if (!SWIG_IsOK(res1
)) {
30211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30213 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30214 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30215 if (!SWIG_IsOK(res2
)) {
30216 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30218 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
30219 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30220 if (!SWIG_IsOK(ecode3
)) {
30221 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30223 arg3
= static_cast< int >(val3
);
30225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30226 (arg1
)->SetImageList(arg2
,arg3
);
30227 wxPyEndAllowThreads(__tstate
);
30228 if (PyErr_Occurred()) SWIG_fail
;
30230 resultobj
= SWIG_Py_Void();
30237 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30238 PyObject
*resultobj
= 0;
30239 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30240 wxImageList
*arg2
= (wxImageList
*) 0 ;
30247 PyObject
* obj0
= 0 ;
30248 PyObject
* obj1
= 0 ;
30249 PyObject
* obj2
= 0 ;
30250 char * kwnames
[] = {
30251 (char *) "self",(char *) "imageList",(char *) "which", NULL
30254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30256 if (!SWIG_IsOK(res1
)) {
30257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30259 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30260 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30261 if (!SWIG_IsOK(res2
)) {
30262 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30264 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30265 if (!SWIG_IsOK(ecode3
)) {
30266 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30268 arg3
= static_cast< int >(val3
);
30270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30271 (arg1
)->AssignImageList(arg2
,arg3
);
30272 wxPyEndAllowThreads(__tstate
);
30273 if (PyErr_Occurred()) SWIG_fail
;
30275 resultobj
= SWIG_Py_Void();
30282 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30283 PyObject
*resultobj
= 0;
30284 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30288 PyObject
*swig_obj
[1] ;
30290 if (!args
) SWIG_fail
;
30291 swig_obj
[0] = args
;
30292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30293 if (!SWIG_IsOK(res1
)) {
30294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30296 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30299 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30300 wxPyEndAllowThreads(__tstate
);
30301 if (PyErr_Occurred()) SWIG_fail
;
30304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30312 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30313 PyObject
*resultobj
= 0;
30314 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30318 PyObject
*swig_obj
[1] ;
30320 if (!args
) SWIG_fail
;
30321 swig_obj
[0] = args
;
30322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30323 if (!SWIG_IsOK(res1
)) {
30324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30326 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30329 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30330 wxPyEndAllowThreads(__tstate
);
30331 if (PyErr_Occurred()) SWIG_fail
;
30334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30342 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30343 PyObject
*resultobj
= 0;
30344 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30350 PyObject
* obj0
= 0 ;
30351 PyObject
* obj1
= 0 ;
30352 char * kwnames
[] = {
30353 (char *) "self",(char *) "item", NULL
30356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30358 if (!SWIG_IsOK(res1
)) {
30359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30361 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30362 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30363 if (!SWIG_IsOK(ecode2
)) {
30364 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30366 arg2
= static_cast< long >(val2
);
30368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30369 (arg1
)->RefreshItem(arg2
);
30370 wxPyEndAllowThreads(__tstate
);
30371 if (PyErr_Occurred()) SWIG_fail
;
30373 resultobj
= SWIG_Py_Void();
30380 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30381 PyObject
*resultobj
= 0;
30382 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30391 PyObject
* obj0
= 0 ;
30392 PyObject
* obj1
= 0 ;
30393 PyObject
* obj2
= 0 ;
30394 char * kwnames
[] = {
30395 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) 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_RefreshItems" "', 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_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30408 arg2
= static_cast< long >(val2
);
30409 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30410 if (!SWIG_IsOK(ecode3
)) {
30411 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30413 arg3
= static_cast< long >(val3
);
30415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30416 (arg1
)->RefreshItems(arg2
,arg3
);
30417 wxPyEndAllowThreads(__tstate
);
30418 if (PyErr_Occurred()) SWIG_fail
;
30420 resultobj
= SWIG_Py_Void();
30427 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30428 PyObject
*resultobj
= 0;
30429 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30430 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30436 PyObject
* obj0
= 0 ;
30437 PyObject
* obj1
= 0 ;
30438 char * kwnames
[] = {
30439 (char *) "self",(char *) "flag", NULL
30442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30444 if (!SWIG_IsOK(res1
)) {
30445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30447 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30449 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30450 if (!SWIG_IsOK(ecode2
)) {
30451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30453 arg2
= static_cast< int >(val2
);
30456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30457 result
= (bool)(arg1
)->Arrange(arg2
);
30458 wxPyEndAllowThreads(__tstate
);
30459 if (PyErr_Occurred()) SWIG_fail
;
30462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30470 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30471 PyObject
*resultobj
= 0;
30472 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30479 PyObject
* obj0
= 0 ;
30480 PyObject
* obj1
= 0 ;
30481 char * kwnames
[] = {
30482 (char *) "self",(char *) "item", NULL
30485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30487 if (!SWIG_IsOK(res1
)) {
30488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30490 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30491 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30492 if (!SWIG_IsOK(ecode2
)) {
30493 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30495 arg2
= static_cast< long >(val2
);
30497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30498 result
= (bool)(arg1
)->DeleteItem(arg2
);
30499 wxPyEndAllowThreads(__tstate
);
30500 if (PyErr_Occurred()) SWIG_fail
;
30503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30511 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30512 PyObject
*resultobj
= 0;
30513 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30517 PyObject
*swig_obj
[1] ;
30519 if (!args
) SWIG_fail
;
30520 swig_obj
[0] = args
;
30521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30522 if (!SWIG_IsOK(res1
)) {
30523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30525 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30528 result
= (bool)(arg1
)->DeleteAllItems();
30529 wxPyEndAllowThreads(__tstate
);
30530 if (PyErr_Occurred()) SWIG_fail
;
30533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30541 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30542 PyObject
*resultobj
= 0;
30543 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30550 PyObject
* obj0
= 0 ;
30551 PyObject
* obj1
= 0 ;
30552 char * kwnames
[] = {
30553 (char *) "self",(char *) "col", NULL
30556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30558 if (!SWIG_IsOK(res1
)) {
30559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30561 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30562 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30563 if (!SWIG_IsOK(ecode2
)) {
30564 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30566 arg2
= static_cast< int >(val2
);
30568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30569 result
= (bool)(arg1
)->DeleteColumn(arg2
);
30570 wxPyEndAllowThreads(__tstate
);
30571 if (PyErr_Occurred()) SWIG_fail
;
30574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30582 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30583 PyObject
*resultobj
= 0;
30584 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30588 PyObject
*swig_obj
[1] ;
30590 if (!args
) SWIG_fail
;
30591 swig_obj
[0] = args
;
30592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30593 if (!SWIG_IsOK(res1
)) {
30594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30596 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30599 result
= (bool)(arg1
)->DeleteAllColumns();
30600 wxPyEndAllowThreads(__tstate
);
30601 if (PyErr_Occurred()) SWIG_fail
;
30604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30612 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30613 PyObject
*resultobj
= 0;
30614 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30617 PyObject
*swig_obj
[1] ;
30619 if (!args
) SWIG_fail
;
30620 swig_obj
[0] = args
;
30621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30622 if (!SWIG_IsOK(res1
)) {
30623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30625 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30628 (arg1
)->ClearAll();
30629 wxPyEndAllowThreads(__tstate
);
30630 if (PyErr_Occurred()) SWIG_fail
;
30632 resultobj
= SWIG_Py_Void();
30639 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30640 PyObject
*resultobj
= 0;
30641 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30647 PyObject
* obj0
= 0 ;
30648 PyObject
* obj1
= 0 ;
30649 char * kwnames
[] = {
30650 (char *) "self",(char *) "item", NULL
30653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30655 if (!SWIG_IsOK(res1
)) {
30656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30658 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30659 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30660 if (!SWIG_IsOK(ecode2
)) {
30661 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
30663 arg2
= static_cast< long >(val2
);
30665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30666 (arg1
)->EditLabel(arg2
);
30667 wxPyEndAllowThreads(__tstate
);
30668 if (PyErr_Occurred()) SWIG_fail
;
30670 resultobj
= SWIG_Py_Void();
30677 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30678 PyObject
*resultobj
= 0;
30679 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30686 PyObject
* obj0
= 0 ;
30687 PyObject
* obj1
= 0 ;
30688 char * kwnames
[] = {
30689 (char *) "self",(char *) "item", NULL
30692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30694 if (!SWIG_IsOK(res1
)) {
30695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30697 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30698 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30699 if (!SWIG_IsOK(ecode2
)) {
30700 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
30702 arg2
= static_cast< long >(val2
);
30704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30705 result
= (bool)(arg1
)->EnsureVisible(arg2
);
30706 wxPyEndAllowThreads(__tstate
);
30707 if (PyErr_Occurred()) SWIG_fail
;
30710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30718 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30719 PyObject
*resultobj
= 0;
30720 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30722 wxString
*arg3
= 0 ;
30723 bool arg4
= (bool) false ;
30729 bool temp3
= false ;
30732 PyObject
* obj0
= 0 ;
30733 PyObject
* obj1
= 0 ;
30734 PyObject
* obj2
= 0 ;
30735 PyObject
* obj3
= 0 ;
30736 char * kwnames
[] = {
30737 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
30740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30742 if (!SWIG_IsOK(res1
)) {
30743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30745 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30746 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30747 if (!SWIG_IsOK(ecode2
)) {
30748 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
30750 arg2
= static_cast< long >(val2
);
30752 arg3
= wxString_in_helper(obj2
);
30753 if (arg3
== NULL
) SWIG_fail
;
30757 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
30758 if (!SWIG_IsOK(ecode4
)) {
30759 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
30761 arg4
= static_cast< bool >(val4
);
30764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30765 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
30766 wxPyEndAllowThreads(__tstate
);
30767 if (PyErr_Occurred()) SWIG_fail
;
30769 resultobj
= SWIG_From_long(static_cast< long >(result
));
30784 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30785 PyObject
*resultobj
= 0;
30786 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30796 PyObject
* obj0
= 0 ;
30797 PyObject
* obj1
= 0 ;
30798 PyObject
* obj2
= 0 ;
30799 char * kwnames
[] = {
30800 (char *) "self",(char *) "start",(char *) "data", NULL
30803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30805 if (!SWIG_IsOK(res1
)) {
30806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30808 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30809 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30810 if (!SWIG_IsOK(ecode2
)) {
30811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
30813 arg2
= static_cast< long >(val2
);
30814 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30815 if (!SWIG_IsOK(ecode3
)) {
30816 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
30818 arg3
= static_cast< long >(val3
);
30820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30821 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
30822 wxPyEndAllowThreads(__tstate
);
30823 if (PyErr_Occurred()) SWIG_fail
;
30825 resultobj
= SWIG_From_long(static_cast< long >(result
));
30832 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30833 PyObject
*resultobj
= 0;
30834 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30836 wxPoint
*arg3
= 0 ;
30846 PyObject
* obj0
= 0 ;
30847 PyObject
* obj1
= 0 ;
30848 PyObject
* obj2
= 0 ;
30849 PyObject
* obj3
= 0 ;
30850 char * kwnames
[] = {
30851 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
30854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30856 if (!SWIG_IsOK(res1
)) {
30857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30859 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30860 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30861 if (!SWIG_IsOK(ecode2
)) {
30862 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
30864 arg2
= static_cast< long >(val2
);
30867 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30869 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30870 if (!SWIG_IsOK(ecode4
)) {
30871 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
30873 arg4
= static_cast< int >(val4
);
30875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30876 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
30877 wxPyEndAllowThreads(__tstate
);
30878 if (PyErr_Occurred()) SWIG_fail
;
30880 resultobj
= SWIG_From_long(static_cast< long >(result
));
30887 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30888 PyObject
*resultobj
= 0;
30889 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30890 wxPoint
*arg2
= 0 ;
30897 int res3
= SWIG_TMPOBJ
;
30898 PyObject
* obj0
= 0 ;
30899 PyObject
* obj1
= 0 ;
30900 char * kwnames
[] = {
30901 (char *) "self",(char *) "point", NULL
30905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30907 if (!SWIG_IsOK(res1
)) {
30908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30910 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30913 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30917 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
30918 wxPyEndAllowThreads(__tstate
);
30919 if (PyErr_Occurred()) SWIG_fail
;
30921 resultobj
= SWIG_From_long(static_cast< long >(result
));
30922 if (SWIG_IsTmpObj(res3
)) {
30923 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30925 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30926 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30934 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTestSubItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30935 PyObject
*resultobj
= 0;
30936 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30937 wxPoint
*arg2
= 0 ;
30939 long *arg4
= (long *) 0 ;
30945 int res3
= SWIG_TMPOBJ
;
30947 int res4
= SWIG_TMPOBJ
;
30948 PyObject
* obj0
= 0 ;
30949 PyObject
* obj1
= 0 ;
30950 char * kwnames
[] = {
30951 (char *) "self",(char *) "point", NULL
30956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTestSubItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30958 if (!SWIG_IsOK(res1
)) {
30959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30961 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30964 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30968 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
,arg4
);
30969 wxPyEndAllowThreads(__tstate
);
30970 if (PyErr_Occurred()) SWIG_fail
;
30972 resultobj
= SWIG_From_long(static_cast< long >(result
));
30973 if (SWIG_IsTmpObj(res3
)) {
30974 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30976 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30977 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30979 if (SWIG_IsTmpObj(res4
)) {
30980 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
30982 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30983 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
30991 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30992 PyObject
*resultobj
= 0;
30993 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30994 wxListItem
*arg2
= 0 ;
31000 PyObject
* obj0
= 0 ;
31001 PyObject
* obj1
= 0 ;
31002 char * kwnames
[] = {
31003 (char *) "self",(char *) "info", NULL
31006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31008 if (!SWIG_IsOK(res1
)) {
31009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31011 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31012 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
31013 if (!SWIG_IsOK(res2
)) {
31014 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31017 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31019 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
31021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31022 result
= (long)(arg1
)->InsertItem(*arg2
);
31023 wxPyEndAllowThreads(__tstate
);
31024 if (PyErr_Occurred()) SWIG_fail
;
31026 resultobj
= SWIG_From_long(static_cast< long >(result
));
31033 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31034 PyObject
*resultobj
= 0;
31035 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31037 wxString
*arg3
= 0 ;
31038 int arg4
= (int) -1 ;
31044 bool temp3
= false ;
31047 PyObject
* obj0
= 0 ;
31048 PyObject
* obj1
= 0 ;
31049 PyObject
* obj2
= 0 ;
31050 PyObject
* obj3
= 0 ;
31051 char * kwnames
[] = {
31052 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31057 if (!SWIG_IsOK(res1
)) {
31058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31060 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31061 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31062 if (!SWIG_IsOK(ecode2
)) {
31063 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31065 arg2
= static_cast< long >(val2
);
31067 arg3
= wxString_in_helper(obj2
);
31068 if (arg3
== NULL
) SWIG_fail
;
31072 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31073 if (!SWIG_IsOK(ecode4
)) {
31074 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31076 arg4
= static_cast< int >(val4
);
31079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31080 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31081 wxPyEndAllowThreads(__tstate
);
31082 if (PyErr_Occurred()) SWIG_fail
;
31084 resultobj
= SWIG_From_long(static_cast< long >(result
));
31099 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31100 PyObject
*resultobj
= 0;
31101 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31111 PyObject
* obj0
= 0 ;
31112 PyObject
* obj1
= 0 ;
31113 PyObject
* obj2
= 0 ;
31114 char * kwnames
[] = {
31115 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31120 if (!SWIG_IsOK(res1
)) {
31121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31123 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31124 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31125 if (!SWIG_IsOK(ecode2
)) {
31126 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31128 arg2
= static_cast< long >(val2
);
31129 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31130 if (!SWIG_IsOK(ecode3
)) {
31131 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31133 arg3
= static_cast< int >(val3
);
31135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31136 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
31137 wxPyEndAllowThreads(__tstate
);
31138 if (PyErr_Occurred()) SWIG_fail
;
31140 resultobj
= SWIG_From_long(static_cast< long >(result
));
31147 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31148 PyObject
*resultobj
= 0;
31149 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31151 wxString
*arg3
= 0 ;
31158 bool temp3
= false ;
31161 PyObject
* obj0
= 0 ;
31162 PyObject
* obj1
= 0 ;
31163 PyObject
* obj2
= 0 ;
31164 PyObject
* obj3
= 0 ;
31165 char * kwnames
[] = {
31166 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31171 if (!SWIG_IsOK(res1
)) {
31172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31174 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31175 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31176 if (!SWIG_IsOK(ecode2
)) {
31177 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31179 arg2
= static_cast< long >(val2
);
31181 arg3
= wxString_in_helper(obj2
);
31182 if (arg3
== NULL
) SWIG_fail
;
31185 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31186 if (!SWIG_IsOK(ecode4
)) {
31187 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31189 arg4
= static_cast< int >(val4
);
31191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31192 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31193 wxPyEndAllowThreads(__tstate
);
31194 if (PyErr_Occurred()) SWIG_fail
;
31196 resultobj
= SWIG_From_long(static_cast< long >(result
));
31211 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31212 PyObject
*resultobj
= 0;
31213 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31215 wxListItem
*arg3
= 0 ;
31223 PyObject
* obj0
= 0 ;
31224 PyObject
* obj1
= 0 ;
31225 PyObject
* obj2
= 0 ;
31226 char * kwnames
[] = {
31227 (char *) "self",(char *) "col",(char *) "info", NULL
31230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31232 if (!SWIG_IsOK(res1
)) {
31233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31235 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31236 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31237 if (!SWIG_IsOK(ecode2
)) {
31238 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31240 arg2
= static_cast< long >(val2
);
31241 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
31242 if (!SWIG_IsOK(res3
)) {
31243 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31246 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31248 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
31250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31251 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
31252 wxPyEndAllowThreads(__tstate
);
31253 if (PyErr_Occurred()) SWIG_fail
;
31255 resultobj
= SWIG_From_long(static_cast< long >(result
));
31262 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31263 PyObject
*resultobj
= 0;
31264 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31266 wxString
*arg3
= 0 ;
31267 int arg4
= (int) wxLIST_FORMAT_LEFT
;
31268 int arg5
= (int) -1 ;
31274 bool temp3
= false ;
31279 PyObject
* obj0
= 0 ;
31280 PyObject
* obj1
= 0 ;
31281 PyObject
* obj2
= 0 ;
31282 PyObject
* obj3
= 0 ;
31283 PyObject
* obj4
= 0 ;
31284 char * kwnames
[] = {
31285 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31290 if (!SWIG_IsOK(res1
)) {
31291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31293 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31294 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31295 if (!SWIG_IsOK(ecode2
)) {
31296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31298 arg2
= static_cast< long >(val2
);
31300 arg3
= wxString_in_helper(obj2
);
31301 if (arg3
== NULL
) SWIG_fail
;
31305 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31306 if (!SWIG_IsOK(ecode4
)) {
31307 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31309 arg4
= static_cast< int >(val4
);
31312 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31313 if (!SWIG_IsOK(ecode5
)) {
31314 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31316 arg5
= static_cast< int >(val5
);
31319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31320 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31321 wxPyEndAllowThreads(__tstate
);
31322 if (PyErr_Occurred()) SWIG_fail
;
31324 resultobj
= SWIG_From_long(static_cast< long >(result
));
31339 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31340 PyObject
*resultobj
= 0;
31341 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31347 PyObject
* obj0
= 0 ;
31348 PyObject
* obj1
= 0 ;
31349 char * kwnames
[] = {
31350 (char *) "self",(char *) "count", NULL
31353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31355 if (!SWIG_IsOK(res1
)) {
31356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31358 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31359 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31360 if (!SWIG_IsOK(ecode2
)) {
31361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31363 arg2
= static_cast< long >(val2
);
31365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31366 (arg1
)->SetItemCount(arg2
);
31367 wxPyEndAllowThreads(__tstate
);
31368 if (PyErr_Occurred()) SWIG_fail
;
31370 resultobj
= SWIG_Py_Void();
31377 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31378 PyObject
*resultobj
= 0;
31379 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31389 PyObject
* obj0
= 0 ;
31390 PyObject
* obj1
= 0 ;
31391 PyObject
* obj2
= 0 ;
31392 char * kwnames
[] = {
31393 (char *) "self",(char *) "dx",(char *) "dy", NULL
31396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31398 if (!SWIG_IsOK(res1
)) {
31399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31401 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31402 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31403 if (!SWIG_IsOK(ecode2
)) {
31404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31406 arg2
= static_cast< int >(val2
);
31407 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31408 if (!SWIG_IsOK(ecode3
)) {
31409 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31411 arg3
= static_cast< int >(val3
);
31413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31414 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
31415 wxPyEndAllowThreads(__tstate
);
31416 if (PyErr_Occurred()) SWIG_fail
;
31419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31427 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31428 PyObject
*resultobj
= 0;
31429 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31431 wxColour
*arg3
= 0 ;
31437 PyObject
* obj0
= 0 ;
31438 PyObject
* obj1
= 0 ;
31439 PyObject
* obj2
= 0 ;
31440 char * kwnames
[] = {
31441 (char *) "self",(char *) "item",(char *) "col", NULL
31444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31446 if (!SWIG_IsOK(res1
)) {
31447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31449 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31450 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31451 if (!SWIG_IsOK(ecode2
)) {
31452 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31454 arg2
= static_cast< long >(val2
);
31457 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31461 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
31462 wxPyEndAllowThreads(__tstate
);
31463 if (PyErr_Occurred()) SWIG_fail
;
31465 resultobj
= SWIG_Py_Void();
31472 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31473 PyObject
*resultobj
= 0;
31474 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31481 PyObject
* obj0
= 0 ;
31482 PyObject
* obj1
= 0 ;
31483 char * kwnames
[] = {
31484 (char *) "self",(char *) "item", NULL
31487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31489 if (!SWIG_IsOK(res1
)) {
31490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31492 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31493 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31494 if (!SWIG_IsOK(ecode2
)) {
31495 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31497 arg2
= static_cast< long >(val2
);
31499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31500 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
31501 wxPyEndAllowThreads(__tstate
);
31502 if (PyErr_Occurred()) SWIG_fail
;
31504 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31511 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31512 PyObject
*resultobj
= 0;
31513 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31515 wxColour
*arg3
= 0 ;
31521 PyObject
* obj0
= 0 ;
31522 PyObject
* obj1
= 0 ;
31523 PyObject
* obj2
= 0 ;
31524 char * kwnames
[] = {
31525 (char *) "self",(char *) "item",(char *) "col", NULL
31528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31530 if (!SWIG_IsOK(res1
)) {
31531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31533 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31534 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31535 if (!SWIG_IsOK(ecode2
)) {
31536 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31538 arg2
= static_cast< long >(val2
);
31541 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31545 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
31546 wxPyEndAllowThreads(__tstate
);
31547 if (PyErr_Occurred()) SWIG_fail
;
31549 resultobj
= SWIG_Py_Void();
31556 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31557 PyObject
*resultobj
= 0;
31558 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31565 PyObject
* obj0
= 0 ;
31566 PyObject
* obj1
= 0 ;
31567 char * kwnames
[] = {
31568 (char *) "self",(char *) "item", NULL
31571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31573 if (!SWIG_IsOK(res1
)) {
31574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31576 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31577 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31578 if (!SWIG_IsOK(ecode2
)) {
31579 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31581 arg2
= static_cast< long >(val2
);
31583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31584 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
31585 wxPyEndAllowThreads(__tstate
);
31586 if (PyErr_Occurred()) SWIG_fail
;
31588 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31595 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31596 PyObject
*resultobj
= 0;
31597 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31606 PyObject
* obj0
= 0 ;
31607 PyObject
* obj1
= 0 ;
31608 PyObject
* obj2
= 0 ;
31609 char * kwnames
[] = {
31610 (char *) "self",(char *) "item",(char *) "f", NULL
31613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) 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_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
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_SetItemFont" "', expected argument " "2"" of type '" "long""'");
31623 arg2
= static_cast< long >(val2
);
31624 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
31625 if (!SWIG_IsOK(res3
)) {
31626 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31629 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31631 arg3
= reinterpret_cast< wxFont
* >(argp3
);
31633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31634 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
31635 wxPyEndAllowThreads(__tstate
);
31636 if (PyErr_Occurred()) SWIG_fail
;
31638 resultobj
= SWIG_Py_Void();
31645 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31646 PyObject
*resultobj
= 0;
31647 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31654 PyObject
* obj0
= 0 ;
31655 PyObject
* obj1
= 0 ;
31656 char * kwnames
[] = {
31657 (char *) "self",(char *) "item", NULL
31660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31662 if (!SWIG_IsOK(res1
)) {
31663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31665 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31666 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31667 if (!SWIG_IsOK(ecode2
)) {
31668 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
31670 arg2
= static_cast< long >(val2
);
31672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31673 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
31674 wxPyEndAllowThreads(__tstate
);
31675 if (PyErr_Occurred()) SWIG_fail
;
31677 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
31684 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31685 PyObject
*resultobj
= 0;
31686 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31687 PyObject
*arg2
= (PyObject
*) 0 ;
31691 PyObject
* obj0
= 0 ;
31692 PyObject
* obj1
= 0 ;
31693 char * kwnames
[] = {
31694 (char *) "self",(char *) "func", NULL
31697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31699 if (!SWIG_IsOK(res1
)) {
31700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31702 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31706 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
31707 wxPyEndAllowThreads(__tstate
);
31708 if (PyErr_Occurred()) SWIG_fail
;
31711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31719 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31720 PyObject
*resultobj
= 0;
31721 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31722 wxWindow
*result
= 0 ;
31725 PyObject
*swig_obj
[1] ;
31727 if (!args
) SWIG_fail
;
31728 swig_obj
[0] = args
;
31729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31730 if (!SWIG_IsOK(res1
)) {
31731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31733 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31736 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
31737 wxPyEndAllowThreads(__tstate
);
31738 if (PyErr_Occurred()) SWIG_fail
;
31741 resultobj
= wxPyMake_wxObject(result
, 0);
31749 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31750 PyObject
*resultobj
= 0;
31751 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
31752 SwigValueWrapper
<wxVisualAttributes
> result
;
31755 PyObject
* obj0
= 0 ;
31756 char * kwnames
[] = {
31757 (char *) "variant", NULL
31760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
31762 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31763 if (!SWIG_IsOK(ecode1
)) {
31764 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
31766 arg1
= static_cast< wxWindowVariant
>(val1
);
31769 if (!wxPyCheckForApp()) SWIG_fail
;
31770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31771 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
31772 wxPyEndAllowThreads(__tstate
);
31773 if (PyErr_Occurred()) SWIG_fail
;
31775 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
31782 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31784 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31785 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
31786 return SWIG_Py_Void();
31789 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31790 return SWIG_Python_InitShadowInstance(args
);
31793 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31794 PyObject
*resultobj
= 0;
31795 wxWindow
*arg1
= (wxWindow
*) 0 ;
31796 int arg2
= (int) -1 ;
31797 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31798 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31799 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31800 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31801 long arg5
= (long) wxLC_REPORT
;
31802 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
31803 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
31804 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
31805 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31806 wxListView
*result
= 0 ;
31817 bool temp7
= false ;
31818 PyObject
* obj0
= 0 ;
31819 PyObject
* obj1
= 0 ;
31820 PyObject
* obj2
= 0 ;
31821 PyObject
* obj3
= 0 ;
31822 PyObject
* obj4
= 0 ;
31823 PyObject
* obj5
= 0 ;
31824 PyObject
* obj6
= 0 ;
31825 char * kwnames
[] = {
31826 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31831 if (!SWIG_IsOK(res1
)) {
31832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
31834 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31836 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31837 if (!SWIG_IsOK(ecode2
)) {
31838 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
31840 arg2
= static_cast< int >(val2
);
31845 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31851 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31855 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
31856 if (!SWIG_IsOK(ecode5
)) {
31857 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
31859 arg5
= static_cast< long >(val5
);
31862 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
31863 if (!SWIG_IsOK(res6
)) {
31864 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31867 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31869 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
31873 arg7
= wxString_in_helper(obj6
);
31874 if (arg7
== NULL
) SWIG_fail
;
31879 if (!wxPyCheckForApp()) SWIG_fail
;
31880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31881 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
31882 wxPyEndAllowThreads(__tstate
);
31883 if (PyErr_Occurred()) SWIG_fail
;
31885 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
31900 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31901 PyObject
*resultobj
= 0;
31902 wxListView
*result
= 0 ;
31904 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
31906 if (!wxPyCheckForApp()) SWIG_fail
;
31907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31908 result
= (wxListView
*)new wxListView();
31909 wxPyEndAllowThreads(__tstate
);
31910 if (PyErr_Occurred()) SWIG_fail
;
31912 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
31919 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31920 PyObject
*resultobj
= 0;
31921 wxListView
*arg1
= (wxListView
*) 0 ;
31922 wxWindow
*arg2
= (wxWindow
*) 0 ;
31923 int arg3
= (int) -1 ;
31924 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31925 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31926 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31927 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31928 long arg6
= (long) wxLC_REPORT
;
31929 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
31930 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
31931 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
31932 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31946 bool temp8
= false ;
31947 PyObject
* obj0
= 0 ;
31948 PyObject
* obj1
= 0 ;
31949 PyObject
* obj2
= 0 ;
31950 PyObject
* obj3
= 0 ;
31951 PyObject
* obj4
= 0 ;
31952 PyObject
* obj5
= 0 ;
31953 PyObject
* obj6
= 0 ;
31954 PyObject
* obj7
= 0 ;
31955 char * kwnames
[] = {
31956 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
31960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31961 if (!SWIG_IsOK(res1
)) {
31962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
31964 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31965 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31966 if (!SWIG_IsOK(res2
)) {
31967 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
31969 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31971 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31972 if (!SWIG_IsOK(ecode3
)) {
31973 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
31975 arg3
= static_cast< int >(val3
);
31980 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31986 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31990 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31991 if (!SWIG_IsOK(ecode6
)) {
31992 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
31994 arg6
= static_cast< long >(val6
);
31997 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
31998 if (!SWIG_IsOK(res7
)) {
31999 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32002 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32004 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
32008 arg8
= wxString_in_helper(obj7
);
32009 if (arg8
== NULL
) SWIG_fail
;
32014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32015 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
32016 wxPyEndAllowThreads(__tstate
);
32017 if (PyErr_Occurred()) SWIG_fail
;
32020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32036 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32037 PyObject
*resultobj
= 0;
32038 wxListView
*arg1
= (wxListView
*) 0 ;
32040 bool arg3
= (bool) true ;
32047 PyObject
* obj0
= 0 ;
32048 PyObject
* obj1
= 0 ;
32049 PyObject
* obj2
= 0 ;
32050 char * kwnames
[] = {
32051 (char *) "self",(char *) "n",(char *) "on", NULL
32054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32056 if (!SWIG_IsOK(res1
)) {
32057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32059 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32060 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32061 if (!SWIG_IsOK(ecode2
)) {
32062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32064 arg2
= static_cast< long >(val2
);
32066 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32067 if (!SWIG_IsOK(ecode3
)) {
32068 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32070 arg3
= static_cast< bool >(val3
);
32073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32074 (arg1
)->Select(arg2
,arg3
);
32075 wxPyEndAllowThreads(__tstate
);
32076 if (PyErr_Occurred()) SWIG_fail
;
32078 resultobj
= SWIG_Py_Void();
32085 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32086 PyObject
*resultobj
= 0;
32087 wxListView
*arg1
= (wxListView
*) 0 ;
32093 PyObject
* obj0
= 0 ;
32094 PyObject
* obj1
= 0 ;
32095 char * kwnames
[] = {
32096 (char *) "self",(char *) "index", NULL
32099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32101 if (!SWIG_IsOK(res1
)) {
32102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32104 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32105 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32106 if (!SWIG_IsOK(ecode2
)) {
32107 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32109 arg2
= static_cast< long >(val2
);
32111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32112 (arg1
)->Focus(arg2
);
32113 wxPyEndAllowThreads(__tstate
);
32114 if (PyErr_Occurred()) SWIG_fail
;
32116 resultobj
= SWIG_Py_Void();
32123 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32124 PyObject
*resultobj
= 0;
32125 wxListView
*arg1
= (wxListView
*) 0 ;
32129 PyObject
*swig_obj
[1] ;
32131 if (!args
) SWIG_fail
;
32132 swig_obj
[0] = args
;
32133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32134 if (!SWIG_IsOK(res1
)) {
32135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32137 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32140 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
32141 wxPyEndAllowThreads(__tstate
);
32142 if (PyErr_Occurred()) SWIG_fail
;
32144 resultobj
= SWIG_From_long(static_cast< long >(result
));
32151 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32152 PyObject
*resultobj
= 0;
32153 wxListView
*arg1
= (wxListView
*) 0 ;
32160 PyObject
* obj0
= 0 ;
32161 PyObject
* obj1
= 0 ;
32162 char * kwnames
[] = {
32163 (char *) "self",(char *) "item", NULL
32166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32168 if (!SWIG_IsOK(res1
)) {
32169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32171 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32172 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32173 if (!SWIG_IsOK(ecode2
)) {
32174 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32176 arg2
= static_cast< long >(val2
);
32178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32179 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
32180 wxPyEndAllowThreads(__tstate
);
32181 if (PyErr_Occurred()) SWIG_fail
;
32183 resultobj
= SWIG_From_long(static_cast< long >(result
));
32190 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32191 PyObject
*resultobj
= 0;
32192 wxListView
*arg1
= (wxListView
*) 0 ;
32196 PyObject
*swig_obj
[1] ;
32198 if (!args
) SWIG_fail
;
32199 swig_obj
[0] = args
;
32200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32201 if (!SWIG_IsOK(res1
)) {
32202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32204 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32207 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
32208 wxPyEndAllowThreads(__tstate
);
32209 if (PyErr_Occurred()) SWIG_fail
;
32211 resultobj
= SWIG_From_long(static_cast< long >(result
));
32218 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32219 PyObject
*resultobj
= 0;
32220 wxListView
*arg1
= (wxListView
*) 0 ;
32227 PyObject
* obj0
= 0 ;
32228 PyObject
* obj1
= 0 ;
32229 char * kwnames
[] = {
32230 (char *) "self",(char *) "index", NULL
32233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32235 if (!SWIG_IsOK(res1
)) {
32236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32238 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32239 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32240 if (!SWIG_IsOK(ecode2
)) {
32241 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32243 arg2
= static_cast< long >(val2
);
32245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32246 result
= (bool)(arg1
)->IsSelected(arg2
);
32247 wxPyEndAllowThreads(__tstate
);
32248 if (PyErr_Occurred()) SWIG_fail
;
32251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32259 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32260 PyObject
*resultobj
= 0;
32261 wxListView
*arg1
= (wxListView
*) 0 ;
32270 PyObject
* obj0
= 0 ;
32271 PyObject
* obj1
= 0 ;
32272 PyObject
* obj2
= 0 ;
32273 char * kwnames
[] = {
32274 (char *) "self",(char *) "col",(char *) "image", NULL
32277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32279 if (!SWIG_IsOK(res1
)) {
32280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32282 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32283 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32284 if (!SWIG_IsOK(ecode2
)) {
32285 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32287 arg2
= static_cast< int >(val2
);
32288 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32289 if (!SWIG_IsOK(ecode3
)) {
32290 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32292 arg3
= static_cast< int >(val3
);
32294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32295 (arg1
)->SetColumnImage(arg2
,arg3
);
32296 wxPyEndAllowThreads(__tstate
);
32297 if (PyErr_Occurred()) SWIG_fail
;
32299 resultobj
= SWIG_Py_Void();
32306 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32307 PyObject
*resultobj
= 0;
32308 wxListView
*arg1
= (wxListView
*) 0 ;
32314 PyObject
* obj0
= 0 ;
32315 PyObject
* obj1
= 0 ;
32316 char * kwnames
[] = {
32317 (char *) "self",(char *) "col", NULL
32320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32322 if (!SWIG_IsOK(res1
)) {
32323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32325 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32326 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32327 if (!SWIG_IsOK(ecode2
)) {
32328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32330 arg2
= static_cast< int >(val2
);
32332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32333 (arg1
)->ClearColumnImage(arg2
);
32334 wxPyEndAllowThreads(__tstate
);
32335 if (PyErr_Occurred()) SWIG_fail
;
32337 resultobj
= SWIG_Py_Void();
32344 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32346 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32347 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32348 return SWIG_Py_Void();
32351 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32352 return SWIG_Python_InitShadowInstance(args
);
32355 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32356 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
32361 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
32362 PyObject
*pyobj
= 0;
32366 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32368 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32375 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32376 PyObject
*resultobj
= 0;
32377 wxTreeItemId
*result
= 0 ;
32379 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
32381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32382 result
= (wxTreeItemId
*)new wxTreeItemId();
32383 wxPyEndAllowThreads(__tstate
);
32384 if (PyErr_Occurred()) SWIG_fail
;
32386 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32393 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32394 PyObject
*resultobj
= 0;
32395 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32398 PyObject
*swig_obj
[1] ;
32400 if (!args
) SWIG_fail
;
32401 swig_obj
[0] = args
;
32402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32403 if (!SWIG_IsOK(res1
)) {
32404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32406 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32411 wxPyEndAllowThreads(__tstate
);
32412 if (PyErr_Occurred()) SWIG_fail
;
32414 resultobj
= SWIG_Py_Void();
32421 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32422 PyObject
*resultobj
= 0;
32423 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32427 PyObject
*swig_obj
[1] ;
32429 if (!args
) SWIG_fail
;
32430 swig_obj
[0] = args
;
32431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32432 if (!SWIG_IsOK(res1
)) {
32433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32435 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32438 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
32439 wxPyEndAllowThreads(__tstate
);
32440 if (PyErr_Occurred()) SWIG_fail
;
32443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32451 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32452 PyObject
*resultobj
= 0;
32453 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32454 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32460 PyObject
* obj0
= 0 ;
32461 PyObject
* obj1
= 0 ;
32462 char * kwnames
[] = {
32463 (char *) "self",(char *) "other", NULL
32466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32468 if (!SWIG_IsOK(res1
)) {
32469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32471 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32472 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32473 if (!SWIG_IsOK(res2
)) {
32474 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32476 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32479 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
32480 wxPyEndAllowThreads(__tstate
);
32481 if (PyErr_Occurred()) SWIG_fail
;
32484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32492 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32493 PyObject
*resultobj
= 0;
32494 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32495 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32501 PyObject
* obj0
= 0 ;
32502 PyObject
* obj1
= 0 ;
32503 char * kwnames
[] = {
32504 (char *) "self",(char *) "other", NULL
32507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32509 if (!SWIG_IsOK(res1
)) {
32510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32512 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32513 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32514 if (!SWIG_IsOK(res2
)) {
32515 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32517 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32520 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
32521 wxPyEndAllowThreads(__tstate
);
32522 if (PyErr_Occurred()) SWIG_fail
;
32525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32533 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32534 PyObject
*resultobj
= 0;
32535 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32536 void *arg2
= (void *) 0 ;
32540 PyObject
*swig_obj
[2] ;
32542 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
32543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32544 if (!SWIG_IsOK(res1
)) {
32545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32547 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32548 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
32549 if (!SWIG_IsOK(res2
)) {
32550 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32552 if (arg1
) (arg1
)->m_pItem
= arg2
;
32554 resultobj
= SWIG_Py_Void();
32561 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32562 PyObject
*resultobj
= 0;
32563 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32567 PyObject
*swig_obj
[1] ;
32569 if (!args
) SWIG_fail
;
32570 swig_obj
[0] = args
;
32571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32572 if (!SWIG_IsOK(res1
)) {
32573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32575 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32576 result
= (void *) ((arg1
)->m_pItem
);
32577 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
32584 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32586 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32587 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
32588 return SWIG_Py_Void();
32591 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32592 return SWIG_Python_InitShadowInstance(args
);
32595 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32596 PyObject
*resultobj
= 0;
32597 PyObject
*arg1
= (PyObject
*) NULL
;
32598 wxPyTreeItemData
*result
= 0 ;
32599 PyObject
* obj0
= 0 ;
32600 char * kwnames
[] = {
32601 (char *) "obj", NULL
32604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
32609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32610 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
32611 wxPyEndAllowThreads(__tstate
);
32612 if (PyErr_Occurred()) SWIG_fail
;
32614 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
32621 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32622 PyObject
*resultobj
= 0;
32623 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32626 PyObject
*swig_obj
[1] ;
32628 if (!args
) SWIG_fail
;
32629 swig_obj
[0] = args
;
32630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
32631 if (!SWIG_IsOK(res1
)) {
32632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32634 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32639 wxPyEndAllowThreads(__tstate
);
32640 if (PyErr_Occurred()) SWIG_fail
;
32642 resultobj
= SWIG_Py_Void();
32649 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32650 PyObject
*resultobj
= 0;
32651 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32652 PyObject
*result
= 0 ;
32655 PyObject
*swig_obj
[1] ;
32657 if (!args
) SWIG_fail
;
32658 swig_obj
[0] = args
;
32659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32660 if (!SWIG_IsOK(res1
)) {
32661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32663 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32666 result
= (PyObject
*)(arg1
)->GetData();
32667 wxPyEndAllowThreads(__tstate
);
32668 if (PyErr_Occurred()) SWIG_fail
;
32670 resultobj
= result
;
32677 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32678 PyObject
*resultobj
= 0;
32679 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32680 PyObject
*arg2
= (PyObject
*) 0 ;
32683 PyObject
* obj0
= 0 ;
32684 PyObject
* obj1
= 0 ;
32685 char * kwnames
[] = {
32686 (char *) "self",(char *) "obj", NULL
32689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32691 if (!SWIG_IsOK(res1
)) {
32692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32694 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32698 (arg1
)->SetData(arg2
);
32699 wxPyEndAllowThreads(__tstate
);
32700 if (PyErr_Occurred()) SWIG_fail
;
32702 resultobj
= SWIG_Py_Void();
32709 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32710 PyObject
*resultobj
= 0;
32711 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32712 wxTreeItemId
*result
= 0 ;
32715 PyObject
*swig_obj
[1] ;
32717 if (!args
) SWIG_fail
;
32718 swig_obj
[0] = args
;
32719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32720 if (!SWIG_IsOK(res1
)) {
32721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32723 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32727 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
32728 result
= (wxTreeItemId
*) &_result_ref
;
32730 wxPyEndAllowThreads(__tstate
);
32731 if (PyErr_Occurred()) SWIG_fail
;
32733 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32740 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32741 PyObject
*resultobj
= 0;
32742 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32743 wxTreeItemId
*arg2
= 0 ;
32748 PyObject
* obj0
= 0 ;
32749 PyObject
* obj1
= 0 ;
32750 char * kwnames
[] = {
32751 (char *) "self",(char *) "id", NULL
32754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32756 if (!SWIG_IsOK(res1
)) {
32757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32759 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32760 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32761 if (!SWIG_IsOK(res2
)) {
32762 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32765 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32767 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32770 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
32771 wxPyEndAllowThreads(__tstate
);
32772 if (PyErr_Occurred()) SWIG_fail
;
32774 resultobj
= SWIG_Py_Void();
32781 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32782 PyObject
*resultobj
= 0;
32783 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32786 PyObject
*swig_obj
[1] ;
32788 if (!args
) SWIG_fail
;
32789 swig_obj
[0] = args
;
32790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32791 if (!SWIG_IsOK(res1
)) {
32792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32794 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32797 wxPyTreeItemData_Destroy(arg1
);
32798 wxPyEndAllowThreads(__tstate
);
32799 if (PyErr_Occurred()) SWIG_fail
;
32801 resultobj
= SWIG_Py_Void();
32808 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32810 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32811 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
32812 return SWIG_Py_Void();
32815 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32816 return SWIG_Python_InitShadowInstance(args
);
32819 SWIGINTERN
int NullTreeItemId_set(PyObject
*_val
) {
32822 int res
= SWIG_ConvertPtr(_val
, &argp
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32823 if (!SWIG_IsOK(res
)) {
32824 SWIG_exception_fail(SWIG_ArgError(res
), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
32827 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
32829 wxTreeItemId
* temp
;
32830 temp
= reinterpret_cast< wxTreeItemId
* >(argp
);
32831 wxNullTreeItemId
= *temp
;
32832 if (SWIG_IsNewObj(res
)) delete temp
;
32841 SWIGINTERN PyObject
*NullTreeItemId_get(void) {
32842 PyObject
*pyobj
= 0;
32844 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId
), SWIGTYPE_p_wxTreeItemId
, 0 );
32849 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
32850 PyObject
*resultobj
= 0;
32851 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
32852 int arg2
= (int) 0 ;
32853 wxTreeEvent
*result
= 0 ;
32859 if ((nobjs
< 0) || (nobjs
> 2)) SWIG_fail
;
32861 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
32862 if (!SWIG_IsOK(ecode1
)) {
32863 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
32865 arg1
= static_cast< wxEventType
>(val1
);
32868 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
32869 if (!SWIG_IsOK(ecode2
)) {
32870 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
32872 arg2
= static_cast< int >(val2
);
32875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32876 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
32877 wxPyEndAllowThreads(__tstate
);
32878 if (PyErr_Occurred()) SWIG_fail
;
32880 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
32887 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
32888 PyObject
*resultobj
= 0;
32890 wxPyTreeCtrl
*arg2
= (wxPyTreeCtrl
*) 0 ;
32891 wxTreeItemId
&arg3_defvalue
= wxNullTreeItemId
;
32892 wxTreeItemId
*arg3
= (wxTreeItemId
*) &arg3_defvalue
;
32893 wxTreeEvent
*result
= 0 ;
32901 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
32902 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
32903 if (!SWIG_IsOK(ecode1
)) {
32904 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
32906 arg1
= static_cast< wxEventType
>(val1
);
32907 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
32908 if (!SWIG_IsOK(res2
)) {
32909 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'");
32911 arg2
= reinterpret_cast< wxPyTreeCtrl
* >(argp2
);
32913 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 );
32914 if (!SWIG_IsOK(res3
)) {
32915 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
32918 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
32920 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
32923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32924 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
,*arg3
);
32925 wxPyEndAllowThreads(__tstate
);
32926 if (PyErr_Occurred()) SWIG_fail
;
32928 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
32935 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
) {
32939 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TreeEvent",0,3,argv
))) SWIG_fail
;
32941 if ((argc
>= 0) && (argc
<= 2)) {
32946 int res
= SWIG_AsVal_int(argv
[1], NULL
);
32947 _v
= SWIG_CheckState(res
);
32950 if (!_v
) goto check_1
;
32952 return _wrap_new_TreeEvent__SWIG_0(self
, argc
, argv
);
32956 if ((argc
>= 2) && (argc
<= 3)) {
32957 return _wrap_new_TreeEvent__SWIG_1(self
, argc
, argv
);
32961 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TreeEvent'");
32966 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32967 PyObject
*resultobj
= 0;
32968 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32969 wxTreeItemId result
;
32972 PyObject
*swig_obj
[1] ;
32974 if (!args
) SWIG_fail
;
32975 swig_obj
[0] = args
;
32976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32977 if (!SWIG_IsOK(res1
)) {
32978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32980 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32983 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
32984 wxPyEndAllowThreads(__tstate
);
32985 if (PyErr_Occurred()) SWIG_fail
;
32987 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
32994 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32995 PyObject
*resultobj
= 0;
32996 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32997 wxTreeItemId
*arg2
= 0 ;
33002 PyObject
* obj0
= 0 ;
33003 PyObject
* obj1
= 0 ;
33004 char * kwnames
[] = {
33005 (char *) "self",(char *) "item", NULL
33008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33010 if (!SWIG_IsOK(res1
)) {
33011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33013 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33014 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33015 if (!SWIG_IsOK(res2
)) {
33016 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33019 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33021 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33024 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
33025 wxPyEndAllowThreads(__tstate
);
33026 if (PyErr_Occurred()) SWIG_fail
;
33028 resultobj
= SWIG_Py_Void();
33035 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33036 PyObject
*resultobj
= 0;
33037 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33038 wxTreeItemId result
;
33041 PyObject
*swig_obj
[1] ;
33043 if (!args
) SWIG_fail
;
33044 swig_obj
[0] = args
;
33045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33046 if (!SWIG_IsOK(res1
)) {
33047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33049 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33052 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
33053 wxPyEndAllowThreads(__tstate
);
33054 if (PyErr_Occurred()) SWIG_fail
;
33056 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33063 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33064 PyObject
*resultobj
= 0;
33065 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33066 wxTreeItemId
*arg2
= 0 ;
33071 PyObject
* obj0
= 0 ;
33072 PyObject
* obj1
= 0 ;
33073 char * kwnames
[] = {
33074 (char *) "self",(char *) "item", NULL
33077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33079 if (!SWIG_IsOK(res1
)) {
33080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33082 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33083 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33084 if (!SWIG_IsOK(res2
)) {
33085 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33088 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33090 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33093 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
33094 wxPyEndAllowThreads(__tstate
);
33095 if (PyErr_Occurred()) SWIG_fail
;
33097 resultobj
= SWIG_Py_Void();
33104 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33105 PyObject
*resultobj
= 0;
33106 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33110 PyObject
*swig_obj
[1] ;
33112 if (!args
) SWIG_fail
;
33113 swig_obj
[0] = args
;
33114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33115 if (!SWIG_IsOK(res1
)) {
33116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33118 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33121 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
33122 wxPyEndAllowThreads(__tstate
);
33123 if (PyErr_Occurred()) SWIG_fail
;
33125 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33132 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33133 PyObject
*resultobj
= 0;
33134 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33135 wxPoint
*arg2
= 0 ;
33139 PyObject
* obj0
= 0 ;
33140 PyObject
* obj1
= 0 ;
33141 char * kwnames
[] = {
33142 (char *) "self",(char *) "pt", NULL
33145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33147 if (!SWIG_IsOK(res1
)) {
33148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33150 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33153 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33157 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
33158 wxPyEndAllowThreads(__tstate
);
33159 if (PyErr_Occurred()) SWIG_fail
;
33161 resultobj
= SWIG_Py_Void();
33168 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33169 PyObject
*resultobj
= 0;
33170 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33171 wxKeyEvent
*result
= 0 ;
33174 PyObject
*swig_obj
[1] ;
33176 if (!args
) SWIG_fail
;
33177 swig_obj
[0] = args
;
33178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33179 if (!SWIG_IsOK(res1
)) {
33180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33182 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33186 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
33187 result
= (wxKeyEvent
*) &_result_ref
;
33189 wxPyEndAllowThreads(__tstate
);
33190 if (PyErr_Occurred()) SWIG_fail
;
33192 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
33199 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33200 PyObject
*resultobj
= 0;
33201 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33205 PyObject
*swig_obj
[1] ;
33207 if (!args
) SWIG_fail
;
33208 swig_obj
[0] = args
;
33209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33210 if (!SWIG_IsOK(res1
)) {
33211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33213 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33216 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
33217 wxPyEndAllowThreads(__tstate
);
33218 if (PyErr_Occurred()) SWIG_fail
;
33220 resultobj
= SWIG_From_int(static_cast< int >(result
));
33227 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33228 PyObject
*resultobj
= 0;
33229 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33230 wxKeyEvent
*arg2
= 0 ;
33235 PyObject
* obj0
= 0 ;
33236 PyObject
* obj1
= 0 ;
33237 char * kwnames
[] = {
33238 (char *) "self",(char *) "evt", NULL
33241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33243 if (!SWIG_IsOK(res1
)) {
33244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33246 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33247 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
33248 if (!SWIG_IsOK(res2
)) {
33249 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33252 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33254 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
33256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33257 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
33258 wxPyEndAllowThreads(__tstate
);
33259 if (PyErr_Occurred()) SWIG_fail
;
33261 resultobj
= SWIG_Py_Void();
33268 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33269 PyObject
*resultobj
= 0;
33270 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33271 wxString
*result
= 0 ;
33274 PyObject
*swig_obj
[1] ;
33276 if (!args
) SWIG_fail
;
33277 swig_obj
[0] = args
;
33278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33279 if (!SWIG_IsOK(res1
)) {
33280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33282 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33286 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
33287 result
= (wxString
*) &_result_ref
;
33289 wxPyEndAllowThreads(__tstate
);
33290 if (PyErr_Occurred()) SWIG_fail
;
33294 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33296 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33305 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33306 PyObject
*resultobj
= 0;
33307 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33308 wxString
*arg2
= 0 ;
33311 bool temp2
= false ;
33312 PyObject
* obj0
= 0 ;
33313 PyObject
* obj1
= 0 ;
33314 char * kwnames
[] = {
33315 (char *) "self",(char *) "label", NULL
33318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33320 if (!SWIG_IsOK(res1
)) {
33321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33323 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33325 arg2
= wxString_in_helper(obj1
);
33326 if (arg2
== NULL
) SWIG_fail
;
33330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33331 (arg1
)->SetLabel((wxString
const &)*arg2
);
33332 wxPyEndAllowThreads(__tstate
);
33333 if (PyErr_Occurred()) SWIG_fail
;
33335 resultobj
= SWIG_Py_Void();
33350 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33351 PyObject
*resultobj
= 0;
33352 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33356 PyObject
*swig_obj
[1] ;
33358 if (!args
) SWIG_fail
;
33359 swig_obj
[0] = args
;
33360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33361 if (!SWIG_IsOK(res1
)) {
33362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33364 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33367 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
33368 wxPyEndAllowThreads(__tstate
);
33369 if (PyErr_Occurred()) SWIG_fail
;
33372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33380 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33381 PyObject
*resultobj
= 0;
33382 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33388 PyObject
* obj0
= 0 ;
33389 PyObject
* obj1
= 0 ;
33390 char * kwnames
[] = {
33391 (char *) "self",(char *) "editCancelled", NULL
33394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33396 if (!SWIG_IsOK(res1
)) {
33397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33399 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33400 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33401 if (!SWIG_IsOK(ecode2
)) {
33402 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33404 arg2
= static_cast< bool >(val2
);
33406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33407 (arg1
)->SetEditCanceled(arg2
);
33408 wxPyEndAllowThreads(__tstate
);
33409 if (PyErr_Occurred()) SWIG_fail
;
33411 resultobj
= SWIG_Py_Void();
33418 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33419 PyObject
*resultobj
= 0;
33420 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33421 wxString
*arg2
= 0 ;
33424 bool temp2
= false ;
33425 PyObject
* obj0
= 0 ;
33426 PyObject
* obj1
= 0 ;
33427 char * kwnames
[] = {
33428 (char *) "self",(char *) "toolTip", NULL
33431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33433 if (!SWIG_IsOK(res1
)) {
33434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33436 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33438 arg2
= wxString_in_helper(obj1
);
33439 if (arg2
== NULL
) SWIG_fail
;
33443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33444 (arg1
)->SetToolTip((wxString
const &)*arg2
);
33445 wxPyEndAllowThreads(__tstate
);
33446 if (PyErr_Occurred()) SWIG_fail
;
33448 resultobj
= SWIG_Py_Void();
33463 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33464 PyObject
*resultobj
= 0;
33465 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33469 PyObject
*swig_obj
[1] ;
33471 if (!args
) SWIG_fail
;
33472 swig_obj
[0] = args
;
33473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33474 if (!SWIG_IsOK(res1
)) {
33475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33477 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33480 result
= (arg1
)->GetToolTip();
33481 wxPyEndAllowThreads(__tstate
);
33482 if (PyErr_Occurred()) SWIG_fail
;
33486 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33488 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33497 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33499 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33500 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
33501 return SWIG_Py_Void();
33504 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33505 return SWIG_Python_InitShadowInstance(args
);
33508 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33509 PyObject
*resultobj
= 0;
33510 wxWindow
*arg1
= (wxWindow
*) 0 ;
33511 int arg2
= (int) -1 ;
33512 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33513 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33514 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33515 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33516 long arg5
= (long) wxTR_DEFAULT_STYLE
;
33517 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33518 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33519 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
33520 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33521 wxPyTreeCtrl
*result
= 0 ;
33532 bool temp7
= false ;
33533 PyObject
* obj0
= 0 ;
33534 PyObject
* obj1
= 0 ;
33535 PyObject
* obj2
= 0 ;
33536 PyObject
* obj3
= 0 ;
33537 PyObject
* obj4
= 0 ;
33538 PyObject
* obj5
= 0 ;
33539 PyObject
* obj6
= 0 ;
33540 char * kwnames
[] = {
33541 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33546 if (!SWIG_IsOK(res1
)) {
33547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33549 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33551 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33552 if (!SWIG_IsOK(ecode2
)) {
33553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33555 arg2
= static_cast< int >(val2
);
33560 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33566 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33570 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
33571 if (!SWIG_IsOK(ecode5
)) {
33572 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33574 arg5
= static_cast< long >(val5
);
33577 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
33578 if (!SWIG_IsOK(res6
)) {
33579 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33582 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33584 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
33588 arg7
= wxString_in_helper(obj6
);
33589 if (arg7
== NULL
) SWIG_fail
;
33594 if (!wxPyCheckForApp()) SWIG_fail
;
33595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33596 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33597 wxPyEndAllowThreads(__tstate
);
33598 if (PyErr_Occurred()) SWIG_fail
;
33600 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
33615 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33616 PyObject
*resultobj
= 0;
33617 wxPyTreeCtrl
*result
= 0 ;
33619 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
33621 if (!wxPyCheckForApp()) SWIG_fail
;
33622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33623 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
33624 wxPyEndAllowThreads(__tstate
);
33625 if (PyErr_Occurred()) SWIG_fail
;
33627 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
33634 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33635 PyObject
*resultobj
= 0;
33636 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33637 wxWindow
*arg2
= (wxWindow
*) 0 ;
33638 int arg3
= (int) -1 ;
33639 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33640 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33641 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33642 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33643 long arg6
= (long) wxTR_DEFAULT_STYLE
;
33644 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33645 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33646 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
33647 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33661 bool temp8
= false ;
33662 PyObject
* obj0
= 0 ;
33663 PyObject
* obj1
= 0 ;
33664 PyObject
* obj2
= 0 ;
33665 PyObject
* obj3
= 0 ;
33666 PyObject
* obj4
= 0 ;
33667 PyObject
* obj5
= 0 ;
33668 PyObject
* obj6
= 0 ;
33669 PyObject
* obj7
= 0 ;
33670 char * kwnames
[] = {
33671 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
33675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33676 if (!SWIG_IsOK(res1
)) {
33677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33679 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33680 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33681 if (!SWIG_IsOK(res2
)) {
33682 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
33684 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33686 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33687 if (!SWIG_IsOK(ecode3
)) {
33688 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
33690 arg3
= static_cast< int >(val3
);
33695 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33701 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33705 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
33706 if (!SWIG_IsOK(ecode6
)) {
33707 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
33709 arg6
= static_cast< long >(val6
);
33712 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
33713 if (!SWIG_IsOK(res7
)) {
33714 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33717 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33719 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
33723 arg8
= wxString_in_helper(obj7
);
33724 if (arg8
== NULL
) SWIG_fail
;
33729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33730 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33731 wxPyEndAllowThreads(__tstate
);
33732 if (PyErr_Occurred()) SWIG_fail
;
33735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33751 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33752 PyObject
*resultobj
= 0;
33753 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33754 PyObject
*arg2
= (PyObject
*) 0 ;
33755 PyObject
*arg3
= (PyObject
*) 0 ;
33758 PyObject
* obj0
= 0 ;
33759 PyObject
* obj1
= 0 ;
33760 PyObject
* obj2
= 0 ;
33761 char * kwnames
[] = {
33762 (char *) "self",(char *) "self",(char *) "_class", NULL
33765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33767 if (!SWIG_IsOK(res1
)) {
33768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33770 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33775 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33776 wxPyEndAllowThreads(__tstate
);
33777 if (PyErr_Occurred()) SWIG_fail
;
33779 resultobj
= SWIG_Py_Void();
33786 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33787 PyObject
*resultobj
= 0;
33788 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33789 unsigned int result
;
33792 PyObject
*swig_obj
[1] ;
33794 if (!args
) SWIG_fail
;
33795 swig_obj
[0] = args
;
33796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33797 if (!SWIG_IsOK(res1
)) {
33798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33800 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33803 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
33804 wxPyEndAllowThreads(__tstate
);
33805 if (PyErr_Occurred()) SWIG_fail
;
33807 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33814 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33815 PyObject
*resultobj
= 0;
33816 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33817 unsigned int result
;
33820 PyObject
*swig_obj
[1] ;
33822 if (!args
) SWIG_fail
;
33823 swig_obj
[0] = args
;
33824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33825 if (!SWIG_IsOK(res1
)) {
33826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33828 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33831 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
33832 wxPyEndAllowThreads(__tstate
);
33833 if (PyErr_Occurred()) SWIG_fail
;
33835 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33842 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33843 PyObject
*resultobj
= 0;
33844 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33845 unsigned int arg2
;
33848 unsigned int val2
;
33850 PyObject
* obj0
= 0 ;
33851 PyObject
* obj1
= 0 ;
33852 char * kwnames
[] = {
33853 (char *) "self",(char *) "indent", NULL
33856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33858 if (!SWIG_IsOK(res1
)) {
33859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33861 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33862 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33863 if (!SWIG_IsOK(ecode2
)) {
33864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
33866 arg2
= static_cast< unsigned int >(val2
);
33868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33869 (arg1
)->SetIndent(arg2
);
33870 wxPyEndAllowThreads(__tstate
);
33871 if (PyErr_Occurred()) SWIG_fail
;
33873 resultobj
= SWIG_Py_Void();
33880 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33881 PyObject
*resultobj
= 0;
33882 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33883 unsigned int result
;
33886 PyObject
*swig_obj
[1] ;
33888 if (!args
) SWIG_fail
;
33889 swig_obj
[0] = args
;
33890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33891 if (!SWIG_IsOK(res1
)) {
33892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33894 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33897 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
33898 wxPyEndAllowThreads(__tstate
);
33899 if (PyErr_Occurred()) SWIG_fail
;
33901 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33908 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33909 PyObject
*resultobj
= 0;
33910 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33911 unsigned int arg2
;
33914 unsigned int val2
;
33916 PyObject
* obj0
= 0 ;
33917 PyObject
* obj1
= 0 ;
33918 char * kwnames
[] = {
33919 (char *) "self",(char *) "spacing", NULL
33922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33924 if (!SWIG_IsOK(res1
)) {
33925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33927 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33928 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33929 if (!SWIG_IsOK(ecode2
)) {
33930 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
33932 arg2
= static_cast< unsigned int >(val2
);
33934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33935 (arg1
)->SetSpacing(arg2
);
33936 wxPyEndAllowThreads(__tstate
);
33937 if (PyErr_Occurred()) SWIG_fail
;
33939 resultobj
= SWIG_Py_Void();
33946 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33947 PyObject
*resultobj
= 0;
33948 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33949 wxImageList
*result
= 0 ;
33952 PyObject
*swig_obj
[1] ;
33954 if (!args
) SWIG_fail
;
33955 swig_obj
[0] = args
;
33956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33957 if (!SWIG_IsOK(res1
)) {
33958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33960 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33963 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
33964 wxPyEndAllowThreads(__tstate
);
33965 if (PyErr_Occurred()) SWIG_fail
;
33968 resultobj
= wxPyMake_wxObject(result
, (bool)0);
33976 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33977 PyObject
*resultobj
= 0;
33978 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33979 wxImageList
*result
= 0 ;
33982 PyObject
*swig_obj
[1] ;
33984 if (!args
) SWIG_fail
;
33985 swig_obj
[0] = args
;
33986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33987 if (!SWIG_IsOK(res1
)) {
33988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33990 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33993 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
33994 wxPyEndAllowThreads(__tstate
);
33995 if (PyErr_Occurred()) SWIG_fail
;
33998 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34006 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34007 PyObject
*resultobj
= 0;
34008 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34009 wxImageList
*arg2
= (wxImageList
*) 0 ;
34014 PyObject
* obj0
= 0 ;
34015 PyObject
* obj1
= 0 ;
34016 char * kwnames
[] = {
34017 (char *) "self",(char *) "imageList", NULL
34020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34022 if (!SWIG_IsOK(res1
)) {
34023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34025 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34026 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34027 if (!SWIG_IsOK(res2
)) {
34028 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34030 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34033 (arg1
)->SetImageList(arg2
);
34034 wxPyEndAllowThreads(__tstate
);
34035 if (PyErr_Occurred()) SWIG_fail
;
34037 resultobj
= SWIG_Py_Void();
34044 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34045 PyObject
*resultobj
= 0;
34046 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34047 wxImageList
*arg2
= (wxImageList
*) 0 ;
34052 PyObject
* obj0
= 0 ;
34053 PyObject
* obj1
= 0 ;
34054 char * kwnames
[] = {
34055 (char *) "self",(char *) "imageList", NULL
34058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34060 if (!SWIG_IsOK(res1
)) {
34061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34063 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34064 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34065 if (!SWIG_IsOK(res2
)) {
34066 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34068 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34071 (arg1
)->SetStateImageList(arg2
);
34072 wxPyEndAllowThreads(__tstate
);
34073 if (PyErr_Occurred()) SWIG_fail
;
34075 resultobj
= SWIG_Py_Void();
34082 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34083 PyObject
*resultobj
= 0;
34084 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34085 wxImageList
*arg2
= (wxImageList
*) 0 ;
34089 PyObject
* obj0
= 0 ;
34090 PyObject
* obj1
= 0 ;
34091 char * kwnames
[] = {
34092 (char *) "self",(char *) "imageList", NULL
34095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34097 if (!SWIG_IsOK(res1
)) {
34098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34100 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34101 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34102 if (!SWIG_IsOK(res2
)) {
34103 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34107 (arg1
)->AssignImageList(arg2
);
34108 wxPyEndAllowThreads(__tstate
);
34109 if (PyErr_Occurred()) SWIG_fail
;
34111 resultobj
= SWIG_Py_Void();
34118 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34119 PyObject
*resultobj
= 0;
34120 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34121 wxImageList
*arg2
= (wxImageList
*) 0 ;
34125 PyObject
* obj0
= 0 ;
34126 PyObject
* obj1
= 0 ;
34127 char * kwnames
[] = {
34128 (char *) "self",(char *) "imageList", NULL
34131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34133 if (!SWIG_IsOK(res1
)) {
34134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34136 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34137 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34138 if (!SWIG_IsOK(res2
)) {
34139 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34143 (arg1
)->AssignStateImageList(arg2
);
34144 wxPyEndAllowThreads(__tstate
);
34145 if (PyErr_Occurred()) SWIG_fail
;
34147 resultobj
= SWIG_Py_Void();
34154 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34155 PyObject
*resultobj
= 0;
34156 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34157 wxTreeItemId
*arg2
= 0 ;
34163 PyObject
* obj0
= 0 ;
34164 PyObject
* obj1
= 0 ;
34165 char * kwnames
[] = {
34166 (char *) "self",(char *) "item", NULL
34169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34171 if (!SWIG_IsOK(res1
)) {
34172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34174 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34175 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34176 if (!SWIG_IsOK(res2
)) {
34177 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34180 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34182 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34185 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
34186 wxPyEndAllowThreads(__tstate
);
34187 if (PyErr_Occurred()) SWIG_fail
;
34191 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34193 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34202 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34203 PyObject
*resultobj
= 0;
34204 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34205 wxTreeItemId
*arg2
= 0 ;
34206 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34214 PyObject
* obj0
= 0 ;
34215 PyObject
* obj1
= 0 ;
34216 PyObject
* obj2
= 0 ;
34217 char * kwnames
[] = {
34218 (char *) "self",(char *) "item",(char *) "which", NULL
34221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34223 if (!SWIG_IsOK(res1
)) {
34224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34226 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34227 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34228 if (!SWIG_IsOK(res2
)) {
34229 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34232 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34234 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34236 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34237 if (!SWIG_IsOK(ecode3
)) {
34238 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34240 arg3
= static_cast< wxTreeItemIcon
>(val3
);
34243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34244 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
34245 wxPyEndAllowThreads(__tstate
);
34246 if (PyErr_Occurred()) SWIG_fail
;
34248 resultobj
= SWIG_From_int(static_cast< int >(result
));
34255 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34256 PyObject
*resultobj
= 0;
34257 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34258 wxTreeItemId
*arg2
= 0 ;
34259 wxPyTreeItemData
*result
= 0 ;
34264 PyObject
* obj0
= 0 ;
34265 PyObject
* obj1
= 0 ;
34266 char * kwnames
[] = {
34267 (char *) "self",(char *) "item", NULL
34270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34272 if (!SWIG_IsOK(res1
)) {
34273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34275 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34276 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34277 if (!SWIG_IsOK(res2
)) {
34278 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34281 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34283 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34286 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
34287 wxPyEndAllowThreads(__tstate
);
34288 if (PyErr_Occurred()) SWIG_fail
;
34290 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
34297 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34298 PyObject
*resultobj
= 0;
34299 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34300 wxTreeItemId
*arg2
= 0 ;
34301 PyObject
*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_GetItemPyData",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_GetItemPyData" "', 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_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34323 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34325 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34328 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
34329 wxPyEndAllowThreads(__tstate
);
34330 if (PyErr_Occurred()) SWIG_fail
;
34332 resultobj
= result
;
34339 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34340 PyObject
*resultobj
= 0;
34341 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34342 wxTreeItemId
*arg2
= 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_GetItemTextColour",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_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
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_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34365 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34367 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34370 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
34371 wxPyEndAllowThreads(__tstate
);
34372 if (PyErr_Occurred()) SWIG_fail
;
34374 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34381 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(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_GetItemBackgroundColour",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_GetItemBackgroundColour" "', 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_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34407 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34409 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34412 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((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_GetItemFont(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_GetItemFont",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_GetItemFont" "', 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_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34449 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34451 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34454 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
34455 wxPyEndAllowThreads(__tstate
);
34456 if (PyErr_Occurred()) SWIG_fail
;
34458 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
34465 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34466 PyObject
*resultobj
= 0;
34467 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34468 wxTreeItemId
*arg2
= 0 ;
34469 wxString
*arg3
= 0 ;
34474 bool temp3
= false ;
34475 PyObject
* obj0
= 0 ;
34476 PyObject
* obj1
= 0 ;
34477 PyObject
* obj2
= 0 ;
34478 char * kwnames
[] = {
34479 (char *) "self",(char *) "item",(char *) "text", NULL
34482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34484 if (!SWIG_IsOK(res1
)) {
34485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34487 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34488 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34489 if (!SWIG_IsOK(res2
)) {
34490 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34493 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34495 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34497 arg3
= wxString_in_helper(obj2
);
34498 if (arg3
== NULL
) SWIG_fail
;
34502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34503 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
34504 wxPyEndAllowThreads(__tstate
);
34505 if (PyErr_Occurred()) SWIG_fail
;
34507 resultobj
= SWIG_Py_Void();
34522 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34523 PyObject
*resultobj
= 0;
34524 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34525 wxTreeItemId
*arg2
= 0 ;
34527 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34536 PyObject
* obj0
= 0 ;
34537 PyObject
* obj1
= 0 ;
34538 PyObject
* obj2
= 0 ;
34539 PyObject
* obj3
= 0 ;
34540 char * kwnames
[] = {
34541 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34546 if (!SWIG_IsOK(res1
)) {
34547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34549 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34550 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34551 if (!SWIG_IsOK(res2
)) {
34552 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34555 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34557 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34558 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34559 if (!SWIG_IsOK(ecode3
)) {
34560 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34562 arg3
= static_cast< int >(val3
);
34564 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34565 if (!SWIG_IsOK(ecode4
)) {
34566 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34568 arg4
= static_cast< wxTreeItemIcon
>(val4
);
34571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34572 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
34573 wxPyEndAllowThreads(__tstate
);
34574 if (PyErr_Occurred()) SWIG_fail
;
34576 resultobj
= SWIG_Py_Void();
34583 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34584 PyObject
*resultobj
= 0;
34585 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34586 wxTreeItemId
*arg2
= 0 ;
34587 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
34593 PyObject
* obj0
= 0 ;
34594 PyObject
* obj1
= 0 ;
34595 PyObject
* obj2
= 0 ;
34596 char * kwnames
[] = {
34597 (char *) "self",(char *) "item",(char *) "data", NULL
34600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34602 if (!SWIG_IsOK(res1
)) {
34603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34605 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34606 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34607 if (!SWIG_IsOK(res2
)) {
34608 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34611 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34613 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34614 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
34615 if (!SWIG_IsOK(res3
)) {
34616 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34620 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34621 wxPyEndAllowThreads(__tstate
);
34622 if (PyErr_Occurred()) SWIG_fail
;
34624 resultobj
= SWIG_Py_Void();
34631 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34632 PyObject
*resultobj
= 0;
34633 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34634 wxTreeItemId
*arg2
= 0 ;
34635 PyObject
*arg3
= (PyObject
*) 0 ;
34640 PyObject
* obj0
= 0 ;
34641 PyObject
* obj1
= 0 ;
34642 PyObject
* obj2
= 0 ;
34643 char * kwnames
[] = {
34644 (char *) "self",(char *) "item",(char *) "obj", NULL
34647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34649 if (!SWIG_IsOK(res1
)) {
34650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34652 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34653 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34654 if (!SWIG_IsOK(res2
)) {
34655 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34658 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34660 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34664 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34665 wxPyEndAllowThreads(__tstate
);
34666 if (PyErr_Occurred()) SWIG_fail
;
34668 resultobj
= SWIG_Py_Void();
34675 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34676 PyObject
*resultobj
= 0;
34677 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34678 wxTreeItemId
*arg2
= 0 ;
34679 bool arg3
= (bool) true ;
34686 PyObject
* obj0
= 0 ;
34687 PyObject
* obj1
= 0 ;
34688 PyObject
* obj2
= 0 ;
34689 char * kwnames
[] = {
34690 (char *) "self",(char *) "item",(char *) "has", NULL
34693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34695 if (!SWIG_IsOK(res1
)) {
34696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34698 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34699 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34700 if (!SWIG_IsOK(res2
)) {
34701 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34704 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34706 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34708 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34709 if (!SWIG_IsOK(ecode3
)) {
34710 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
34712 arg3
= static_cast< bool >(val3
);
34715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34716 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
34717 wxPyEndAllowThreads(__tstate
);
34718 if (PyErr_Occurred()) SWIG_fail
;
34720 resultobj
= SWIG_Py_Void();
34727 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34728 PyObject
*resultobj
= 0;
34729 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34730 wxTreeItemId
*arg2
= 0 ;
34731 bool arg3
= (bool) true ;
34738 PyObject
* obj0
= 0 ;
34739 PyObject
* obj1
= 0 ;
34740 PyObject
* obj2
= 0 ;
34741 char * kwnames
[] = {
34742 (char *) "self",(char *) "item",(char *) "bold", NULL
34745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34747 if (!SWIG_IsOK(res1
)) {
34748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34750 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34751 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34752 if (!SWIG_IsOK(res2
)) {
34753 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34756 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34758 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34760 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34761 if (!SWIG_IsOK(ecode3
)) {
34762 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
34764 arg3
= static_cast< bool >(val3
);
34767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34768 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
34769 wxPyEndAllowThreads(__tstate
);
34770 if (PyErr_Occurred()) SWIG_fail
;
34772 resultobj
= SWIG_Py_Void();
34779 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34780 PyObject
*resultobj
= 0;
34781 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34782 wxTreeItemId
*arg2
= 0 ;
34783 bool arg3
= (bool) true ;
34790 PyObject
* obj0
= 0 ;
34791 PyObject
* obj1
= 0 ;
34792 PyObject
* obj2
= 0 ;
34793 char * kwnames
[] = {
34794 (char *) "self",(char *) "item",(char *) "highlight", NULL
34797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34799 if (!SWIG_IsOK(res1
)) {
34800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34802 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34803 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34804 if (!SWIG_IsOK(res2
)) {
34805 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34808 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34810 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34812 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34813 if (!SWIG_IsOK(ecode3
)) {
34814 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
34816 arg3
= static_cast< bool >(val3
);
34819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34820 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
34821 wxPyEndAllowThreads(__tstate
);
34822 if (PyErr_Occurred()) SWIG_fail
;
34824 resultobj
= SWIG_Py_Void();
34831 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34832 PyObject
*resultobj
= 0;
34833 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34834 wxTreeItemId
*arg2
= 0 ;
34835 wxColour
*arg3
= 0 ;
34841 PyObject
* obj0
= 0 ;
34842 PyObject
* obj1
= 0 ;
34843 PyObject
* obj2
= 0 ;
34844 char * kwnames
[] = {
34845 (char *) "self",(char *) "item",(char *) "col", NULL
34848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34850 if (!SWIG_IsOK(res1
)) {
34851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34853 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34854 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34855 if (!SWIG_IsOK(res2
)) {
34856 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34859 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34861 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34864 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34868 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34869 wxPyEndAllowThreads(__tstate
);
34870 if (PyErr_Occurred()) SWIG_fail
;
34872 resultobj
= SWIG_Py_Void();
34879 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34880 PyObject
*resultobj
= 0;
34881 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34882 wxTreeItemId
*arg2
= 0 ;
34883 wxColour
*arg3
= 0 ;
34889 PyObject
* obj0
= 0 ;
34890 PyObject
* obj1
= 0 ;
34891 PyObject
* obj2
= 0 ;
34892 char * kwnames
[] = {
34893 (char *) "self",(char *) "item",(char *) "col", NULL
34896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34898 if (!SWIG_IsOK(res1
)) {
34899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34901 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34902 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34903 if (!SWIG_IsOK(res2
)) {
34904 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34907 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34909 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34912 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34916 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34917 wxPyEndAllowThreads(__tstate
);
34918 if (PyErr_Occurred()) SWIG_fail
;
34920 resultobj
= SWIG_Py_Void();
34927 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34928 PyObject
*resultobj
= 0;
34929 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34930 wxTreeItemId
*arg2
= 0 ;
34938 PyObject
* obj0
= 0 ;
34939 PyObject
* obj1
= 0 ;
34940 PyObject
* obj2
= 0 ;
34941 char * kwnames
[] = {
34942 (char *) "self",(char *) "item",(char *) "font", NULL
34945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34947 if (!SWIG_IsOK(res1
)) {
34948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34950 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34951 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34952 if (!SWIG_IsOK(res2
)) {
34953 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34956 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34958 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34959 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
34960 if (!SWIG_IsOK(res3
)) {
34961 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34964 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34966 arg3
= reinterpret_cast< wxFont
* >(argp3
);
34968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34969 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
34970 wxPyEndAllowThreads(__tstate
);
34971 if (PyErr_Occurred()) SWIG_fail
;
34973 resultobj
= SWIG_Py_Void();
34980 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34981 PyObject
*resultobj
= 0;
34982 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34983 wxTreeItemId
*arg2
= 0 ;
34989 PyObject
* obj0
= 0 ;
34990 PyObject
* obj1
= 0 ;
34991 char * kwnames
[] = {
34992 (char *) "self",(char *) "item", NULL
34995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34997 if (!SWIG_IsOK(res1
)) {
34998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35000 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35001 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35002 if (!SWIG_IsOK(res2
)) {
35003 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35006 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35008 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35011 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
35012 wxPyEndAllowThreads(__tstate
);
35013 if (PyErr_Occurred()) SWIG_fail
;
35016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35024 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35025 PyObject
*resultobj
= 0;
35026 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35027 wxTreeItemId
*arg2
= 0 ;
35033 PyObject
* obj0
= 0 ;
35034 PyObject
* obj1
= 0 ;
35035 char * kwnames
[] = {
35036 (char *) "self",(char *) "item", NULL
35039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35041 if (!SWIG_IsOK(res1
)) {
35042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35044 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35045 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35046 if (!SWIG_IsOK(res2
)) {
35047 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35050 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35052 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35055 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
35056 wxPyEndAllowThreads(__tstate
);
35057 if (PyErr_Occurred()) SWIG_fail
;
35060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35068 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35069 PyObject
*resultobj
= 0;
35070 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35071 wxTreeItemId
*arg2
= 0 ;
35077 PyObject
* obj0
= 0 ;
35078 PyObject
* obj1
= 0 ;
35079 char * kwnames
[] = {
35080 (char *) "self",(char *) "item", NULL
35083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35085 if (!SWIG_IsOK(res1
)) {
35086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35088 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35089 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35090 if (!SWIG_IsOK(res2
)) {
35091 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35094 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35096 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35099 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
35100 wxPyEndAllowThreads(__tstate
);
35101 if (PyErr_Occurred()) SWIG_fail
;
35104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35112 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35113 PyObject
*resultobj
= 0;
35114 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35115 wxTreeItemId
*arg2
= 0 ;
35121 PyObject
* obj0
= 0 ;
35122 PyObject
* obj1
= 0 ;
35123 char * kwnames
[] = {
35124 (char *) "self",(char *) "item", NULL
35127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35129 if (!SWIG_IsOK(res1
)) {
35130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35132 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35133 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35134 if (!SWIG_IsOK(res2
)) {
35135 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35138 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35140 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35143 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
35144 wxPyEndAllowThreads(__tstate
);
35145 if (PyErr_Occurred()) SWIG_fail
;
35148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35156 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35157 PyObject
*resultobj
= 0;
35158 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35159 wxTreeItemId
*arg2
= 0 ;
35165 PyObject
* obj0
= 0 ;
35166 PyObject
* obj1
= 0 ;
35167 char * kwnames
[] = {
35168 (char *) "self",(char *) "item", NULL
35171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35173 if (!SWIG_IsOK(res1
)) {
35174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35176 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35177 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35178 if (!SWIG_IsOK(res2
)) {
35179 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35182 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35184 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35187 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
35188 wxPyEndAllowThreads(__tstate
);
35189 if (PyErr_Occurred()) SWIG_fail
;
35192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35200 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35201 PyObject
*resultobj
= 0;
35202 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35203 wxTreeItemId
*arg2
= 0 ;
35204 bool arg3
= (bool) true ;
35212 PyObject
* obj0
= 0 ;
35213 PyObject
* obj1
= 0 ;
35214 PyObject
* obj2
= 0 ;
35215 char * kwnames
[] = {
35216 (char *) "self",(char *) "item",(char *) "recursively", NULL
35219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35221 if (!SWIG_IsOK(res1
)) {
35222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35224 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35225 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35226 if (!SWIG_IsOK(res2
)) {
35227 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35230 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35232 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35234 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35235 if (!SWIG_IsOK(ecode3
)) {
35236 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35238 arg3
= static_cast< bool >(val3
);
35241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35242 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
35243 wxPyEndAllowThreads(__tstate
);
35244 if (PyErr_Occurred()) SWIG_fail
;
35246 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35253 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35254 PyObject
*resultobj
= 0;
35255 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35256 wxTreeItemId result
;
35259 PyObject
*swig_obj
[1] ;
35261 if (!args
) SWIG_fail
;
35262 swig_obj
[0] = args
;
35263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35264 if (!SWIG_IsOK(res1
)) {
35265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35267 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35270 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
35271 wxPyEndAllowThreads(__tstate
);
35272 if (PyErr_Occurred()) SWIG_fail
;
35274 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35281 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35282 PyObject
*resultobj
= 0;
35283 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35284 wxTreeItemId result
;
35287 PyObject
*swig_obj
[1] ;
35289 if (!args
) SWIG_fail
;
35290 swig_obj
[0] = args
;
35291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35292 if (!SWIG_IsOK(res1
)) {
35293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35295 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35298 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
35299 wxPyEndAllowThreads(__tstate
);
35300 if (PyErr_Occurred()) SWIG_fail
;
35302 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35309 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35310 PyObject
*resultobj
= 0;
35311 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35312 PyObject
*result
= 0 ;
35315 PyObject
*swig_obj
[1] ;
35317 if (!args
) SWIG_fail
;
35318 swig_obj
[0] = args
;
35319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35320 if (!SWIG_IsOK(res1
)) {
35321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35323 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35326 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
35327 wxPyEndAllowThreads(__tstate
);
35328 if (PyErr_Occurred()) SWIG_fail
;
35330 resultobj
= result
;
35337 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35338 PyObject
*resultobj
= 0;
35339 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35340 wxTreeItemId
*arg2
= 0 ;
35341 wxTreeItemId result
;
35346 PyObject
* obj0
= 0 ;
35347 PyObject
* obj1
= 0 ;
35348 char * kwnames
[] = {
35349 (char *) "self",(char *) "item", NULL
35352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35354 if (!SWIG_IsOK(res1
)) {
35355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35357 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35358 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35359 if (!SWIG_IsOK(res2
)) {
35360 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35363 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35365 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35368 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
35369 wxPyEndAllowThreads(__tstate
);
35370 if (PyErr_Occurred()) SWIG_fail
;
35372 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35379 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35380 PyObject
*resultobj
= 0;
35381 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35382 wxTreeItemId
*arg2
= 0 ;
35383 PyObject
*result
= 0 ;
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_GetFirstChild",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_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
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_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35405 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35407 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35410 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
35411 wxPyEndAllowThreads(__tstate
);
35412 if (PyErr_Occurred()) SWIG_fail
;
35414 resultobj
= result
;
35421 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35422 PyObject
*resultobj
= 0;
35423 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35424 wxTreeItemId
*arg2
= 0 ;
35425 void *arg3
= (void *) 0 ;
35426 PyObject
*result
= 0 ;
35432 PyObject
* obj0
= 0 ;
35433 PyObject
* obj1
= 0 ;
35434 PyObject
* obj2
= 0 ;
35435 char * kwnames
[] = {
35436 (char *) "self",(char *) "item",(char *) "cookie", NULL
35439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35441 if (!SWIG_IsOK(res1
)) {
35442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35444 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35445 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35446 if (!SWIG_IsOK(res2
)) {
35447 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35450 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35452 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35453 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
35454 if (!SWIG_IsOK(res3
)) {
35455 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35459 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35460 wxPyEndAllowThreads(__tstate
);
35461 if (PyErr_Occurred()) SWIG_fail
;
35463 resultobj
= result
;
35470 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35471 PyObject
*resultobj
= 0;
35472 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35473 wxTreeItemId
*arg2
= 0 ;
35474 wxTreeItemId result
;
35479 PyObject
* obj0
= 0 ;
35480 PyObject
* obj1
= 0 ;
35481 char * kwnames
[] = {
35482 (char *) "self",(char *) "item", NULL
35485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35487 if (!SWIG_IsOK(res1
)) {
35488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35490 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35491 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35492 if (!SWIG_IsOK(res2
)) {
35493 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35496 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35498 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35501 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
35502 wxPyEndAllowThreads(__tstate
);
35503 if (PyErr_Occurred()) SWIG_fail
;
35505 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35512 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(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_GetNextSibling",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_GetNextSibling" "', 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_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35538 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35540 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35543 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((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_GetPrevSibling(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_GetPrevSibling",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_GetPrevSibling" "', 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_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35580 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35582 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35585 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((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_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35597 PyObject
*resultobj
= 0;
35598 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35599 wxTreeItemId result
;
35602 PyObject
*swig_obj
[1] ;
35604 if (!args
) SWIG_fail
;
35605 swig_obj
[0] = args
;
35606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35607 if (!SWIG_IsOK(res1
)) {
35608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35610 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35613 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
35614 wxPyEndAllowThreads(__tstate
);
35615 if (PyErr_Occurred()) SWIG_fail
;
35617 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35624 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35625 PyObject
*resultobj
= 0;
35626 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35627 wxTreeItemId
*arg2
= 0 ;
35628 wxTreeItemId result
;
35633 PyObject
* obj0
= 0 ;
35634 PyObject
* obj1
= 0 ;
35635 char * kwnames
[] = {
35636 (char *) "self",(char *) "item", NULL
35639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35641 if (!SWIG_IsOK(res1
)) {
35642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35644 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35645 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35646 if (!SWIG_IsOK(res2
)) {
35647 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35650 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35652 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35655 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
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_GetPrevVisible(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_GetPrevVisible",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_GetPrevVisible" "', 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_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35692 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35694 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35697 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((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_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35709 PyObject
*resultobj
= 0;
35710 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35711 wxString
*arg2
= 0 ;
35712 int arg3
= (int) -1 ;
35713 int arg4
= (int) -1 ;
35714 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
35715 wxTreeItemId result
;
35718 bool temp2
= false ;
35724 PyObject
* obj0
= 0 ;
35725 PyObject
* obj1
= 0 ;
35726 PyObject
* obj2
= 0 ;
35727 PyObject
* obj3
= 0 ;
35728 PyObject
* obj4
= 0 ;
35729 char * kwnames
[] = {
35730 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35735 if (!SWIG_IsOK(res1
)) {
35736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35738 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35740 arg2
= wxString_in_helper(obj1
);
35741 if (arg2
== NULL
) SWIG_fail
;
35745 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35746 if (!SWIG_IsOK(ecode3
)) {
35747 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
35749 arg3
= static_cast< int >(val3
);
35752 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35753 if (!SWIG_IsOK(ecode4
)) {
35754 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
35756 arg4
= static_cast< int >(val4
);
35759 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35760 if (!SWIG_IsOK(res5
)) {
35761 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
35765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35766 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
35767 wxPyEndAllowThreads(__tstate
);
35768 if (PyErr_Occurred()) SWIG_fail
;
35770 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35785 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35786 PyObject
*resultobj
= 0;
35787 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35788 wxTreeItemId
*arg2
= 0 ;
35789 wxString
*arg3
= 0 ;
35790 int arg4
= (int) -1 ;
35791 int arg5
= (int) -1 ;
35792 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
35793 wxTreeItemId result
;
35798 bool temp3
= false ;
35804 PyObject
* obj0
= 0 ;
35805 PyObject
* obj1
= 0 ;
35806 PyObject
* obj2
= 0 ;
35807 PyObject
* obj3
= 0 ;
35808 PyObject
* obj4
= 0 ;
35809 PyObject
* obj5
= 0 ;
35810 char * kwnames
[] = {
35811 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
35815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35816 if (!SWIG_IsOK(res1
)) {
35817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35819 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35820 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35821 if (!SWIG_IsOK(res2
)) {
35822 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35825 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35827 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35829 arg3
= wxString_in_helper(obj2
);
35830 if (arg3
== NULL
) SWIG_fail
;
35834 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35835 if (!SWIG_IsOK(ecode4
)) {
35836 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
35838 arg4
= static_cast< int >(val4
);
35841 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35842 if (!SWIG_IsOK(ecode5
)) {
35843 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
35845 arg5
= static_cast< int >(val5
);
35848 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35849 if (!SWIG_IsOK(res6
)) {
35850 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
35854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35855 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
35856 wxPyEndAllowThreads(__tstate
);
35857 if (PyErr_Occurred()) SWIG_fail
;
35859 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35874 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35875 PyObject
*resultobj
= 0;
35876 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35877 wxTreeItemId
*arg2
= 0 ;
35878 wxTreeItemId
*arg3
= 0 ;
35879 wxString
*arg4
= 0 ;
35880 int arg5
= (int) -1 ;
35881 int arg6
= (int) -1 ;
35882 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
35883 wxTreeItemId result
;
35890 bool temp4
= false ;
35896 PyObject
* obj0
= 0 ;
35897 PyObject
* obj1
= 0 ;
35898 PyObject
* obj2
= 0 ;
35899 PyObject
* obj3
= 0 ;
35900 PyObject
* obj4
= 0 ;
35901 PyObject
* obj5
= 0 ;
35902 PyObject
* obj6
= 0 ;
35903 char * kwnames
[] = {
35904 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35909 if (!SWIG_IsOK(res1
)) {
35910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35912 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35913 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35914 if (!SWIG_IsOK(res2
)) {
35915 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35918 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35920 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35921 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35922 if (!SWIG_IsOK(res3
)) {
35923 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35926 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35928 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
35930 arg4
= wxString_in_helper(obj3
);
35931 if (arg4
== NULL
) SWIG_fail
;
35935 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35936 if (!SWIG_IsOK(ecode5
)) {
35937 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
35939 arg5
= static_cast< int >(val5
);
35942 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35943 if (!SWIG_IsOK(ecode6
)) {
35944 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
35946 arg6
= static_cast< int >(val6
);
35949 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35950 if (!SWIG_IsOK(res7
)) {
35951 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
35955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35956 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
35957 wxPyEndAllowThreads(__tstate
);
35958 if (PyErr_Occurred()) SWIG_fail
;
35960 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35975 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35976 PyObject
*resultobj
= 0;
35977 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35978 wxTreeItemId
*arg2
= 0 ;
35980 wxString
*arg4
= 0 ;
35981 int arg5
= (int) -1 ;
35982 int arg6
= (int) -1 ;
35983 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
35984 wxTreeItemId result
;
35991 bool temp4
= false ;
35997 PyObject
* obj0
= 0 ;
35998 PyObject
* obj1
= 0 ;
35999 PyObject
* obj2
= 0 ;
36000 PyObject
* obj3
= 0 ;
36001 PyObject
* obj4
= 0 ;
36002 PyObject
* obj5
= 0 ;
36003 PyObject
* obj6
= 0 ;
36004 char * kwnames
[] = {
36005 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36010 if (!SWIG_IsOK(res1
)) {
36011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36013 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36014 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36015 if (!SWIG_IsOK(res2
)) {
36016 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36019 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36021 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36022 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
36023 if (!SWIG_IsOK(ecode3
)) {
36024 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
36026 arg3
= static_cast< size_t >(val3
);
36028 arg4
= wxString_in_helper(obj3
);
36029 if (arg4
== NULL
) SWIG_fail
;
36033 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36034 if (!SWIG_IsOK(ecode5
)) {
36035 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36037 arg5
= static_cast< int >(val5
);
36040 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36041 if (!SWIG_IsOK(ecode6
)) {
36042 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36044 arg6
= static_cast< int >(val6
);
36047 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36048 if (!SWIG_IsOK(res7
)) {
36049 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36054 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36055 wxPyEndAllowThreads(__tstate
);
36056 if (PyErr_Occurred()) SWIG_fail
;
36058 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36073 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36074 PyObject
*resultobj
= 0;
36075 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36076 wxTreeItemId
*arg2
= 0 ;
36077 wxString
*arg3
= 0 ;
36078 int arg4
= (int) -1 ;
36079 int arg5
= (int) -1 ;
36080 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36081 wxTreeItemId result
;
36086 bool temp3
= false ;
36092 PyObject
* obj0
= 0 ;
36093 PyObject
* obj1
= 0 ;
36094 PyObject
* obj2
= 0 ;
36095 PyObject
* obj3
= 0 ;
36096 PyObject
* obj4
= 0 ;
36097 PyObject
* obj5
= 0 ;
36098 char * kwnames
[] = {
36099 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36104 if (!SWIG_IsOK(res1
)) {
36105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36107 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36108 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36109 if (!SWIG_IsOK(res2
)) {
36110 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36113 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36115 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36117 arg3
= wxString_in_helper(obj2
);
36118 if (arg3
== NULL
) SWIG_fail
;
36122 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36123 if (!SWIG_IsOK(ecode4
)) {
36124 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36126 arg4
= static_cast< int >(val4
);
36129 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36130 if (!SWIG_IsOK(ecode5
)) {
36131 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36133 arg5
= static_cast< int >(val5
);
36136 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36137 if (!SWIG_IsOK(res6
)) {
36138 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36143 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36144 wxPyEndAllowThreads(__tstate
);
36145 if (PyErr_Occurred()) SWIG_fail
;
36147 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36162 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36163 PyObject
*resultobj
= 0;
36164 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36165 wxTreeItemId
*arg2
= 0 ;
36170 PyObject
* obj0
= 0 ;
36171 PyObject
* obj1
= 0 ;
36172 char * kwnames
[] = {
36173 (char *) "self",(char *) "item", NULL
36176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36178 if (!SWIG_IsOK(res1
)) {
36179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36181 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36182 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36183 if (!SWIG_IsOK(res2
)) {
36184 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36187 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36189 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36192 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
36193 wxPyEndAllowThreads(__tstate
);
36194 if (PyErr_Occurred()) SWIG_fail
;
36196 resultobj
= SWIG_Py_Void();
36203 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36204 PyObject
*resultobj
= 0;
36205 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36206 wxTreeItemId
*arg2
= 0 ;
36211 PyObject
* obj0
= 0 ;
36212 PyObject
* obj1
= 0 ;
36213 char * kwnames
[] = {
36214 (char *) "self",(char *) "item", NULL
36217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36219 if (!SWIG_IsOK(res1
)) {
36220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36222 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36223 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36224 if (!SWIG_IsOK(res2
)) {
36225 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36228 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36230 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36233 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
36234 wxPyEndAllowThreads(__tstate
);
36235 if (PyErr_Occurred()) SWIG_fail
;
36237 resultobj
= SWIG_Py_Void();
36244 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36245 PyObject
*resultobj
= 0;
36246 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36249 PyObject
*swig_obj
[1] ;
36251 if (!args
) SWIG_fail
;
36252 swig_obj
[0] = args
;
36253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36254 if (!SWIG_IsOK(res1
)) {
36255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36257 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36260 (arg1
)->DeleteAllItems();
36261 wxPyEndAllowThreads(__tstate
);
36262 if (PyErr_Occurred()) SWIG_fail
;
36264 resultobj
= SWIG_Py_Void();
36271 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36272 PyObject
*resultobj
= 0;
36273 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36274 wxTreeItemId
*arg2
= 0 ;
36279 PyObject
* obj0
= 0 ;
36280 PyObject
* obj1
= 0 ;
36281 char * kwnames
[] = {
36282 (char *) "self",(char *) "item", NULL
36285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36287 if (!SWIG_IsOK(res1
)) {
36288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36290 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36291 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36292 if (!SWIG_IsOK(res2
)) {
36293 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36296 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36298 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36301 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
36302 wxPyEndAllowThreads(__tstate
);
36303 if (PyErr_Occurred()) SWIG_fail
;
36305 resultobj
= SWIG_Py_Void();
36312 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAllChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36313 PyObject
*resultobj
= 0;
36314 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36315 wxTreeItemId
*arg2
= 0 ;
36320 PyObject
* obj0
= 0 ;
36321 PyObject
* obj1
= 0 ;
36322 char * kwnames
[] = {
36323 (char *) "self",(char *) "item", NULL
36326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ExpandAllChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36328 if (!SWIG_IsOK(res1
)) {
36329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36331 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36332 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36333 if (!SWIG_IsOK(res2
)) {
36334 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36337 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36339 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36342 (arg1
)->ExpandAllChildren((wxTreeItemId
const &)*arg2
);
36343 wxPyEndAllowThreads(__tstate
);
36344 if (PyErr_Occurred()) SWIG_fail
;
36346 resultobj
= SWIG_Py_Void();
36353 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36354 PyObject
*resultobj
= 0;
36355 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36358 PyObject
*swig_obj
[1] ;
36360 if (!args
) SWIG_fail
;
36361 swig_obj
[0] = args
;
36362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36363 if (!SWIG_IsOK(res1
)) {
36364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36366 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36369 (arg1
)->ExpandAll();
36370 wxPyEndAllowThreads(__tstate
);
36371 if (PyErr_Occurred()) SWIG_fail
;
36373 resultobj
= SWIG_Py_Void();
36380 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36381 PyObject
*resultobj
= 0;
36382 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36383 wxTreeItemId
*arg2
= 0 ;
36388 PyObject
* obj0
= 0 ;
36389 PyObject
* obj1
= 0 ;
36390 char * kwnames
[] = {
36391 (char *) "self",(char *) "item", NULL
36394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36396 if (!SWIG_IsOK(res1
)) {
36397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36399 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36400 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36401 if (!SWIG_IsOK(res2
)) {
36402 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36405 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36407 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36410 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
36411 wxPyEndAllowThreads(__tstate
);
36412 if (PyErr_Occurred()) SWIG_fail
;
36414 resultobj
= SWIG_Py_Void();
36421 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36422 PyObject
*resultobj
= 0;
36423 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36424 wxTreeItemId
*arg2
= 0 ;
36429 PyObject
* obj0
= 0 ;
36430 PyObject
* obj1
= 0 ;
36431 char * kwnames
[] = {
36432 (char *) "self",(char *) "item", NULL
36435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36437 if (!SWIG_IsOK(res1
)) {
36438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36440 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36441 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36442 if (!SWIG_IsOK(res2
)) {
36443 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36446 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36448 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36451 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
36452 wxPyEndAllowThreads(__tstate
);
36453 if (PyErr_Occurred()) SWIG_fail
;
36455 resultobj
= SWIG_Py_Void();
36462 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36463 PyObject
*resultobj
= 0;
36464 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36465 wxTreeItemId
*arg2
= 0 ;
36470 PyObject
* obj0
= 0 ;
36471 PyObject
* obj1
= 0 ;
36472 char * kwnames
[] = {
36473 (char *) "self",(char *) "item", NULL
36476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36478 if (!SWIG_IsOK(res1
)) {
36479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36481 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36482 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36483 if (!SWIG_IsOK(res2
)) {
36484 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36487 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36489 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36492 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
36493 wxPyEndAllowThreads(__tstate
);
36494 if (PyErr_Occurred()) SWIG_fail
;
36496 resultobj
= SWIG_Py_Void();
36503 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36504 PyObject
*resultobj
= 0;
36505 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36508 PyObject
*swig_obj
[1] ;
36510 if (!args
) SWIG_fail
;
36511 swig_obj
[0] = args
;
36512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36513 if (!SWIG_IsOK(res1
)) {
36514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36516 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36519 (arg1
)->Unselect();
36520 wxPyEndAllowThreads(__tstate
);
36521 if (PyErr_Occurred()) SWIG_fail
;
36523 resultobj
= SWIG_Py_Void();
36530 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36531 PyObject
*resultobj
= 0;
36532 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36533 wxTreeItemId
*arg2
= 0 ;
36538 PyObject
* obj0
= 0 ;
36539 PyObject
* obj1
= 0 ;
36540 char * kwnames
[] = {
36541 (char *) "self",(char *) "item", NULL
36544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36546 if (!SWIG_IsOK(res1
)) {
36547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36549 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36550 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36551 if (!SWIG_IsOK(res2
)) {
36552 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36555 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36557 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36560 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
36561 wxPyEndAllowThreads(__tstate
);
36562 if (PyErr_Occurred()) SWIG_fail
;
36564 resultobj
= SWIG_Py_Void();
36571 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36572 PyObject
*resultobj
= 0;
36573 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36576 PyObject
*swig_obj
[1] ;
36578 if (!args
) SWIG_fail
;
36579 swig_obj
[0] = args
;
36580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36581 if (!SWIG_IsOK(res1
)) {
36582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36584 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36587 (arg1
)->UnselectAll();
36588 wxPyEndAllowThreads(__tstate
);
36589 if (PyErr_Occurred()) SWIG_fail
;
36591 resultobj
= SWIG_Py_Void();
36598 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36599 PyObject
*resultobj
= 0;
36600 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36601 wxTreeItemId
*arg2
= 0 ;
36602 bool arg3
= (bool) true ;
36609 PyObject
* obj0
= 0 ;
36610 PyObject
* obj1
= 0 ;
36611 PyObject
* obj2
= 0 ;
36612 char * kwnames
[] = {
36613 (char *) "self",(char *) "item",(char *) "select", NULL
36616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36618 if (!SWIG_IsOK(res1
)) {
36619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36621 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36622 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36623 if (!SWIG_IsOK(res2
)) {
36624 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36627 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36629 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36631 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36632 if (!SWIG_IsOK(ecode3
)) {
36633 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
36635 arg3
= static_cast< bool >(val3
);
36638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36639 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
36640 wxPyEndAllowThreads(__tstate
);
36641 if (PyErr_Occurred()) SWIG_fail
;
36643 resultobj
= SWIG_Py_Void();
36650 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36651 PyObject
*resultobj
= 0;
36652 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36653 wxTreeItemId
*arg2
= 0 ;
36658 PyObject
* obj0
= 0 ;
36659 PyObject
* obj1
= 0 ;
36660 char * kwnames
[] = {
36661 (char *) "self",(char *) "item", NULL
36664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36666 if (!SWIG_IsOK(res1
)) {
36667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36669 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36670 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36671 if (!SWIG_IsOK(res2
)) {
36672 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36675 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36677 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36680 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
36681 wxPyEndAllowThreads(__tstate
);
36682 if (PyErr_Occurred()) SWIG_fail
;
36684 resultobj
= SWIG_Py_Void();
36691 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36692 PyObject
*resultobj
= 0;
36693 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36694 wxTreeItemId
*arg2
= 0 ;
36699 PyObject
* obj0
= 0 ;
36700 PyObject
* obj1
= 0 ;
36701 char * kwnames
[] = {
36702 (char *) "self",(char *) "item", NULL
36705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36707 if (!SWIG_IsOK(res1
)) {
36708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36710 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36711 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36712 if (!SWIG_IsOK(res2
)) {
36713 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36716 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36718 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36721 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
36722 wxPyEndAllowThreads(__tstate
);
36723 if (PyErr_Occurred()) SWIG_fail
;
36725 resultobj
= SWIG_Py_Void();
36732 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36733 PyObject
*resultobj
= 0;
36734 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36735 wxTreeItemId
*arg2
= 0 ;
36740 PyObject
* obj0
= 0 ;
36741 PyObject
* obj1
= 0 ;
36742 char * kwnames
[] = {
36743 (char *) "self",(char *) "item", NULL
36746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36748 if (!SWIG_IsOK(res1
)) {
36749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36751 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36752 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36753 if (!SWIG_IsOK(res2
)) {
36754 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36757 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36759 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36762 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
36763 wxPyEndAllowThreads(__tstate
);
36764 if (PyErr_Occurred()) SWIG_fail
;
36766 resultobj
= SWIG_Py_Void();
36773 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36774 PyObject
*resultobj
= 0;
36775 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36776 wxTreeItemId
*arg2
= 0 ;
36781 PyObject
* obj0
= 0 ;
36782 PyObject
* obj1
= 0 ;
36783 char * kwnames
[] = {
36784 (char *) "self",(char *) "item", NULL
36787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36789 if (!SWIG_IsOK(res1
)) {
36790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36792 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36793 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36794 if (!SWIG_IsOK(res2
)) {
36795 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36798 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36800 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36803 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
36804 wxPyEndAllowThreads(__tstate
);
36805 if (PyErr_Occurred()) SWIG_fail
;
36807 resultobj
= SWIG_Py_Void();
36814 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36815 PyObject
*resultobj
= 0;
36816 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36817 wxTextCtrl
*result
= 0 ;
36820 PyObject
*swig_obj
[1] ;
36822 if (!args
) SWIG_fail
;
36823 swig_obj
[0] = args
;
36824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36825 if (!SWIG_IsOK(res1
)) {
36826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36828 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36831 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
36832 wxPyEndAllowThreads(__tstate
);
36833 if (PyErr_Occurred()) SWIG_fail
;
36836 resultobj
= wxPyMake_wxObject(result
, 0);
36844 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36845 PyObject
*resultobj
= 0;
36846 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36847 wxTreeItemId
*arg2
= 0 ;
36852 PyObject
* obj0
= 0 ;
36853 PyObject
* obj1
= 0 ;
36854 char * kwnames
[] = {
36855 (char *) "self",(char *) "item", NULL
36858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36860 if (!SWIG_IsOK(res1
)) {
36861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36863 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36864 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36865 if (!SWIG_IsOK(res2
)) {
36866 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36869 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36871 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36874 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
36875 wxPyEndAllowThreads(__tstate
);
36876 if (PyErr_Occurred()) SWIG_fail
;
36878 resultobj
= SWIG_Py_Void();
36885 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36886 PyObject
*resultobj
= 0;
36887 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36888 wxPoint
*arg2
= 0 ;
36890 wxTreeItemId result
;
36895 int res3
= SWIG_TMPOBJ
;
36896 PyObject
* obj0
= 0 ;
36897 PyObject
* obj1
= 0 ;
36898 char * kwnames
[] = {
36899 (char *) "self",(char *) "point", NULL
36903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36905 if (!SWIG_IsOK(res1
)) {
36906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36908 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36911 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36915 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
36916 wxPyEndAllowThreads(__tstate
);
36917 if (PyErr_Occurred()) SWIG_fail
;
36919 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36920 if (SWIG_IsTmpObj(res3
)) {
36921 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
36923 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
36924 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
36932 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36933 PyObject
*resultobj
= 0;
36934 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36935 wxTreeItemId
*arg2
= 0 ;
36936 bool arg3
= (bool) false ;
36937 PyObject
*result
= 0 ;
36944 PyObject
* obj0
= 0 ;
36945 PyObject
* obj1
= 0 ;
36946 PyObject
* obj2
= 0 ;
36947 char * kwnames
[] = {
36948 (char *) "self",(char *) "item",(char *) "textOnly", NULL
36951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36953 if (!SWIG_IsOK(res1
)) {
36954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36956 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36957 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36958 if (!SWIG_IsOK(res2
)) {
36959 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36962 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36964 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36966 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36967 if (!SWIG_IsOK(ecode3
)) {
36968 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
36970 arg3
= static_cast< bool >(val3
);
36973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36974 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
36975 wxPyEndAllowThreads(__tstate
);
36976 if (PyErr_Occurred()) SWIG_fail
;
36978 resultobj
= result
;
36985 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36986 PyObject
*resultobj
= 0;
36987 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
36988 SwigValueWrapper
<wxVisualAttributes
> result
;
36991 PyObject
* obj0
= 0 ;
36992 char * kwnames
[] = {
36993 (char *) "variant", NULL
36996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
36998 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
36999 if (!SWIG_IsOK(ecode1
)) {
37000 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
37002 arg1
= static_cast< wxWindowVariant
>(val1
);
37005 if (!wxPyCheckForApp()) SWIG_fail
;
37006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37007 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
37008 wxPyEndAllowThreads(__tstate
);
37009 if (PyErr_Occurred()) SWIG_fail
;
37011 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
37018 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37019 PyObject
*resultobj
= 0;
37020 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37026 PyObject
* obj0
= 0 ;
37027 PyObject
* obj1
= 0 ;
37028 char * kwnames
[] = {
37029 (char *) "self",(char *) "q", NULL
37032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37034 if (!SWIG_IsOK(res1
)) {
37035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37037 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37038 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37039 if (!SWIG_IsOK(ecode2
)) {
37040 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37042 arg2
= static_cast< bool >(val2
);
37044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37045 (arg1
)->SetQuickBestSize(arg2
);
37046 wxPyEndAllowThreads(__tstate
);
37047 if (PyErr_Occurred()) SWIG_fail
;
37049 resultobj
= SWIG_Py_Void();
37056 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37057 PyObject
*resultobj
= 0;
37058 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37062 PyObject
*swig_obj
[1] ;
37064 if (!args
) SWIG_fail
;
37065 swig_obj
[0] = args
;
37066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37067 if (!SWIG_IsOK(res1
)) {
37068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37070 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37073 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->GetQuickBestSize();
37074 wxPyEndAllowThreads(__tstate
);
37075 if (PyErr_Occurred()) SWIG_fail
;
37078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37086 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37088 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37089 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
37090 return SWIG_Py_Void();
37093 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37094 return SWIG_Python_InitShadowInstance(args
);
37097 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
37098 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
37103 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
37104 PyObject
*pyobj
= 0;
37108 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37110 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37117 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37118 PyObject
*resultobj
= 0;
37119 wxWindow
*arg1
= (wxWindow
*) 0 ;
37120 int arg2
= (int) (int)-1 ;
37121 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
37122 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
37123 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37124 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37125 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37126 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37127 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37128 wxString
const &arg7_defvalue
= wxPyEmptyString
;
37129 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37130 int arg8
= (int) 0 ;
37131 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
37132 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
37133 wxGenericDirCtrl
*result
= 0 ;
37138 bool temp3
= false ;
37143 bool temp7
= false ;
37146 bool temp9
= false ;
37147 PyObject
* obj0
= 0 ;
37148 PyObject
* obj1
= 0 ;
37149 PyObject
* obj2
= 0 ;
37150 PyObject
* obj3
= 0 ;
37151 PyObject
* obj4
= 0 ;
37152 PyObject
* obj5
= 0 ;
37153 PyObject
* obj6
= 0 ;
37154 PyObject
* obj7
= 0 ;
37155 PyObject
* obj8
= 0 ;
37156 char * kwnames
[] = {
37157 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
37161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37162 if (!SWIG_IsOK(res1
)) {
37163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37165 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37167 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37168 if (!SWIG_IsOK(ecode2
)) {
37169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37171 arg2
= static_cast< int >(val2
);
37175 arg3
= wxString_in_helper(obj2
);
37176 if (arg3
== NULL
) SWIG_fail
;
37183 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37189 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37193 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37194 if (!SWIG_IsOK(ecode6
)) {
37195 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37197 arg6
= static_cast< long >(val6
);
37201 arg7
= wxString_in_helper(obj6
);
37202 if (arg7
== NULL
) SWIG_fail
;
37207 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
37208 if (!SWIG_IsOK(ecode8
)) {
37209 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37211 arg8
= static_cast< int >(val8
);
37215 arg9
= wxString_in_helper(obj8
);
37216 if (arg9
== NULL
) SWIG_fail
;
37221 if (!wxPyCheckForApp()) SWIG_fail
;
37222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37223 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
37224 wxPyEndAllowThreads(__tstate
);
37225 if (PyErr_Occurred()) SWIG_fail
;
37227 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
37258 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37259 PyObject
*resultobj
= 0;
37260 wxGenericDirCtrl
*result
= 0 ;
37262 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
37264 if (!wxPyCheckForApp()) SWIG_fail
;
37265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37266 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
37267 wxPyEndAllowThreads(__tstate
);
37268 if (PyErr_Occurred()) SWIG_fail
;
37270 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
37277 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37278 PyObject
*resultobj
= 0;
37279 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37280 wxWindow
*arg2
= (wxWindow
*) 0 ;
37281 int arg3
= (int) (int)-1 ;
37282 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
37283 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
37284 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
37285 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
37286 wxSize
const &arg6_defvalue
= wxDefaultSize
;
37287 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
37288 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37289 wxString
const &arg8_defvalue
= wxPyEmptyString
;
37290 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37291 int arg9
= (int) 0 ;
37292 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
37293 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
37301 bool temp4
= false ;
37306 bool temp8
= false ;
37309 bool temp10
= false ;
37310 PyObject
* obj0
= 0 ;
37311 PyObject
* obj1
= 0 ;
37312 PyObject
* obj2
= 0 ;
37313 PyObject
* obj3
= 0 ;
37314 PyObject
* obj4
= 0 ;
37315 PyObject
* obj5
= 0 ;
37316 PyObject
* obj6
= 0 ;
37317 PyObject
* obj7
= 0 ;
37318 PyObject
* obj8
= 0 ;
37319 PyObject
* obj9
= 0 ;
37320 char * kwnames
[] = {
37321 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
37325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37326 if (!SWIG_IsOK(res1
)) {
37327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37329 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37330 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37331 if (!SWIG_IsOK(res2
)) {
37332 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37334 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37336 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37337 if (!SWIG_IsOK(ecode3
)) {
37338 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37340 arg3
= static_cast< int >(val3
);
37344 arg4
= wxString_in_helper(obj3
);
37345 if (arg4
== NULL
) SWIG_fail
;
37352 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
37358 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
37362 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
37363 if (!SWIG_IsOK(ecode7
)) {
37364 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37366 arg7
= static_cast< long >(val7
);
37370 arg8
= wxString_in_helper(obj7
);
37371 if (arg8
== NULL
) SWIG_fail
;
37376 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
37377 if (!SWIG_IsOK(ecode9
)) {
37378 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37380 arg9
= static_cast< int >(val9
);
37384 arg10
= wxString_in_helper(obj9
);
37385 if (arg10
== NULL
) SWIG_fail
;
37390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37391 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
37392 wxPyEndAllowThreads(__tstate
);
37393 if (PyErr_Occurred()) SWIG_fail
;
37396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37428 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37429 PyObject
*resultobj
= 0;
37430 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37431 wxString
*arg2
= 0 ;
37435 bool temp2
= false ;
37436 PyObject
* obj0
= 0 ;
37437 PyObject
* obj1
= 0 ;
37438 char * kwnames
[] = {
37439 (char *) "self",(char *) "path", NULL
37442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37444 if (!SWIG_IsOK(res1
)) {
37445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37447 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37449 arg2
= wxString_in_helper(obj1
);
37450 if (arg2
== NULL
) SWIG_fail
;
37454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37455 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
37456 wxPyEndAllowThreads(__tstate
);
37457 if (PyErr_Occurred()) SWIG_fail
;
37460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37476 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_CollapsePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37477 PyObject
*resultobj
= 0;
37478 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37479 wxString
*arg2
= 0 ;
37483 bool temp2
= false ;
37484 PyObject
* obj0
= 0 ;
37485 PyObject
* obj1
= 0 ;
37486 char * kwnames
[] = {
37487 (char *) "self",(char *) "path", NULL
37490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37492 if (!SWIG_IsOK(res1
)) {
37493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37495 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37497 arg2
= wxString_in_helper(obj1
);
37498 if (arg2
== NULL
) SWIG_fail
;
37502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37503 result
= (bool)(arg1
)->CollapsePath((wxString
const &)*arg2
);
37504 wxPyEndAllowThreads(__tstate
);
37505 if (PyErr_Occurred()) SWIG_fail
;
37508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37524 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37525 PyObject
*resultobj
= 0;
37526 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37530 PyObject
*swig_obj
[1] ;
37532 if (!args
) SWIG_fail
;
37533 swig_obj
[0] = args
;
37534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37535 if (!SWIG_IsOK(res1
)) {
37536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37538 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37541 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
37542 wxPyEndAllowThreads(__tstate
);
37543 if (PyErr_Occurred()) SWIG_fail
;
37547 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37549 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37558 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37559 PyObject
*resultobj
= 0;
37560 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37561 wxString
*arg2
= 0 ;
37564 bool temp2
= false ;
37565 PyObject
* obj0
= 0 ;
37566 PyObject
* obj1
= 0 ;
37567 char * kwnames
[] = {
37568 (char *) "self",(char *) "path", NULL
37571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37573 if (!SWIG_IsOK(res1
)) {
37574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37576 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37578 arg2
= wxString_in_helper(obj1
);
37579 if (arg2
== NULL
) SWIG_fail
;
37583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37584 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
37585 wxPyEndAllowThreads(__tstate
);
37586 if (PyErr_Occurred()) SWIG_fail
;
37588 resultobj
= SWIG_Py_Void();
37603 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37604 PyObject
*resultobj
= 0;
37605 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37609 PyObject
*swig_obj
[1] ;
37611 if (!args
) SWIG_fail
;
37612 swig_obj
[0] = args
;
37613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37614 if (!SWIG_IsOK(res1
)) {
37615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37617 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37620 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
37621 wxPyEndAllowThreads(__tstate
);
37622 if (PyErr_Occurred()) SWIG_fail
;
37626 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37628 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37637 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37638 PyObject
*resultobj
= 0;
37639 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37643 PyObject
*swig_obj
[1] ;
37645 if (!args
) SWIG_fail
;
37646 swig_obj
[0] = args
;
37647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37648 if (!SWIG_IsOK(res1
)) {
37649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37651 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37654 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
37655 wxPyEndAllowThreads(__tstate
);
37656 if (PyErr_Occurred()) SWIG_fail
;
37660 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37662 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37671 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37672 PyObject
*resultobj
= 0;
37673 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37674 wxString
*arg2
= 0 ;
37677 bool temp2
= false ;
37678 PyObject
* obj0
= 0 ;
37679 PyObject
* obj1
= 0 ;
37680 char * kwnames
[] = {
37681 (char *) "self",(char *) "path", NULL
37684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37686 if (!SWIG_IsOK(res1
)) {
37687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37689 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37691 arg2
= wxString_in_helper(obj1
);
37692 if (arg2
== NULL
) SWIG_fail
;
37696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37697 (arg1
)->SetPath((wxString
const &)*arg2
);
37698 wxPyEndAllowThreads(__tstate
);
37699 if (PyErr_Occurred()) SWIG_fail
;
37701 resultobj
= SWIG_Py_Void();
37716 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37717 PyObject
*resultobj
= 0;
37718 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37724 PyObject
* obj0
= 0 ;
37725 PyObject
* obj1
= 0 ;
37726 char * kwnames
[] = {
37727 (char *) "self",(char *) "show", NULL
37730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37732 if (!SWIG_IsOK(res1
)) {
37733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37735 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37736 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37737 if (!SWIG_IsOK(ecode2
)) {
37738 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
37740 arg2
= static_cast< bool >(val2
);
37742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37743 (arg1
)->ShowHidden(arg2
);
37744 wxPyEndAllowThreads(__tstate
);
37745 if (PyErr_Occurred()) SWIG_fail
;
37747 resultobj
= SWIG_Py_Void();
37754 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37755 PyObject
*resultobj
= 0;
37756 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37760 PyObject
*swig_obj
[1] ;
37762 if (!args
) SWIG_fail
;
37763 swig_obj
[0] = args
;
37764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37765 if (!SWIG_IsOK(res1
)) {
37766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37768 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37771 result
= (bool)(arg1
)->GetShowHidden();
37772 wxPyEndAllowThreads(__tstate
);
37773 if (PyErr_Occurred()) SWIG_fail
;
37776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37784 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37785 PyObject
*resultobj
= 0;
37786 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37790 PyObject
*swig_obj
[1] ;
37792 if (!args
) SWIG_fail
;
37793 swig_obj
[0] = args
;
37794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37795 if (!SWIG_IsOK(res1
)) {
37796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37798 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37801 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
37802 wxPyEndAllowThreads(__tstate
);
37803 if (PyErr_Occurred()) SWIG_fail
;
37807 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37809 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37818 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37819 PyObject
*resultobj
= 0;
37820 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37821 wxString
*arg2
= 0 ;
37824 bool temp2
= false ;
37825 PyObject
* obj0
= 0 ;
37826 PyObject
* obj1
= 0 ;
37827 char * kwnames
[] = {
37828 (char *) "self",(char *) "filter", NULL
37831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37833 if (!SWIG_IsOK(res1
)) {
37834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37836 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37838 arg2
= wxString_in_helper(obj1
);
37839 if (arg2
== NULL
) SWIG_fail
;
37843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37844 (arg1
)->SetFilter((wxString
const &)*arg2
);
37845 wxPyEndAllowThreads(__tstate
);
37846 if (PyErr_Occurred()) SWIG_fail
;
37848 resultobj
= SWIG_Py_Void();
37863 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37864 PyObject
*resultobj
= 0;
37865 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37869 PyObject
*swig_obj
[1] ;
37871 if (!args
) SWIG_fail
;
37872 swig_obj
[0] = args
;
37873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37874 if (!SWIG_IsOK(res1
)) {
37875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37877 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37880 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
37881 wxPyEndAllowThreads(__tstate
);
37882 if (PyErr_Occurred()) SWIG_fail
;
37884 resultobj
= SWIG_From_int(static_cast< int >(result
));
37891 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37892 PyObject
*resultobj
= 0;
37893 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37899 PyObject
* obj0
= 0 ;
37900 PyObject
* obj1
= 0 ;
37901 char * kwnames
[] = {
37902 (char *) "self",(char *) "n", NULL
37905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37907 if (!SWIG_IsOK(res1
)) {
37908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37910 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37911 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37912 if (!SWIG_IsOK(ecode2
)) {
37913 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
37915 arg2
= static_cast< int >(val2
);
37917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37918 (arg1
)->SetFilterIndex(arg2
);
37919 wxPyEndAllowThreads(__tstate
);
37920 if (PyErr_Occurred()) SWIG_fail
;
37922 resultobj
= SWIG_Py_Void();
37929 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37930 PyObject
*resultobj
= 0;
37931 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37932 wxTreeItemId result
;
37935 PyObject
*swig_obj
[1] ;
37937 if (!args
) SWIG_fail
;
37938 swig_obj
[0] = args
;
37939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37940 if (!SWIG_IsOK(res1
)) {
37941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37943 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37946 result
= (arg1
)->GetRootId();
37947 wxPyEndAllowThreads(__tstate
);
37948 if (PyErr_Occurred()) SWIG_fail
;
37950 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37957 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37958 PyObject
*resultobj
= 0;
37959 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37960 wxPyTreeCtrl
*result
= 0 ;
37963 PyObject
*swig_obj
[1] ;
37965 if (!args
) SWIG_fail
;
37966 swig_obj
[0] = args
;
37967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37968 if (!SWIG_IsOK(res1
)) {
37969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37971 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37974 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
37975 wxPyEndAllowThreads(__tstate
);
37976 if (PyErr_Occurred()) SWIG_fail
;
37979 resultobj
= wxPyMake_wxObject(result
, 0);
37987 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37988 PyObject
*resultobj
= 0;
37989 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37990 wxDirFilterListCtrl
*result
= 0 ;
37993 PyObject
*swig_obj
[1] ;
37995 if (!args
) SWIG_fail
;
37996 swig_obj
[0] = args
;
37997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37998 if (!SWIG_IsOK(res1
)) {
37999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38001 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38004 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
38005 wxPyEndAllowThreads(__tstate
);
38006 if (PyErr_Occurred()) SWIG_fail
;
38008 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38015 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38016 PyObject
*resultobj
= 0;
38017 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38018 wxTreeItemId arg2
;
38019 wxString
*arg3
= 0 ;
38021 wxTreeItemId result
;
38026 bool temp3
= false ;
38028 int res4
= SWIG_TMPOBJ
;
38029 PyObject
* obj0
= 0 ;
38030 PyObject
* obj1
= 0 ;
38031 PyObject
* obj2
= 0 ;
38032 char * kwnames
[] = {
38033 (char *) "self",(char *) "parentId",(char *) "path", NULL
38037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38039 if (!SWIG_IsOK(res1
)) {
38040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38042 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38044 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
38045 if (!SWIG_IsOK(res2
)) {
38046 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38049 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38051 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
38053 if (SWIG_IsNewObj(res2
)) delete temp
;
38057 arg3
= wxString_in_helper(obj2
);
38058 if (arg3
== NULL
) SWIG_fail
;
38062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38063 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
38064 wxPyEndAllowThreads(__tstate
);
38065 if (PyErr_Occurred()) SWIG_fail
;
38067 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38068 if (SWIG_IsTmpObj(res4
)) {
38069 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
38071 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38072 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
38088 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38089 PyObject
*resultobj
= 0;
38090 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38093 PyObject
*swig_obj
[1] ;
38095 if (!args
) SWIG_fail
;
38096 swig_obj
[0] = args
;
38097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38098 if (!SWIG_IsOK(res1
)) {
38099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38101 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38104 (arg1
)->DoResize();
38105 wxPyEndAllowThreads(__tstate
);
38106 if (PyErr_Occurred()) SWIG_fail
;
38108 resultobj
= SWIG_Py_Void();
38115 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38116 PyObject
*resultobj
= 0;
38117 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38120 PyObject
*swig_obj
[1] ;
38122 if (!args
) SWIG_fail
;
38123 swig_obj
[0] = args
;
38124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38125 if (!SWIG_IsOK(res1
)) {
38126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38128 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38131 (arg1
)->ReCreateTree();
38132 wxPyEndAllowThreads(__tstate
);
38133 if (PyErr_Occurred()) SWIG_fail
;
38135 resultobj
= SWIG_Py_Void();
38142 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38144 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38145 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
38146 return SWIG_Py_Void();
38149 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38150 return SWIG_Python_InitShadowInstance(args
);
38153 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38154 PyObject
*resultobj
= 0;
38155 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38156 int arg2
= (int) (int)-1 ;
38157 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38158 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38159 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38160 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38161 long arg5
= (long) 0 ;
38162 wxDirFilterListCtrl
*result
= 0 ;
38171 PyObject
* obj0
= 0 ;
38172 PyObject
* obj1
= 0 ;
38173 PyObject
* obj2
= 0 ;
38174 PyObject
* obj3
= 0 ;
38175 PyObject
* obj4
= 0 ;
38176 char * kwnames
[] = {
38177 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38182 if (!SWIG_IsOK(res1
)) {
38183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38185 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38187 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38188 if (!SWIG_IsOK(ecode2
)) {
38189 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38191 arg2
= static_cast< int >(val2
);
38196 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38202 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38206 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38207 if (!SWIG_IsOK(ecode5
)) {
38208 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38210 arg5
= static_cast< long >(val5
);
38213 if (!wxPyCheckForApp()) SWIG_fail
;
38214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38215 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
38216 wxPyEndAllowThreads(__tstate
);
38217 if (PyErr_Occurred()) SWIG_fail
;
38219 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
38226 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38227 PyObject
*resultobj
= 0;
38228 wxDirFilterListCtrl
*result
= 0 ;
38230 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
38232 if (!wxPyCheckForApp()) SWIG_fail
;
38233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38234 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
38235 wxPyEndAllowThreads(__tstate
);
38236 if (PyErr_Occurred()) SWIG_fail
;
38238 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
38245 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38246 PyObject
*resultobj
= 0;
38247 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38248 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
38249 int arg3
= (int) (int)-1 ;
38250 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
38251 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
38252 wxSize
const &arg5_defvalue
= wxDefaultSize
;
38253 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
38254 long arg6
= (long) 0 ;
38266 PyObject
* obj0
= 0 ;
38267 PyObject
* obj1
= 0 ;
38268 PyObject
* obj2
= 0 ;
38269 PyObject
* obj3
= 0 ;
38270 PyObject
* obj4
= 0 ;
38271 PyObject
* obj5
= 0 ;
38272 char * kwnames
[] = {
38273 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38278 if (!SWIG_IsOK(res1
)) {
38279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38281 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38282 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38283 if (!SWIG_IsOK(res2
)) {
38284 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38286 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
38288 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38289 if (!SWIG_IsOK(ecode3
)) {
38290 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38292 arg3
= static_cast< int >(val3
);
38297 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
38303 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
38307 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
38308 if (!SWIG_IsOK(ecode6
)) {
38309 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38311 arg6
= static_cast< long >(val6
);
38314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38315 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
38316 wxPyEndAllowThreads(__tstate
);
38317 if (PyErr_Occurred()) SWIG_fail
;
38320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38328 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38329 PyObject
*resultobj
= 0;
38330 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38331 wxString
*arg2
= 0 ;
38335 bool temp2
= false ;
38338 PyObject
* obj0
= 0 ;
38339 PyObject
* obj1
= 0 ;
38340 PyObject
* obj2
= 0 ;
38341 char * kwnames
[] = {
38342 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38347 if (!SWIG_IsOK(res1
)) {
38348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38350 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38352 arg2
= wxString_in_helper(obj1
);
38353 if (arg2
== NULL
) SWIG_fail
;
38356 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38357 if (!SWIG_IsOK(ecode3
)) {
38358 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38360 arg3
= static_cast< int >(val3
);
38362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38363 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
38364 wxPyEndAllowThreads(__tstate
);
38365 if (PyErr_Occurred()) SWIG_fail
;
38367 resultobj
= SWIG_Py_Void();
38382 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38384 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38385 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
38386 return SWIG_Py_Void();
38389 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38390 return SWIG_Python_InitShadowInstance(args
);
38393 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38394 PyObject
*resultobj
= 0;
38395 wxWindow
*arg1
= (wxWindow
*) 0 ;
38396 int arg2
= (int) (int)-1 ;
38397 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38398 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38399 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38400 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38401 long arg5
= (long) 0 ;
38402 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
38403 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
38404 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
38405 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
38406 wxPyControl
*result
= 0 ;
38417 bool temp7
= false ;
38418 PyObject
* obj0
= 0 ;
38419 PyObject
* obj1
= 0 ;
38420 PyObject
* obj2
= 0 ;
38421 PyObject
* obj3
= 0 ;
38422 PyObject
* obj4
= 0 ;
38423 PyObject
* obj5
= 0 ;
38424 PyObject
* obj6
= 0 ;
38425 char * kwnames
[] = {
38426 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
38430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38431 if (!SWIG_IsOK(res1
)) {
38432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38434 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38436 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38437 if (!SWIG_IsOK(ecode2
)) {
38438 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38440 arg2
= static_cast< int >(val2
);
38445 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38451 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38455 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38456 if (!SWIG_IsOK(ecode5
)) {
38457 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38459 arg5
= static_cast< long >(val5
);
38462 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
38463 if (!SWIG_IsOK(res6
)) {
38464 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38467 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38469 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
38473 arg7
= wxString_in_helper(obj6
);
38474 if (arg7
== NULL
) SWIG_fail
;
38479 if (!wxPyCheckForApp()) SWIG_fail
;
38480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38481 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
38482 wxPyEndAllowThreads(__tstate
);
38483 if (PyErr_Occurred()) SWIG_fail
;
38485 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
38500 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38501 PyObject
*resultobj
= 0;
38502 wxPyControl
*result
= 0 ;
38504 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
38506 if (!wxPyCheckForApp()) SWIG_fail
;
38507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38508 result
= (wxPyControl
*)new wxPyControl();
38509 wxPyEndAllowThreads(__tstate
);
38510 if (PyErr_Occurred()) SWIG_fail
;
38512 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
38519 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38520 PyObject
*resultobj
= 0;
38521 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38522 PyObject
*arg2
= (PyObject
*) 0 ;
38523 PyObject
*arg3
= (PyObject
*) 0 ;
38526 PyObject
* obj0
= 0 ;
38527 PyObject
* obj1
= 0 ;
38528 PyObject
* obj2
= 0 ;
38529 char * kwnames
[] = {
38530 (char *) "self",(char *) "self",(char *) "_class", NULL
38533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38535 if (!SWIG_IsOK(res1
)) {
38536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
38538 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38543 (arg1
)->_setCallbackInfo(arg2
,arg3
);
38544 wxPyEndAllowThreads(__tstate
);
38545 if (PyErr_Occurred()) SWIG_fail
;
38547 resultobj
= SWIG_Py_Void();
38554 SWIGINTERN PyObject
*_wrap_PyControl_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38555 PyObject
*resultobj
= 0;
38556 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38561 PyObject
* obj0
= 0 ;
38562 PyObject
* obj1
= 0 ;
38563 char * kwnames
[] = {
38564 (char *) "self",(char *) "size", NULL
38567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38569 if (!SWIG_IsOK(res1
)) {
38570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_SetBestSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38572 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38575 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38579 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
38580 wxPyEndAllowThreads(__tstate
);
38581 if (PyErr_Occurred()) SWIG_fail
;
38583 resultobj
= SWIG_Py_Void();
38590 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38591 PyObject
*resultobj
= 0;
38592 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38593 wxDC
*arg2
= (wxDC
*) 0 ;
38599 PyObject
* obj0
= 0 ;
38600 PyObject
* obj1
= 0 ;
38601 char * kwnames
[] = {
38602 (char *) "self",(char *) "dc", NULL
38605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38607 if (!SWIG_IsOK(res1
)) {
38608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
38610 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38611 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
38612 if (!SWIG_IsOK(res2
)) {
38613 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
38615 arg2
= reinterpret_cast< wxDC
* >(argp2
);
38617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38618 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
38619 wxPyEndAllowThreads(__tstate
);
38620 if (PyErr_Occurred()) SWIG_fail
;
38623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38631 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38632 PyObject
*resultobj
= 0;
38633 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38648 PyObject
* obj0
= 0 ;
38649 PyObject
* obj1
= 0 ;
38650 PyObject
* obj2
= 0 ;
38651 PyObject
* obj3
= 0 ;
38652 PyObject
* obj4
= 0 ;
38653 char * kwnames
[] = {
38654 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38659 if (!SWIG_IsOK(res1
)) {
38660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
38662 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38663 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38664 if (!SWIG_IsOK(ecode2
)) {
38665 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
38667 arg2
= static_cast< int >(val2
);
38668 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38669 if (!SWIG_IsOK(ecode3
)) {
38670 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
38672 arg3
= static_cast< int >(val3
);
38673 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38674 if (!SWIG_IsOK(ecode4
)) {
38675 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
38677 arg4
= static_cast< int >(val4
);
38678 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38679 if (!SWIG_IsOK(ecode5
)) {
38680 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
38682 arg5
= static_cast< int >(val5
);
38684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38685 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
38686 wxPyEndAllowThreads(__tstate
);
38687 if (PyErr_Occurred()) SWIG_fail
;
38689 resultobj
= SWIG_Py_Void();
38696 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38697 PyObject
*resultobj
= 0;
38698 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38703 int arg6
= (int) wxSIZE_AUTO
;
38716 PyObject
* obj0
= 0 ;
38717 PyObject
* obj1
= 0 ;
38718 PyObject
* obj2
= 0 ;
38719 PyObject
* obj3
= 0 ;
38720 PyObject
* obj4
= 0 ;
38721 PyObject
* obj5
= 0 ;
38722 char * kwnames
[] = {
38723 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
38726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38728 if (!SWIG_IsOK(res1
)) {
38729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38731 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38732 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38733 if (!SWIG_IsOK(ecode2
)) {
38734 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
38736 arg2
= static_cast< int >(val2
);
38737 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38738 if (!SWIG_IsOK(ecode3
)) {
38739 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
38741 arg3
= static_cast< int >(val3
);
38742 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38743 if (!SWIG_IsOK(ecode4
)) {
38744 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
38746 arg4
= static_cast< int >(val4
);
38747 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38748 if (!SWIG_IsOK(ecode5
)) {
38749 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
38751 arg5
= static_cast< int >(val5
);
38753 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38754 if (!SWIG_IsOK(ecode6
)) {
38755 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
38757 arg6
= static_cast< int >(val6
);
38760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38761 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
38762 wxPyEndAllowThreads(__tstate
);
38763 if (PyErr_Occurred()) SWIG_fail
;
38765 resultobj
= SWIG_Py_Void();
38772 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38773 PyObject
*resultobj
= 0;
38774 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38783 PyObject
* obj0
= 0 ;
38784 PyObject
* obj1
= 0 ;
38785 PyObject
* obj2
= 0 ;
38786 char * kwnames
[] = {
38787 (char *) "self",(char *) "width",(char *) "height", NULL
38790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38792 if (!SWIG_IsOK(res1
)) {
38793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38795 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38796 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38797 if (!SWIG_IsOK(ecode2
)) {
38798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
38800 arg2
= static_cast< int >(val2
);
38801 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38802 if (!SWIG_IsOK(ecode3
)) {
38803 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
38805 arg3
= static_cast< int >(val3
);
38807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38808 (arg1
)->DoSetClientSize(arg2
,arg3
);
38809 wxPyEndAllowThreads(__tstate
);
38810 if (PyErr_Occurred()) SWIG_fail
;
38812 resultobj
= SWIG_Py_Void();
38819 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38820 PyObject
*resultobj
= 0;
38821 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38830 PyObject
* obj0
= 0 ;
38831 PyObject
* obj1
= 0 ;
38832 PyObject
* obj2
= 0 ;
38833 char * kwnames
[] = {
38834 (char *) "self",(char *) "x",(char *) "y", NULL
38837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38839 if (!SWIG_IsOK(res1
)) {
38840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38842 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38843 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38844 if (!SWIG_IsOK(ecode2
)) {
38845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
38847 arg2
= static_cast< int >(val2
);
38848 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38849 if (!SWIG_IsOK(ecode3
)) {
38850 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
38852 arg3
= static_cast< int >(val3
);
38854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38855 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
38856 wxPyEndAllowThreads(__tstate
);
38857 if (PyErr_Occurred()) SWIG_fail
;
38859 resultobj
= SWIG_Py_Void();
38866 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38867 PyObject
*resultobj
= 0;
38868 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38869 int *arg2
= (int *) 0 ;
38870 int *arg3
= (int *) 0 ;
38874 int res2
= SWIG_TMPOBJ
;
38876 int res3
= SWIG_TMPOBJ
;
38877 PyObject
*swig_obj
[1] ;
38881 if (!args
) SWIG_fail
;
38882 swig_obj
[0] = args
;
38883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38884 if (!SWIG_IsOK(res1
)) {
38885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38887 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38890 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
38891 wxPyEndAllowThreads(__tstate
);
38892 if (PyErr_Occurred()) SWIG_fail
;
38894 resultobj
= SWIG_Py_Void();
38895 if (SWIG_IsTmpObj(res2
)) {
38896 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38898 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38899 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38901 if (SWIG_IsTmpObj(res3
)) {
38902 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38904 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38905 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38913 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38914 PyObject
*resultobj
= 0;
38915 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38916 int *arg2
= (int *) 0 ;
38917 int *arg3
= (int *) 0 ;
38921 int res2
= SWIG_TMPOBJ
;
38923 int res3
= SWIG_TMPOBJ
;
38924 PyObject
*swig_obj
[1] ;
38928 if (!args
) SWIG_fail
;
38929 swig_obj
[0] = args
;
38930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38931 if (!SWIG_IsOK(res1
)) {
38932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38934 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38937 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
38938 wxPyEndAllowThreads(__tstate
);
38939 if (PyErr_Occurred()) SWIG_fail
;
38941 resultobj
= SWIG_Py_Void();
38942 if (SWIG_IsTmpObj(res2
)) {
38943 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38945 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38946 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38948 if (SWIG_IsTmpObj(res3
)) {
38949 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38951 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38952 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38960 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38961 PyObject
*resultobj
= 0;
38962 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38963 int *arg2
= (int *) 0 ;
38964 int *arg3
= (int *) 0 ;
38968 int res2
= SWIG_TMPOBJ
;
38970 int res3
= SWIG_TMPOBJ
;
38971 PyObject
*swig_obj
[1] ;
38975 if (!args
) SWIG_fail
;
38976 swig_obj
[0] = args
;
38977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38978 if (!SWIG_IsOK(res1
)) {
38979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38981 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38984 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
38985 wxPyEndAllowThreads(__tstate
);
38986 if (PyErr_Occurred()) SWIG_fail
;
38988 resultobj
= SWIG_Py_Void();
38989 if (SWIG_IsTmpObj(res2
)) {
38990 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38992 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38993 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38995 if (SWIG_IsTmpObj(res3
)) {
38996 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38998 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38999 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39007 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39008 PyObject
*resultobj
= 0;
39009 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39013 PyObject
*swig_obj
[1] ;
39015 if (!args
) SWIG_fail
;
39016 swig_obj
[0] = args
;
39017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39018 if (!SWIG_IsOK(res1
)) {
39019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39021 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39024 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
39025 wxPyEndAllowThreads(__tstate
);
39026 if (PyErr_Occurred()) SWIG_fail
;
39028 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39035 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39036 PyObject
*resultobj
= 0;
39037 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39041 PyObject
*swig_obj
[1] ;
39043 if (!args
) SWIG_fail
;
39044 swig_obj
[0] = args
;
39045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39046 if (!SWIG_IsOK(res1
)) {
39047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39049 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39052 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
39053 wxPyEndAllowThreads(__tstate
);
39054 if (PyErr_Occurred()) SWIG_fail
;
39056 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39063 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39064 PyObject
*resultobj
= 0;
39065 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39066 SwigValueWrapper
<wxVisualAttributes
> result
;
39069 PyObject
*swig_obj
[1] ;
39071 if (!args
) SWIG_fail
;
39072 swig_obj
[0] = args
;
39073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39074 if (!SWIG_IsOK(res1
)) {
39075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39077 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39080 result
= (arg1
)->GetDefaultAttributes();
39081 wxPyEndAllowThreads(__tstate
);
39082 if (PyErr_Occurred()) SWIG_fail
;
39084 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
39091 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39092 PyObject
*resultobj
= 0;
39093 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39096 PyObject
*swig_obj
[1] ;
39098 if (!args
) SWIG_fail
;
39099 swig_obj
[0] = args
;
39100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39101 if (!SWIG_IsOK(res1
)) {
39102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39104 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39107 (arg1
)->OnInternalIdle();
39108 wxPyEndAllowThreads(__tstate
);
39109 if (PyErr_Occurred()) SWIG_fail
;
39111 resultobj
= SWIG_Py_Void();
39118 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39120 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39121 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
39122 return SWIG_Py_Void();
39125 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39126 return SWIG_Python_InitShadowInstance(args
);
39129 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39130 PyObject
*resultobj
= 0;
39131 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
39132 int arg2
= (int) 0 ;
39133 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39134 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39135 wxHelpEvent::Origin arg4
= (wxHelpEvent::Origin
) wxHelpEvent::Origin_Unknown
;
39136 wxHelpEvent
*result
= 0 ;
39144 PyObject
* obj0
= 0 ;
39145 PyObject
* obj1
= 0 ;
39146 PyObject
* obj2
= 0 ;
39147 PyObject
* obj3
= 0 ;
39148 char * kwnames
[] = {
39149 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
39152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39154 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
39155 if (!SWIG_IsOK(ecode1
)) {
39156 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39158 arg1
= static_cast< wxEventType
>(val1
);
39161 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39162 if (!SWIG_IsOK(ecode2
)) {
39163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39165 arg2
= static_cast< int >(val2
);
39170 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39174 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39175 if (!SWIG_IsOK(ecode4
)) {
39176 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39178 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39182 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
,arg4
);
39183 wxPyEndAllowThreads(__tstate
);
39184 if (PyErr_Occurred()) SWIG_fail
;
39186 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
39193 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39194 PyObject
*resultobj
= 0;
39195 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39199 PyObject
*swig_obj
[1] ;
39201 if (!args
) SWIG_fail
;
39202 swig_obj
[0] = args
;
39203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39204 if (!SWIG_IsOK(res1
)) {
39205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39207 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39210 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
39211 wxPyEndAllowThreads(__tstate
);
39212 if (PyErr_Occurred()) SWIG_fail
;
39214 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
39221 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39222 PyObject
*resultobj
= 0;
39223 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39224 wxPoint
*arg2
= 0 ;
39228 PyObject
* obj0
= 0 ;
39229 PyObject
* obj1
= 0 ;
39230 char * kwnames
[] = {
39231 (char *) "self",(char *) "pos", NULL
39234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39236 if (!SWIG_IsOK(res1
)) {
39237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39239 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39242 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39246 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
39247 wxPyEndAllowThreads(__tstate
);
39248 if (PyErr_Occurred()) SWIG_fail
;
39250 resultobj
= SWIG_Py_Void();
39257 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39258 PyObject
*resultobj
= 0;
39259 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39260 wxString
*result
= 0 ;
39263 PyObject
*swig_obj
[1] ;
39265 if (!args
) SWIG_fail
;
39266 swig_obj
[0] = args
;
39267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39268 if (!SWIG_IsOK(res1
)) {
39269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39271 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39275 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
39276 result
= (wxString
*) &_result_ref
;
39278 wxPyEndAllowThreads(__tstate
);
39279 if (PyErr_Occurred()) SWIG_fail
;
39283 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39285 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39294 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39295 PyObject
*resultobj
= 0;
39296 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39297 wxString
*arg2
= 0 ;
39300 bool temp2
= false ;
39301 PyObject
* obj0
= 0 ;
39302 PyObject
* obj1
= 0 ;
39303 char * kwnames
[] = {
39304 (char *) "self",(char *) "link", NULL
39307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39309 if (!SWIG_IsOK(res1
)) {
39310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39312 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39314 arg2
= wxString_in_helper(obj1
);
39315 if (arg2
== NULL
) SWIG_fail
;
39319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39320 (arg1
)->SetLink((wxString
const &)*arg2
);
39321 wxPyEndAllowThreads(__tstate
);
39322 if (PyErr_Occurred()) SWIG_fail
;
39324 resultobj
= SWIG_Py_Void();
39339 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39340 PyObject
*resultobj
= 0;
39341 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39342 wxString
*result
= 0 ;
39345 PyObject
*swig_obj
[1] ;
39347 if (!args
) SWIG_fail
;
39348 swig_obj
[0] = args
;
39349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39350 if (!SWIG_IsOK(res1
)) {
39351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39353 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39357 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
39358 result
= (wxString
*) &_result_ref
;
39360 wxPyEndAllowThreads(__tstate
);
39361 if (PyErr_Occurred()) SWIG_fail
;
39365 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39367 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39376 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39377 PyObject
*resultobj
= 0;
39378 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39379 wxString
*arg2
= 0 ;
39382 bool temp2
= false ;
39383 PyObject
* obj0
= 0 ;
39384 PyObject
* obj1
= 0 ;
39385 char * kwnames
[] = {
39386 (char *) "self",(char *) "target", NULL
39389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39391 if (!SWIG_IsOK(res1
)) {
39392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39394 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39396 arg2
= wxString_in_helper(obj1
);
39397 if (arg2
== NULL
) SWIG_fail
;
39401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39402 (arg1
)->SetTarget((wxString
const &)*arg2
);
39403 wxPyEndAllowThreads(__tstate
);
39404 if (PyErr_Occurred()) SWIG_fail
;
39406 resultobj
= SWIG_Py_Void();
39421 SWIGINTERN PyObject
*_wrap_HelpEvent_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39422 PyObject
*resultobj
= 0;
39423 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39424 wxHelpEvent::Origin result
;
39427 PyObject
*swig_obj
[1] ;
39429 if (!args
) SWIG_fail
;
39430 swig_obj
[0] = args
;
39431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39432 if (!SWIG_IsOK(res1
)) {
39433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39435 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39438 result
= (wxHelpEvent::Origin
)((wxHelpEvent
const *)arg1
)->GetOrigin();
39439 wxPyEndAllowThreads(__tstate
);
39440 if (PyErr_Occurred()) SWIG_fail
;
39442 resultobj
= SWIG_From_int(static_cast< int >(result
));
39449 SWIGINTERN PyObject
*_wrap_HelpEvent_SetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39450 PyObject
*resultobj
= 0;
39451 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39452 wxHelpEvent::Origin arg2
;
39457 PyObject
* obj0
= 0 ;
39458 PyObject
* obj1
= 0 ;
39459 char * kwnames
[] = {
39460 (char *) "self",(char *) "origin", NULL
39463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetOrigin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39465 if (!SWIG_IsOK(res1
)) {
39466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39468 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39469 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39470 if (!SWIG_IsOK(ecode2
)) {
39471 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
39473 arg2
= static_cast< wxHelpEvent::Origin
>(val2
);
39475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39476 (arg1
)->SetOrigin(arg2
);
39477 wxPyEndAllowThreads(__tstate
);
39478 if (PyErr_Occurred()) SWIG_fail
;
39480 resultobj
= SWIG_Py_Void();
39487 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39489 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39490 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
39491 return SWIG_Py_Void();
39494 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39495 return SWIG_Python_InitShadowInstance(args
);
39498 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39499 PyObject
*resultobj
= 0;
39500 wxWindow
*arg1
= (wxWindow
*) NULL
;
39501 bool arg2
= (bool) true ;
39502 wxContextHelp
*result
= 0 ;
39507 PyObject
* obj0
= 0 ;
39508 PyObject
* obj1
= 0 ;
39509 char * kwnames
[] = {
39510 (char *) "window",(char *) "doNow", NULL
39513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39516 if (!SWIG_IsOK(res1
)) {
39517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
39519 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39522 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
39523 if (!SWIG_IsOK(ecode2
)) {
39524 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
39526 arg2
= static_cast< bool >(val2
);
39529 if (!wxPyCheckForApp()) SWIG_fail
;
39530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39531 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
39532 wxPyEndAllowThreads(__tstate
);
39533 if (PyErr_Occurred()) SWIG_fail
;
39535 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
39542 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39543 PyObject
*resultobj
= 0;
39544 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39547 PyObject
*swig_obj
[1] ;
39549 if (!args
) SWIG_fail
;
39550 swig_obj
[0] = args
;
39551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
39552 if (!SWIG_IsOK(res1
)) {
39553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39555 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39560 wxPyEndAllowThreads(__tstate
);
39561 if (PyErr_Occurred()) SWIG_fail
;
39563 resultobj
= SWIG_Py_Void();
39570 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39571 PyObject
*resultobj
= 0;
39572 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39573 wxWindow
*arg2
= (wxWindow
*) NULL
;
39579 PyObject
* obj0
= 0 ;
39580 PyObject
* obj1
= 0 ;
39581 char * kwnames
[] = {
39582 (char *) "self",(char *) "window", NULL
39585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39587 if (!SWIG_IsOK(res1
)) {
39588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39590 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39592 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39593 if (!SWIG_IsOK(res2
)) {
39594 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39596 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39600 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
39601 wxPyEndAllowThreads(__tstate
);
39602 if (PyErr_Occurred()) SWIG_fail
;
39605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39613 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39614 PyObject
*resultobj
= 0;
39615 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39619 PyObject
*swig_obj
[1] ;
39621 if (!args
) SWIG_fail
;
39622 swig_obj
[0] = args
;
39623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39624 if (!SWIG_IsOK(res1
)) {
39625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39627 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39630 result
= (bool)(arg1
)->EndContextHelp();
39631 wxPyEndAllowThreads(__tstate
);
39632 if (PyErr_Occurred()) SWIG_fail
;
39635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39643 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39645 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39646 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
39647 return SWIG_Py_Void();
39650 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39651 return SWIG_Python_InitShadowInstance(args
);
39654 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39655 PyObject
*resultobj
= 0;
39656 wxWindow
*arg1
= (wxWindow
*) 0 ;
39657 int arg2
= (int) wxID_CONTEXT_HELP
;
39658 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39659 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39660 wxSize
const &arg4_defvalue
= wxDefaultSize
;
39661 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
39662 long arg5
= (long) wxBU_AUTODRAW
;
39663 wxContextHelpButton
*result
= 0 ;
39672 PyObject
* obj0
= 0 ;
39673 PyObject
* obj1
= 0 ;
39674 PyObject
* obj2
= 0 ;
39675 PyObject
* obj3
= 0 ;
39676 PyObject
* obj4
= 0 ;
39677 char * kwnames
[] = {
39678 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
39681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39683 if (!SWIG_IsOK(res1
)) {
39684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
39686 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39688 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39689 if (!SWIG_IsOK(ecode2
)) {
39690 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
39692 arg2
= static_cast< int >(val2
);
39697 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39703 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
39707 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
39708 if (!SWIG_IsOK(ecode5
)) {
39709 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
39711 arg5
= static_cast< long >(val5
);
39714 if (!wxPyCheckForApp()) SWIG_fail
;
39715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39716 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
39717 wxPyEndAllowThreads(__tstate
);
39718 if (PyErr_Occurred()) SWIG_fail
;
39720 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
39727 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39729 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39730 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
39731 return SWIG_Py_Void();
39734 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39735 return SWIG_Python_InitShadowInstance(args
);
39738 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39739 PyObject
*resultobj
= 0;
39740 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39743 PyObject
*swig_obj
[1] ;
39745 if (!args
) SWIG_fail
;
39746 swig_obj
[0] = args
;
39747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39748 if (!SWIG_IsOK(res1
)) {
39749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39751 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39756 wxPyEndAllowThreads(__tstate
);
39757 if (PyErr_Occurred()) SWIG_fail
;
39759 resultobj
= SWIG_Py_Void();
39766 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39767 PyObject
*resultobj
= 0;
39768 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39769 wxHelpProvider
*result
= 0 ;
39771 PyObject
* obj0
= 0 ;
39772 char * kwnames
[] = {
39773 (char *) "helpProvider", NULL
39776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
39777 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39778 if (!SWIG_IsOK(res1
)) {
39779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39783 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
39784 wxPyEndAllowThreads(__tstate
);
39785 if (PyErr_Occurred()) SWIG_fail
;
39787 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
39794 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39795 PyObject
*resultobj
= 0;
39796 wxHelpProvider
*result
= 0 ;
39798 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
39800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39801 result
= (wxHelpProvider
*)wxHelpProvider::Get();
39802 wxPyEndAllowThreads(__tstate
);
39803 if (PyErr_Occurred()) SWIG_fail
;
39805 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39812 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39813 PyObject
*resultobj
= 0;
39814 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39815 wxWindow
*arg2
= (wxWindow
*) 0 ;
39821 PyObject
* obj0
= 0 ;
39822 PyObject
* obj1
= 0 ;
39823 char * kwnames
[] = {
39824 (char *) "self",(char *) "window", NULL
39827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39829 if (!SWIG_IsOK(res1
)) {
39830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39832 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39833 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39834 if (!SWIG_IsOK(res2
)) {
39835 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
39837 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39840 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
39841 wxPyEndAllowThreads(__tstate
);
39842 if (PyErr_Occurred()) SWIG_fail
;
39846 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
39848 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
39857 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39858 PyObject
*resultobj
= 0;
39859 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39860 wxWindow
*arg2
= (wxWindow
*) 0 ;
39866 PyObject
* obj0
= 0 ;
39867 PyObject
* obj1
= 0 ;
39868 char * kwnames
[] = {
39869 (char *) "self",(char *) "window", NULL
39872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39874 if (!SWIG_IsOK(res1
)) {
39875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39877 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39878 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39879 if (!SWIG_IsOK(res2
)) {
39880 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39882 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39885 result
= (bool)(arg1
)->ShowHelp(arg2
);
39886 wxPyEndAllowThreads(__tstate
);
39887 if (PyErr_Occurred()) SWIG_fail
;
39890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39898 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelpAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39899 PyObject
*resultobj
= 0;
39900 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39901 wxWindowBase
*arg2
= (wxWindowBase
*) 0 ;
39902 wxPoint
*arg3
= 0 ;
39903 wxHelpEvent::Origin arg4
;
39912 PyObject
* obj0
= 0 ;
39913 PyObject
* obj1
= 0 ;
39914 PyObject
* obj2
= 0 ;
39915 PyObject
* obj3
= 0 ;
39916 char * kwnames
[] = {
39917 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
39920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39922 if (!SWIG_IsOK(res1
)) {
39923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39925 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39926 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindowBase
, 0 | 0 );
39927 if (!SWIG_IsOK(res2
)) {
39928 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
39930 arg2
= reinterpret_cast< wxWindowBase
* >(argp2
);
39933 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39935 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39936 if (!SWIG_IsOK(ecode4
)) {
39937 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39939 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39942 result
= (bool)(arg1
)->ShowHelpAtPoint(arg2
,(wxPoint
const &)*arg3
,arg4
);
39943 wxPyEndAllowThreads(__tstate
);
39944 if (PyErr_Occurred()) SWIG_fail
;
39947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39955 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39956 PyObject
*resultobj
= 0;
39957 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39958 wxWindow
*arg2
= (wxWindow
*) 0 ;
39959 wxString
*arg3
= 0 ;
39964 bool temp3
= false ;
39965 PyObject
* obj0
= 0 ;
39966 PyObject
* obj1
= 0 ;
39967 PyObject
* obj2
= 0 ;
39968 char * kwnames
[] = {
39969 (char *) "self",(char *) "window",(char *) "text", NULL
39972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39974 if (!SWIG_IsOK(res1
)) {
39975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39977 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39978 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39979 if (!SWIG_IsOK(res2
)) {
39980 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39982 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39984 arg3
= wxString_in_helper(obj2
);
39985 if (arg3
== NULL
) SWIG_fail
;
39989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39990 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
39991 wxPyEndAllowThreads(__tstate
);
39992 if (PyErr_Occurred()) SWIG_fail
;
39994 resultobj
= SWIG_Py_Void();
40009 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40010 PyObject
*resultobj
= 0;
40011 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40013 wxString
*arg3
= 0 ;
40018 bool temp3
= false ;
40019 PyObject
* obj0
= 0 ;
40020 PyObject
* obj1
= 0 ;
40021 PyObject
* obj2
= 0 ;
40022 char * kwnames
[] = {
40023 (char *) "self",(char *) "id",(char *) "text", NULL
40026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40028 if (!SWIG_IsOK(res1
)) {
40029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40031 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40032 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40033 if (!SWIG_IsOK(ecode2
)) {
40034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40036 arg2
= static_cast< int >(val2
);
40038 arg3
= wxString_in_helper(obj2
);
40039 if (arg3
== NULL
) SWIG_fail
;
40043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40044 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40045 wxPyEndAllowThreads(__tstate
);
40046 if (PyErr_Occurred()) SWIG_fail
;
40048 resultobj
= SWIG_Py_Void();
40063 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40064 PyObject
*resultobj
= 0;
40065 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40066 wxWindow
*arg2
= (wxWindow
*) 0 ;
40071 PyObject
* obj0
= 0 ;
40072 PyObject
* obj1
= 0 ;
40073 char * kwnames
[] = {
40074 (char *) "self",(char *) "window", NULL
40077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40079 if (!SWIG_IsOK(res1
)) {
40080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40082 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40083 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40084 if (!SWIG_IsOK(res2
)) {
40085 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40087 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40090 (arg1
)->RemoveHelp(arg2
);
40091 wxPyEndAllowThreads(__tstate
);
40092 if (PyErr_Occurred()) SWIG_fail
;
40094 resultobj
= SWIG_Py_Void();
40101 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40102 PyObject
*resultobj
= 0;
40103 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40106 PyObject
*swig_obj
[1] ;
40108 if (!args
) SWIG_fail
;
40109 swig_obj
[0] = args
;
40110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40111 if (!SWIG_IsOK(res1
)) {
40112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40114 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40117 wxHelpProvider_Destroy(arg1
);
40118 wxPyEndAllowThreads(__tstate
);
40119 if (PyErr_Occurred()) SWIG_fail
;
40121 resultobj
= SWIG_Py_Void();
40128 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40130 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40131 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
40132 return SWIG_Py_Void();
40135 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40136 PyObject
*resultobj
= 0;
40137 wxSimpleHelpProvider
*result
= 0 ;
40139 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
40141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40142 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
40143 wxPyEndAllowThreads(__tstate
);
40144 if (PyErr_Occurred()) SWIG_fail
;
40146 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
40153 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40155 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40156 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
40157 return SWIG_Py_Void();
40160 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40161 return SWIG_Python_InitShadowInstance(args
);
40164 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40165 PyObject
*resultobj
= 0;
40166 wxBitmap
*arg1
= 0 ;
40167 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40168 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40169 wxGenericDragImage
*result
= 0 ;
40174 PyObject
* obj0
= 0 ;
40175 PyObject
* obj1
= 0 ;
40176 char * kwnames
[] = {
40177 (char *) "image",(char *) "cursor", NULL
40180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40181 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
40182 if (!SWIG_IsOK(res1
)) {
40183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40186 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40188 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
40190 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40191 if (!SWIG_IsOK(res2
)) {
40192 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40195 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40197 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40200 if (!wxPyCheckForApp()) SWIG_fail
;
40201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40202 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
40203 wxPyEndAllowThreads(__tstate
);
40204 if (PyErr_Occurred()) SWIG_fail
;
40206 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
40213 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40214 PyObject
*resultobj
= 0;
40216 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40217 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40218 wxGenericDragImage
*result
= 0 ;
40223 PyObject
* obj0
= 0 ;
40224 PyObject
* obj1
= 0 ;
40225 char * kwnames
[] = {
40226 (char *) "image",(char *) "cursor", NULL
40229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40230 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
40231 if (!SWIG_IsOK(res1
)) {
40232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40235 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40237 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
40239 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40240 if (!SWIG_IsOK(res2
)) {
40241 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40244 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40246 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40249 if (!wxPyCheckForApp()) SWIG_fail
;
40250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40251 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
40252 wxPyEndAllowThreads(__tstate
);
40253 if (PyErr_Occurred()) SWIG_fail
;
40255 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40262 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40263 PyObject
*resultobj
= 0;
40264 wxString
*arg1
= 0 ;
40265 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40266 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40267 wxGenericDragImage
*result
= 0 ;
40268 bool temp1
= false ;
40271 PyObject
* obj0
= 0 ;
40272 PyObject
* obj1
= 0 ;
40273 char * kwnames
[] = {
40274 (char *) "str",(char *) "cursor", NULL
40277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40279 arg1
= wxString_in_helper(obj0
);
40280 if (arg1
== NULL
) SWIG_fail
;
40284 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40285 if (!SWIG_IsOK(res2
)) {
40286 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40289 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40291 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40294 if (!wxPyCheckForApp()) SWIG_fail
;
40295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40296 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
40297 wxPyEndAllowThreads(__tstate
);
40298 if (PyErr_Occurred()) SWIG_fail
;
40300 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40315 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40316 PyObject
*resultobj
= 0;
40317 wxPyTreeCtrl
*arg1
= 0 ;
40318 wxTreeItemId
*arg2
= 0 ;
40319 wxGenericDragImage
*result
= 0 ;
40324 PyObject
* obj0
= 0 ;
40325 PyObject
* obj1
= 0 ;
40326 char * kwnames
[] = {
40327 (char *) "treeCtrl",(char *) "id", NULL
40330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40331 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
40332 if (!SWIG_IsOK(res1
)) {
40333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40336 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40338 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
40339 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
40340 if (!SWIG_IsOK(res2
)) {
40341 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40344 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40346 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
40348 if (!wxPyCheckForApp()) SWIG_fail
;
40349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40350 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
40351 wxPyEndAllowThreads(__tstate
);
40352 if (PyErr_Occurred()) SWIG_fail
;
40354 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40361 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40362 PyObject
*resultobj
= 0;
40363 wxPyListCtrl
*arg1
= 0 ;
40365 wxGenericDragImage
*result
= 0 ;
40370 PyObject
* obj0
= 0 ;
40371 PyObject
* obj1
= 0 ;
40372 char * kwnames
[] = {
40373 (char *) "listCtrl",(char *) "id", NULL
40376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40377 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
40378 if (!SWIG_IsOK(res1
)) {
40379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40382 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40384 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
40385 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
40386 if (!SWIG_IsOK(ecode2
)) {
40387 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40389 arg2
= static_cast< long >(val2
);
40391 if (!wxPyCheckForApp()) SWIG_fail
;
40392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40393 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
40394 wxPyEndAllowThreads(__tstate
);
40395 if (PyErr_Occurred()) SWIG_fail
;
40397 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40404 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40405 PyObject
*resultobj
= 0;
40406 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40409 PyObject
*swig_obj
[1] ;
40411 if (!args
) SWIG_fail
;
40412 swig_obj
[0] = args
;
40413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
40414 if (!SWIG_IsOK(res1
)) {
40415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40417 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40422 wxPyEndAllowThreads(__tstate
);
40423 if (PyErr_Occurred()) SWIG_fail
;
40425 resultobj
= SWIG_Py_Void();
40432 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40433 PyObject
*resultobj
= 0;
40434 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40435 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
40440 PyObject
* obj0
= 0 ;
40441 PyObject
* obj1
= 0 ;
40442 char * kwnames
[] = {
40443 (char *) "self",(char *) "bitmap", NULL
40446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40448 if (!SWIG_IsOK(res1
)) {
40449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40451 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40452 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
40453 if (!SWIG_IsOK(res2
)) {
40454 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40456 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
40458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40459 (arg1
)->SetBackingBitmap(arg2
);
40460 wxPyEndAllowThreads(__tstate
);
40461 if (PyErr_Occurred()) SWIG_fail
;
40463 resultobj
= SWIG_Py_Void();
40470 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40471 PyObject
*resultobj
= 0;
40472 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40473 wxPoint
*arg2
= 0 ;
40474 wxWindow
*arg3
= (wxWindow
*) 0 ;
40475 bool arg4
= (bool) false ;
40476 wxRect
*arg5
= (wxRect
*) NULL
;
40487 PyObject
* obj0
= 0 ;
40488 PyObject
* obj1
= 0 ;
40489 PyObject
* obj2
= 0 ;
40490 PyObject
* obj3
= 0 ;
40491 PyObject
* obj4
= 0 ;
40492 char * kwnames
[] = {
40493 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
40496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40498 if (!SWIG_IsOK(res1
)) {
40499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40501 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40504 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40506 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40507 if (!SWIG_IsOK(res3
)) {
40508 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
40510 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40512 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40513 if (!SWIG_IsOK(ecode4
)) {
40514 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
40516 arg4
= static_cast< bool >(val4
);
40519 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
40520 if (!SWIG_IsOK(res5
)) {
40521 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
40523 arg5
= reinterpret_cast< wxRect
* >(argp5
);
40526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40527 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
40528 wxPyEndAllowThreads(__tstate
);
40529 if (PyErr_Occurred()) SWIG_fail
;
40532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40540 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40541 PyObject
*resultobj
= 0;
40542 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40543 wxPoint
*arg2
= 0 ;
40544 wxWindow
*arg3
= (wxWindow
*) 0 ;
40545 wxWindow
*arg4
= (wxWindow
*) 0 ;
40554 PyObject
* obj0
= 0 ;
40555 PyObject
* obj1
= 0 ;
40556 PyObject
* obj2
= 0 ;
40557 PyObject
* obj3
= 0 ;
40558 char * kwnames
[] = {
40559 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
40562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40564 if (!SWIG_IsOK(res1
)) {
40565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40567 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40570 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40572 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40573 if (!SWIG_IsOK(res3
)) {
40574 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
40576 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40577 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40578 if (!SWIG_IsOK(res4
)) {
40579 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
40581 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
40583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40584 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
40585 wxPyEndAllowThreads(__tstate
);
40586 if (PyErr_Occurred()) SWIG_fail
;
40589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40597 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40598 PyObject
*resultobj
= 0;
40599 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40603 PyObject
*swig_obj
[1] ;
40605 if (!args
) SWIG_fail
;
40606 swig_obj
[0] = args
;
40607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40608 if (!SWIG_IsOK(res1
)) {
40609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40611 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40614 result
= (bool)(arg1
)->EndDrag();
40615 wxPyEndAllowThreads(__tstate
);
40616 if (PyErr_Occurred()) SWIG_fail
;
40619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40627 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40628 PyObject
*resultobj
= 0;
40629 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40630 wxPoint
*arg2
= 0 ;
40635 PyObject
* obj0
= 0 ;
40636 PyObject
* obj1
= 0 ;
40637 char * kwnames
[] = {
40638 (char *) "self",(char *) "pt", NULL
40641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40643 if (!SWIG_IsOK(res1
)) {
40644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40646 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40649 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40653 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
40654 wxPyEndAllowThreads(__tstate
);
40655 if (PyErr_Occurred()) SWIG_fail
;
40658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40666 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40667 PyObject
*resultobj
= 0;
40668 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40672 PyObject
*swig_obj
[1] ;
40674 if (!args
) SWIG_fail
;
40675 swig_obj
[0] = args
;
40676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40677 if (!SWIG_IsOK(res1
)) {
40678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40680 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40683 result
= (bool)(arg1
)->Show();
40684 wxPyEndAllowThreads(__tstate
);
40685 if (PyErr_Occurred()) SWIG_fail
;
40688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40696 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40697 PyObject
*resultobj
= 0;
40698 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40702 PyObject
*swig_obj
[1] ;
40704 if (!args
) SWIG_fail
;
40705 swig_obj
[0] = args
;
40706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40707 if (!SWIG_IsOK(res1
)) {
40708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40710 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40713 result
= (bool)(arg1
)->Hide();
40714 wxPyEndAllowThreads(__tstate
);
40715 if (PyErr_Occurred()) SWIG_fail
;
40718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40726 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40727 PyObject
*resultobj
= 0;
40728 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40729 wxPoint
*arg2
= 0 ;
40734 PyObject
* obj0
= 0 ;
40735 PyObject
* obj1
= 0 ;
40736 char * kwnames
[] = {
40737 (char *) "self",(char *) "pos", NULL
40740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40742 if (!SWIG_IsOK(res1
)) {
40743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40745 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40748 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40752 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
40753 wxPyEndAllowThreads(__tstate
);
40754 if (PyErr_Occurred()) SWIG_fail
;
40756 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
40763 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40764 PyObject
*resultobj
= 0;
40765 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40767 wxPoint
*arg3
= 0 ;
40774 PyObject
* obj0
= 0 ;
40775 PyObject
* obj1
= 0 ;
40776 PyObject
* obj2
= 0 ;
40777 char * kwnames
[] = {
40778 (char *) "self",(char *) "dc",(char *) "pos", NULL
40781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40783 if (!SWIG_IsOK(res1
)) {
40784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40786 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40787 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
40788 if (!SWIG_IsOK(res2
)) {
40789 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40792 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40794 arg2
= reinterpret_cast< wxDC
* >(argp2
);
40797 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40801 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
40802 wxPyEndAllowThreads(__tstate
);
40803 if (PyErr_Occurred()) SWIG_fail
;
40806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40814 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40815 PyObject
*resultobj
= 0;
40816 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40818 wxMemoryDC
*arg3
= 0 ;
40830 PyObject
* obj0
= 0 ;
40831 PyObject
* obj1
= 0 ;
40832 PyObject
* obj2
= 0 ;
40833 PyObject
* obj3
= 0 ;
40834 PyObject
* obj4
= 0 ;
40835 char * kwnames
[] = {
40836 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
40839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40841 if (!SWIG_IsOK(res1
)) {
40842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40844 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40845 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
40846 if (!SWIG_IsOK(res2
)) {
40847 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40850 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40852 arg2
= reinterpret_cast< wxDC
* >(argp2
);
40853 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
40854 if (!SWIG_IsOK(res3
)) {
40855 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40858 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40860 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
40863 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
40867 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
40870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40871 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
40872 wxPyEndAllowThreads(__tstate
);
40873 if (PyErr_Occurred()) SWIG_fail
;
40876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40884 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40885 PyObject
*resultobj
= 0;
40886 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40887 wxPoint
*arg2
= 0 ;
40888 wxPoint
*arg3
= 0 ;
40900 PyObject
* obj0
= 0 ;
40901 PyObject
* obj1
= 0 ;
40902 PyObject
* obj2
= 0 ;
40903 PyObject
* obj3
= 0 ;
40904 PyObject
* obj4
= 0 ;
40905 char * kwnames
[] = {
40906 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
40909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40911 if (!SWIG_IsOK(res1
)) {
40912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40914 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40917 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40921 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40923 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40924 if (!SWIG_IsOK(ecode4
)) {
40925 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
40927 arg4
= static_cast< bool >(val4
);
40928 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
40929 if (!SWIG_IsOK(ecode5
)) {
40930 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
40932 arg5
= static_cast< bool >(val5
);
40934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40935 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
40936 wxPyEndAllowThreads(__tstate
);
40937 if (PyErr_Occurred()) SWIG_fail
;
40940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40948 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40950 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40951 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
40952 return SWIG_Py_Void();
40955 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40956 return SWIG_Python_InitShadowInstance(args
);
40959 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
40960 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
40965 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
40966 PyObject
*pyobj
= 0;
40970 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
40972 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
40979 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40980 PyObject
*resultobj
= 0;
40981 wxWindow
*arg1
= (wxWindow
*) 0 ;
40982 int arg2
= (int) -1 ;
40983 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
40984 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
40985 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
40986 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
40987 wxSize
const &arg5_defvalue
= wxDefaultSize
;
40988 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
40989 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
40990 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
40991 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
40992 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
40993 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
40994 wxDatePickerCtrl
*result
= 0 ;
41007 bool temp8
= false ;
41008 PyObject
* obj0
= 0 ;
41009 PyObject
* obj1
= 0 ;
41010 PyObject
* obj2
= 0 ;
41011 PyObject
* obj3
= 0 ;
41012 PyObject
* obj4
= 0 ;
41013 PyObject
* obj5
= 0 ;
41014 PyObject
* obj6
= 0 ;
41015 PyObject
* obj7
= 0 ;
41016 char * kwnames
[] = {
41017 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41022 if (!SWIG_IsOK(res1
)) {
41023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41025 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41027 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41028 if (!SWIG_IsOK(ecode2
)) {
41029 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41031 arg2
= static_cast< int >(val2
);
41034 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41035 if (!SWIG_IsOK(res3
)) {
41036 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41039 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41041 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41046 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
41052 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
41056 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
41057 if (!SWIG_IsOK(ecode6
)) {
41058 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41060 arg6
= static_cast< long >(val6
);
41063 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
41064 if (!SWIG_IsOK(res7
)) {
41065 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41068 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41070 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
41074 arg8
= wxString_in_helper(obj7
);
41075 if (arg8
== NULL
) SWIG_fail
;
41080 if (!wxPyCheckForApp()) SWIG_fail
;
41081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41082 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
41083 wxPyEndAllowThreads(__tstate
);
41084 if (PyErr_Occurred()) SWIG_fail
;
41086 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
41101 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41102 PyObject
*resultobj
= 0;
41103 wxDatePickerCtrl
*result
= 0 ;
41105 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
41107 if (!wxPyCheckForApp()) SWIG_fail
;
41108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41109 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
41110 wxPyEndAllowThreads(__tstate
);
41111 if (PyErr_Occurred()) SWIG_fail
;
41113 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
41120 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41121 PyObject
*resultobj
= 0;
41122 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41123 wxWindow
*arg2
= (wxWindow
*) 0 ;
41124 int arg3
= (int) -1 ;
41125 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
41126 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
41127 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41128 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41129 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41130 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41131 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41132 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
41133 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
41134 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
41135 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41151 bool temp9
= false ;
41152 PyObject
* obj0
= 0 ;
41153 PyObject
* obj1
= 0 ;
41154 PyObject
* obj2
= 0 ;
41155 PyObject
* obj3
= 0 ;
41156 PyObject
* obj4
= 0 ;
41157 PyObject
* obj5
= 0 ;
41158 PyObject
* obj6
= 0 ;
41159 PyObject
* obj7
= 0 ;
41160 PyObject
* obj8
= 0 ;
41161 char * kwnames
[] = {
41162 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41167 if (!SWIG_IsOK(res1
)) {
41168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41170 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41171 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41172 if (!SWIG_IsOK(res2
)) {
41173 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41175 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41177 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41178 if (!SWIG_IsOK(ecode3
)) {
41179 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41181 arg3
= static_cast< int >(val3
);
41184 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41185 if (!SWIG_IsOK(res4
)) {
41186 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41189 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41191 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
41196 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41202 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41206 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41207 if (!SWIG_IsOK(ecode7
)) {
41208 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41210 arg7
= static_cast< long >(val7
);
41213 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
41214 if (!SWIG_IsOK(res8
)) {
41215 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41218 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41220 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
41224 arg9
= wxString_in_helper(obj8
);
41225 if (arg9
== NULL
) SWIG_fail
;
41230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41231 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
41232 wxPyEndAllowThreads(__tstate
);
41233 if (PyErr_Occurred()) SWIG_fail
;
41236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41252 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41253 PyObject
*resultobj
= 0;
41254 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41255 wxDateTime
*arg2
= 0 ;
41260 PyObject
* obj0
= 0 ;
41261 PyObject
* obj1
= 0 ;
41262 char * kwnames
[] = {
41263 (char *) "self",(char *) "dt", NULL
41266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41268 if (!SWIG_IsOK(res1
)) {
41269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41271 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41272 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41273 if (!SWIG_IsOK(res2
)) {
41274 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41277 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41279 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41282 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
41283 wxPyEndAllowThreads(__tstate
);
41284 if (PyErr_Occurred()) SWIG_fail
;
41286 resultobj
= SWIG_Py_Void();
41293 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41294 PyObject
*resultobj
= 0;
41295 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41299 PyObject
*swig_obj
[1] ;
41301 if (!args
) SWIG_fail
;
41302 swig_obj
[0] = args
;
41303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41304 if (!SWIG_IsOK(res1
)) {
41305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41307 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41310 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
41311 wxPyEndAllowThreads(__tstate
);
41312 if (PyErr_Occurred()) SWIG_fail
;
41314 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41321 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41322 PyObject
*resultobj
= 0;
41323 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41324 wxDateTime
*arg2
= 0 ;
41325 wxDateTime
*arg3
= 0 ;
41332 PyObject
* obj0
= 0 ;
41333 PyObject
* obj1
= 0 ;
41334 PyObject
* obj2
= 0 ;
41335 char * kwnames
[] = {
41336 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41341 if (!SWIG_IsOK(res1
)) {
41342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41344 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41345 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41346 if (!SWIG_IsOK(res2
)) {
41347 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41350 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41352 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41353 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41354 if (!SWIG_IsOK(res3
)) {
41355 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41358 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41360 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41363 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
41364 wxPyEndAllowThreads(__tstate
);
41365 if (PyErr_Occurred()) SWIG_fail
;
41367 resultobj
= SWIG_Py_Void();
41374 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41375 PyObject
*resultobj
= 0;
41376 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41380 PyObject
*swig_obj
[1] ;
41382 if (!args
) SWIG_fail
;
41383 swig_obj
[0] = args
;
41384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41385 if (!SWIG_IsOK(res1
)) {
41386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41388 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41391 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
41392 wxPyEndAllowThreads(__tstate
);
41393 if (PyErr_Occurred()) SWIG_fail
;
41395 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41402 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41403 PyObject
*resultobj
= 0;
41404 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41408 PyObject
*swig_obj
[1] ;
41410 if (!args
) SWIG_fail
;
41411 swig_obj
[0] = args
;
41412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41413 if (!SWIG_IsOK(res1
)) {
41414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41416 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41419 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
41420 wxPyEndAllowThreads(__tstate
);
41421 if (PyErr_Occurred()) SWIG_fail
;
41423 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41430 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41432 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41433 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
41434 return SWIG_Py_Void();
41437 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41438 return SWIG_Python_InitShadowInstance(args
);
41441 SWIGINTERN
int HyperlinkCtrlNameStr_set(PyObject
*) {
41442 SWIG_Error(SWIG_AttributeError
,"Variable HyperlinkCtrlNameStr is read-only.");
41447 SWIGINTERN PyObject
*HyperlinkCtrlNameStr_get(void) {
41448 PyObject
*pyobj
= 0;
41452 pyobj
= PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41454 pyobj
= PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41461 SWIGINTERN PyObject
*_wrap_new_HyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41462 PyObject
*resultobj
= 0;
41463 wxWindow
*arg1
= (wxWindow
*) 0 ;
41465 wxString
*arg3
= 0 ;
41466 wxString
*arg4
= 0 ;
41467 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41468 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41469 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41470 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41471 long arg7
= (long) wxHL_DEFAULT_STYLE
;
41472 wxString
const &arg8_defvalue
= wxPyHyperlinkCtrlNameStr
;
41473 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41474 wxHyperlinkCtrl
*result
= 0 ;
41479 bool temp3
= false ;
41480 bool temp4
= false ;
41485 bool temp8
= false ;
41486 PyObject
* obj0
= 0 ;
41487 PyObject
* obj1
= 0 ;
41488 PyObject
* obj2
= 0 ;
41489 PyObject
* obj3
= 0 ;
41490 PyObject
* obj4
= 0 ;
41491 PyObject
* obj5
= 0 ;
41492 PyObject
* obj6
= 0 ;
41493 PyObject
* obj7
= 0 ;
41494 char * kwnames
[] = {
41495 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41500 if (!SWIG_IsOK(res1
)) {
41501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41503 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41504 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41505 if (!SWIG_IsOK(ecode2
)) {
41506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
41508 arg2
= static_cast< int >(val2
);
41510 arg3
= wxString_in_helper(obj2
);
41511 if (arg3
== NULL
) SWIG_fail
;
41515 arg4
= wxString_in_helper(obj3
);
41516 if (arg4
== NULL
) SWIG_fail
;
41522 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41528 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41532 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41533 if (!SWIG_IsOK(ecode7
)) {
41534 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
41536 arg7
= static_cast< long >(val7
);
41540 arg8
= wxString_in_helper(obj7
);
41541 if (arg8
== NULL
) SWIG_fail
;
41546 if (!wxPyCheckForApp()) SWIG_fail
;
41547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41548 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
41549 wxPyEndAllowThreads(__tstate
);
41550 if (PyErr_Occurred()) SWIG_fail
;
41552 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_NEW
| 0 );
41583 SWIGINTERN PyObject
*_wrap_new_PreHyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41584 PyObject
*resultobj
= 0;
41585 wxHyperlinkCtrl
*result
= 0 ;
41587 if (!SWIG_Python_UnpackTuple(args
,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail
;
41589 if (!wxPyCheckForApp()) SWIG_fail
;
41590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41591 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl();
41592 wxPyEndAllowThreads(__tstate
);
41593 if (PyErr_Occurred()) SWIG_fail
;
41595 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_OWN
| 0 );
41602 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41603 PyObject
*resultobj
= 0;
41604 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41605 wxWindow
*arg2
= (wxWindow
*) 0 ;
41607 wxString
*arg4
= 0 ;
41608 wxString
*arg5
= 0 ;
41609 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
41610 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
41611 wxSize
const &arg7_defvalue
= wxDefaultSize
;
41612 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
41613 long arg8
= (long) wxHL_DEFAULT_STYLE
;
41614 wxString
const &arg9_defvalue
= wxPyHyperlinkCtrlNameStr
;
41615 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41623 bool temp4
= false ;
41624 bool temp5
= false ;
41629 bool temp9
= false ;
41630 PyObject
* obj0
= 0 ;
41631 PyObject
* obj1
= 0 ;
41632 PyObject
* obj2
= 0 ;
41633 PyObject
* obj3
= 0 ;
41634 PyObject
* obj4
= 0 ;
41635 PyObject
* obj5
= 0 ;
41636 PyObject
* obj6
= 0 ;
41637 PyObject
* obj7
= 0 ;
41638 PyObject
* obj8
= 0 ;
41639 char * kwnames
[] = {
41640 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41645 if (!SWIG_IsOK(res1
)) {
41646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41648 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41649 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41650 if (!SWIG_IsOK(res2
)) {
41651 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41653 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41654 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41655 if (!SWIG_IsOK(ecode3
)) {
41656 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41658 arg3
= static_cast< int >(val3
);
41660 arg4
= wxString_in_helper(obj3
);
41661 if (arg4
== NULL
) SWIG_fail
;
41665 arg5
= wxString_in_helper(obj4
);
41666 if (arg5
== NULL
) SWIG_fail
;
41672 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
41678 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
41682 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
41683 if (!SWIG_IsOK(ecode8
)) {
41684 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
41686 arg8
= static_cast< long >(val8
);
41690 arg9
= wxString_in_helper(obj8
);
41691 if (arg9
== NULL
) SWIG_fail
;
41696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41697 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
41698 wxPyEndAllowThreads(__tstate
);
41699 if (PyErr_Occurred()) SWIG_fail
;
41702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41734 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41735 PyObject
*resultobj
= 0;
41736 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41740 PyObject
*swig_obj
[1] ;
41742 if (!args
) SWIG_fail
;
41743 swig_obj
[0] = args
;
41744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41745 if (!SWIG_IsOK(res1
)) {
41746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41748 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41751 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetHoverColour();
41752 wxPyEndAllowThreads(__tstate
);
41753 if (PyErr_Occurred()) SWIG_fail
;
41755 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
41762 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41763 PyObject
*resultobj
= 0;
41764 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41765 wxColour
*arg2
= 0 ;
41769 PyObject
* obj0
= 0 ;
41770 PyObject
* obj1
= 0 ;
41771 char * kwnames
[] = {
41772 (char *) "self",(char *) "colour", NULL
41775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41777 if (!SWIG_IsOK(res1
)) {
41778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41780 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41783 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
41786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41787 (arg1
)->SetHoverColour((wxColour
const &)*arg2
);
41788 wxPyEndAllowThreads(__tstate
);
41789 if (PyErr_Occurred()) SWIG_fail
;
41791 resultobj
= SWIG_Py_Void();
41798 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41799 PyObject
*resultobj
= 0;
41800 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41804 PyObject
*swig_obj
[1] ;
41806 if (!args
) SWIG_fail
;
41807 swig_obj
[0] = args
;
41808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41809 if (!SWIG_IsOK(res1
)) {
41810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41812 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41815 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetNormalColour();
41816 wxPyEndAllowThreads(__tstate
);
41817 if (PyErr_Occurred()) SWIG_fail
;
41819 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
41826 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41827 PyObject
*resultobj
= 0;
41828 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41829 wxColour
*arg2
= 0 ;
41833 PyObject
* obj0
= 0 ;
41834 PyObject
* obj1
= 0 ;
41835 char * kwnames
[] = {
41836 (char *) "self",(char *) "colour", NULL
41839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41841 if (!SWIG_IsOK(res1
)) {
41842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41844 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41847 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
41850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41851 (arg1
)->SetNormalColour((wxColour
const &)*arg2
);
41852 wxPyEndAllowThreads(__tstate
);
41853 if (PyErr_Occurred()) SWIG_fail
;
41855 resultobj
= SWIG_Py_Void();
41862 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41863 PyObject
*resultobj
= 0;
41864 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41868 PyObject
*swig_obj
[1] ;
41870 if (!args
) SWIG_fail
;
41871 swig_obj
[0] = args
;
41872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41873 if (!SWIG_IsOK(res1
)) {
41874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41876 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41879 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetVisitedColour();
41880 wxPyEndAllowThreads(__tstate
);
41881 if (PyErr_Occurred()) SWIG_fail
;
41883 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
41890 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41891 PyObject
*resultobj
= 0;
41892 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41893 wxColour
*arg2
= 0 ;
41897 PyObject
* obj0
= 0 ;
41898 PyObject
* obj1
= 0 ;
41899 char * kwnames
[] = {
41900 (char *) "self",(char *) "colour", NULL
41903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41905 if (!SWIG_IsOK(res1
)) {
41906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41908 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41911 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
41914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41915 (arg1
)->SetVisitedColour((wxColour
const &)*arg2
);
41916 wxPyEndAllowThreads(__tstate
);
41917 if (PyErr_Occurred()) SWIG_fail
;
41919 resultobj
= SWIG_Py_Void();
41926 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41927 PyObject
*resultobj
= 0;
41928 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41932 PyObject
*swig_obj
[1] ;
41934 if (!args
) SWIG_fail
;
41935 swig_obj
[0] = args
;
41936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41937 if (!SWIG_IsOK(res1
)) {
41938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41940 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41943 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetURL();
41944 wxPyEndAllowThreads(__tstate
);
41945 if (PyErr_Occurred()) SWIG_fail
;
41949 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
41951 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
41960 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41961 PyObject
*resultobj
= 0;
41962 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41963 wxString
*arg2
= 0 ;
41966 bool temp2
= false ;
41967 PyObject
* obj0
= 0 ;
41968 PyObject
* obj1
= 0 ;
41969 char * kwnames
[] = {
41970 (char *) "self",(char *) "url", NULL
41973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41975 if (!SWIG_IsOK(res1
)) {
41976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41978 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41980 arg2
= wxString_in_helper(obj1
);
41981 if (arg2
== NULL
) SWIG_fail
;
41985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41986 (arg1
)->SetURL((wxString
const &)*arg2
);
41987 wxPyEndAllowThreads(__tstate
);
41988 if (PyErr_Occurred()) SWIG_fail
;
41990 resultobj
= SWIG_Py_Void();
42005 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42006 PyObject
*resultobj
= 0;
42007 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42008 bool arg2
= (bool) true ;
42013 PyObject
* obj0
= 0 ;
42014 PyObject
* obj1
= 0 ;
42015 char * kwnames
[] = {
42016 (char *) "self",(char *) "visited", NULL
42019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42021 if (!SWIG_IsOK(res1
)) {
42022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42024 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42026 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42027 if (!SWIG_IsOK(ecode2
)) {
42028 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42030 arg2
= static_cast< bool >(val2
);
42033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42034 (arg1
)->SetVisited(arg2
);
42035 wxPyEndAllowThreads(__tstate
);
42036 if (PyErr_Occurred()) SWIG_fail
;
42038 resultobj
= SWIG_Py_Void();
42045 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42046 PyObject
*resultobj
= 0;
42047 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42051 PyObject
*swig_obj
[1] ;
42053 if (!args
) SWIG_fail
;
42054 swig_obj
[0] = args
;
42055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42056 if (!SWIG_IsOK(res1
)) {
42057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42059 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42062 result
= (bool)((wxHyperlinkCtrl
const *)arg1
)->GetVisited();
42063 wxPyEndAllowThreads(__tstate
);
42064 if (PyErr_Occurred()) SWIG_fail
;
42067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42075 SWIGINTERN PyObject
*HyperlinkCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42077 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42078 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_NewClientData(obj
));
42079 return SWIG_Py_Void();
42082 SWIGINTERN PyObject
*HyperlinkCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42083 return SWIG_Python_InitShadowInstance(args
);
42086 SWIGINTERN PyObject
*_wrap_new_HyperlinkEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42087 PyObject
*resultobj
= 0;
42088 wxObject
*arg1
= (wxObject
*) 0 ;
42090 wxString
*arg3
= 0 ;
42091 wxHyperlinkEvent
*result
= 0 ;
42096 bool temp3
= false ;
42097 PyObject
* obj0
= 0 ;
42098 PyObject
* obj1
= 0 ;
42099 PyObject
* obj2
= 0 ;
42100 char * kwnames
[] = {
42101 (char *) "generator",(char *) "id",(char *) "url", NULL
42104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_HyperlinkEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
42106 if (!SWIG_IsOK(res1
)) {
42107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42109 arg1
= reinterpret_cast< wxObject
* >(argp1
);
42110 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42111 if (!SWIG_IsOK(ecode2
)) {
42112 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
42114 arg2
= static_cast< int >(val2
);
42116 arg3
= wxString_in_helper(obj2
);
42117 if (arg3
== NULL
) SWIG_fail
;
42121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42122 result
= (wxHyperlinkEvent
*)new wxHyperlinkEvent(arg1
,arg2
,(wxString
const &)*arg3
);
42123 wxPyEndAllowThreads(__tstate
);
42124 if (PyErr_Occurred()) SWIG_fail
;
42126 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkEvent
, SWIG_POINTER_NEW
| 0 );
42141 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42142 PyObject
*resultobj
= 0;
42143 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42147 PyObject
*swig_obj
[1] ;
42149 if (!args
) SWIG_fail
;
42150 swig_obj
[0] = args
;
42151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42152 if (!SWIG_IsOK(res1
)) {
42153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42155 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42158 result
= ((wxHyperlinkEvent
const *)arg1
)->GetURL();
42159 wxPyEndAllowThreads(__tstate
);
42160 if (PyErr_Occurred()) SWIG_fail
;
42164 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42166 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42175 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42176 PyObject
*resultobj
= 0;
42177 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42178 wxString
*arg2
= 0 ;
42181 bool temp2
= false ;
42182 PyObject
* obj0
= 0 ;
42183 PyObject
* obj1
= 0 ;
42184 char * kwnames
[] = {
42185 (char *) "self",(char *) "url", NULL
42188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42190 if (!SWIG_IsOK(res1
)) {
42191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42193 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42195 arg2
= wxString_in_helper(obj1
);
42196 if (arg2
== NULL
) SWIG_fail
;
42200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42201 (arg1
)->SetURL((wxString
const &)*arg2
);
42202 wxPyEndAllowThreads(__tstate
);
42203 if (PyErr_Occurred()) SWIG_fail
;
42205 resultobj
= SWIG_Py_Void();
42220 SWIGINTERN PyObject
*HyperlinkEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42222 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42223 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent
, SWIG_NewClientData(obj
));
42224 return SWIG_Py_Void();
42227 SWIGINTERN PyObject
*HyperlinkEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42228 return SWIG_Python_InitShadowInstance(args
);
42231 SWIGINTERN PyObject
*_wrap_PickerBase_CreateBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42232 PyObject
*resultobj
= 0;
42233 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42234 wxWindow
*arg2
= (wxWindow
*) 0 ;
42236 wxString
const &arg4_defvalue
= wxEmptyString
;
42237 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42238 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42239 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42240 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42241 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42242 long arg7
= (long) 0 ;
42243 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
42244 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
42245 wxString
const &arg9_defvalue
= wxButtonNameStr
;
42246 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42254 bool temp4
= false ;
42261 bool temp9
= false ;
42262 PyObject
* obj0
= 0 ;
42263 PyObject
* obj1
= 0 ;
42264 PyObject
* obj2
= 0 ;
42265 PyObject
* obj3
= 0 ;
42266 PyObject
* obj4
= 0 ;
42267 PyObject
* obj5
= 0 ;
42268 PyObject
* obj6
= 0 ;
42269 PyObject
* obj7
= 0 ;
42270 PyObject
* obj8
= 0 ;
42271 char * kwnames
[] = {
42272 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42277 if (!SWIG_IsOK(res1
)) {
42278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42280 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42281 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42282 if (!SWIG_IsOK(res2
)) {
42283 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42285 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42286 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42287 if (!SWIG_IsOK(ecode3
)) {
42288 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42290 arg3
= static_cast< int >(val3
);
42293 arg4
= wxString_in_helper(obj3
);
42294 if (arg4
== NULL
) SWIG_fail
;
42301 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42307 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42311 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42312 if (!SWIG_IsOK(ecode7
)) {
42313 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42315 arg7
= static_cast< long >(val7
);
42318 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
42319 if (!SWIG_IsOK(res8
)) {
42320 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42323 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42325 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
42329 arg9
= wxString_in_helper(obj8
);
42330 if (arg9
== NULL
) SWIG_fail
;
42335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42336 result
= (bool)(arg1
)->CreateBase(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
42337 wxPyEndAllowThreads(__tstate
);
42338 if (PyErr_Occurred()) SWIG_fail
;
42341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42365 SWIGINTERN PyObject
*_wrap_PickerBase_SetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42366 PyObject
*resultobj
= 0;
42367 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42373 PyObject
* obj0
= 0 ;
42374 PyObject
* obj1
= 0 ;
42375 char * kwnames
[] = {
42376 (char *) "self",(char *) "newmargin", NULL
42379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetInternalMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42381 if (!SWIG_IsOK(res1
)) {
42382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42384 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42385 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42386 if (!SWIG_IsOK(ecode2
)) {
42387 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
42389 arg2
= static_cast< int >(val2
);
42391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42392 (arg1
)->SetInternalMargin(arg2
);
42393 wxPyEndAllowThreads(__tstate
);
42394 if (PyErr_Occurred()) SWIG_fail
;
42396 resultobj
= SWIG_Py_Void();
42403 SWIGINTERN PyObject
*_wrap_PickerBase_GetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42404 PyObject
*resultobj
= 0;
42405 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42409 PyObject
*swig_obj
[1] ;
42411 if (!args
) SWIG_fail
;
42412 swig_obj
[0] = args
;
42413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42414 if (!SWIG_IsOK(res1
)) {
42415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42417 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42420 result
= (int)((wxPickerBase
const *)arg1
)->GetInternalMargin();
42421 wxPyEndAllowThreads(__tstate
);
42422 if (PyErr_Occurred()) SWIG_fail
;
42424 resultobj
= SWIG_From_int(static_cast< int >(result
));
42431 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42432 PyObject
*resultobj
= 0;
42433 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42439 PyObject
* obj0
= 0 ;
42440 PyObject
* obj1
= 0 ;
42441 char * kwnames
[] = {
42442 (char *) "self",(char *) "prop", NULL
42445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42447 if (!SWIG_IsOK(res1
)) {
42448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42450 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42451 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42452 if (!SWIG_IsOK(ecode2
)) {
42453 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42455 arg2
= static_cast< int >(val2
);
42457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42458 (arg1
)->SetTextCtrlProportion(arg2
);
42459 wxPyEndAllowThreads(__tstate
);
42460 if (PyErr_Occurred()) SWIG_fail
;
42462 resultobj
= SWIG_Py_Void();
42469 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42470 PyObject
*resultobj
= 0;
42471 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42475 PyObject
*swig_obj
[1] ;
42477 if (!args
) SWIG_fail
;
42478 swig_obj
[0] = args
;
42479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42480 if (!SWIG_IsOK(res1
)) {
42481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42483 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42486 result
= (int)((wxPickerBase
const *)arg1
)->GetTextCtrlProportion();
42487 wxPyEndAllowThreads(__tstate
);
42488 if (PyErr_Occurred()) SWIG_fail
;
42490 resultobj
= SWIG_From_int(static_cast< int >(result
));
42497 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42498 PyObject
*resultobj
= 0;
42499 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42505 PyObject
* obj0
= 0 ;
42506 PyObject
* obj1
= 0 ;
42507 char * kwnames
[] = {
42508 (char *) "self",(char *) "prop", NULL
42511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetPickerCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42513 if (!SWIG_IsOK(res1
)) {
42514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42516 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42517 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42518 if (!SWIG_IsOK(ecode2
)) {
42519 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42521 arg2
= static_cast< int >(val2
);
42523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42524 (arg1
)->SetPickerCtrlProportion(arg2
);
42525 wxPyEndAllowThreads(__tstate
);
42526 if (PyErr_Occurred()) SWIG_fail
;
42528 resultobj
= SWIG_Py_Void();
42535 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42536 PyObject
*resultobj
= 0;
42537 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42541 PyObject
*swig_obj
[1] ;
42543 if (!args
) SWIG_fail
;
42544 swig_obj
[0] = args
;
42545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42546 if (!SWIG_IsOK(res1
)) {
42547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42549 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42552 result
= (int)((wxPickerBase
const *)arg1
)->GetPickerCtrlProportion();
42553 wxPyEndAllowThreads(__tstate
);
42554 if (PyErr_Occurred()) SWIG_fail
;
42556 resultobj
= SWIG_From_int(static_cast< int >(result
));
42563 SWIGINTERN PyObject
*_wrap_PickerBase_IsTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42564 PyObject
*resultobj
= 0;
42565 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42569 PyObject
*swig_obj
[1] ;
42571 if (!args
) SWIG_fail
;
42572 swig_obj
[0] = args
;
42573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42574 if (!SWIG_IsOK(res1
)) {
42575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42577 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42580 result
= (bool)((wxPickerBase
const *)arg1
)->IsTextCtrlGrowable();
42581 wxPyEndAllowThreads(__tstate
);
42582 if (PyErr_Occurred()) SWIG_fail
;
42585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42593 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42594 PyObject
*resultobj
= 0;
42595 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42596 bool arg2
= (bool) true ;
42601 PyObject
* obj0
= 0 ;
42602 PyObject
* obj1
= 0 ;
42603 char * kwnames
[] = {
42604 (char *) "self",(char *) "grow", NULL
42607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42609 if (!SWIG_IsOK(res1
)) {
42610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42612 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42614 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42615 if (!SWIG_IsOK(ecode2
)) {
42616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42618 arg2
= static_cast< bool >(val2
);
42621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42622 (arg1
)->SetTextCtrlGrowable(arg2
);
42623 wxPyEndAllowThreads(__tstate
);
42624 if (PyErr_Occurred()) SWIG_fail
;
42626 resultobj
= SWIG_Py_Void();
42633 SWIGINTERN PyObject
*_wrap_PickerBase_IsPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42634 PyObject
*resultobj
= 0;
42635 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42639 PyObject
*swig_obj
[1] ;
42641 if (!args
) SWIG_fail
;
42642 swig_obj
[0] = args
;
42643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42644 if (!SWIG_IsOK(res1
)) {
42645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42647 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42650 result
= (bool)((wxPickerBase
const *)arg1
)->IsPickerCtrlGrowable();
42651 wxPyEndAllowThreads(__tstate
);
42652 if (PyErr_Occurred()) SWIG_fail
;
42655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42663 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42664 PyObject
*resultobj
= 0;
42665 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42666 bool arg2
= (bool) true ;
42671 PyObject
* obj0
= 0 ;
42672 PyObject
* obj1
= 0 ;
42673 char * kwnames
[] = {
42674 (char *) "self",(char *) "grow", NULL
42677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42679 if (!SWIG_IsOK(res1
)) {
42680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42682 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42684 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42685 if (!SWIG_IsOK(ecode2
)) {
42686 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42688 arg2
= static_cast< bool >(val2
);
42691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42692 (arg1
)->SetPickerCtrlGrowable(arg2
);
42693 wxPyEndAllowThreads(__tstate
);
42694 if (PyErr_Occurred()) SWIG_fail
;
42696 resultobj
= SWIG_Py_Void();
42703 SWIGINTERN PyObject
*_wrap_PickerBase_HasTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42704 PyObject
*resultobj
= 0;
42705 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42709 PyObject
*swig_obj
[1] ;
42711 if (!args
) SWIG_fail
;
42712 swig_obj
[0] = args
;
42713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42714 if (!SWIG_IsOK(res1
)) {
42715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42717 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42720 result
= (bool)((wxPickerBase
const *)arg1
)->HasTextCtrl();
42721 wxPyEndAllowThreads(__tstate
);
42722 if (PyErr_Occurred()) SWIG_fail
;
42725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42733 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42734 PyObject
*resultobj
= 0;
42735 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42736 wxTextCtrl
*result
= 0 ;
42739 PyObject
*swig_obj
[1] ;
42741 if (!args
) SWIG_fail
;
42742 swig_obj
[0] = args
;
42743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42744 if (!SWIG_IsOK(res1
)) {
42745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42747 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42750 result
= (wxTextCtrl
*)(arg1
)->GetTextCtrl();
42751 wxPyEndAllowThreads(__tstate
);
42752 if (PyErr_Occurred()) SWIG_fail
;
42755 resultobj
= wxPyMake_wxObject(result
, 0);
42763 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42764 PyObject
*resultobj
= 0;
42765 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42766 wxControl
*result
= 0 ;
42769 PyObject
*swig_obj
[1] ;
42771 if (!args
) SWIG_fail
;
42772 swig_obj
[0] = args
;
42773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42774 if (!SWIG_IsOK(res1
)) {
42775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42777 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42780 result
= (wxControl
*)(arg1
)->GetPickerCtrl();
42781 wxPyEndAllowThreads(__tstate
);
42782 if (PyErr_Occurred()) SWIG_fail
;
42785 resultobj
= wxPyMake_wxObject(result
, 0);
42793 SWIGINTERN PyObject
*PickerBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42795 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42796 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase
, SWIG_NewClientData(obj
));
42797 return SWIG_Py_Void();
42800 SWIGINTERN
int ColourPickerCtrlNameStr_set(PyObject
*) {
42801 SWIG_Error(SWIG_AttributeError
,"Variable ColourPickerCtrlNameStr is read-only.");
42806 SWIGINTERN PyObject
*ColourPickerCtrlNameStr_get(void) {
42807 PyObject
*pyobj
= 0;
42811 pyobj
= PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
42813 pyobj
= PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
42820 SWIGINTERN PyObject
*_wrap_new_ColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42821 PyObject
*resultobj
= 0;
42822 wxWindow
*arg1
= (wxWindow
*) 0 ;
42823 int arg2
= (int) -1 ;
42824 wxColour
const &arg3_defvalue
= *wxBLACK
;
42825 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
42826 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
42827 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
42828 wxSize
const &arg5_defvalue
= wxDefaultSize
;
42829 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
42830 long arg6
= (long) wxCLRP_DEFAULT_STYLE
;
42831 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
42832 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
42833 wxString
const &arg8_defvalue
= wxPyColourPickerCtrlNameStr
;
42834 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
42835 wxColourPickerCtrl
*result
= 0 ;
42847 bool temp8
= false ;
42848 PyObject
* obj0
= 0 ;
42849 PyObject
* obj1
= 0 ;
42850 PyObject
* obj2
= 0 ;
42851 PyObject
* obj3
= 0 ;
42852 PyObject
* obj4
= 0 ;
42853 PyObject
* obj5
= 0 ;
42854 PyObject
* obj6
= 0 ;
42855 PyObject
* obj7
= 0 ;
42856 char * kwnames
[] = {
42857 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
42861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42862 if (!SWIG_IsOK(res1
)) {
42863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
42865 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
42867 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42868 if (!SWIG_IsOK(ecode2
)) {
42869 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
42871 arg2
= static_cast< int >(val2
);
42876 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
42882 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
42888 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
42892 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
42893 if (!SWIG_IsOK(ecode6
)) {
42894 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
42896 arg6
= static_cast< long >(val6
);
42899 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
42900 if (!SWIG_IsOK(res7
)) {
42901 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
42904 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
42906 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
42910 arg8
= wxString_in_helper(obj7
);
42911 if (arg8
== NULL
) SWIG_fail
;
42916 if (!wxPyCheckForApp()) SWIG_fail
;
42917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42918 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl(arg1
,arg2
,(wxColour
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
42919 wxPyEndAllowThreads(__tstate
);
42920 if (PyErr_Occurred()) SWIG_fail
;
42922 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_NEW
| 0 );
42937 SWIGINTERN PyObject
*_wrap_new_PreColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42938 PyObject
*resultobj
= 0;
42939 wxColourPickerCtrl
*result
= 0 ;
42941 if (!SWIG_Python_UnpackTuple(args
,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail
;
42943 if (!wxPyCheckForApp()) SWIG_fail
;
42944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42945 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl();
42946 wxPyEndAllowThreads(__tstate
);
42947 if (PyErr_Occurred()) SWIG_fail
;
42949 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_OWN
| 0 );
42956 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42957 PyObject
*resultobj
= 0;
42958 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
42959 wxWindow
*arg2
= (wxWindow
*) 0 ;
42961 wxColour
const &arg4_defvalue
= *wxBLACK
;
42962 wxColour
*arg4
= (wxColour
*) &arg4_defvalue
;
42963 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42964 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42965 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42966 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42967 long arg7
= (long) wxCLRP_DEFAULT_STYLE
;
42968 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
42969 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
42970 wxString
const &arg9_defvalue
= wxPyColourPickerCtrlNameStr
;
42971 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42986 bool temp9
= false ;
42987 PyObject
* obj0
= 0 ;
42988 PyObject
* obj1
= 0 ;
42989 PyObject
* obj2
= 0 ;
42990 PyObject
* obj3
= 0 ;
42991 PyObject
* obj4
= 0 ;
42992 PyObject
* obj5
= 0 ;
42993 PyObject
* obj6
= 0 ;
42994 PyObject
* obj7
= 0 ;
42995 PyObject
* obj8
= 0 ;
42996 char * kwnames
[] = {
42997 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
43001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43002 if (!SWIG_IsOK(res1
)) {
43003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43005 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43006 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43007 if (!SWIG_IsOK(res2
)) {
43008 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43010 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43011 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43012 if (!SWIG_IsOK(ecode3
)) {
43013 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43015 arg3
= static_cast< int >(val3
);
43019 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
43025 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
43031 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
43035 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
43036 if (!SWIG_IsOK(ecode7
)) {
43037 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
43039 arg7
= static_cast< long >(val7
);
43042 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
43043 if (!SWIG_IsOK(res8
)) {
43044 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43047 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43049 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
43053 arg9
= wxString_in_helper(obj8
);
43054 if (arg9
== NULL
) SWIG_fail
;
43059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43060 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
43061 wxPyEndAllowThreads(__tstate
);
43062 if (PyErr_Occurred()) SWIG_fail
;
43065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43081 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43082 PyObject
*resultobj
= 0;
43083 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43087 PyObject
*swig_obj
[1] ;
43089 if (!args
) SWIG_fail
;
43090 swig_obj
[0] = args
;
43091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43092 if (!SWIG_IsOK(res1
)) {
43093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
43095 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43098 result
= ((wxColourPickerCtrl
const *)arg1
)->GetColour();
43099 wxPyEndAllowThreads(__tstate
);
43100 if (PyErr_Occurred()) SWIG_fail
;
43102 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43109 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43110 PyObject
*resultobj
= 0;
43111 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43112 wxColour
*arg2
= 0 ;
43116 PyObject
* obj0
= 0 ;
43117 PyObject
* obj1
= 0 ;
43118 char * kwnames
[] = {
43119 (char *) "self",(char *) "col", NULL
43122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerCtrl_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43124 if (!SWIG_IsOK(res1
)) {
43125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43127 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43130 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43134 (arg1
)->SetColour((wxColour
const &)*arg2
);
43135 wxPyEndAllowThreads(__tstate
);
43136 if (PyErr_Occurred()) SWIG_fail
;
43138 resultobj
= SWIG_Py_Void();
43145 SWIGINTERN PyObject
*ColourPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43147 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43148 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl
, SWIG_NewClientData(obj
));
43149 return SWIG_Py_Void();
43152 SWIGINTERN PyObject
*ColourPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43153 return SWIG_Python_InitShadowInstance(args
);
43156 SWIGINTERN PyObject
*_wrap_new_ColourPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43157 PyObject
*resultobj
= 0;
43158 wxObject
*arg1
= (wxObject
*) 0 ;
43160 wxColour
*arg3
= 0 ;
43161 wxColourPickerEvent
*result
= 0 ;
43167 PyObject
* obj0
= 0 ;
43168 PyObject
* obj1
= 0 ;
43169 PyObject
* obj2
= 0 ;
43170 char * kwnames
[] = {
43171 (char *) "generator",(char *) "id",(char *) "col", NULL
43174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ColourPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
43176 if (!SWIG_IsOK(res1
)) {
43177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43179 arg1
= reinterpret_cast< wxObject
* >(argp1
);
43180 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43181 if (!SWIG_IsOK(ecode2
)) {
43182 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
43184 arg2
= static_cast< int >(val2
);
43187 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43191 result
= (wxColourPickerEvent
*)new wxColourPickerEvent(arg1
,arg2
,(wxColour
const &)*arg3
);
43192 wxPyEndAllowThreads(__tstate
);
43193 if (PyErr_Occurred()) SWIG_fail
;
43195 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerEvent
, SWIG_POINTER_NEW
| 0 );
43202 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43203 PyObject
*resultobj
= 0;
43204 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43208 PyObject
*swig_obj
[1] ;
43210 if (!args
) SWIG_fail
;
43211 swig_obj
[0] = args
;
43212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43213 if (!SWIG_IsOK(res1
)) {
43214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
43216 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43219 result
= ((wxColourPickerEvent
const *)arg1
)->GetColour();
43220 wxPyEndAllowThreads(__tstate
);
43221 if (PyErr_Occurred()) SWIG_fail
;
43223 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43230 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43231 PyObject
*resultobj
= 0;
43232 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43233 wxColour
*arg2
= 0 ;
43237 PyObject
* obj0
= 0 ;
43238 PyObject
* obj1
= 0 ;
43239 char * kwnames
[] = {
43240 (char *) "self",(char *) "c", NULL
43243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerEvent_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43245 if (!SWIG_IsOK(res1
)) {
43246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
43248 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43251 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43255 (arg1
)->SetColour((wxColour
const &)*arg2
);
43256 wxPyEndAllowThreads(__tstate
);
43257 if (PyErr_Occurred()) SWIG_fail
;
43259 resultobj
= SWIG_Py_Void();
43266 SWIGINTERN PyObject
*ColourPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43268 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43269 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent
, SWIG_NewClientData(obj
));
43270 return SWIG_Py_Void();
43273 SWIGINTERN PyObject
*ColourPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43274 return SWIG_Python_InitShadowInstance(args
);
43277 SWIGINTERN
int FilePickerCtrlNameStr_set(PyObject
*) {
43278 SWIG_Error(SWIG_AttributeError
,"Variable FilePickerCtrlNameStr is read-only.");
43283 SWIGINTERN PyObject
*FilePickerCtrlNameStr_get(void) {
43284 PyObject
*pyobj
= 0;
43288 pyobj
= PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43290 pyobj
= PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43297 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
43298 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
43303 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
43304 PyObject
*pyobj
= 0;
43308 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43310 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43317 SWIGINTERN
int DirPickerCtrlNameStr_set(PyObject
*) {
43318 SWIG_Error(SWIG_AttributeError
,"Variable DirPickerCtrlNameStr is read-only.");
43323 SWIGINTERN PyObject
*DirPickerCtrlNameStr_get(void) {
43324 PyObject
*pyobj
= 0;
43328 pyobj
= PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43330 pyobj
= PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43337 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
43338 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
43343 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
43344 PyObject
*pyobj
= 0;
43348 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43350 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43357 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
43358 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
43363 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
43364 PyObject
*pyobj
= 0;
43368 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43370 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43377 SWIGINTERN PyObject
*_wrap_new_FilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43378 PyObject
*resultobj
= 0;
43379 wxWindow
*arg1
= (wxWindow
*) 0 ;
43380 int arg2
= (int) -1 ;
43381 wxString
const &arg3_defvalue
= wxPyEmptyString
;
43382 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
43383 wxString
const &arg4_defvalue
= wxPyFileSelectorPromptStr
;
43384 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43385 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43386 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43387 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
43388 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
43389 wxSize
const &arg7_defvalue
= wxDefaultSize
;
43390 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
43391 long arg8
= (long) wxFLP_DEFAULT_STYLE
;
43392 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
43393 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
43394 wxString
const &arg10_defvalue
= wxPyFilePickerCtrlNameStr
;
43395 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
43396 wxFilePickerCtrl
*result
= 0 ;
43401 bool temp3
= false ;
43402 bool temp4
= false ;
43403 bool temp5
= false ;
43410 bool temp10
= false ;
43411 PyObject
* obj0
= 0 ;
43412 PyObject
* obj1
= 0 ;
43413 PyObject
* obj2
= 0 ;
43414 PyObject
* obj3
= 0 ;
43415 PyObject
* obj4
= 0 ;
43416 PyObject
* obj5
= 0 ;
43417 PyObject
* obj6
= 0 ;
43418 PyObject
* obj7
= 0 ;
43419 PyObject
* obj8
= 0 ;
43420 PyObject
* obj9
= 0 ;
43421 char * kwnames
[] = {
43422 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
43426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43427 if (!SWIG_IsOK(res1
)) {
43428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43430 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43432 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43433 if (!SWIG_IsOK(ecode2
)) {
43434 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
43436 arg2
= static_cast< int >(val2
);
43440 arg3
= wxString_in_helper(obj2
);
43441 if (arg3
== NULL
) SWIG_fail
;
43447 arg4
= wxString_in_helper(obj3
);
43448 if (arg4
== NULL
) SWIG_fail
;
43454 arg5
= wxString_in_helper(obj4
);
43455 if (arg5
== NULL
) SWIG_fail
;
43462 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
43468 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
43472 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
43473 if (!SWIG_IsOK(ecode8
)) {
43474 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
43476 arg8
= static_cast< long >(val8
);
43479 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
43480 if (!SWIG_IsOK(res9
)) {
43481 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43484 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43486 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
43490 arg10
= wxString_in_helper(obj9
);
43491 if (arg10
== NULL
) SWIG_fail
;
43496 if (!wxPyCheckForApp()) SWIG_fail
;
43497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43498 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
);
43499 wxPyEndAllowThreads(__tstate
);
43500 if (PyErr_Occurred()) SWIG_fail
;
43502 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_NEW
| 0 );
43541 SWIGINTERN PyObject
*_wrap_new_PreFilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43542 PyObject
*resultobj
= 0;
43543 wxFilePickerCtrl
*result
= 0 ;
43545 if (!SWIG_Python_UnpackTuple(args
,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail
;
43547 if (!wxPyCheckForApp()) SWIG_fail
;
43548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43549 result
= (wxFilePickerCtrl
*)new wxFilePickerCtrl();
43550 wxPyEndAllowThreads(__tstate
);
43551 if (PyErr_Occurred()) SWIG_fail
;
43553 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_OWN
| 0 );
43560 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43561 PyObject
*resultobj
= 0;
43562 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43563 wxWindow
*arg2
= (wxWindow
*) 0 ;
43564 int arg3
= (int) -1 ;
43565 wxString
const &arg4_defvalue
= wxPyEmptyString
;
43566 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43567 wxString
const &arg5_defvalue
= wxPyFileSelectorPromptStr
;
43568 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43569 wxString
const &arg6_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43570 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
43571 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
43572 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
43573 wxSize
const &arg8_defvalue
= wxDefaultSize
;
43574 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
43575 long arg9
= (long) wxFLP_DEFAULT_STYLE
;
43576 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
43577 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
43578 wxString
const &arg11_defvalue
= wxPyFilePickerCtrlNameStr
;
43579 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
43587 bool temp4
= false ;
43588 bool temp5
= false ;
43589 bool temp6
= false ;
43596 bool temp11
= false ;
43597 PyObject
* obj0
= 0 ;
43598 PyObject
* obj1
= 0 ;
43599 PyObject
* obj2
= 0 ;
43600 PyObject
* obj3
= 0 ;
43601 PyObject
* obj4
= 0 ;
43602 PyObject
* obj5
= 0 ;
43603 PyObject
* obj6
= 0 ;
43604 PyObject
* obj7
= 0 ;
43605 PyObject
* obj8
= 0 ;
43606 PyObject
* obj9
= 0 ;
43607 PyObject
* obj10
= 0 ;
43608 char * kwnames
[] = {
43609 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
43613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43614 if (!SWIG_IsOK(res1
)) {
43615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
43617 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43618 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43619 if (!SWIG_IsOK(res2
)) {
43620 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43622 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43624 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43625 if (!SWIG_IsOK(ecode3
)) {
43626 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43628 arg3
= static_cast< int >(val3
);
43632 arg4
= wxString_in_helper(obj3
);
43633 if (arg4
== NULL
) SWIG_fail
;
43639 arg5
= wxString_in_helper(obj4
);
43640 if (arg5
== NULL
) SWIG_fail
;
43646 arg6
= wxString_in_helper(obj5
);
43647 if (arg6
== NULL
) SWIG_fail
;
43654 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
43660 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
43664 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
43665 if (!SWIG_IsOK(ecode9
)) {
43666 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
43668 arg9
= static_cast< long >(val9
);
43671 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
43672 if (!SWIG_IsOK(res10
)) {
43673 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43676 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43678 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
43682 arg11
= wxString_in_helper(obj10
);
43683 if (arg11
== NULL
) SWIG_fail
;
43688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43689 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
);
43690 wxPyEndAllowThreads(__tstate
);
43691 if (PyErr_Occurred()) SWIG_fail
;
43694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43734 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43735 PyObject
*resultobj
= 0;
43736 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43740 PyObject
*swig_obj
[1] ;
43742 if (!args
) SWIG_fail
;
43743 swig_obj
[0] = args
;
43744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43745 if (!SWIG_IsOK(res1
)) {
43746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
43748 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43751 result
= ((wxFilePickerCtrl
const *)arg1
)->GetPath();
43752 wxPyEndAllowThreads(__tstate
);
43753 if (PyErr_Occurred()) SWIG_fail
;
43757 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
43759 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
43768 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43769 PyObject
*resultobj
= 0;
43770 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43771 wxString
*arg2
= 0 ;
43774 bool temp2
= false ;
43775 PyObject
* obj0
= 0 ;
43776 PyObject
* obj1
= 0 ;
43777 char * kwnames
[] = {
43778 (char *) "self",(char *) "str", NULL
43781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43783 if (!SWIG_IsOK(res1
)) {
43784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
43786 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43788 arg2
= wxString_in_helper(obj1
);
43789 if (arg2
== NULL
) SWIG_fail
;
43793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43794 (arg1
)->SetPath((wxString
const &)*arg2
);
43795 wxPyEndAllowThreads(__tstate
);
43796 if (PyErr_Occurred()) SWIG_fail
;
43798 resultobj
= SWIG_Py_Void();
43813 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43814 PyObject
*resultobj
= 0;
43815 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43816 wxString
*arg2
= 0 ;
43820 bool temp2
= false ;
43821 PyObject
* obj0
= 0 ;
43822 PyObject
* obj1
= 0 ;
43823 char * kwnames
[] = {
43824 (char *) "self",(char *) "path", NULL
43827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43829 if (!SWIG_IsOK(res1
)) {
43830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
43832 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43834 arg2
= wxString_in_helper(obj1
);
43835 if (arg2
== NULL
) SWIG_fail
;
43839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43840 result
= (bool)((wxFilePickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
43841 wxPyEndAllowThreads(__tstate
);
43842 if (PyErr_Occurred()) SWIG_fail
;
43845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43861 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43862 PyObject
*resultobj
= 0;
43863 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43867 PyObject
*swig_obj
[1] ;
43869 if (!args
) SWIG_fail
;
43870 swig_obj
[0] = args
;
43871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43872 if (!SWIG_IsOK(res1
)) {
43873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
43875 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43878 result
= ((wxFilePickerCtrl
const *)arg1
)->GetTextCtrlValue();
43879 wxPyEndAllowThreads(__tstate
);
43880 if (PyErr_Occurred()) SWIG_fail
;
43884 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
43886 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
43895 SWIGINTERN PyObject
*FilePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43897 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43898 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl
, SWIG_NewClientData(obj
));
43899 return SWIG_Py_Void();
43902 SWIGINTERN PyObject
*FilePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43903 return SWIG_Python_InitShadowInstance(args
);
43906 SWIGINTERN PyObject
*_wrap_new_DirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43907 PyObject
*resultobj
= 0;
43908 wxWindow
*arg1
= (wxWindow
*) 0 ;
43909 int arg2
= (int) -1 ;
43910 wxString
const &arg3_defvalue
= wxPyEmptyString
;
43911 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
43912 wxString
const &arg4_defvalue
= wxPyDirSelectorPromptStr
;
43913 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43914 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
43915 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
43916 wxSize
const &arg6_defvalue
= wxDefaultSize
;
43917 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
43918 long arg7
= (long) wxDIRP_DEFAULT_STYLE
;
43919 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
43920 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
43921 wxString
const &arg9_defvalue
= wxPyDirPickerCtrlNameStr
;
43922 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
43923 wxDirPickerCtrl
*result
= 0 ;
43928 bool temp3
= false ;
43929 bool temp4
= false ;
43936 bool temp9
= false ;
43937 PyObject
* obj0
= 0 ;
43938 PyObject
* obj1
= 0 ;
43939 PyObject
* obj2
= 0 ;
43940 PyObject
* obj3
= 0 ;
43941 PyObject
* obj4
= 0 ;
43942 PyObject
* obj5
= 0 ;
43943 PyObject
* obj6
= 0 ;
43944 PyObject
* obj7
= 0 ;
43945 PyObject
* obj8
= 0 ;
43946 char * kwnames
[] = {
43947 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
43951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43952 if (!SWIG_IsOK(res1
)) {
43953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43955 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43957 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43958 if (!SWIG_IsOK(ecode2
)) {
43959 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43961 arg2
= static_cast< int >(val2
);
43965 arg3
= wxString_in_helper(obj2
);
43966 if (arg3
== NULL
) SWIG_fail
;
43972 arg4
= wxString_in_helper(obj3
);
43973 if (arg4
== NULL
) SWIG_fail
;
43980 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
43986 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
43990 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
43991 if (!SWIG_IsOK(ecode7
)) {
43992 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
43994 arg7
= static_cast< long >(val7
);
43997 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
43998 if (!SWIG_IsOK(res8
)) {
43999 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44002 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44004 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
44008 arg9
= wxString_in_helper(obj8
);
44009 if (arg9
== NULL
) SWIG_fail
;
44014 if (!wxPyCheckForApp()) SWIG_fail
;
44015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44016 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
);
44017 wxPyEndAllowThreads(__tstate
);
44018 if (PyErr_Occurred()) SWIG_fail
;
44020 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44051 SWIGINTERN PyObject
*_wrap_new_PreDirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44052 PyObject
*resultobj
= 0;
44053 wxDirPickerCtrl
*result
= 0 ;
44055 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail
;
44057 if (!wxPyCheckForApp()) SWIG_fail
;
44058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44059 result
= (wxDirPickerCtrl
*)new wxDirPickerCtrl();
44060 wxPyEndAllowThreads(__tstate
);
44061 if (PyErr_Occurred()) SWIG_fail
;
44063 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44070 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44071 PyObject
*resultobj
= 0;
44072 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44073 wxWindow
*arg2
= (wxWindow
*) 0 ;
44074 int arg3
= (int) -1 ;
44075 wxString
const &arg4_defvalue
= wxPyEmptyString
;
44076 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44077 wxString
const &arg5_defvalue
= wxPyDirSelectorPromptStr
;
44078 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44079 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
44080 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
44081 wxSize
const &arg7_defvalue
= wxDefaultSize
;
44082 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
44083 long arg8
= (long) wxDIRP_DEFAULT_STYLE
;
44084 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
44085 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
44086 wxString
const &arg10_defvalue
= wxPyDirPickerCtrlNameStr
;
44087 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
44095 bool temp4
= false ;
44096 bool temp5
= false ;
44103 bool temp10
= false ;
44104 PyObject
* obj0
= 0 ;
44105 PyObject
* obj1
= 0 ;
44106 PyObject
* obj2
= 0 ;
44107 PyObject
* obj3
= 0 ;
44108 PyObject
* obj4
= 0 ;
44109 PyObject
* obj5
= 0 ;
44110 PyObject
* obj6
= 0 ;
44111 PyObject
* obj7
= 0 ;
44112 PyObject
* obj8
= 0 ;
44113 PyObject
* obj9
= 0 ;
44114 char * kwnames
[] = {
44115 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
44119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44120 if (!SWIG_IsOK(res1
)) {
44121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44123 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44124 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44125 if (!SWIG_IsOK(res2
)) {
44126 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44128 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44130 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44131 if (!SWIG_IsOK(ecode3
)) {
44132 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44134 arg3
= static_cast< int >(val3
);
44138 arg4
= wxString_in_helper(obj3
);
44139 if (arg4
== NULL
) SWIG_fail
;
44145 arg5
= wxString_in_helper(obj4
);
44146 if (arg5
== NULL
) SWIG_fail
;
44153 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
44159 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
44163 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
44164 if (!SWIG_IsOK(ecode8
)) {
44165 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
44167 arg8
= static_cast< long >(val8
);
44170 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
44171 if (!SWIG_IsOK(res9
)) {
44172 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44175 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44177 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
44181 arg10
= wxString_in_helper(obj9
);
44182 if (arg10
== NULL
) SWIG_fail
;
44187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44188 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
);
44189 wxPyEndAllowThreads(__tstate
);
44190 if (PyErr_Occurred()) SWIG_fail
;
44193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44225 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44226 PyObject
*resultobj
= 0;
44227 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44231 PyObject
*swig_obj
[1] ;
44233 if (!args
) SWIG_fail
;
44234 swig_obj
[0] = args
;
44235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44236 if (!SWIG_IsOK(res1
)) {
44237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44239 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44242 result
= ((wxDirPickerCtrl
const *)arg1
)->GetPath();
44243 wxPyEndAllowThreads(__tstate
);
44244 if (PyErr_Occurred()) SWIG_fail
;
44248 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44250 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44259 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44260 PyObject
*resultobj
= 0;
44261 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44262 wxString
*arg2
= 0 ;
44265 bool temp2
= false ;
44266 PyObject
* obj0
= 0 ;
44267 PyObject
* obj1
= 0 ;
44268 char * kwnames
[] = {
44269 (char *) "self",(char *) "str", NULL
44272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44274 if (!SWIG_IsOK(res1
)) {
44275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44277 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44279 arg2
= wxString_in_helper(obj1
);
44280 if (arg2
== NULL
) SWIG_fail
;
44284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44285 (arg1
)->SetPath((wxString
const &)*arg2
);
44286 wxPyEndAllowThreads(__tstate
);
44287 if (PyErr_Occurred()) SWIG_fail
;
44289 resultobj
= SWIG_Py_Void();
44304 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44305 PyObject
*resultobj
= 0;
44306 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44307 wxString
*arg2
= 0 ;
44311 bool temp2
= false ;
44312 PyObject
* obj0
= 0 ;
44313 PyObject
* obj1
= 0 ;
44314 char * kwnames
[] = {
44315 (char *) "self",(char *) "path", NULL
44318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44320 if (!SWIG_IsOK(res1
)) {
44321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44323 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44325 arg2
= wxString_in_helper(obj1
);
44326 if (arg2
== NULL
) SWIG_fail
;
44330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44331 result
= (bool)((wxDirPickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44332 wxPyEndAllowThreads(__tstate
);
44333 if (PyErr_Occurred()) SWIG_fail
;
44336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44352 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44353 PyObject
*resultobj
= 0;
44354 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44358 PyObject
*swig_obj
[1] ;
44360 if (!args
) SWIG_fail
;
44361 swig_obj
[0] = args
;
44362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44363 if (!SWIG_IsOK(res1
)) {
44364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44366 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44369 result
= ((wxDirPickerCtrl
const *)arg1
)->GetTextCtrlValue();
44370 wxPyEndAllowThreads(__tstate
);
44371 if (PyErr_Occurred()) SWIG_fail
;
44375 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44377 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44386 SWIGINTERN PyObject
*DirPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44388 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44389 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl
, SWIG_NewClientData(obj
));
44390 return SWIG_Py_Void();
44393 SWIGINTERN PyObject
*DirPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44394 return SWIG_Python_InitShadowInstance(args
);
44397 SWIGINTERN PyObject
*_wrap_new_FileDirPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44398 PyObject
*resultobj
= 0;
44400 wxObject
*arg2
= (wxObject
*) 0 ;
44402 wxString
*arg4
= 0 ;
44403 wxFileDirPickerEvent
*result
= 0 ;
44410 bool temp4
= false ;
44411 PyObject
* obj0
= 0 ;
44412 PyObject
* obj1
= 0 ;
44413 PyObject
* obj2
= 0 ;
44414 PyObject
* obj3
= 0 ;
44415 char * kwnames
[] = {
44416 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
44419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileDirPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
44420 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
44421 if (!SWIG_IsOK(ecode1
)) {
44422 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
44424 arg1
= static_cast< wxEventType
>(val1
);
44425 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxObject
, 0 | 0 );
44426 if (!SWIG_IsOK(res2
)) {
44427 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
44429 arg2
= reinterpret_cast< wxObject
* >(argp2
);
44430 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44431 if (!SWIG_IsOK(ecode3
)) {
44432 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
44434 arg3
= static_cast< int >(val3
);
44436 arg4
= wxString_in_helper(obj3
);
44437 if (arg4
== NULL
) SWIG_fail
;
44441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44442 result
= (wxFileDirPickerEvent
*)new wxFileDirPickerEvent(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
44443 wxPyEndAllowThreads(__tstate
);
44444 if (PyErr_Occurred()) SWIG_fail
;
44446 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_POINTER_NEW
| 0 );
44461 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44462 PyObject
*resultobj
= 0;
44463 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44467 PyObject
*swig_obj
[1] ;
44469 if (!args
) SWIG_fail
;
44470 swig_obj
[0] = args
;
44471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44472 if (!SWIG_IsOK(res1
)) {
44473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
44475 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44478 result
= ((wxFileDirPickerEvent
const *)arg1
)->GetPath();
44479 wxPyEndAllowThreads(__tstate
);
44480 if (PyErr_Occurred()) SWIG_fail
;
44484 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44486 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44495 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44496 PyObject
*resultobj
= 0;
44497 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44498 wxString
*arg2
= 0 ;
44501 bool temp2
= false ;
44502 PyObject
* obj0
= 0 ;
44503 PyObject
* obj1
= 0 ;
44504 char * kwnames
[] = {
44505 (char *) "self",(char *) "p", NULL
44508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDirPickerEvent_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44510 if (!SWIG_IsOK(res1
)) {
44511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
44513 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44515 arg2
= wxString_in_helper(obj1
);
44516 if (arg2
== NULL
) SWIG_fail
;
44520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44521 (arg1
)->SetPath((wxString
const &)*arg2
);
44522 wxPyEndAllowThreads(__tstate
);
44523 if (PyErr_Occurred()) SWIG_fail
;
44525 resultobj
= SWIG_Py_Void();
44540 SWIGINTERN PyObject
*FileDirPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44542 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44543 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_NewClientData(obj
));
44544 return SWIG_Py_Void();
44547 SWIGINTERN PyObject
*FileDirPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44548 return SWIG_Python_InitShadowInstance(args
);
44551 SWIGINTERN
int FontPickerCtrlNameStr_set(PyObject
*) {
44552 SWIG_Error(SWIG_AttributeError
,"Variable FontPickerCtrlNameStr is read-only.");
44557 SWIGINTERN PyObject
*FontPickerCtrlNameStr_get(void) {
44558 PyObject
*pyobj
= 0;
44562 pyobj
= PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44564 pyobj
= PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44571 SWIGINTERN PyObject
*_wrap_new_FontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44572 PyObject
*resultobj
= 0;
44573 wxWindow
*arg1
= (wxWindow
*) 0 ;
44574 int arg2
= (int) -1 ;
44575 wxFont
const &arg3_defvalue
= *wxNORMAL_FONT
;
44576 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
44577 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
44578 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
44579 wxSize
const &arg5_defvalue
= wxDefaultSize
;
44580 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
44581 long arg6
= (long) wxFNTP_DEFAULT_STYLE
;
44582 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
44583 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
44584 wxString
const &arg8_defvalue
= wxPyFontPickerCtrlNameStr
;
44585 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
44586 wxFontPickerCtrl
*result
= 0 ;
44599 bool temp8
= false ;
44600 PyObject
* obj0
= 0 ;
44601 PyObject
* obj1
= 0 ;
44602 PyObject
* obj2
= 0 ;
44603 PyObject
* obj3
= 0 ;
44604 PyObject
* obj4
= 0 ;
44605 PyObject
* obj5
= 0 ;
44606 PyObject
* obj6
= 0 ;
44607 PyObject
* obj7
= 0 ;
44608 char * kwnames
[] = {
44609 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
44613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44614 if (!SWIG_IsOK(res1
)) {
44615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44617 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44619 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44620 if (!SWIG_IsOK(ecode2
)) {
44621 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44623 arg2
= static_cast< int >(val2
);
44626 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
44627 if (!SWIG_IsOK(res3
)) {
44628 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44631 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44633 arg3
= reinterpret_cast< wxFont
* >(argp3
);
44638 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
44644 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
44648 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
44649 if (!SWIG_IsOK(ecode6
)) {
44650 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
44652 arg6
= static_cast< long >(val6
);
44655 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
44656 if (!SWIG_IsOK(res7
)) {
44657 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44660 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44662 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
44666 arg8
= wxString_in_helper(obj7
);
44667 if (arg8
== NULL
) SWIG_fail
;
44672 if (!wxPyCheckForApp()) SWIG_fail
;
44673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44674 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl(arg1
,arg2
,(wxFont
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
44675 wxPyEndAllowThreads(__tstate
);
44676 if (PyErr_Occurred()) SWIG_fail
;
44678 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44693 SWIGINTERN PyObject
*_wrap_new_PreFontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44694 PyObject
*resultobj
= 0;
44695 wxFontPickerCtrl
*result
= 0 ;
44697 if (!SWIG_Python_UnpackTuple(args
,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail
;
44699 if (!wxPyCheckForApp()) SWIG_fail
;
44700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44701 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl();
44702 wxPyEndAllowThreads(__tstate
);
44703 if (PyErr_Occurred()) SWIG_fail
;
44705 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44712 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44713 PyObject
*resultobj
= 0;
44714 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44715 wxWindow
*arg2
= (wxWindow
*) 0 ;
44716 int arg3
= (int) -1 ;
44717 wxFont
const &arg4_defvalue
= *wxNORMAL_FONT
;
44718 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
44719 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44720 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44721 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44722 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44723 long arg7
= (long) wxFNTP_DEFAULT_STYLE
;
44724 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
44725 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
44726 wxString
const &arg9_defvalue
= wxPyFontPickerCtrlNameStr
;
44727 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
44743 bool temp9
= false ;
44744 PyObject
* obj0
= 0 ;
44745 PyObject
* obj1
= 0 ;
44746 PyObject
* obj2
= 0 ;
44747 PyObject
* obj3
= 0 ;
44748 PyObject
* obj4
= 0 ;
44749 PyObject
* obj5
= 0 ;
44750 PyObject
* obj6
= 0 ;
44751 PyObject
* obj7
= 0 ;
44752 PyObject
* obj8
= 0 ;
44753 char * kwnames
[] = {
44754 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
44758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44759 if (!SWIG_IsOK(res1
)) {
44760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
44762 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44763 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44764 if (!SWIG_IsOK(res2
)) {
44765 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44767 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44769 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44770 if (!SWIG_IsOK(ecode3
)) {
44771 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44773 arg3
= static_cast< int >(val3
);
44776 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxFont
, 0 | 0);
44777 if (!SWIG_IsOK(res4
)) {
44778 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
44781 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
44783 arg4
= reinterpret_cast< wxFont
* >(argp4
);
44788 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
44794 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
44798 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
44799 if (!SWIG_IsOK(ecode7
)) {
44800 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
44802 arg7
= static_cast< long >(val7
);
44805 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
44806 if (!SWIG_IsOK(res8
)) {
44807 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
44810 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
44812 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
44816 arg9
= wxString_in_helper(obj8
);
44817 if (arg9
== NULL
) SWIG_fail
;
44822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44823 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxFont
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
44824 wxPyEndAllowThreads(__tstate
);
44825 if (PyErr_Occurred()) SWIG_fail
;
44828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44844 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44845 PyObject
*resultobj
= 0;
44846 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44850 PyObject
*swig_obj
[1] ;
44852 if (!args
) SWIG_fail
;
44853 swig_obj
[0] = args
;
44854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44855 if (!SWIG_IsOK(res1
)) {
44856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
44858 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44861 result
= ((wxFontPickerCtrl
const *)arg1
)->GetSelectedFont();
44862 wxPyEndAllowThreads(__tstate
);
44863 if (PyErr_Occurred()) SWIG_fail
;
44865 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
44872 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44873 PyObject
*resultobj
= 0;
44874 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44880 PyObject
* obj0
= 0 ;
44881 PyObject
* obj1
= 0 ;
44882 char * kwnames
[] = {
44883 (char *) "self",(char *) "f", NULL
44886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44888 if (!SWIG_IsOK(res1
)) {
44889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
44891 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44892 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
44893 if (!SWIG_IsOK(res2
)) {
44894 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
44897 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
44899 arg2
= reinterpret_cast< wxFont
* >(argp2
);
44901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44902 (arg1
)->SetSelectedFont((wxFont
const &)*arg2
);
44903 wxPyEndAllowThreads(__tstate
);
44904 if (PyErr_Occurred()) SWIG_fail
;
44906 resultobj
= SWIG_Py_Void();
44913 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44914 PyObject
*resultobj
= 0;
44915 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44916 unsigned int arg2
;
44919 unsigned int val2
;
44921 PyObject
* obj0
= 0 ;
44922 PyObject
* obj1
= 0 ;
44923 char * kwnames
[] = {
44924 (char *) "self",(char *) "max", NULL
44927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44929 if (!SWIG_IsOK(res1
)) {
44930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
44932 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44933 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
44934 if (!SWIG_IsOK(ecode2
)) {
44935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
44937 arg2
= static_cast< unsigned int >(val2
);
44939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44940 (arg1
)->SetMaxPointSize(arg2
);
44941 wxPyEndAllowThreads(__tstate
);
44942 if (PyErr_Occurred()) SWIG_fail
;
44944 resultobj
= SWIG_Py_Void();
44951 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44952 PyObject
*resultobj
= 0;
44953 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44954 unsigned int result
;
44957 PyObject
*swig_obj
[1] ;
44959 if (!args
) SWIG_fail
;
44960 swig_obj
[0] = args
;
44961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44962 if (!SWIG_IsOK(res1
)) {
44963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
44965 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44968 result
= (unsigned int)((wxFontPickerCtrl
const *)arg1
)->GetMaxPointSize();
44969 wxPyEndAllowThreads(__tstate
);
44970 if (PyErr_Occurred()) SWIG_fail
;
44972 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
44979 SWIGINTERN PyObject
*FontPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44981 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44982 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl
, SWIG_NewClientData(obj
));
44983 return SWIG_Py_Void();
44986 SWIGINTERN PyObject
*FontPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44987 return SWIG_Python_InitShadowInstance(args
);
44990 SWIGINTERN PyObject
*_wrap_new_FontPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44991 PyObject
*resultobj
= 0;
44992 wxObject
*arg1
= (wxObject
*) 0 ;
44995 wxFontPickerEvent
*result
= 0 ;
45002 PyObject
* obj0
= 0 ;
45003 PyObject
* obj1
= 0 ;
45004 PyObject
* obj2
= 0 ;
45005 char * kwnames
[] = {
45006 (char *) "generator",(char *) "id",(char *) "f", NULL
45009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_FontPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
45011 if (!SWIG_IsOK(res1
)) {
45012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45014 arg1
= reinterpret_cast< wxObject
* >(argp1
);
45015 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45016 if (!SWIG_IsOK(ecode2
)) {
45017 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
45019 arg2
= static_cast< int >(val2
);
45020 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
45021 if (!SWIG_IsOK(res3
)) {
45022 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45025 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45027 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45030 result
= (wxFontPickerEvent
*)new wxFontPickerEvent(arg1
,arg2
,(wxFont
const &)*arg3
);
45031 wxPyEndAllowThreads(__tstate
);
45032 if (PyErr_Occurred()) SWIG_fail
;
45034 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerEvent
, SWIG_POINTER_NEW
| 0 );
45041 SWIGINTERN PyObject
*_wrap_FontPickerEvent_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45042 PyObject
*resultobj
= 0;
45043 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45047 PyObject
*swig_obj
[1] ;
45049 if (!args
) SWIG_fail
;
45050 swig_obj
[0] = args
;
45051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45052 if (!SWIG_IsOK(res1
)) {
45053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
45055 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45058 result
= ((wxFontPickerEvent
const *)arg1
)->GetFont();
45059 wxPyEndAllowThreads(__tstate
);
45060 if (PyErr_Occurred()) SWIG_fail
;
45062 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45069 SWIGINTERN PyObject
*_wrap_FontPickerEvent_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45070 PyObject
*resultobj
= 0;
45071 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45077 PyObject
* obj0
= 0 ;
45078 PyObject
* obj1
= 0 ;
45079 char * kwnames
[] = {
45080 (char *) "self",(char *) "c", NULL
45083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerEvent_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45085 if (!SWIG_IsOK(res1
)) {
45086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
45088 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45089 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45090 if (!SWIG_IsOK(res2
)) {
45091 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45094 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45096 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45099 (arg1
)->SetFont((wxFont
const &)*arg2
);
45100 wxPyEndAllowThreads(__tstate
);
45101 if (PyErr_Occurred()) SWIG_fail
;
45103 resultobj
= SWIG_Py_Void();
45110 SWIGINTERN PyObject
*FontPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45112 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45113 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent
, SWIG_NewClientData(obj
));
45114 return SWIG_Py_Void();
45117 SWIGINTERN PyObject
*FontPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45118 return SWIG_Python_InitShadowInstance(args
);
45121 static PyMethodDef SwigMethods
[] = {
45122 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45123 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
45124 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45125 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
45126 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
45127 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45128 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
45129 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
45130 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45131 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
45132 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45133 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
45134 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
45135 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
45136 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
45137 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
45138 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45139 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45140 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45141 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45142 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45143 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45144 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
45145 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
45146 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
45147 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
45148 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45149 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
45150 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45151 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
45152 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
45153 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45154 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
45155 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45156 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
45157 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
45158 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45159 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
45160 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
45161 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45162 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
45163 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45164 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
45165 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45166 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
45167 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
45168 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45169 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
45170 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45171 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
45172 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45173 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
45174 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
45175 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
45176 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45177 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
45178 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
45179 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45180 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45181 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
45182 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45183 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45184 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45185 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
45186 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45187 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
45188 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
45189 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
45190 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
45191 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
45192 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
45193 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
45194 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
45195 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
45196 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45197 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
45198 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
45199 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45200 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
45201 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45202 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45203 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
45204 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45205 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
45206 { (char *)"Gauge_Pulse", (PyCFunction
)_wrap_Gauge_Pulse
, METH_O
, NULL
},
45207 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
45208 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45209 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
45210 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45211 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
45212 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45213 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
45214 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
45215 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45216 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
45217 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45218 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45219 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
45220 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
45221 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45222 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
45223 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45224 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
45225 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
45226 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45227 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
45228 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
45229 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45230 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
45231 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45232 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45233 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45234 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
45235 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
45236 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45237 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
45238 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45239 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
45240 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45241 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45242 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45243 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
45244 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
45245 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45246 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
45247 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45248 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45249 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45250 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45251 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45252 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45253 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45254 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45255 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45256 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45257 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
45258 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45259 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45260 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45261 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45262 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
45263 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45264 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45265 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45266 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45267 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45268 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
45269 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
45270 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45271 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
45272 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45273 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45274 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45275 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
45276 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
45277 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45278 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
45279 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
45280 { (char *)"TextAttr_Merge", (PyCFunction
) _wrap_TextAttr_Merge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45281 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45282 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45283 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45284 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45285 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45286 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45287 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45288 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45289 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
45290 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
45291 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
45292 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
45293 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
45294 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
45295 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
45296 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45297 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
45298 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
45299 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
45300 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
45301 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
45302 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
45303 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
45304 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
45305 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
45306 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
45307 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45308 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
45309 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
45310 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45311 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
45312 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45313 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
45314 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45315 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45316 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45317 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45318 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
45319 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
45320 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
45321 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
45322 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
45323 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
45324 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
45325 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
45326 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45327 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45328 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45329 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45330 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
45331 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
45332 { (char *)"TextCtrl_SetModified", (PyCFunction
) _wrap_TextCtrl_SetModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45333 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45334 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45335 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45336 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45337 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45338 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45339 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45340 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
45341 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45342 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45343 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45344 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45345 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45346 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
45347 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
45348 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
45349 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
45350 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
45351 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
45352 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
45353 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
45354 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
45355 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
45356 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45357 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
45358 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
45359 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
45360 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45361 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
45362 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45363 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45364 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45365 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45366 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
45367 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
45368 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45369 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
45370 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
45371 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
45372 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
45373 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
45374 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45375 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
45376 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45377 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
45378 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
45379 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
45380 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
45381 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
45382 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45383 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45384 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
45385 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
45386 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45387 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
45388 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45389 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
45390 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
45391 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
45392 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45393 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45394 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45395 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45396 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
45397 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45398 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
45399 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
45400 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45401 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
45402 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45403 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
45404 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45405 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45406 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45407 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
45408 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
45409 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45410 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45411 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
45412 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
45413 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45414 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
45415 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45416 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
45417 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
45418 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45419 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
45420 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45421 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45422 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
45423 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
45424 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45425 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
45426 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45427 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45428 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45429 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45430 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45431 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45432 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45433 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
45434 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
45435 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45436 { (char *)"RadioBox_SetItemToolTip", (PyCFunction
) _wrap_RadioBox_SetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45437 { (char *)"RadioBox_GetItemToolTip", (PyCFunction
) _wrap_RadioBox_GetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45438 { (char *)"RadioBox_SetItemHelpText", (PyCFunction
) _wrap_RadioBox_SetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45439 { (char *)"RadioBox_GetItemHelpText", (PyCFunction
) _wrap_RadioBox_GetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45440 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45441 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
45442 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
45443 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45444 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
45445 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45446 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
45447 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45448 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45449 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
45450 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
45451 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45452 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
45453 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45454 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
45455 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45456 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45457 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
45458 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
45459 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45460 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45461 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45462 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45463 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
45464 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
45465 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45466 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
45467 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45468 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
45469 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
45470 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45471 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
45472 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
45473 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
45474 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45475 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45476 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
45477 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
45478 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45479 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
45480 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45481 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45482 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
45483 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45484 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
45485 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
45486 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
45487 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45488 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
45489 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
45490 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45491 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45492 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45493 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45494 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
45495 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45496 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45497 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45498 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45499 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
45500 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45501 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
45502 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45503 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
45504 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45505 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
45506 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
45507 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45508 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45509 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
45510 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45511 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45512 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45513 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45514 { (char *)"BookCtrlBase_HitTest", (PyCFunction
) _wrap_BookCtrlBase_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45515 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45516 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
45517 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45518 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
45519 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45520 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
45521 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45522 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
45523 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
45524 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45525 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
45526 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45527 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
45528 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45529 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45530 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
45531 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45532 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
45533 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
45534 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45535 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
45536 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
45537 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45538 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
45539 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45540 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
45541 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
45542 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
45543 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45544 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
45545 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
45546 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45547 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
45548 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45549 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
45550 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
45551 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
45552 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45553 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
45554 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
45555 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45556 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
45557 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45558 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45559 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45560 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45561 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45562 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45563 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45564 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
45565 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
45566 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
45567 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45568 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
45569 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
45570 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45571 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
45572 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45573 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
45574 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
45575 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
45576 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
45577 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45578 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
45579 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
45580 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
45581 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
45582 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
45583 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
45584 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
45585 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
45586 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
45587 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
45588 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
45589 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
45590 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
45591 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
45592 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
45593 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
45594 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
45595 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
45596 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
45597 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45598 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
45599 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45600 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45601 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45602 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45603 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45604 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45605 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
45606 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45607 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
45608 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45609 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
45610 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45611 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45612 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45613 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45614 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45615 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45616 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45617 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
45618 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45619 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45620 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45621 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45622 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
45623 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
45624 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45625 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45626 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45627 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45628 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45629 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45630 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45631 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45632 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45633 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45634 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45635 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45636 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45637 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45638 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45639 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45640 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
45641 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
45642 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
45643 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
45644 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45645 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45646 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
45647 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
45648 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45649 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
45650 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
45651 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45652 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45653 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
45654 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
45655 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
45656 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45657 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
45658 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45659 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45660 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
45661 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
45662 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45663 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
45664 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45665 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45666 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45667 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
45668 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
45669 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
45670 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
45671 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
45672 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
45673 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45674 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
45675 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
45676 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
45677 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
45678 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
45679 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
45680 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
45681 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45682 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45683 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45684 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45685 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45686 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45687 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45688 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45689 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45690 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45691 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45692 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45693 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45694 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
45695 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
45696 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
45697 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
45698 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
45699 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
45700 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
45701 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
45702 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
45703 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
45704 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
45705 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
45706 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
45707 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
45708 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
45709 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
45710 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
45711 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
45712 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
45713 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
45714 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
45715 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
45716 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
45717 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
45718 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
45719 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
45720 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
45721 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
45722 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
45723 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
45724 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
45725 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
45726 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
45727 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
45728 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
45729 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
45730 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45731 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
45732 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
45733 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
45734 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
45735 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
45736 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
45737 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
45738 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
45739 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
45740 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
45741 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
45742 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
45743 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
45744 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
45745 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
45746 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
45747 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
45748 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
45749 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
45750 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
45751 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
45752 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
45753 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
45754 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
45755 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45756 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
45757 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
45758 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45759 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
45760 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45761 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45762 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45763 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45764 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45765 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45766 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
45767 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
45768 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
45769 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45770 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45771 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45772 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45773 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45774 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45775 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45776 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45777 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45778 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45779 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45780 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45781 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45782 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45783 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
45784 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
45785 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
45786 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45787 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
45788 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
45789 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45790 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
45791 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45792 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45793 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45794 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45795 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45796 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
45797 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
45798 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45799 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45800 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45801 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45802 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
45803 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45804 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
45805 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
45806 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45807 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45808 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45809 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45810 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45811 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45812 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction
) _wrap_ListCtrl_HitTestSubItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45813 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45814 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45815 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45816 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45817 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45818 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45819 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45820 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45821 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45822 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45823 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45824 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45825 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45826 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45827 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45828 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
45829 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45830 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
45831 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
45832 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45833 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
45834 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45835 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45836 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45837 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
45838 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45839 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
45840 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45841 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45842 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45843 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
45844 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
45845 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
45846 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
45847 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
45848 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45849 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45850 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
45851 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
45852 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
45853 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
45854 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45855 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
45856 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
45857 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45858 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
45859 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45860 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
45861 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
45862 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
45863 { (char *)"new_TreeEvent", _wrap_new_TreeEvent
, METH_VARARGS
, NULL
},
45864 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
45865 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45866 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
45867 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45868 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
45869 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45870 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
45871 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
45872 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45873 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
45874 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45875 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
45876 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45877 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45878 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
45879 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
45880 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
45881 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45882 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
45883 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45884 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45885 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
45886 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
45887 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45888 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
45889 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45890 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
45891 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
45892 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45893 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45894 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45895 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45896 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45897 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45898 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45899 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45900 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45901 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45902 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45903 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45904 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45905 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45906 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45907 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45908 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45909 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45910 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45911 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45912 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45913 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45914 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45915 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45916 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45917 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45918 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45919 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
45920 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
45921 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
45922 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45923 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45924 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45925 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45926 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45927 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45928 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
45929 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45930 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45931 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45932 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45933 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45934 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45935 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45936 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45937 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45938 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
45939 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45940 { (char *)"TreeCtrl_ExpandAllChildren", (PyCFunction
) _wrap_TreeCtrl_ExpandAllChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45941 { (char *)"TreeCtrl_ExpandAll", (PyCFunction
)_wrap_TreeCtrl_ExpandAll
, METH_O
, NULL
},
45942 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45943 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45944 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45945 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
45946 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45947 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
45948 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45949 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45950 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45951 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45952 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45953 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
45954 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45955 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45956 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45957 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45958 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction
) _wrap_TreeCtrl_SetQuickBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45959 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction
)_wrap_TreeCtrl_GetQuickBestSize
, METH_O
, NULL
},
45960 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
45961 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
45962 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45963 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
45964 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45965 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45966 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction
) _wrap_GenericDirCtrl_CollapsePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45967 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
45968 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45969 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
45970 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
45971 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45972 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45973 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
45974 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
45975 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45976 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
45977 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45978 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
45979 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
45980 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
45981 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45982 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
45983 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
45984 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
45985 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
45986 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45987 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
45988 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45989 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45990 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
45991 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
45992 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45993 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
45994 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45995 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45996 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45997 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45998 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45999 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46000 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46001 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
46002 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
46003 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
46004 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
46005 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
46006 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
46007 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
46008 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
46009 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
46010 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46011 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
46012 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46013 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
46014 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46015 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
46016 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46017 { (char *)"HelpEvent_GetOrigin", (PyCFunction
)_wrap_HelpEvent_GetOrigin
, METH_O
, NULL
},
46018 { (char *)"HelpEvent_SetOrigin", (PyCFunction
) _wrap_HelpEvent_SetOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46019 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
46020 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
46021 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46022 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
46023 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46024 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
46025 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
46026 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
46027 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46028 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
46029 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
46030 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
46031 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46032 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
46033 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46034 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46035 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction
) _wrap_HelpProvider_ShowHelpAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46036 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46037 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46038 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46039 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
46040 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
46041 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
46042 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
46043 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
46044 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46045 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46046 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46047 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46048 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46049 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
46050 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46051 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46052 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46053 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
46054 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46055 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
46056 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
46057 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46058 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46059 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46060 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46061 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
46062 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
46063 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46064 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
46065 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46066 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46067 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
46068 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46069 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
46070 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
46071 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46072 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46073 { (char *)"new_HyperlinkCtrl", (PyCFunction
) _wrap_new_HyperlinkCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46074 { (char *)"new_PreHyperlinkCtrl", (PyCFunction
)_wrap_new_PreHyperlinkCtrl
, METH_NOARGS
, NULL
},
46075 { (char *)"HyperlinkCtrl_Create", (PyCFunction
) _wrap_HyperlinkCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46076 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetHoverColour
, METH_O
, NULL
},
46077 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetHoverColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46078 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetNormalColour
, METH_O
, NULL
},
46079 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetNormalColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46080 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisitedColour
, METH_O
, NULL
},
46081 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisitedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46082 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction
)_wrap_HyperlinkCtrl_GetURL
, METH_O
, NULL
},
46083 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction
) _wrap_HyperlinkCtrl_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46084 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisited
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46085 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisited
, METH_O
, NULL
},
46086 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister
, METH_VARARGS
, NULL
},
46087 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit
, METH_VARARGS
, NULL
},
46088 { (char *)"new_HyperlinkEvent", (PyCFunction
) _wrap_new_HyperlinkEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46089 { (char *)"HyperlinkEvent_GetURL", (PyCFunction
)_wrap_HyperlinkEvent_GetURL
, METH_O
, NULL
},
46090 { (char *)"HyperlinkEvent_SetURL", (PyCFunction
) _wrap_HyperlinkEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46091 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister
, METH_VARARGS
, NULL
},
46092 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit
, METH_VARARGS
, NULL
},
46093 { (char *)"PickerBase_CreateBase", (PyCFunction
) _wrap_PickerBase_CreateBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46094 { (char *)"PickerBase_SetInternalMargin", (PyCFunction
) _wrap_PickerBase_SetInternalMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46095 { (char *)"PickerBase_GetInternalMargin", (PyCFunction
)_wrap_PickerBase_GetInternalMargin
, METH_O
, NULL
},
46096 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetTextCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46097 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetTextCtrlProportion
, METH_O
, NULL
},
46098 { (char *)"PickerBase_SetPickerCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46099 { (char *)"PickerBase_GetPickerCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetPickerCtrlProportion
, METH_O
, NULL
},
46100 { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsTextCtrlGrowable
, METH_O
, NULL
},
46101 { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetTextCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46102 { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsPickerCtrlGrowable
, METH_O
, NULL
},
46103 { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46104 { (char *)"PickerBase_HasTextCtrl", (PyCFunction
)_wrap_PickerBase_HasTextCtrl
, METH_O
, NULL
},
46105 { (char *)"PickerBase_GetTextCtrl", (PyCFunction
)_wrap_PickerBase_GetTextCtrl
, METH_O
, NULL
},
46106 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction
)_wrap_PickerBase_GetPickerCtrl
, METH_O
, NULL
},
46107 { (char *)"PickerBase_swigregister", PickerBase_swigregister
, METH_VARARGS
, NULL
},
46108 { (char *)"new_ColourPickerCtrl", (PyCFunction
) _wrap_new_ColourPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46109 { (char *)"new_PreColourPickerCtrl", (PyCFunction
)_wrap_new_PreColourPickerCtrl
, METH_NOARGS
, NULL
},
46110 { (char *)"ColourPickerCtrl_Create", (PyCFunction
) _wrap_ColourPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46111 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction
)_wrap_ColourPickerCtrl_GetColour
, METH_O
, NULL
},
46112 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction
) _wrap_ColourPickerCtrl_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46113 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46114 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46115 { (char *)"new_ColourPickerEvent", (PyCFunction
) _wrap_new_ColourPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46116 { (char *)"ColourPickerEvent_GetColour", (PyCFunction
)_wrap_ColourPickerEvent_GetColour
, METH_O
, NULL
},
46117 { (char *)"ColourPickerEvent_SetColour", (PyCFunction
) _wrap_ColourPickerEvent_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46118 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46119 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46120 { (char *)"new_FilePickerCtrl", (PyCFunction
) _wrap_new_FilePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46121 { (char *)"new_PreFilePickerCtrl", (PyCFunction
)_wrap_new_PreFilePickerCtrl
, METH_NOARGS
, NULL
},
46122 { (char *)"FilePickerCtrl_Create", (PyCFunction
) _wrap_FilePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46123 { (char *)"FilePickerCtrl_GetPath", (PyCFunction
)_wrap_FilePickerCtrl_GetPath
, METH_O
, NULL
},
46124 { (char *)"FilePickerCtrl_SetPath", (PyCFunction
) _wrap_FilePickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46125 { (char *)"FilePickerCtrl_CheckPath", (PyCFunction
) _wrap_FilePickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46126 { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_FilePickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
46127 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46128 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46129 { (char *)"new_DirPickerCtrl", (PyCFunction
) _wrap_new_DirPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46130 { (char *)"new_PreDirPickerCtrl", (PyCFunction
)_wrap_new_PreDirPickerCtrl
, METH_NOARGS
, NULL
},
46131 { (char *)"DirPickerCtrl_Create", (PyCFunction
) _wrap_DirPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46132 { (char *)"DirPickerCtrl_GetPath", (PyCFunction
)_wrap_DirPickerCtrl_GetPath
, METH_O
, NULL
},
46133 { (char *)"DirPickerCtrl_SetPath", (PyCFunction
) _wrap_DirPickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46134 { (char *)"DirPickerCtrl_CheckPath", (PyCFunction
) _wrap_DirPickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46135 { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_DirPickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
46136 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46137 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46138 { (char *)"new_FileDirPickerEvent", (PyCFunction
) _wrap_new_FileDirPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46139 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction
)_wrap_FileDirPickerEvent_GetPath
, METH_O
, NULL
},
46140 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction
) _wrap_FileDirPickerEvent_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46141 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46142 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46143 { (char *)"new_FontPickerCtrl", (PyCFunction
) _wrap_new_FontPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46144 { (char *)"new_PreFontPickerCtrl", (PyCFunction
)_wrap_new_PreFontPickerCtrl
, METH_NOARGS
, NULL
},
46145 { (char *)"FontPickerCtrl_Create", (PyCFunction
) _wrap_FontPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46146 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction
)_wrap_FontPickerCtrl_GetSelectedFont
, METH_O
, NULL
},
46147 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction
) _wrap_FontPickerCtrl_SetSelectedFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46148 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction
) _wrap_FontPickerCtrl_SetMaxPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46149 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction
)_wrap_FontPickerCtrl_GetMaxPointSize
, METH_O
, NULL
},
46150 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46151 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46152 { (char *)"new_FontPickerEvent", (PyCFunction
) _wrap_new_FontPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46153 { (char *)"FontPickerEvent_GetFont", (PyCFunction
)_wrap_FontPickerEvent_GetFont
, METH_O
, NULL
},
46154 { (char *)"FontPickerEvent_SetFont", (PyCFunction
) _wrap_FontPickerEvent_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46155 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46156 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46157 { NULL
, NULL
, 0, NULL
}
46161 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
46163 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
46164 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46166 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
46167 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
46169 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
46170 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
46172 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
46173 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
46175 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
46176 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
46178 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
46179 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
46181 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
46182 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
46184 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
46185 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
46187 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x
) {
46188 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
46190 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x
) {
46191 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
46193 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x
) {
46194 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
46196 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
46197 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
46199 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
46200 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
46202 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
46203 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
46205 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
46206 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46208 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
46209 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
46211 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
46212 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
46214 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
46215 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
46217 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
46218 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
46220 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
46221 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
46223 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
46224 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
46226 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
46227 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
46229 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
46230 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
46232 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
46233 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
46235 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
46236 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
46238 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
46239 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46241 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
46242 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46244 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
46245 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
46247 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
46248 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
46250 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
46251 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
46253 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
46254 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
46256 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
46257 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
46259 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
46260 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
46262 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
46263 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
46265 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
46266 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
46268 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
46269 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
46271 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
46272 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46274 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
46275 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46277 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
46278 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46280 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
46281 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46283 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
46284 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46286 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x
) {
46287 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
46289 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
46290 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
46292 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
46293 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
46295 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
46296 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46298 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
46299 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
46301 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
46302 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
46304 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
46305 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46307 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
46308 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46310 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
46311 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46313 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
46314 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
46316 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
46317 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
46319 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
46320 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
46322 static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x
) {
46323 return (void *)((wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46325 static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x
) {
46326 return (void *)((wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46328 static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x
) {
46329 return (void *)((wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46331 static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x
) {
46332 return (void *)((wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46334 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
46335 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
46337 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
46338 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46340 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
46341 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
46343 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
46344 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
46346 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
46347 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
46349 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
46350 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46352 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
46353 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
46355 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
46356 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
46358 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
46359 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
46361 static void *_p_wxPickerBaseTo_p_wxControl(void *x
) {
46362 return (void *)((wxControl
*) ((wxPickerBase
*) x
));
46364 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
46365 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
46367 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
46368 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
46370 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
46371 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
46373 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
46374 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
46376 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
46377 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46379 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
46380 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
46382 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
46383 return (void *)((wxControl
*) ((wxComboBox
*) x
));
46385 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
46386 return (void *)((wxControl
*) ((wxPyControl
*) x
));
46388 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
46389 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
46391 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
46392 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
46394 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
46395 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
46397 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
46398 return (void *)((wxControl
*) ((wxGauge
*) x
));
46400 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
46401 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
46403 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
46404 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46406 static void *_p_wxListbookTo_p_wxControl(void *x
) {
46407 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
46409 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x
) {
46410 return (void *)((wxControl
*) ((wxHyperlinkCtrl
*) x
));
46412 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
46413 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
46415 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
46416 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
46418 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
46419 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
46421 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
46422 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
46424 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
46425 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
46427 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
46428 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46430 static void *_p_wxListViewTo_p_wxControl(void *x
) {
46431 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
46433 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
46434 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
46436 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
46437 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
46439 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
46440 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
46442 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
46443 return (void *)((wxControl
*) ((wxStaticText
*) x
));
46445 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
46446 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
46448 static void *_p_wxSliderTo_p_wxControl(void *x
) {
46449 return (void *)((wxControl
*) ((wxSlider
*) x
));
46451 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
46452 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
46454 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
46455 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
46457 static void *_p_wxButtonTo_p_wxControl(void *x
) {
46458 return (void *)((wxControl
*) ((wxButton
*) x
));
46460 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
46461 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
46463 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
46464 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46466 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
46467 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
46469 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x
) {
46470 return (void *)((wxControl
*) (wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46472 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x
) {
46473 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46475 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x
) {
46476 return (void *)((wxControl
*) (wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46478 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x
) {
46479 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46481 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
46482 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
46484 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
46485 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
46487 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
46488 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46490 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
46491 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
46493 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
46494 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
46496 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
46497 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
46499 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
46500 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
46502 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
46503 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
46505 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
46506 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
46508 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
46509 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
46511 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
46512 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
46514 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
46515 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
46517 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
46518 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46520 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
46521 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
46523 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
46524 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
46526 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
46527 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
46529 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
46530 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
46532 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
46533 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
46535 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
46536 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
46538 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
46539 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
46541 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
46542 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
46544 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
46545 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
46547 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x
) {
46548 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
46550 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
46551 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
46553 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
46554 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
46556 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
46557 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
46559 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
46560 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
46562 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
46563 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
46565 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
46566 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
46568 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
46569 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
46571 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
46572 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
46574 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
46575 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
46577 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
46578 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46580 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
46581 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
46583 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
46584 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
46586 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
46587 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
46589 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
46590 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
46592 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
46593 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46595 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
46596 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
46598 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
46599 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
46601 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
46602 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46604 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
46605 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
46607 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x
) {
46608 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
46610 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
46611 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
46613 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
46614 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
46616 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
46617 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
46619 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
46620 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46622 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
46623 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
46625 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
46626 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
46628 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
46629 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
46631 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
46632 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
46634 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
46635 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
46637 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
46638 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
46640 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
46641 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
46643 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
46644 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
46646 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
46647 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
46649 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
46650 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
46652 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
46653 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
46655 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
46656 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
46658 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
46659 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
46661 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
46662 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46664 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
46665 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
46667 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x
) {
46668 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
46670 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x
) {
46671 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
46673 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x
) {
46674 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
46676 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x
) {
46677 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
46679 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
46680 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
46682 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
46683 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
46685 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
46686 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
46688 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
46689 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46691 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
46692 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46694 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
46695 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
46697 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
46698 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
46700 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
46701 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
46703 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
46704 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
46706 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
46707 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
46709 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
46710 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
46712 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
46713 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
46715 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
46716 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
46718 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
46719 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46721 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
46722 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
46724 static void *_p_wxSizerTo_p_wxObject(void *x
) {
46725 return (void *)((wxObject
*) ((wxSizer
*) x
));
46727 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
46728 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46730 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
46731 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
46733 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
46734 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
46736 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
46737 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46739 static void *_p_wxEventTo_p_wxObject(void *x
) {
46740 return (void *)((wxObject
*) ((wxEvent
*) x
));
46742 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
46743 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46745 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
46746 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
46748 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
46749 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
46751 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
46752 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
46754 static void *_p_wxPickerBaseTo_p_wxObject(void *x
) {
46755 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
46757 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
46758 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
46760 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
46761 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
46763 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
46764 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
46766 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
46767 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
46769 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
46770 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
46772 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
46773 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46775 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
46776 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46778 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
46779 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46781 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
46782 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46784 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
46785 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
46787 static void *_p_wxControlTo_p_wxObject(void *x
) {
46788 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
46790 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
46791 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
46793 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
46794 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
46796 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
46797 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
46799 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
46800 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
46802 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
46803 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
46805 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
46806 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
46808 static void *_p_wxColourPickerEventTo_p_wxObject(void *x
) {
46809 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
46811 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x
) {
46812 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
46814 static void *_p_wxFontPickerEventTo_p_wxObject(void *x
) {
46815 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
46817 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
46818 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
46820 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
46821 return (void *)((wxObject
*) ((wxFSFile
*) x
));
46823 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
46824 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
46826 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
46827 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
46829 static void *_p_wxListViewTo_p_wxObject(void *x
) {
46830 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
46832 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x
) {
46833 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
46835 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
46836 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
46838 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
46839 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
46841 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
46842 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
46844 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
46845 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46847 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
46848 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
46850 static void *_p_wxListbookTo_p_wxObject(void *x
) {
46851 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
46853 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
46854 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
46856 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
46857 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
46859 static void *_p_wxSliderTo_p_wxObject(void *x
) {
46860 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
46862 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
46863 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
46865 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
46866 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
46868 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
46869 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
46871 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
46872 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46874 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
46875 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46877 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
46878 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
46880 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
46881 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
46883 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
46884 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
46886 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
46887 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
46889 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
46890 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
46892 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
46893 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
46895 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
46896 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
46898 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
46899 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
46901 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
46902 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
46904 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
46905 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
46907 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
46908 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
46910 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
46911 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
46913 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
46914 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
46916 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
46917 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46919 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
46920 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46922 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
46923 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
46925 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
46926 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
46928 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
46929 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
46931 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
46932 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
46934 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
46935 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
46937 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
46938 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
46940 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
46941 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
46943 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
46944 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
46946 static void *_p_wxListEventTo_p_wxObject(void *x
) {
46947 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
46949 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
46950 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
46952 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
46953 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
46955 static void *_p_wxButtonTo_p_wxObject(void *x
) {
46956 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
46958 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
46959 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
46961 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
46962 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
46964 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
46965 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
46967 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
46968 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46970 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
46971 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
46973 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
46974 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
46976 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
46977 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
46979 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
46980 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
46982 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
46983 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
46985 static void *_p_wxListItemTo_p_wxObject(void *x
) {
46986 return (void *)((wxObject
*) ((wxListItem
*) x
));
46988 static void *_p_wxImageTo_p_wxObject(void *x
) {
46989 return (void *)((wxObject
*) ((wxImage
*) x
));
46991 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
46992 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
46994 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
46995 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
46997 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
46998 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
47000 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
47001 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
47003 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
47004 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47006 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
47007 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47009 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
47010 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47012 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
47013 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47015 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
47016 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47018 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
47019 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47021 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
47022 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
47024 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
47025 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
47027 static void *_p_wxWindowTo_p_wxObject(void *x
) {
47028 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
47030 static void *_p_wxMenuTo_p_wxObject(void *x
) {
47031 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
47033 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
47034 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
47036 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
47037 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
47039 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
47040 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47042 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
47043 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
47045 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
47046 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
47048 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
47049 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
47051 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
47052 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
47054 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
47055 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
47057 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
47058 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47060 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
47061 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47063 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
47064 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47066 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
47067 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
47069 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
47070 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
47072 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
47073 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
47075 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
47076 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
47078 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
47079 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47081 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
47082 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
47084 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x
) {
47085 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47087 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x
) {
47088 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47090 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x
) {
47091 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47093 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x
) {
47094 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47096 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
47097 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
47099 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x
) {
47100 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
47102 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
47103 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
47105 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
47106 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
47108 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
47109 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
47111 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
47112 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
47114 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
47115 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
47117 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
47118 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
47120 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
47121 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
47123 static void *_p_wxPickerBaseTo_p_wxWindow(void *x
) {
47124 return (void *)((wxWindow
*) (wxControl
*) ((wxPickerBase
*) x
));
47126 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
47127 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
47129 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
47130 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
47132 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
47133 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
47135 static void *_p_wxControlTo_p_wxWindow(void *x
) {
47136 return (void *)((wxWindow
*) ((wxControl
*) x
));
47138 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
47139 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
47141 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
47142 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
47144 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
47145 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
47147 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
47148 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47150 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
47151 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
47153 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
47154 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
47156 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
47157 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
47159 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
47160 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
47162 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
47163 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
47165 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
47166 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
47168 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
47169 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47171 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
47172 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
47174 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x
) {
47175 return (void *)((wxWindow
*) (wxControl
*) ((wxHyperlinkCtrl
*) x
));
47177 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
47178 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
47180 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
47181 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
47183 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
47184 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
47186 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
47187 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47189 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
47190 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
47192 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
47193 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
47195 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
47196 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
47198 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
47199 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
47201 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
47202 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
47204 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
47205 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
47207 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
47208 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
47210 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
47211 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
47213 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
47214 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
47216 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
47217 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
47219 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
47220 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
47222 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
47223 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
47225 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
47226 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
47228 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
47229 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47231 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
47232 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
47234 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x
) {
47235 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47237 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x
) {
47238 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47240 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x
) {
47241 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47243 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x
) {
47244 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47246 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
47247 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
47249 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47250 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47252 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47253 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47255 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47256 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47258 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47259 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47261 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
47262 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47264 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
47265 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47267 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x
) {
47268 return (void *)((wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
47270 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
47271 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
47273 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x
) {
47274 return (void *)((wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
47276 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x
) {
47277 return (void *)((wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
47279 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x
) {
47280 return (void *)((wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
47282 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
47283 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
47285 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
47286 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
47288 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
47289 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47291 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
47292 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47294 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
47295 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47297 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
47298 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47300 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
47301 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47303 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
47304 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47306 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
47307 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47309 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
47310 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47312 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
47313 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
47315 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
47316 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47318 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
47319 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
47321 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
47322 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47324 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
47325 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47327 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
47328 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
47330 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
47331 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
47333 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
47334 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47336 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
47337 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47339 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
47340 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47342 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
47343 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
47345 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
47346 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
47348 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
47349 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
47351 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
47352 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
47354 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
47355 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
47356 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};
47357 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
47358 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
47359 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
47360 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
47361 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
47362 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
47363 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
47364 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
47365 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
47366 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
47367 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
47368 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
47369 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
47370 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
47371 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
47372 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
47373 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
47374 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
47375 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
47376 static swig_type_info _swigt__p_wxColourPickerCtrl
= {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
47377 static swig_type_info _swigt__p_wxColourPickerEvent
= {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
47378 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
47379 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
47380 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
47381 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
47382 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
47383 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
47384 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
47385 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
47386 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
47387 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
47388 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
47389 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
47390 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
47391 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
47392 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
47393 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
47394 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
47395 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
47396 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
47397 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
47398 static swig_type_info _swigt__p_wxDirPickerCtrl
= {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
47399 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
47400 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
47401 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
47402 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
47403 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
47404 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
47405 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
47406 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
47407 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
47408 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
47409 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
47410 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
47411 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
47412 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
47413 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
47414 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
47415 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
47416 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
47417 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
47418 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
47419 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
47420 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
47421 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
47422 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
47423 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
47424 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
47425 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
47426 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
47427 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
47428 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
47429 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
47430 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
47431 static swig_type_info _swigt__p_wxFileDirPickerEvent
= {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
47432 static swig_type_info _swigt__p_wxFilePickerCtrl
= {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
47433 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
47434 static swig_type_info _swigt__p_wxFontPickerCtrl
= {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
47435 static swig_type_info _swigt__p_wxFontPickerEvent
= {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
47436 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
47437 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
47438 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
47439 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
47440 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
47441 static swig_type_info _swigt__p_wxHyperlinkCtrl
= {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
47442 static swig_type_info _swigt__p_wxHyperlinkEvent
= {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
47443 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
47444 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
47445 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
47446 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
47447 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
47448 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
47449 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
47450 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
47451 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
47452 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
47453 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
47454 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
47455 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
47456 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
47457 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
47458 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
47459 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
47460 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
47461 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
47462 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
47463 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
47464 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
47465 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
47466 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
47467 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
47468 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
47469 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
47470 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
47471 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
47472 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
47473 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
47474 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
47475 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
47476 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
47477 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
47478 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
47479 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
47480 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
47481 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
47482 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
47483 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
47484 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
47485 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
47486 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
47487 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
47488 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
47489 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
47490 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
47491 static swig_type_info _swigt__p_wxPickerBase
= {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
47492 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
47493 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
47494 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
47495 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
47496 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
47497 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
47498 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
47499 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
47500 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
47501 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
47502 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
47503 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
47504 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
47505 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
47506 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
47507 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
47508 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
47509 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
47510 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
47511 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
47512 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
47513 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
47514 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
47515 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
47516 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
47517 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
47518 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
47519 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
47520 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
47521 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
47522 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
47523 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
47524 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
47525 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
47526 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
47527 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
47528 static swig_type_info _swigt__p_wxWindowBase
= {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
47530 static swig_type_info
*swig_type_initial
[] = {
47533 &_swigt__p_form_ops_t
,
47536 &_swigt__p_unsigned_char
,
47537 &_swigt__p_unsigned_int
,
47538 &_swigt__p_unsigned_long
,
47540 &_swigt__p_wxANIHandler
,
47541 &_swigt__p_wxAcceleratorTable
,
47542 &_swigt__p_wxActivateEvent
,
47543 &_swigt__p_wxArrayInt
,
47544 &_swigt__p_wxArrayString
,
47545 &_swigt__p_wxBMPHandler
,
47546 &_swigt__p_wxBitmap
,
47547 &_swigt__p_wxBitmapButton
,
47548 &_swigt__p_wxBookCtrlBase
,
47549 &_swigt__p_wxBookCtrlBaseEvent
,
47550 &_swigt__p_wxBoxSizer
,
47551 &_swigt__p_wxButton
,
47552 &_swigt__p_wxCURHandler
,
47553 &_swigt__p_wxCheckBox
,
47554 &_swigt__p_wxCheckListBox
,
47555 &_swigt__p_wxChildFocusEvent
,
47556 &_swigt__p_wxChoice
,
47557 &_swigt__p_wxChoicebook
,
47558 &_swigt__p_wxChoicebookEvent
,
47559 &_swigt__p_wxClipboardTextEvent
,
47560 &_swigt__p_wxCloseEvent
,
47561 &_swigt__p_wxColour
,
47562 &_swigt__p_wxColourPickerCtrl
,
47563 &_swigt__p_wxColourPickerEvent
,
47564 &_swigt__p_wxComboBox
,
47565 &_swigt__p_wxCommandEvent
,
47566 &_swigt__p_wxContextHelp
,
47567 &_swigt__p_wxContextHelpButton
,
47568 &_swigt__p_wxContextMenuEvent
,
47569 &_swigt__p_wxControl
,
47570 &_swigt__p_wxControlWithItems
,
47571 &_swigt__p_wxCursor
,
47573 &_swigt__p_wxDateEvent
,
47574 &_swigt__p_wxDatePickerCtrl
,
47575 &_swigt__p_wxDateTime
,
47576 &_swigt__p_wxDirFilterListCtrl
,
47577 &_swigt__p_wxDirPickerCtrl
,
47578 &_swigt__p_wxDisplayChangedEvent
,
47579 &_swigt__p_wxDropFilesEvent
,
47580 &_swigt__p_wxDuplexMode
,
47581 &_swigt__p_wxEraseEvent
,
47582 &_swigt__p_wxEvent
,
47583 &_swigt__p_wxEvtHandler
,
47584 &_swigt__p_wxFSFile
,
47585 &_swigt__p_wxFileDirPickerEvent
,
47586 &_swigt__p_wxFilePickerCtrl
,
47587 &_swigt__p_wxFileSystem
,
47588 &_swigt__p_wxFlexGridSizer
,
47589 &_swigt__p_wxFocusEvent
,
47591 &_swigt__p_wxFontPickerCtrl
,
47592 &_swigt__p_wxFontPickerEvent
,
47593 &_swigt__p_wxGBSizerItem
,
47594 &_swigt__p_wxGIFHandler
,
47595 &_swigt__p_wxGauge
,
47596 &_swigt__p_wxGenericDirCtrl
,
47597 &_swigt__p_wxGenericDragImage
,
47598 &_swigt__p_wxGridBagSizer
,
47599 &_swigt__p_wxGridSizer
,
47600 &_swigt__p_wxHelpEvent
,
47601 &_swigt__p_wxHelpProvider
,
47602 &_swigt__p_wxHyperlinkCtrl
,
47603 &_swigt__p_wxHyperlinkEvent
,
47604 &_swigt__p_wxICOHandler
,
47606 &_swigt__p_wxIconizeEvent
,
47607 &_swigt__p_wxIdleEvent
,
47608 &_swigt__p_wxImage
,
47609 &_swigt__p_wxImageHandler
,
47610 &_swigt__p_wxImageList
,
47611 &_swigt__p_wxIndividualLayoutConstraint
,
47612 &_swigt__p_wxInitDialogEvent
,
47613 &_swigt__p_wxItemContainer
,
47614 &_swigt__p_wxJPEGHandler
,
47615 &_swigt__p_wxKeyEvent
,
47616 &_swigt__p_wxLayoutConstraints
,
47617 &_swigt__p_wxListBox
,
47618 &_swigt__p_wxListEvent
,
47619 &_swigt__p_wxListItem
,
47620 &_swigt__p_wxListItemAttr
,
47621 &_swigt__p_wxListView
,
47622 &_swigt__p_wxListbook
,
47623 &_swigt__p_wxListbookEvent
,
47624 &_swigt__p_wxMaximizeEvent
,
47625 &_swigt__p_wxMemoryDC
,
47627 &_swigt__p_wxMenuBar
,
47628 &_swigt__p_wxMenuEvent
,
47629 &_swigt__p_wxMenuItem
,
47630 &_swigt__p_wxMouseCaptureChangedEvent
,
47631 &_swigt__p_wxMouseCaptureLostEvent
,
47632 &_swigt__p_wxMouseEvent
,
47633 &_swigt__p_wxMoveEvent
,
47634 &_swigt__p_wxNavigationKeyEvent
,
47635 &_swigt__p_wxNcPaintEvent
,
47636 &_swigt__p_wxNotebook
,
47637 &_swigt__p_wxNotebookEvent
,
47638 &_swigt__p_wxNotifyEvent
,
47639 &_swigt__p_wxObject
,
47640 &_swigt__p_wxPCXHandler
,
47641 &_swigt__p_wxPNGHandler
,
47642 &_swigt__p_wxPNMHandler
,
47643 &_swigt__p_wxPaintEvent
,
47644 &_swigt__p_wxPaletteChangedEvent
,
47645 &_swigt__p_wxPaperSize
,
47646 &_swigt__p_wxPickerBase
,
47647 &_swigt__p_wxPoint
,
47648 &_swigt__p_wxPyApp
,
47649 &_swigt__p_wxPyCommandEvent
,
47650 &_swigt__p_wxPyControl
,
47651 &_swigt__p_wxPyEvent
,
47652 &_swigt__p_wxPyImageHandler
,
47653 &_swigt__p_wxPyListCtrl
,
47654 &_swigt__p_wxPySizer
,
47655 &_swigt__p_wxPyTreeCtrl
,
47656 &_swigt__p_wxPyTreeItemData
,
47657 &_swigt__p_wxPyValidator
,
47658 &_swigt__p_wxQueryNewPaletteEvent
,
47659 &_swigt__p_wxRadioBox
,
47660 &_swigt__p_wxRadioButton
,
47662 &_swigt__p_wxScrollBar
,
47663 &_swigt__p_wxScrollEvent
,
47664 &_swigt__p_wxScrollWinEvent
,
47665 &_swigt__p_wxSetCursorEvent
,
47666 &_swigt__p_wxShowEvent
,
47667 &_swigt__p_wxSimpleHelpProvider
,
47669 &_swigt__p_wxSizeEvent
,
47670 &_swigt__p_wxSizer
,
47671 &_swigt__p_wxSizerItem
,
47672 &_swigt__p_wxSlider
,
47673 &_swigt__p_wxSpinButton
,
47674 &_swigt__p_wxSpinCtrl
,
47675 &_swigt__p_wxSpinEvent
,
47676 &_swigt__p_wxStaticBitmap
,
47677 &_swigt__p_wxStaticBox
,
47678 &_swigt__p_wxStaticBoxSizer
,
47679 &_swigt__p_wxStaticLine
,
47680 &_swigt__p_wxStaticText
,
47681 &_swigt__p_wxStdDialogButtonSizer
,
47682 &_swigt__p_wxString
,
47683 &_swigt__p_wxSysColourChangedEvent
,
47684 &_swigt__p_wxTIFFHandler
,
47685 &_swigt__p_wxTextAttr
,
47686 &_swigt__p_wxTextCtrl
,
47687 &_swigt__p_wxTextUrlEvent
,
47688 &_swigt__p_wxToggleButton
,
47689 &_swigt__p_wxToolBar
,
47690 &_swigt__p_wxToolBarBase
,
47691 &_swigt__p_wxToolBarToolBase
,
47692 &_swigt__p_wxToolbook
,
47693 &_swigt__p_wxToolbookEvent
,
47694 &_swigt__p_wxTreeEvent
,
47695 &_swigt__p_wxTreeItemId
,
47696 &_swigt__p_wxTreebook
,
47697 &_swigt__p_wxTreebookEvent
,
47698 &_swigt__p_wxUpdateUIEvent
,
47699 &_swigt__p_wxValidator
,
47700 &_swigt__p_wxVisualAttributes
,
47701 &_swigt__p_wxWindow
,
47702 &_swigt__p_wxWindowBase
,
47703 &_swigt__p_wxWindowCreateEvent
,
47704 &_swigt__p_wxWindowDestroyEvent
,
47705 &_swigt__p_wxXPMHandler
,
47708 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
47709 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
47710 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
47711 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
47712 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
47713 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
47714 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
47715 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
47716 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
47717 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
47718 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
47719 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
47720 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}};
47721 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}};
47722 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}};
47723 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}};
47724 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
47725 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
47726 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}};
47727 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
47728 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47729 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
47730 static swig_cast_info _swigc__p_wxColourPickerCtrl
[] = { {&_swigt__p_wxColourPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47731 static swig_cast_info _swigc__p_wxColourPickerEvent
[] = { {&_swigt__p_wxColourPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
47732 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
47733 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
47734 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
47735 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
47736 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
47737 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
47738 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
47739 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
47740 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
47741 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
47742 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}};
47743 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
47744 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
47745 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}};
47746 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}};
47747 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
47748 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
47749 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47750 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
47751 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47752 static swig_cast_info _swigc__p_wxDirPickerCtrl
[] = { {&_swigt__p_wxDirPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47753 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
47754 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
47755 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
47756 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
47757 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
47758 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
47759 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
47760 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
47761 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
47762 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
47763 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
47764 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
47765 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
47766 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
47767 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
47768 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
47769 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
47770 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
47771 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
47772 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
47773 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
47774 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
47775 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
47776 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
47777 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
47778 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
47779 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
47780 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
47781 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
47782 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
47783 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
47784 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}};
47785 static swig_cast_info _swigc__p_wxFileDirPickerEvent
[] = { {&_swigt__p_wxFileDirPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
47786 static swig_cast_info _swigc__p_wxFilePickerCtrl
[] = { {&_swigt__p_wxFilePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47787 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
47788 static swig_cast_info _swigc__p_wxFontPickerCtrl
[] = { {&_swigt__p_wxFontPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47789 static swig_cast_info _swigc__p_wxFontPickerEvent
[] = { {&_swigt__p_wxFontPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
47790 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
47791 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47792 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
47793 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
47794 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}};
47795 static swig_cast_info _swigc__p_wxHyperlinkCtrl
[] = { {&_swigt__p_wxHyperlinkCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47796 static swig_cast_info _swigc__p_wxHyperlinkEvent
[] = { {&_swigt__p_wxHyperlinkEvent
, 0, 0, 0},{0, 0, 0, 0}};
47797 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
47798 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
47799 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}};
47800 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
47801 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}};
47802 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
47803 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
47804 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
47805 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
47806 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
47807 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47808 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
47809 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
47810 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
47811 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47812 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}};
47813 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
47814 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
47815 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
47816 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
47817 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
47818 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
47819 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
47820 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
47821 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
47822 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
47823 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
47824 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
47825 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
47826 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
47827 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
47828 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
47829 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
47830 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
47831 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
47832 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
47833 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
47834 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
47835 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
47836 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
47837 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
47838 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
47839 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
47840 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
47841 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
47842 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
47843 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelp
, _p_wxContextHelpTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListItem
, _p_wxListItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDragImage
, _p_wxGenericDragImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarToolBase
, _p_wxToolBarToolBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
47844 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
47845 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}};
47846 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
47847 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
47848 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}};
47849 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47850 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
47851 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
47852 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
47853 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
47854 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
47855 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
47856 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
47857 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
47858 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
47859 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47860 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
47861 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
47862 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
47863 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
47864 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
47865 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
47866 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
47867 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
47868 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
47869 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
47870 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
47871 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}};
47872 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
47873 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
47874 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47875 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
47876 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
47877 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
47878 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
47879 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}};
47880 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
47881 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}};
47882 static swig_cast_info _swigc__p_wxWindowBase
[] = { {&_swigt__p_wxWindowBase
, 0, 0, 0},{0, 0, 0, 0}};
47884 static swig_cast_info
*swig_cast_initial
[] = {
47887 _swigc__p_form_ops_t
,
47890 _swigc__p_unsigned_char
,
47891 _swigc__p_unsigned_int
,
47892 _swigc__p_unsigned_long
,
47894 _swigc__p_wxANIHandler
,
47895 _swigc__p_wxAcceleratorTable
,
47896 _swigc__p_wxActivateEvent
,
47897 _swigc__p_wxArrayInt
,
47898 _swigc__p_wxArrayString
,
47899 _swigc__p_wxBMPHandler
,
47900 _swigc__p_wxBitmap
,
47901 _swigc__p_wxBitmapButton
,
47902 _swigc__p_wxBookCtrlBase
,
47903 _swigc__p_wxBookCtrlBaseEvent
,
47904 _swigc__p_wxBoxSizer
,
47905 _swigc__p_wxButton
,
47906 _swigc__p_wxCURHandler
,
47907 _swigc__p_wxCheckBox
,
47908 _swigc__p_wxCheckListBox
,
47909 _swigc__p_wxChildFocusEvent
,
47910 _swigc__p_wxChoice
,
47911 _swigc__p_wxChoicebook
,
47912 _swigc__p_wxChoicebookEvent
,
47913 _swigc__p_wxClipboardTextEvent
,
47914 _swigc__p_wxCloseEvent
,
47915 _swigc__p_wxColour
,
47916 _swigc__p_wxColourPickerCtrl
,
47917 _swigc__p_wxColourPickerEvent
,
47918 _swigc__p_wxComboBox
,
47919 _swigc__p_wxCommandEvent
,
47920 _swigc__p_wxContextHelp
,
47921 _swigc__p_wxContextHelpButton
,
47922 _swigc__p_wxContextMenuEvent
,
47923 _swigc__p_wxControl
,
47924 _swigc__p_wxControlWithItems
,
47925 _swigc__p_wxCursor
,
47927 _swigc__p_wxDateEvent
,
47928 _swigc__p_wxDatePickerCtrl
,
47929 _swigc__p_wxDateTime
,
47930 _swigc__p_wxDirFilterListCtrl
,
47931 _swigc__p_wxDirPickerCtrl
,
47932 _swigc__p_wxDisplayChangedEvent
,
47933 _swigc__p_wxDropFilesEvent
,
47934 _swigc__p_wxDuplexMode
,
47935 _swigc__p_wxEraseEvent
,
47937 _swigc__p_wxEvtHandler
,
47938 _swigc__p_wxFSFile
,
47939 _swigc__p_wxFileDirPickerEvent
,
47940 _swigc__p_wxFilePickerCtrl
,
47941 _swigc__p_wxFileSystem
,
47942 _swigc__p_wxFlexGridSizer
,
47943 _swigc__p_wxFocusEvent
,
47945 _swigc__p_wxFontPickerCtrl
,
47946 _swigc__p_wxFontPickerEvent
,
47947 _swigc__p_wxGBSizerItem
,
47948 _swigc__p_wxGIFHandler
,
47950 _swigc__p_wxGenericDirCtrl
,
47951 _swigc__p_wxGenericDragImage
,
47952 _swigc__p_wxGridBagSizer
,
47953 _swigc__p_wxGridSizer
,
47954 _swigc__p_wxHelpEvent
,
47955 _swigc__p_wxHelpProvider
,
47956 _swigc__p_wxHyperlinkCtrl
,
47957 _swigc__p_wxHyperlinkEvent
,
47958 _swigc__p_wxICOHandler
,
47960 _swigc__p_wxIconizeEvent
,
47961 _swigc__p_wxIdleEvent
,
47963 _swigc__p_wxImageHandler
,
47964 _swigc__p_wxImageList
,
47965 _swigc__p_wxIndividualLayoutConstraint
,
47966 _swigc__p_wxInitDialogEvent
,
47967 _swigc__p_wxItemContainer
,
47968 _swigc__p_wxJPEGHandler
,
47969 _swigc__p_wxKeyEvent
,
47970 _swigc__p_wxLayoutConstraints
,
47971 _swigc__p_wxListBox
,
47972 _swigc__p_wxListEvent
,
47973 _swigc__p_wxListItem
,
47974 _swigc__p_wxListItemAttr
,
47975 _swigc__p_wxListView
,
47976 _swigc__p_wxListbook
,
47977 _swigc__p_wxListbookEvent
,
47978 _swigc__p_wxMaximizeEvent
,
47979 _swigc__p_wxMemoryDC
,
47981 _swigc__p_wxMenuBar
,
47982 _swigc__p_wxMenuEvent
,
47983 _swigc__p_wxMenuItem
,
47984 _swigc__p_wxMouseCaptureChangedEvent
,
47985 _swigc__p_wxMouseCaptureLostEvent
,
47986 _swigc__p_wxMouseEvent
,
47987 _swigc__p_wxMoveEvent
,
47988 _swigc__p_wxNavigationKeyEvent
,
47989 _swigc__p_wxNcPaintEvent
,
47990 _swigc__p_wxNotebook
,
47991 _swigc__p_wxNotebookEvent
,
47992 _swigc__p_wxNotifyEvent
,
47993 _swigc__p_wxObject
,
47994 _swigc__p_wxPCXHandler
,
47995 _swigc__p_wxPNGHandler
,
47996 _swigc__p_wxPNMHandler
,
47997 _swigc__p_wxPaintEvent
,
47998 _swigc__p_wxPaletteChangedEvent
,
47999 _swigc__p_wxPaperSize
,
48000 _swigc__p_wxPickerBase
,
48003 _swigc__p_wxPyCommandEvent
,
48004 _swigc__p_wxPyControl
,
48005 _swigc__p_wxPyEvent
,
48006 _swigc__p_wxPyImageHandler
,
48007 _swigc__p_wxPyListCtrl
,
48008 _swigc__p_wxPySizer
,
48009 _swigc__p_wxPyTreeCtrl
,
48010 _swigc__p_wxPyTreeItemData
,
48011 _swigc__p_wxPyValidator
,
48012 _swigc__p_wxQueryNewPaletteEvent
,
48013 _swigc__p_wxRadioBox
,
48014 _swigc__p_wxRadioButton
,
48016 _swigc__p_wxScrollBar
,
48017 _swigc__p_wxScrollEvent
,
48018 _swigc__p_wxScrollWinEvent
,
48019 _swigc__p_wxSetCursorEvent
,
48020 _swigc__p_wxShowEvent
,
48021 _swigc__p_wxSimpleHelpProvider
,
48023 _swigc__p_wxSizeEvent
,
48025 _swigc__p_wxSizerItem
,
48026 _swigc__p_wxSlider
,
48027 _swigc__p_wxSpinButton
,
48028 _swigc__p_wxSpinCtrl
,
48029 _swigc__p_wxSpinEvent
,
48030 _swigc__p_wxStaticBitmap
,
48031 _swigc__p_wxStaticBox
,
48032 _swigc__p_wxStaticBoxSizer
,
48033 _swigc__p_wxStaticLine
,
48034 _swigc__p_wxStaticText
,
48035 _swigc__p_wxStdDialogButtonSizer
,
48036 _swigc__p_wxString
,
48037 _swigc__p_wxSysColourChangedEvent
,
48038 _swigc__p_wxTIFFHandler
,
48039 _swigc__p_wxTextAttr
,
48040 _swigc__p_wxTextCtrl
,
48041 _swigc__p_wxTextUrlEvent
,
48042 _swigc__p_wxToggleButton
,
48043 _swigc__p_wxToolBar
,
48044 _swigc__p_wxToolBarBase
,
48045 _swigc__p_wxToolBarToolBase
,
48046 _swigc__p_wxToolbook
,
48047 _swigc__p_wxToolbookEvent
,
48048 _swigc__p_wxTreeEvent
,
48049 _swigc__p_wxTreeItemId
,
48050 _swigc__p_wxTreebook
,
48051 _swigc__p_wxTreebookEvent
,
48052 _swigc__p_wxUpdateUIEvent
,
48053 _swigc__p_wxValidator
,
48054 _swigc__p_wxVisualAttributes
,
48055 _swigc__p_wxWindow
,
48056 _swigc__p_wxWindowBase
,
48057 _swigc__p_wxWindowCreateEvent
,
48058 _swigc__p_wxWindowDestroyEvent
,
48059 _swigc__p_wxXPMHandler
,
48063 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
48065 static swig_const_info swig_const_table
[] = {
48066 {0, 0, 0, 0.0, 0, 0}};
48071 /* -----------------------------------------------------------------------------
48072 * Type initialization:
48073 * This problem is tough by the requirement that no dynamic
48074 * memory is used. Also, since swig_type_info structures store pointers to
48075 * swig_cast_info structures and swig_cast_info structures store pointers back
48076 * to swig_type_info structures, we need some lookup code at initialization.
48077 * The idea is that swig generates all the structures that are needed.
48078 * The runtime then collects these partially filled structures.
48079 * The SWIG_InitializeModule function takes these initial arrays out of
48080 * swig_module, and does all the lookup, filling in the swig_module.types
48081 * array with the correct data and linking the correct swig_cast_info
48082 * structures together.
48084 * The generated swig_type_info structures are assigned staticly to an initial
48085 * array. We just loop though that array, and handle each type individually.
48086 * First we lookup if this type has been already loaded, and if so, use the
48087 * loaded structure instead of the generated one. Then we have to fill in the
48088 * cast linked list. The cast data is initially stored in something like a
48089 * two-dimensional array. Each row corresponds to a type (there are the same
48090 * number of rows as there are in the swig_type_initial array). Each entry in
48091 * a column is one of the swig_cast_info structures for that type.
48092 * The cast_initial array is actually an array of arrays, because each row has
48093 * a variable number of columns. So to actually build the cast linked list,
48094 * we find the array of casts associated with the type, and loop through it
48095 * adding the casts to the list. The one last trick we need to do is making
48096 * sure the type pointer in the swig_cast_info struct is correct.
48098 * First off, we lookup the cast->type name to see if it is already loaded.
48099 * There are three cases to handle:
48100 * 1) If the cast->type has already been loaded AND the type we are adding
48101 * casting info to has not been loaded (it is in this module), THEN we
48102 * replace the cast->type pointer with the type pointer that has already
48104 * 2) If BOTH types (the one we are adding casting info to, and the
48105 * cast->type) are loaded, THEN the cast info has already been loaded by
48106 * the previous module so we just ignore it.
48107 * 3) Finally, if cast->type has not already been loaded, then we add that
48108 * swig_cast_info to the linked list (because the cast->type) pointer will
48110 * ----------------------------------------------------------------------------- */
48120 #define SWIGRUNTIME_DEBUG
48124 SWIG_InitializeModule(void *clientdata
) {
48126 swig_module_info
*module_head
;
48127 static int init_run
= 0;
48129 clientdata
= clientdata
;
48131 if (init_run
) return;
48134 /* Initialize the swig_module */
48135 swig_module
.type_initial
= swig_type_initial
;
48136 swig_module
.cast_initial
= swig_cast_initial
;
48138 /* Try and load any already created modules */
48139 module_head
= SWIG_GetModule(clientdata
);
48141 swig_module
.next
= module_head
->next
;
48142 module_head
->next
= &swig_module
;
48144 /* This is the first module loaded */
48145 swig_module
.next
= &swig_module
;
48146 SWIG_SetModule(clientdata
, &swig_module
);
48149 /* Now work on filling in swig_module.types */
48150 #ifdef SWIGRUNTIME_DEBUG
48151 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
48153 for (i
= 0; i
< swig_module
.size
; ++i
) {
48154 swig_type_info
*type
= 0;
48155 swig_type_info
*ret
;
48156 swig_cast_info
*cast
;
48158 #ifdef SWIGRUNTIME_DEBUG
48159 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
48162 /* if there is another module already loaded */
48163 if (swig_module
.next
!= &swig_module
) {
48164 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
48167 /* Overwrite clientdata field */
48168 #ifdef SWIGRUNTIME_DEBUG
48169 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
48171 if (swig_module
.type_initial
[i
]->clientdata
) {
48172 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
48173 #ifdef SWIGRUNTIME_DEBUG
48174 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
48178 type
= swig_module
.type_initial
[i
];
48181 /* Insert casting types */
48182 cast
= swig_module
.cast_initial
[i
];
48183 while (cast
->type
) {
48184 /* Don't need to add information already in the list */
48186 #ifdef SWIGRUNTIME_DEBUG
48187 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
48189 if (swig_module
.next
!= &swig_module
) {
48190 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
48191 #ifdef SWIGRUNTIME_DEBUG
48192 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
48196 if (type
== swig_module
.type_initial
[i
]) {
48197 #ifdef SWIGRUNTIME_DEBUG
48198 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
48203 /* Check for casting already in the list */
48204 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
48205 #ifdef SWIGRUNTIME_DEBUG
48206 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
48208 if (!ocast
) ret
= 0;
48213 #ifdef SWIGRUNTIME_DEBUG
48214 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
48217 type
->cast
->prev
= cast
;
48218 cast
->next
= type
->cast
;
48224 /* Set entry in modules->types array equal to the type */
48225 swig_module
.types
[i
] = type
;
48227 swig_module
.types
[i
] = 0;
48229 #ifdef SWIGRUNTIME_DEBUG
48230 printf("**** SWIG_InitializeModule: Cast List ******\n");
48231 for (i
= 0; i
< swig_module
.size
; ++i
) {
48233 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
48234 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
48235 while (cast
->type
) {
48236 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
48240 printf("---- Total casts: %d\n",j
);
48242 printf("**** SWIG_InitializeModule: Cast List ******\n");
48246 /* This function will propagate the clientdata field of type to
48247 * any new swig_type_info structures that have been added into the list
48248 * of equivalent types. It is like calling
48249 * SWIG_TypeClientData(type, clientdata) a second time.
48252 SWIG_PropagateClientData(void) {
48254 swig_cast_info
*equiv
;
48255 static int init_run
= 0;
48257 if (init_run
) return;
48260 for (i
= 0; i
< swig_module
.size
; i
++) {
48261 if (swig_module
.types
[i
]->clientdata
) {
48262 equiv
= swig_module
.types
[i
]->cast
;
48264 if (!equiv
->converter
) {
48265 if (equiv
->type
&& !equiv
->type
->clientdata
)
48266 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
48268 equiv
= equiv
->next
;
48288 /* Python-specific SWIG API */
48289 #define SWIG_newvarlink() SWIG_Python_newvarlink()
48290 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
48291 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
48293 /* -----------------------------------------------------------------------------
48294 * global variable support code.
48295 * ----------------------------------------------------------------------------- */
48297 typedef struct swig_globalvar
{
48298 char *name
; /* Name of global variable */
48299 PyObject
*(*get_attr
)(void); /* Return the current value */
48300 int (*set_attr
)(PyObject
*); /* Set the value */
48301 struct swig_globalvar
*next
;
48304 typedef struct swig_varlinkobject
{
48306 swig_globalvar
*vars
;
48307 } swig_varlinkobject
;
48309 SWIGINTERN PyObject
*
48310 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
48311 return PyString_FromString("<Swig global variables>");
48314 SWIGINTERN PyObject
*
48315 swig_varlink_str(swig_varlinkobject
*v
) {
48316 PyObject
*str
= PyString_FromString("(");
48317 swig_globalvar
*var
;
48318 for (var
= v
->vars
; var
; var
=var
->next
) {
48319 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
48320 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
48322 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
48327 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
48328 PyObject
*str
= swig_varlink_str(v
);
48329 fprintf(fp
,"Swig global variables ");
48330 fprintf(fp
,"%s\n", PyString_AsString(str
));
48336 swig_varlink_dealloc(swig_varlinkobject
*v
) {
48337 swig_globalvar
*var
= v
->vars
;
48339 swig_globalvar
*n
= var
->next
;
48346 SWIGINTERN PyObject
*
48347 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
48348 PyObject
*res
= NULL
;
48349 swig_globalvar
*var
= v
->vars
;
48351 if (strcmp(var
->name
,n
) == 0) {
48352 res
= (*var
->get_attr
)();
48357 if (res
== NULL
&& !PyErr_Occurred()) {
48358 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
48364 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
48366 swig_globalvar
*var
= v
->vars
;
48368 if (strcmp(var
->name
,n
) == 0) {
48369 res
= (*var
->set_attr
)(p
);
48374 if (res
== 1 && !PyErr_Occurred()) {
48375 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
48380 SWIGINTERN PyTypeObject
*
48381 swig_varlink_type(void) {
48382 static char varlink__doc__
[] = "Swig var link object";
48383 static PyTypeObject varlink_type
;
48384 static int type_init
= 0;
48386 const PyTypeObject tmp
48388 PyObject_HEAD_INIT(NULL
)
48389 0, /* Number of items in variable part (ob_size) */
48390 (char *)"swigvarlink", /* Type name (tp_name) */
48391 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
48392 0, /* Itemsize (tp_itemsize) */
48393 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
48394 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
48395 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
48396 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
48397 0, /* tp_compare */
48398 (reprfunc
) swig_varlink_repr
, /* tp_repr */
48399 0, /* tp_as_number */
48400 0, /* tp_as_sequence */
48401 0, /* tp_as_mapping */
48404 (reprfunc
)swig_varlink_str
, /* tp_str */
48405 0, /* tp_getattro */
48406 0, /* tp_setattro */
48407 0, /* tp_as_buffer */
48409 varlink__doc__
, /* tp_doc */
48410 0, /* tp_traverse */
48412 0, /* tp_richcompare */
48413 0, /* tp_weaklistoffset */
48414 #if PY_VERSION_HEX >= 0x02020000
48415 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
48417 #if PY_VERSION_HEX >= 0x02030000
48420 #ifdef COUNT_ALLOCS
48421 0,0,0,0 /* tp_alloc -> tp_next */
48424 varlink_type
= tmp
;
48425 varlink_type
.ob_type
= &PyType_Type
;
48428 return &varlink_type
;
48431 /* Create a variable linking object for use later */
48432 SWIGINTERN PyObject
*
48433 SWIG_Python_newvarlink(void) {
48434 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
48438 return ((PyObject
*) result
);
48442 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
48443 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
48444 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
48446 size_t size
= strlen(name
)+1;
48447 gv
->name
= (char *)malloc(size
);
48449 strncpy(gv
->name
,name
,size
);
48450 gv
->get_attr
= get_attr
;
48451 gv
->set_attr
= set_attr
;
48452 gv
->next
= v
->vars
;
48458 SWIGINTERN PyObject
*
48460 static PyObject
*_SWIG_globals
= 0;
48461 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
48462 return _SWIG_globals
;
48465 /* -----------------------------------------------------------------------------
48466 * constants/methods manipulation
48467 * ----------------------------------------------------------------------------- */
48469 /* Install Constants */
48471 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
48474 for (i
= 0; constants
[i
].type
; ++i
) {
48475 switch(constants
[i
].type
) {
48476 case SWIG_PY_POINTER
:
48477 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
48479 case SWIG_PY_BINARY
:
48480 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
48487 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
48493 /* -----------------------------------------------------------------------------*/
48494 /* Fix SwigMethods to carry the callback ptrs when needed */
48495 /* -----------------------------------------------------------------------------*/
48498 SWIG_Python_FixMethods(PyMethodDef
*methods
,
48499 swig_const_info
*const_table
,
48500 swig_type_info
**types
,
48501 swig_type_info
**types_initial
) {
48503 for (i
= 0; methods
[i
].ml_name
; ++i
) {
48504 const char *c
= methods
[i
].ml_doc
;
48505 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
48507 swig_const_info
*ci
= 0;
48508 const char *name
= c
+ 10;
48509 for (j
= 0; const_table
[j
].type
; ++j
) {
48510 if (strncmp(const_table
[j
].name
, name
,
48511 strlen(const_table
[j
].name
)) == 0) {
48512 ci
= &(const_table
[j
]);
48517 size_t shift
= (ci
->ptype
) - types
;
48518 swig_type_info
*ty
= types_initial
[shift
];
48519 size_t ldoc
= (c
- methods
[i
].ml_doc
);
48520 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
48521 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
48524 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
48526 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
48528 strncpy(buff
, "swig_ptr: ", 10);
48530 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
48531 methods
[i
].ml_doc
= ndoc
;
48543 /* -----------------------------------------------------------------------------*
48544 * Partial Init method
48545 * -----------------------------------------------------------------------------*/
48550 SWIGEXPORT
void SWIG_init(void) {
48553 /* Fix SwigMethods to carry the callback ptrs when needed */
48554 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
48556 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
48557 d
= PyModule_GetDict(m
);
48559 SWIG_InitializeModule(0);
48560 SWIG_InstallConstants(d
,swig_const_table
);
48563 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
48564 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
48565 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
48566 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
48567 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
48568 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
48569 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
48570 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
48571 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
48572 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
48573 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
48574 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
48575 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
48576 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
48577 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
48578 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
48579 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
48580 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
48581 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
48582 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
48583 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
48584 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
48585 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
48586 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
48587 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
48588 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
48589 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
48590 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
48591 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
48592 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
48593 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
48594 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
48595 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
48596 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
48597 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
48598 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
48599 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
48600 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
48601 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
48602 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
48603 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
48604 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
48605 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
48606 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
48607 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
48608 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
48609 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
48610 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
48611 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
48612 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
48613 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
48614 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
48615 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
48616 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
48617 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
48618 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
48619 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
48620 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
48621 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
48622 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
48623 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
48624 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
48625 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
48626 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
48627 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
48628 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
48629 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
48630 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
48631 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
48632 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
48633 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
48634 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
48635 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
48636 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
48637 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
48638 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
48639 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
48640 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
48641 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
48642 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
48643 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
48644 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
48645 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
48646 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
48647 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
48648 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
48649 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
48650 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
48651 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
48652 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
48653 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
48654 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
48655 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
48656 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
48657 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
48658 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
48659 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
48660 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
48661 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
48662 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
48663 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
48664 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
48665 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
48666 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
48667 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
48668 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
48669 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
48670 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
48671 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
48672 SWIG_Python_SetConstant(d
, "BK_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_NOWHERE
)));
48673 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONICON
)));
48674 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONLABEL
)));
48675 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONITEM
)));
48676 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONPAGE
)));
48677 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
48678 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
48679 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
48680 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
48681 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
48682 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
48683 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
48684 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
48685 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
48686 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
48687 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
48688 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE
)));
48689 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
48690 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
48691 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
48692 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
48693 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
48694 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
48695 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
48696 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
48697 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
48698 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
48699 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
48700 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
48701 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
48702 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
48703 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
48704 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
48705 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
48706 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
48707 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
48708 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
48709 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
48710 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
48711 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
48712 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
48713 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
48714 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
48715 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
48716 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
48717 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
48718 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
48719 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
48720 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
48721 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
48722 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
48723 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
48724 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
48725 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
48726 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
48727 SWIG_Python_SetConstant(d
, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS
)));
48728 SWIG_Python_SetConstant(d
, "TB_BOTTOM",SWIG_From_int(static_cast< int >(wxTB_BOTTOM
)));
48729 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
48730 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
48731 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
48732 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
48733 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
48734 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
48735 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
48736 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
48737 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
48738 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
48739 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
48740 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
48741 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
48742 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
48743 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
48744 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
48745 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
48746 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
48747 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
48748 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
48749 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
48750 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
48751 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
48752 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
48753 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
48754 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
48755 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
48756 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
48757 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
48758 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
48759 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
48760 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
48761 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
48762 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
48763 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
48764 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
48765 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
48766 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
48767 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
48768 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
48769 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
48770 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
48771 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
48772 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
48773 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
48774 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
48775 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
48776 SWIG_Python_SetConstant(d
, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM
)));
48777 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
48778 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
48779 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
48780 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
48781 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
48782 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
48783 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
48784 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
48785 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
48786 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
48787 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
48788 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
48789 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
48790 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
48791 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
48792 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
48793 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
48794 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
48795 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
48796 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
48797 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
48798 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
48799 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
48800 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
48801 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
48802 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
48803 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
48804 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
48805 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
48806 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
48807 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
48808 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
48809 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
48810 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
48811 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
48812 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
48813 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
48814 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
48815 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
48816 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
48817 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
48818 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
48820 // Map renamed classes back to their common name for OOR
48821 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
48823 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
48824 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
48825 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
48826 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
48827 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
48828 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
48829 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
48830 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
48831 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
48832 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
48833 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
48834 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
48835 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
48836 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
48837 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
48838 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
48839 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
48840 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
48841 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
48842 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
48843 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
48844 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
48845 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
48846 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
48847 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
48848 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
48849 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
48850 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
48851 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
48852 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
48853 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
48854 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
48855 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
48856 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
48857 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
48858 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
48859 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
48860 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
48861 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
48862 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
48863 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
48864 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
48865 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
48866 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
48867 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
48868 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
48869 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
48870 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
48871 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
48872 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
48873 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
48874 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
48875 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
48876 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
48877 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
48878 SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get
, NullTreeItemId_set
);
48880 // Map renamed classes back to their common name for OOR
48881 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
48882 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
48884 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
48885 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
48886 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
48887 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
48888 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
48889 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
48890 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
48891 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
48892 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown
)));
48893 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard
)));
48894 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton
)));
48896 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
48898 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
48899 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
48900 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
48901 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
48902 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
48903 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));
48904 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get
, HyperlinkCtrlNameStr_set
);
48905 SWIG_Python_SetConstant(d
, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU
)));
48906 SWIG_Python_SetConstant(d
, "HL_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_LEFT
)));
48907 SWIG_Python_SetConstant(d
, "HL_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_RIGHT
)));
48908 SWIG_Python_SetConstant(d
, "HL_ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxHL_ALIGN_CENTRE
)));
48909 SWIG_Python_SetConstant(d
, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE
)));
48910 PyDict_SetItemString(d
, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK
));
48911 SWIG_Python_SetConstant(d
, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL
)));
48912 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get
, ColourPickerCtrlNameStr_set
);
48913 SWIG_Python_SetConstant(d
, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL
)));
48914 SWIG_Python_SetConstant(d
, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL
)));
48915 SWIG_Python_SetConstant(d
, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE
)));
48916 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED
));
48917 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get
, FilePickerCtrlNameStr_set
);
48918 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
48919 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get
, DirPickerCtrlNameStr_set
);
48920 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
48921 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
48922 SWIG_Python_SetConstant(d
, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN
)));
48923 SWIG_Python_SetConstant(d
, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE
)));
48924 SWIG_Python_SetConstant(d
, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT
)));
48925 SWIG_Python_SetConstant(d
, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST
)));
48926 SWIG_Python_SetConstant(d
, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR
)));
48927 SWIG_Python_SetConstant(d
, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST
)));
48928 SWIG_Python_SetConstant(d
, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR
)));
48929 SWIG_Python_SetConstant(d
, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL
)));
48930 SWIG_Python_SetConstant(d
, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE
)));
48931 SWIG_Python_SetConstant(d
, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL
)));
48932 SWIG_Python_SetConstant(d
, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE
)));
48933 PyDict_SetItemString(d
, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED
));
48934 PyDict_SetItemString(d
, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED
));
48935 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get
, FontPickerCtrlNameStr_set
);
48936 SWIG_Python_SetConstant(d
, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL
)));
48937 SWIG_Python_SetConstant(d
, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL
)));
48938 SWIG_Python_SetConstant(d
, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL
)));
48939 SWIG_Python_SetConstant(d
, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE
)));
48940 PyDict_SetItemString(d
, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED
));