1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_long swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxArrayInt swig_types[12]
2479 #define SWIGTYPE_p_wxArrayString swig_types[13]
2480 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2481 #define SWIGTYPE_p_wxBitmap swig_types[15]
2482 #define SWIGTYPE_p_wxBitmapButton swig_types[16]
2483 #define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
2484 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxBoxSizer swig_types[19]
2486 #define SWIGTYPE_p_wxButton swig_types[20]
2487 #define SWIGTYPE_p_wxCURHandler swig_types[21]
2488 #define SWIGTYPE_p_wxCheckBox swig_types[22]
2489 #define SWIGTYPE_p_wxCheckListBox swig_types[23]
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491 #define SWIGTYPE_p_wxChoice swig_types[25]
2492 #define SWIGTYPE_p_wxChoicebook swig_types[26]
2493 #define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
2494 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[28]
2495 #define SWIGTYPE_p_wxCloseEvent swig_types[29]
2496 #define SWIGTYPE_p_wxCollapsiblePane swig_types[30]
2497 #define SWIGTYPE_p_wxCollapsiblePaneEvent swig_types[31]
2498 #define SWIGTYPE_p_wxColour swig_types[32]
2499 #define SWIGTYPE_p_wxColourPickerCtrl swig_types[33]
2500 #define SWIGTYPE_p_wxColourPickerEvent swig_types[34]
2501 #define SWIGTYPE_p_wxComboBox swig_types[35]
2502 #define SWIGTYPE_p_wxCommandEvent swig_types[36]
2503 #define SWIGTYPE_p_wxContextHelp swig_types[37]
2504 #define SWIGTYPE_p_wxContextHelpButton swig_types[38]
2505 #define SWIGTYPE_p_wxContextMenuEvent swig_types[39]
2506 #define SWIGTYPE_p_wxControl swig_types[40]
2507 #define SWIGTYPE_p_wxControlWithItems swig_types[41]
2508 #define SWIGTYPE_p_wxCursor swig_types[42]
2509 #define SWIGTYPE_p_wxDC swig_types[43]
2510 #define SWIGTYPE_p_wxDateEvent swig_types[44]
2511 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[45]
2512 #define SWIGTYPE_p_wxDateTime swig_types[46]
2513 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[47]
2514 #define SWIGTYPE_p_wxDirPickerCtrl swig_types[48]
2515 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[49]
2516 #define SWIGTYPE_p_wxDropFilesEvent swig_types[50]
2517 #define SWIGTYPE_p_wxDuplexMode swig_types[51]
2518 #define SWIGTYPE_p_wxEraseEvent swig_types[52]
2519 #define SWIGTYPE_p_wxEvent swig_types[53]
2520 #define SWIGTYPE_p_wxEvtHandler swig_types[54]
2521 #define SWIGTYPE_p_wxFSFile swig_types[55]
2522 #define SWIGTYPE_p_wxFileDirPickerEvent swig_types[56]
2523 #define SWIGTYPE_p_wxFilePickerCtrl swig_types[57]
2524 #define SWIGTYPE_p_wxFileSystem swig_types[58]
2525 #define SWIGTYPE_p_wxFlexGridSizer swig_types[59]
2526 #define SWIGTYPE_p_wxFocusEvent swig_types[60]
2527 #define SWIGTYPE_p_wxFont swig_types[61]
2528 #define SWIGTYPE_p_wxFontPickerCtrl swig_types[62]
2529 #define SWIGTYPE_p_wxFontPickerEvent swig_types[63]
2530 #define SWIGTYPE_p_wxGBSizerItem swig_types[64]
2531 #define SWIGTYPE_p_wxGIFHandler swig_types[65]
2532 #define SWIGTYPE_p_wxGauge swig_types[66]
2533 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[67]
2534 #define SWIGTYPE_p_wxGenericDragImage swig_types[68]
2535 #define SWIGTYPE_p_wxGridBagSizer swig_types[69]
2536 #define SWIGTYPE_p_wxGridSizer swig_types[70]
2537 #define SWIGTYPE_p_wxHelpEvent swig_types[71]
2538 #define SWIGTYPE_p_wxHelpProvider swig_types[72]
2539 #define SWIGTYPE_p_wxHyperlinkCtrl swig_types[73]
2540 #define SWIGTYPE_p_wxHyperlinkEvent swig_types[74]
2541 #define SWIGTYPE_p_wxICOHandler swig_types[75]
2542 #define SWIGTYPE_p_wxIcon swig_types[76]
2543 #define SWIGTYPE_p_wxIconizeEvent swig_types[77]
2544 #define SWIGTYPE_p_wxIdleEvent swig_types[78]
2545 #define SWIGTYPE_p_wxImage swig_types[79]
2546 #define SWIGTYPE_p_wxImageHandler swig_types[80]
2547 #define SWIGTYPE_p_wxImageList swig_types[81]
2548 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[82]
2549 #define SWIGTYPE_p_wxInitDialogEvent swig_types[83]
2550 #define SWIGTYPE_p_wxItemContainer swig_types[84]
2551 #define SWIGTYPE_p_wxJPEGHandler swig_types[85]
2552 #define SWIGTYPE_p_wxKeyEvent swig_types[86]
2553 #define SWIGTYPE_p_wxLayoutConstraints swig_types[87]
2554 #define SWIGTYPE_p_wxListBox swig_types[88]
2555 #define SWIGTYPE_p_wxListEvent swig_types[89]
2556 #define SWIGTYPE_p_wxListItem swig_types[90]
2557 #define SWIGTYPE_p_wxListItemAttr swig_types[91]
2558 #define SWIGTYPE_p_wxListView swig_types[92]
2559 #define SWIGTYPE_p_wxListbook swig_types[93]
2560 #define SWIGTYPE_p_wxListbookEvent swig_types[94]
2561 #define SWIGTYPE_p_wxMaximizeEvent swig_types[95]
2562 #define SWIGTYPE_p_wxMemoryDC swig_types[96]
2563 #define SWIGTYPE_p_wxMenu swig_types[97]
2564 #define SWIGTYPE_p_wxMenuBar swig_types[98]
2565 #define SWIGTYPE_p_wxMenuEvent swig_types[99]
2566 #define SWIGTYPE_p_wxMenuItem swig_types[100]
2567 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMouseEvent swig_types[103]
2570 #define SWIGTYPE_p_wxMoveEvent swig_types[104]
2571 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[105]
2572 #define SWIGTYPE_p_wxNcPaintEvent swig_types[106]
2573 #define SWIGTYPE_p_wxNotebook swig_types[107]
2574 #define SWIGTYPE_p_wxNotebookEvent swig_types[108]
2575 #define SWIGTYPE_p_wxNotifyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxObject swig_types[110]
2577 #define SWIGTYPE_p_wxPCXHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPNGHandler swig_types[112]
2579 #define SWIGTYPE_p_wxPNMHandler swig_types[113]
2580 #define SWIGTYPE_p_wxPaintEvent swig_types[114]
2581 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[115]
2582 #define SWIGTYPE_p_wxPaperSize swig_types[116]
2583 #define SWIGTYPE_p_wxPickerBase swig_types[117]
2584 #define SWIGTYPE_p_wxPoint swig_types[118]
2585 #define SWIGTYPE_p_wxPyApp swig_types[119]
2586 #define SWIGTYPE_p_wxPyCommandEvent swig_types[120]
2587 #define SWIGTYPE_p_wxPyControl swig_types[121]
2588 #define SWIGTYPE_p_wxPyEvent swig_types[122]
2589 #define SWIGTYPE_p_wxPyImageHandler swig_types[123]
2590 #define SWIGTYPE_p_wxPyListCtrl swig_types[124]
2591 #define SWIGTYPE_p_wxPySizer swig_types[125]
2592 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[126]
2593 #define SWIGTYPE_p_wxPyTreeItemData swig_types[127]
2594 #define SWIGTYPE_p_wxPyValidator swig_types[128]
2595 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[129]
2596 #define SWIGTYPE_p_wxRadioBox swig_types[130]
2597 #define SWIGTYPE_p_wxRadioButton swig_types[131]
2598 #define SWIGTYPE_p_wxRect swig_types[132]
2599 #define SWIGTYPE_p_wxScrollBar swig_types[133]
2600 #define SWIGTYPE_p_wxScrollEvent swig_types[134]
2601 #define SWIGTYPE_p_wxScrollWinEvent swig_types[135]
2602 #define SWIGTYPE_p_wxSetCursorEvent swig_types[136]
2603 #define SWIGTYPE_p_wxShowEvent swig_types[137]
2604 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[138]
2605 #define SWIGTYPE_p_wxSize swig_types[139]
2606 #define SWIGTYPE_p_wxSizeEvent swig_types[140]
2607 #define SWIGTYPE_p_wxSizer swig_types[141]
2608 #define SWIGTYPE_p_wxSizerItem swig_types[142]
2609 #define SWIGTYPE_p_wxSlider swig_types[143]
2610 #define SWIGTYPE_p_wxSpinButton swig_types[144]
2611 #define SWIGTYPE_p_wxSpinCtrl swig_types[145]
2612 #define SWIGTYPE_p_wxSpinEvent swig_types[146]
2613 #define SWIGTYPE_p_wxStaticBitmap swig_types[147]
2614 #define SWIGTYPE_p_wxStaticBox swig_types[148]
2615 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[149]
2616 #define SWIGTYPE_p_wxStaticLine swig_types[150]
2617 #define SWIGTYPE_p_wxStaticText swig_types[151]
2618 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[152]
2619 #define SWIGTYPE_p_wxString swig_types[153]
2620 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[154]
2621 #define SWIGTYPE_p_wxTGAHandler swig_types[155]
2622 #define SWIGTYPE_p_wxTIFFHandler swig_types[156]
2623 #define SWIGTYPE_p_wxTextAttr swig_types[157]
2624 #define SWIGTYPE_p_wxTextCtrl swig_types[158]
2625 #define SWIGTYPE_p_wxTextUrlEvent swig_types[159]
2626 #define SWIGTYPE_p_wxToggleButton swig_types[160]
2627 #define SWIGTYPE_p_wxToolBar swig_types[161]
2628 #define SWIGTYPE_p_wxToolBarBase swig_types[162]
2629 #define SWIGTYPE_p_wxToolBarToolBase swig_types[163]
2630 #define SWIGTYPE_p_wxToolbook swig_types[164]
2631 #define SWIGTYPE_p_wxToolbookEvent swig_types[165]
2632 #define SWIGTYPE_p_wxTreeEvent swig_types[166]
2633 #define SWIGTYPE_p_wxTreeItemId swig_types[167]
2634 #define SWIGTYPE_p_wxTreebook swig_types[168]
2635 #define SWIGTYPE_p_wxTreebookEvent swig_types[169]
2636 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[170]
2637 #define SWIGTYPE_p_wxValidator swig_types[171]
2638 #define SWIGTYPE_p_wxVisualAttributes swig_types[172]
2639 #define SWIGTYPE_p_wxWindow swig_types[173]
2640 #define SWIGTYPE_p_wxWindowBase swig_types[174]
2641 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[175]
2642 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[176]
2643 #define SWIGTYPE_p_wxXPMHandler swig_types[177]
2644 static swig_type_info
*swig_types
[179];
2645 static swig_module_info swig_module
= {swig_types
, 178, 0, 0, 0, 0};
2646 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2647 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2649 /* -------- TYPES TABLE (END) -------- */
2651 #if (PY_VERSION_HEX <= 0x02000000)
2652 # if !defined(SWIG_PYTHON_CLASSIC)
2653 # error "This python version requires to use swig with the '-classic' option"
2656 #if (PY_VERSION_HEX <= 0x02020000)
2657 # error "This python version requires to use swig with the '-nomodern' option"
2659 #if (PY_VERSION_HEX <= 0x02020000)
2660 # error "This python version requires to use swig with the '-nomodernargs' option"
2663 # error "This python version requires to use swig with the '-nofastunpack' option"
2666 /*-----------------------------------------------
2667 @(target):= _controls_.so
2668 ------------------------------------------------*/
2669 #define SWIG_init init_controls_
2671 #define SWIG_name "_controls_"
2673 #define SWIGVERSION 0x010329
2676 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2677 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2680 #include <stdexcept>
2684 class PyObject_ptr
{
2689 PyObject_ptr() :_obj(0)
2693 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2698 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2700 if (initial_ref
) Py_XINCREF(_obj
);
2703 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2705 Py_XINCREF(item
._obj
);
2716 operator PyObject
*() const
2721 PyObject
*operator->() const
2730 struct PyObject_var
: PyObject_ptr
{
2731 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2733 PyObject_var
& operator = (PyObject
* obj
)
2743 #include "wx/wxPython/wxPython.h"
2744 #include "wx/wxPython/pyclasses.h"
2746 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2747 static const wxString
wxPyEmptyString(wxEmptyString
);
2748 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2750 const wxArrayString wxPyEmptyStringArray
;
2752 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
2754 #define SWIG_From_long PyInt_FromLong
2757 SWIGINTERNINLINE PyObject
*
2758 SWIG_From_int (int value
)
2760 return SWIG_From_long (value
);
2766 # define LLONG_MIN LONG_LONG_MIN
2769 # define LLONG_MAX LONG_LONG_MAX
2772 # define ULLONG_MAX ULONG_LONG_MAX
2777 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2779 if (PyNumber_Check(obj
)) {
2780 if (val
) *val
= PyInt_AsLong(obj
);
2783 return SWIG_TypeError
;
2788 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2791 int res
= SWIG_AsVal_long (obj
, &v
);
2792 if (SWIG_IsOK(res
)) {
2793 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2794 return SWIG_OverflowError
;
2796 if (val
) *val
= static_cast< int >(v
);
2802 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
2805 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2807 if (obj
== Py_True
) {
2808 if (val
) *val
= true;
2810 } else if (obj
== Py_False
) {
2811 if (val
) *val
= false;
2815 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2816 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2821 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
2822 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
2823 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
2824 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
2825 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
2826 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
2828 #include <wx/checklst.h>
2830 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
2831 SWIGINTERN
void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2834 wxPyClientData
* data
= new wxPyClientData(clientData
);
2835 self
->Insert(item
, pos
, data
);
2838 self
->Insert(item
, pos
);
2842 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2845 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2846 return SWIG_TypeError
;
2849 *val
= (unsigned long)v
;
2855 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2858 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2859 if (SWIG_IsOK(res
)) {
2860 if ((v
> UINT_MAX
)) {
2861 return SWIG_OverflowError
;
2863 if (val
) *val
= static_cast< unsigned int >(v
);
2869 SWIGINTERN PyObject
*wxListBox_GetSelections(wxListBox
*self
){
2870 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2872 self
->GetSelections(lst
);
2873 PyObject
*tup
= PyTuple_New(lst
.GetCount());
2874 for (size_t i
=0; i
<lst
.GetCount(); i
++)
2876 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
2878 wxPyEndBlockThreads(blocked
);
2881 SWIGINTERN
void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2883 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2884 self
->GetItem(item
)->SetTextColour(c
);
2887 SWIGINTERN
void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2889 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2890 self
->GetItem(item
)->SetBackgroundColour(c
);
2893 SWIGINTERN
void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
2895 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2896 self
->GetItem(item
)->SetFont(f
);
2899 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
2900 SWIGINTERN
void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
2901 self
->AppendText(text
);
2903 SWIGINTERN wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
2904 return self
->GetValue().Mid(from
, to
- from
);
2906 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
2907 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
2908 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2909 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
2910 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
2912 SWIGINTERNINLINE PyObject
*
2913 SWIG_From_unsigned_SS_long (unsigned long value
)
2915 return (value
> LONG_MAX
) ?
2916 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2920 SWIGINTERNINLINE PyObject
*
2921 SWIG_From_size_t (size_t value
)
2923 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2927 SWIGINTERNINLINE PyObject
*
2928 SWIG_From_unsigned_SS_int (unsigned int value
)
2930 return SWIG_From_unsigned_SS_long (value
);
2934 #include <wx/slider.h>
2937 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
2938 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
2940 #if !wxUSE_TOGGLEBTN
2941 // implement dummy items for platforms that don't have this class
2943 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2945 class wxToggleButton
: public wxControl
2948 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
2949 const wxPoint
&, const wxSize
&, long,
2950 const wxValidator
&, const wxString
&)
2951 { wxPyRaiseNotImplemented(); }
2954 { wxPyRaiseNotImplemented(); }
2958 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
2960 SWIGINTERNINLINE
int
2961 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2964 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2965 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2969 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2970 SWIGINTERN PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2971 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2973 Py_INCREF(udata
->m_obj
);
2974 return udata
->m_obj
;
2980 SWIGINTERN
void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2981 self
->SetClientData(new wxPyUserData(clientData
));
2983 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
){
2984 wxPyUserData
* udata
= NULL
;
2985 if (clientData
&& clientData
!= Py_None
)
2986 udata
= new wxPyUserData(clientData
);
2987 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2988 shortHelp
, longHelp
, udata
);
2990 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
){
2991 wxPyUserData
* udata
= NULL
;
2992 if (clientData
&& clientData
!= Py_None
)
2993 udata
= new wxPyUserData(clientData
);
2994 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2995 shortHelp
, longHelp
, udata
);
2997 SWIGINTERN PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
2998 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
3000 Py_INCREF(udata
->m_obj
);
3001 return udata
->m_obj
;
3007 SWIGINTERN
void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
3008 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
3011 #include <wx/listctrl.h>
3013 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
3014 SWIGINTERN
void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
3015 // Python aware sorting function for wxPyListCtrl
3016 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
3018 PyObject
* func
= (PyObject
*)funcPtr
;
3019 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3021 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
3022 PyObject
* result
= PyEval_CallObject(func
, args
);
3025 retval
= PyInt_AsLong(result
);
3029 wxPyEndBlockThreads(blocked
);
3033 // C++ Version of a Python aware class
3034 class wxPyListCtrl
: public wxListCtrl
{
3035 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
3037 wxPyListCtrl() : wxListCtrl() {}
3038 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
3042 const wxValidator
& validator
,
3043 const wxString
& name
) :
3044 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3046 bool Create(wxWindow
* parent
, wxWindowID id
,
3050 const wxValidator
& validator
,
3051 const wxString
& name
) {
3052 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3055 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
3056 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
3058 // use the virtual version to avoid a confusing assert in the base class
3059 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
3060 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
3065 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
3067 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
3068 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
3069 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
3070 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
3073 SWIGINTERN wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
3075 item
.SetMask( wxLIST_MASK_STATE
|
3083 if (self
->GetColumn(col
, item
))
3084 return new wxListItem(item
);
3088 SWIGINTERN wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
3089 wxListItem
* info
= new wxListItem
;
3090 info
->m_itemId
= itemId
;
3092 info
->m_mask
= 0xFFFF;
3093 self
->GetItem(*info
);
3096 SWIGINTERN wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
3098 self
->GetItemPosition(item
, pos
);
3101 SWIGINTERN wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
3103 self
->GetItemRect(item
, rect
, code
);
3106 SWIGINTERN
bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
3107 if (!PyCallable_Check(func
))
3109 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
3111 SWIGINTERN wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
3119 #include <wx/treectrl.h>
3120 #include "wx/wxPython/pytree.h"
3122 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3123 SWIGINTERN
bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
3124 SWIGINTERN
bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
3125 SWIGINTERN
void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
3127 static wxTreeItemId wxNullTreeItemId
;
3129 // C++ version of Python aware wxTreeCtrl
3130 class wxPyTreeCtrl
: public wxTreeCtrl
{
3131 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3133 wxPyTreeCtrl() : wxTreeCtrl() {}
3134 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3138 const wxValidator
& validator
,
3139 const wxString
& name
) :
3140 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3142 bool Create(wxWindow
*parent
, wxWindowID id
,
3146 const wxValidator
& validator
,
3147 const wxString
& name
) {
3148 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3152 int OnCompareItems(const wxTreeItemId
& item1
,
3153 const wxTreeItemId
& item2
) {
3156 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3157 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3158 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3159 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3160 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3164 wxPyEndBlockThreads(blocked
);
3166 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3172 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
3175 SWIGINTERN wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3176 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3178 data
= new wxPyTreeItemData();
3179 data
->SetId(item
); // set the id
3180 self
->SetItemData(item
, data
);
3184 SWIGINTERN PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3185 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3187 data
= new wxPyTreeItemData();
3188 data
->SetId(item
); // set the id
3189 self
->SetItemData(item
, data
);
3191 return data
->GetData();
3193 SWIGINTERN
void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3194 data
->SetId(item
); // set the id
3195 self
->SetItemData(item
, data
);
3197 SWIGINTERN
void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3198 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3200 data
= new wxPyTreeItemData(obj
);
3201 data
->SetId(item
); // set the id
3202 self
->SetItemData(item
, data
);
3206 SWIGINTERN PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
3207 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3208 PyObject
* rval
= PyList_New(0);
3209 wxArrayTreeItemIds array
;
3211 num
= self
->GetSelections(array
);
3212 for (x
=0; x
< num
; x
++) {
3213 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3214 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3215 PyList_Append(rval
, item
);
3218 wxPyEndBlockThreads(blocked
);
3221 SWIGINTERN PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3223 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3224 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3225 PyObject
* tup
= PyTuple_New(2);
3226 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3227 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3228 wxPyEndBlockThreads(blocked
);
3231 SWIGINTERN PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3232 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3233 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3234 PyObject
* tup
= PyTuple_New(2);
3235 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3236 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3237 wxPyEndBlockThreads(blocked
);
3240 SWIGINTERN PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3242 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3243 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3244 wxRect
* r
= new wxRect(rect
);
3245 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
3246 wxPyEndBlockThreads(blocked
);
3252 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
3254 SWIGINTERNINLINE PyObject
*
3255 SWIG_From_bool (bool value
)
3257 return PyBool_FromLong(value
? 1 : 0);
3260 // C++ version of Python aware wxControl
3261 class wxPyControl
: public wxControl
3263 DECLARE_DYNAMIC_CLASS(wxPyControl
)
3265 wxPyControl() : wxControl() {}
3266 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
3267 const wxPoint
& pos
= wxDefaultPosition
,
3268 const wxSize
& size
= wxDefaultSize
,
3270 const wxValidator
& validator
=wxDefaultValidator
,
3271 const wxString
& name
= wxPyControlNameStr
)
3272 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3275 bool DoEraseBackground(wxDC
* dc
) {
3277 return wxWindow::DoEraseBackground(dc
->GetHDC());
3279 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3285 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3286 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3287 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3288 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3290 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3291 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3292 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3294 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3295 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3297 DEC_PYCALLBACK__(InitDialog
);
3298 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3299 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3300 DEC_PYCALLBACK_BOOL_(Validate
);
3302 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3303 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3304 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3306 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3307 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3309 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3310 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3312 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3314 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3319 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
3321 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
3322 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
3323 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
3324 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
3326 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
3327 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
3328 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
3330 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
3331 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
3333 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
3334 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
3335 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
3336 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
3338 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
3339 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
3340 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
3342 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
3343 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
3345 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
3346 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
3348 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
3350 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
3354 SWIGINTERN
void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
3356 #include <wx/generic/dragimgg.h>
3358 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
3359 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
3361 self
->GetRange(&rv
, NULL
);
3364 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
3366 self
->GetRange(NULL
, &rv
);
3369 static const wxString
wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr
);
3370 static const wxString
wxPyColourPickerCtrlNameStr(wxColourPickerCtrlNameStr
);
3371 static const wxString
wxPyFilePickerCtrlNameStr(wxFilePickerCtrlNameStr
);
3372 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3373 static const wxString
wxPyDirPickerCtrlNameStr(wxDirPickerCtrlNameStr
);
3374 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3375 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3376 static const wxString
wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr
);
3377 static const wxString
wxPyCollapsiblePaneNameStr(wxCollapsiblePaneNameStr
);
3381 SWIGINTERN
int ButtonNameStr_set(PyObject
*) {
3382 SWIG_Error(SWIG_AttributeError
,"Variable ButtonNameStr is read-only.");
3387 SWIGINTERN PyObject
*ButtonNameStr_get(void) {
3388 PyObject
*pyobj
= 0;
3392 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3394 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3401 SWIGINTERN PyObject
*_wrap_new_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3402 PyObject
*resultobj
= 0;
3403 wxWindow
*arg1
= (wxWindow
*) 0 ;
3404 int arg2
= (int) -1 ;
3405 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3406 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3407 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3408 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3409 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3410 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3411 long arg6
= (long) 0 ;
3412 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3413 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3414 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3415 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3416 wxButton
*result
= 0 ;
3421 bool temp3
= false ;
3428 bool temp8
= false ;
3429 PyObject
* obj0
= 0 ;
3430 PyObject
* obj1
= 0 ;
3431 PyObject
* obj2
= 0 ;
3432 PyObject
* obj3
= 0 ;
3433 PyObject
* obj4
= 0 ;
3434 PyObject
* obj5
= 0 ;
3435 PyObject
* obj6
= 0 ;
3436 PyObject
* obj7
= 0 ;
3437 char * kwnames
[] = {
3438 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3443 if (!SWIG_IsOK(res1
)) {
3444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3446 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3448 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3449 if (!SWIG_IsOK(ecode2
)) {
3450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3452 arg2
= static_cast< int >(val2
);
3456 arg3
= wxString_in_helper(obj2
);
3457 if (arg3
== NULL
) SWIG_fail
;
3464 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3470 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3474 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3475 if (!SWIG_IsOK(ecode6
)) {
3476 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3478 arg6
= static_cast< long >(val6
);
3481 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3482 if (!SWIG_IsOK(res7
)) {
3483 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3486 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3488 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3492 arg8
= wxString_in_helper(obj7
);
3493 if (arg8
== NULL
) SWIG_fail
;
3498 if (!wxPyCheckForApp()) SWIG_fail
;
3499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3500 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3501 wxPyEndAllowThreads(__tstate
);
3502 if (PyErr_Occurred()) SWIG_fail
;
3504 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_NEW
| 0 );
3527 SWIGINTERN PyObject
*_wrap_new_PreButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3528 PyObject
*resultobj
= 0;
3529 wxButton
*result
= 0 ;
3531 if (!SWIG_Python_UnpackTuple(args
,"new_PreButton",0,0,0)) SWIG_fail
;
3533 if (!wxPyCheckForApp()) SWIG_fail
;
3534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3535 result
= (wxButton
*)new wxButton();
3536 wxPyEndAllowThreads(__tstate
);
3537 if (PyErr_Occurred()) SWIG_fail
;
3539 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_OWN
| 0 );
3546 SWIGINTERN PyObject
*_wrap_Button_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3547 PyObject
*resultobj
= 0;
3548 wxButton
*arg1
= (wxButton
*) 0 ;
3549 wxWindow
*arg2
= (wxWindow
*) 0 ;
3550 int arg3
= (int) -1 ;
3551 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3552 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3553 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3554 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3555 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3556 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3557 long arg7
= (long) 0 ;
3558 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3559 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3560 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3561 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3569 bool temp4
= false ;
3576 bool temp9
= false ;
3577 PyObject
* obj0
= 0 ;
3578 PyObject
* obj1
= 0 ;
3579 PyObject
* obj2
= 0 ;
3580 PyObject
* obj3
= 0 ;
3581 PyObject
* obj4
= 0 ;
3582 PyObject
* obj5
= 0 ;
3583 PyObject
* obj6
= 0 ;
3584 PyObject
* obj7
= 0 ;
3585 PyObject
* obj8
= 0 ;
3586 char * kwnames
[] = {
3587 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3592 if (!SWIG_IsOK(res1
)) {
3593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3595 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3596 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3597 if (!SWIG_IsOK(res2
)) {
3598 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3600 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3602 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3603 if (!SWIG_IsOK(ecode3
)) {
3604 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3606 arg3
= static_cast< int >(val3
);
3610 arg4
= wxString_in_helper(obj3
);
3611 if (arg4
== NULL
) SWIG_fail
;
3618 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3624 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3628 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3629 if (!SWIG_IsOK(ecode7
)) {
3630 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3632 arg7
= static_cast< long >(val7
);
3635 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3636 if (!SWIG_IsOK(res8
)) {
3637 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3640 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3642 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3646 arg9
= wxString_in_helper(obj8
);
3647 if (arg9
== NULL
) SWIG_fail
;
3652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3653 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3654 wxPyEndAllowThreads(__tstate
);
3655 if (PyErr_Occurred()) SWIG_fail
;
3658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3682 SWIGINTERN PyObject
*_wrap_Button_SetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3683 PyObject
*resultobj
= 0;
3684 wxButton
*arg1
= (wxButton
*) 0 ;
3687 PyObject
*swig_obj
[1] ;
3689 if (!args
) SWIG_fail
;
3691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3692 if (!SWIG_IsOK(res1
)) {
3693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3695 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3698 (arg1
)->SetDefault();
3699 wxPyEndAllowThreads(__tstate
);
3700 if (PyErr_Occurred()) SWIG_fail
;
3702 resultobj
= SWIG_Py_Void();
3709 SWIGINTERN PyObject
*_wrap_Button_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3710 PyObject
*resultobj
= 0;
3713 if (!SWIG_Python_UnpackTuple(args
,"Button_GetDefaultSize",0,0,0)) SWIG_fail
;
3715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3716 result
= wxButton::GetDefaultSize();
3717 wxPyEndAllowThreads(__tstate
);
3718 if (PyErr_Occurred()) SWIG_fail
;
3720 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
3727 SWIGINTERN PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3728 PyObject
*resultobj
= 0;
3729 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3730 SwigValueWrapper
<wxVisualAttributes
> result
;
3733 PyObject
* obj0
= 0 ;
3734 char * kwnames
[] = {
3735 (char *) "variant", NULL
3738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3740 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3741 if (!SWIG_IsOK(ecode1
)) {
3742 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3744 arg1
= static_cast< wxWindowVariant
>(val1
);
3747 if (!wxPyCheckForApp()) SWIG_fail
;
3748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3749 result
= wxButton::GetClassDefaultAttributes(arg1
);
3750 wxPyEndAllowThreads(__tstate
);
3751 if (PyErr_Occurred()) SWIG_fail
;
3753 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3760 SWIGINTERN PyObject
*Button_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3762 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3763 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton
, SWIG_NewClientData(obj
));
3764 return SWIG_Py_Void();
3767 SWIGINTERN PyObject
*Button_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3768 return SWIG_Python_InitShadowInstance(args
);
3771 SWIGINTERN PyObject
*_wrap_new_BitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3772 PyObject
*resultobj
= 0;
3773 wxWindow
*arg1
= (wxWindow
*) 0 ;
3774 int arg2
= (int) -1 ;
3775 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
3776 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
3777 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3778 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3779 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3780 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3781 long arg6
= (long) wxBU_AUTODRAW
;
3782 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3783 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3784 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3785 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3786 wxBitmapButton
*result
= 0 ;
3799 bool temp8
= false ;
3800 PyObject
* obj0
= 0 ;
3801 PyObject
* obj1
= 0 ;
3802 PyObject
* obj2
= 0 ;
3803 PyObject
* obj3
= 0 ;
3804 PyObject
* obj4
= 0 ;
3805 PyObject
* obj5
= 0 ;
3806 PyObject
* obj6
= 0 ;
3807 PyObject
* obj7
= 0 ;
3808 char * kwnames
[] = {
3809 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3814 if (!SWIG_IsOK(res1
)) {
3815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3817 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3819 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3820 if (!SWIG_IsOK(ecode2
)) {
3821 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3823 arg2
= static_cast< int >(val2
);
3826 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3827 if (!SWIG_IsOK(res3
)) {
3828 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3831 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3833 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
3838 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3844 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3848 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3849 if (!SWIG_IsOK(ecode6
)) {
3850 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3852 arg6
= static_cast< long >(val6
);
3855 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3856 if (!SWIG_IsOK(res7
)) {
3857 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3860 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3862 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3866 arg8
= wxString_in_helper(obj7
);
3867 if (arg8
== NULL
) SWIG_fail
;
3872 if (!wxPyCheckForApp()) SWIG_fail
;
3873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3874 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3875 wxPyEndAllowThreads(__tstate
);
3876 if (PyErr_Occurred()) SWIG_fail
;
3878 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_NEW
| 0 );
3893 SWIGINTERN PyObject
*_wrap_new_PreBitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3894 PyObject
*resultobj
= 0;
3895 wxBitmapButton
*result
= 0 ;
3897 if (!SWIG_Python_UnpackTuple(args
,"new_PreBitmapButton",0,0,0)) SWIG_fail
;
3899 if (!wxPyCheckForApp()) SWIG_fail
;
3900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3901 result
= (wxBitmapButton
*)new wxBitmapButton();
3902 wxPyEndAllowThreads(__tstate
);
3903 if (PyErr_Occurred()) SWIG_fail
;
3905 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_OWN
| 0 );
3912 SWIGINTERN PyObject
*_wrap_BitmapButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3913 PyObject
*resultobj
= 0;
3914 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3915 wxWindow
*arg2
= (wxWindow
*) 0 ;
3916 int arg3
= (int) -1 ;
3917 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
3918 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
3919 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3920 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3921 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3922 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3923 long arg7
= (long) wxBU_AUTODRAW
;
3924 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3925 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3926 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3927 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3943 bool temp9
= false ;
3944 PyObject
* obj0
= 0 ;
3945 PyObject
* obj1
= 0 ;
3946 PyObject
* obj2
= 0 ;
3947 PyObject
* obj3
= 0 ;
3948 PyObject
* obj4
= 0 ;
3949 PyObject
* obj5
= 0 ;
3950 PyObject
* obj6
= 0 ;
3951 PyObject
* obj7
= 0 ;
3952 PyObject
* obj8
= 0 ;
3953 char * kwnames
[] = {
3954 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
3959 if (!SWIG_IsOK(res1
)) {
3960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
3962 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
3963 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3964 if (!SWIG_IsOK(res2
)) {
3965 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3967 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3969 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3970 if (!SWIG_IsOK(ecode3
)) {
3971 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
3973 arg3
= static_cast< int >(val3
);
3976 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3977 if (!SWIG_IsOK(res4
)) {
3978 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3981 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3983 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
3988 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3994 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3998 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3999 if (!SWIG_IsOK(ecode7
)) {
4000 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
4002 arg7
= static_cast< long >(val7
);
4005 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4006 if (!SWIG_IsOK(res8
)) {
4007 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4010 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4012 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4016 arg9
= wxString_in_helper(obj8
);
4017 if (arg9
== NULL
) SWIG_fail
;
4022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4023 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4024 wxPyEndAllowThreads(__tstate
);
4025 if (PyErr_Occurred()) SWIG_fail
;
4028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4044 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4045 PyObject
*resultobj
= 0;
4046 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4050 PyObject
*swig_obj
[1] ;
4052 if (!args
) SWIG_fail
;
4054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4055 if (!SWIG_IsOK(res1
)) {
4056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4058 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4061 result
= (arg1
)->GetBitmapLabel();
4062 wxPyEndAllowThreads(__tstate
);
4063 if (PyErr_Occurred()) SWIG_fail
;
4065 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4072 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4073 PyObject
*resultobj
= 0;
4074 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4078 PyObject
*swig_obj
[1] ;
4080 if (!args
) SWIG_fail
;
4082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4083 if (!SWIG_IsOK(res1
)) {
4084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4086 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4089 result
= (arg1
)->GetBitmapDisabled();
4090 wxPyEndAllowThreads(__tstate
);
4091 if (PyErr_Occurred()) SWIG_fail
;
4093 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4100 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4101 PyObject
*resultobj
= 0;
4102 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4106 PyObject
*swig_obj
[1] ;
4108 if (!args
) SWIG_fail
;
4110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4111 if (!SWIG_IsOK(res1
)) {
4112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4114 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4117 result
= (arg1
)->GetBitmapFocus();
4118 wxPyEndAllowThreads(__tstate
);
4119 if (PyErr_Occurred()) SWIG_fail
;
4121 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4128 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4129 PyObject
*resultobj
= 0;
4130 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4134 PyObject
*swig_obj
[1] ;
4136 if (!args
) SWIG_fail
;
4138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4139 if (!SWIG_IsOK(res1
)) {
4140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4142 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4145 result
= (arg1
)->GetBitmapSelected();
4146 wxPyEndAllowThreads(__tstate
);
4147 if (PyErr_Occurred()) SWIG_fail
;
4149 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4156 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4157 PyObject
*resultobj
= 0;
4158 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4162 PyObject
*swig_obj
[1] ;
4164 if (!args
) SWIG_fail
;
4166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4167 if (!SWIG_IsOK(res1
)) {
4168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4170 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4173 result
= (arg1
)->GetBitmapHover();
4174 wxPyEndAllowThreads(__tstate
);
4175 if (PyErr_Occurred()) SWIG_fail
;
4177 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4184 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4185 PyObject
*resultobj
= 0;
4186 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4187 wxBitmap
*arg2
= 0 ;
4192 PyObject
* obj0
= 0 ;
4193 PyObject
* obj1
= 0 ;
4194 char * kwnames
[] = {
4195 (char *) "self",(char *) "bitmap", NULL
4198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4200 if (!SWIG_IsOK(res1
)) {
4201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4203 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4204 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4205 if (!SWIG_IsOK(res2
)) {
4206 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4209 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4211 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4214 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
4215 wxPyEndAllowThreads(__tstate
);
4216 if (PyErr_Occurred()) SWIG_fail
;
4218 resultobj
= SWIG_Py_Void();
4225 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4226 PyObject
*resultobj
= 0;
4227 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4228 wxBitmap
*arg2
= 0 ;
4233 PyObject
* obj0
= 0 ;
4234 PyObject
* obj1
= 0 ;
4235 char * kwnames
[] = {
4236 (char *) "self",(char *) "bitmap", NULL
4239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4241 if (!SWIG_IsOK(res1
)) {
4242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4244 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4245 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4246 if (!SWIG_IsOK(res2
)) {
4247 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4250 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4252 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4255 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
4256 wxPyEndAllowThreads(__tstate
);
4257 if (PyErr_Occurred()) SWIG_fail
;
4259 resultobj
= SWIG_Py_Void();
4266 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4267 PyObject
*resultobj
= 0;
4268 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4269 wxBitmap
*arg2
= 0 ;
4274 PyObject
* obj0
= 0 ;
4275 PyObject
* obj1
= 0 ;
4276 char * kwnames
[] = {
4277 (char *) "self",(char *) "bitmap", NULL
4280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4282 if (!SWIG_IsOK(res1
)) {
4283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4285 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4286 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4287 if (!SWIG_IsOK(res2
)) {
4288 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4291 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4293 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4296 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
4297 wxPyEndAllowThreads(__tstate
);
4298 if (PyErr_Occurred()) SWIG_fail
;
4300 resultobj
= SWIG_Py_Void();
4307 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4308 PyObject
*resultobj
= 0;
4309 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4310 wxBitmap
*arg2
= 0 ;
4315 PyObject
* obj0
= 0 ;
4316 PyObject
* obj1
= 0 ;
4317 char * kwnames
[] = {
4318 (char *) "self",(char *) "bitmap", NULL
4321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4323 if (!SWIG_IsOK(res1
)) {
4324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4326 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4327 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4328 if (!SWIG_IsOK(res2
)) {
4329 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4332 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4334 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4337 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
4338 wxPyEndAllowThreads(__tstate
);
4339 if (PyErr_Occurred()) SWIG_fail
;
4341 resultobj
= SWIG_Py_Void();
4348 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4349 PyObject
*resultobj
= 0;
4350 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4351 wxBitmap
*arg2
= 0 ;
4356 PyObject
* obj0
= 0 ;
4357 PyObject
* obj1
= 0 ;
4358 char * kwnames
[] = {
4359 (char *) "self",(char *) "hover", NULL
4362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4364 if (!SWIG_IsOK(res1
)) {
4365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4367 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4368 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4369 if (!SWIG_IsOK(res2
)) {
4370 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4373 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4375 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4378 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
4379 wxPyEndAllowThreads(__tstate
);
4380 if (PyErr_Occurred()) SWIG_fail
;
4382 resultobj
= SWIG_Py_Void();
4389 SWIGINTERN PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4390 PyObject
*resultobj
= 0;
4391 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4400 PyObject
* obj0
= 0 ;
4401 PyObject
* obj1
= 0 ;
4402 PyObject
* obj2
= 0 ;
4403 char * kwnames
[] = {
4404 (char *) "self",(char *) "x",(char *) "y", NULL
4407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4409 if (!SWIG_IsOK(res1
)) {
4410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4412 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4413 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4414 if (!SWIG_IsOK(ecode2
)) {
4415 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4417 arg2
= static_cast< int >(val2
);
4418 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4419 if (!SWIG_IsOK(ecode3
)) {
4420 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4422 arg3
= static_cast< int >(val3
);
4424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4425 (arg1
)->SetMargins(arg2
,arg3
);
4426 wxPyEndAllowThreads(__tstate
);
4427 if (PyErr_Occurred()) SWIG_fail
;
4429 resultobj
= SWIG_Py_Void();
4436 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4437 PyObject
*resultobj
= 0;
4438 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4442 PyObject
*swig_obj
[1] ;
4444 if (!args
) SWIG_fail
;
4446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4447 if (!SWIG_IsOK(res1
)) {
4448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4450 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4453 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
4454 wxPyEndAllowThreads(__tstate
);
4455 if (PyErr_Occurred()) SWIG_fail
;
4457 resultobj
= SWIG_From_int(static_cast< int >(result
));
4464 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4465 PyObject
*resultobj
= 0;
4466 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4470 PyObject
*swig_obj
[1] ;
4472 if (!args
) SWIG_fail
;
4474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4475 if (!SWIG_IsOK(res1
)) {
4476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4478 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4481 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
4482 wxPyEndAllowThreads(__tstate
);
4483 if (PyErr_Occurred()) SWIG_fail
;
4485 resultobj
= SWIG_From_int(static_cast< int >(result
));
4492 SWIGINTERN PyObject
*BitmapButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4494 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4495 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton
, SWIG_NewClientData(obj
));
4496 return SWIG_Py_Void();
4499 SWIGINTERN PyObject
*BitmapButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4500 return SWIG_Python_InitShadowInstance(args
);
4503 SWIGINTERN
int CheckBoxNameStr_set(PyObject
*) {
4504 SWIG_Error(SWIG_AttributeError
,"Variable CheckBoxNameStr is read-only.");
4509 SWIGINTERN PyObject
*CheckBoxNameStr_get(void) {
4510 PyObject
*pyobj
= 0;
4514 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4516 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4523 SWIGINTERN PyObject
*_wrap_new_CheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4524 PyObject
*resultobj
= 0;
4525 wxWindow
*arg1
= (wxWindow
*) 0 ;
4526 int arg2
= (int) -1 ;
4527 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4528 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4529 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4530 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4531 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4532 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4533 long arg6
= (long) 0 ;
4534 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4535 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4536 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
4537 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4538 wxCheckBox
*result
= 0 ;
4543 bool temp3
= false ;
4550 bool temp8
= false ;
4551 PyObject
* obj0
= 0 ;
4552 PyObject
* obj1
= 0 ;
4553 PyObject
* obj2
= 0 ;
4554 PyObject
* obj3
= 0 ;
4555 PyObject
* obj4
= 0 ;
4556 PyObject
* obj5
= 0 ;
4557 PyObject
* obj6
= 0 ;
4558 PyObject
* obj7
= 0 ;
4559 char * kwnames
[] = {
4560 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4565 if (!SWIG_IsOK(res1
)) {
4566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4568 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4570 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4571 if (!SWIG_IsOK(ecode2
)) {
4572 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4574 arg2
= static_cast< int >(val2
);
4578 arg3
= wxString_in_helper(obj2
);
4579 if (arg3
== NULL
) SWIG_fail
;
4586 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4592 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4596 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4597 if (!SWIG_IsOK(ecode6
)) {
4598 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4600 arg6
= static_cast< long >(val6
);
4603 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
4604 if (!SWIG_IsOK(res7
)) {
4605 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4608 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4610 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
4614 arg8
= wxString_in_helper(obj7
);
4615 if (arg8
== NULL
) SWIG_fail
;
4620 if (!wxPyCheckForApp()) SWIG_fail
;
4621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4622 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4623 wxPyEndAllowThreads(__tstate
);
4624 if (PyErr_Occurred()) SWIG_fail
;
4626 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_NEW
| 0 );
4649 SWIGINTERN PyObject
*_wrap_new_PreCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4650 PyObject
*resultobj
= 0;
4651 wxCheckBox
*result
= 0 ;
4653 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckBox",0,0,0)) SWIG_fail
;
4655 if (!wxPyCheckForApp()) SWIG_fail
;
4656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4657 result
= (wxCheckBox
*)new wxCheckBox();
4658 wxPyEndAllowThreads(__tstate
);
4659 if (PyErr_Occurred()) SWIG_fail
;
4661 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_OWN
| 0 );
4668 SWIGINTERN PyObject
*_wrap_CheckBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4669 PyObject
*resultobj
= 0;
4670 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4671 wxWindow
*arg2
= (wxWindow
*) 0 ;
4672 int arg3
= (int) -1 ;
4673 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4674 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4675 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4676 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4677 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4678 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4679 long arg7
= (long) 0 ;
4680 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4681 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4682 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
4683 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4691 bool temp4
= false ;
4698 bool temp9
= false ;
4699 PyObject
* obj0
= 0 ;
4700 PyObject
* obj1
= 0 ;
4701 PyObject
* obj2
= 0 ;
4702 PyObject
* obj3
= 0 ;
4703 PyObject
* obj4
= 0 ;
4704 PyObject
* obj5
= 0 ;
4705 PyObject
* obj6
= 0 ;
4706 PyObject
* obj7
= 0 ;
4707 PyObject
* obj8
= 0 ;
4708 char * kwnames
[] = {
4709 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4714 if (!SWIG_IsOK(res1
)) {
4715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4717 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4718 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4719 if (!SWIG_IsOK(res2
)) {
4720 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4722 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4724 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4725 if (!SWIG_IsOK(ecode3
)) {
4726 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4728 arg3
= static_cast< int >(val3
);
4732 arg4
= wxString_in_helper(obj3
);
4733 if (arg4
== NULL
) SWIG_fail
;
4740 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4746 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4750 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4751 if (!SWIG_IsOK(ecode7
)) {
4752 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4754 arg7
= static_cast< long >(val7
);
4757 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4758 if (!SWIG_IsOK(res8
)) {
4759 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4762 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4764 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4768 arg9
= wxString_in_helper(obj8
);
4769 if (arg9
== NULL
) SWIG_fail
;
4774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4775 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4776 wxPyEndAllowThreads(__tstate
);
4777 if (PyErr_Occurred()) SWIG_fail
;
4780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4804 SWIGINTERN PyObject
*_wrap_CheckBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4805 PyObject
*resultobj
= 0;
4806 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4810 PyObject
*swig_obj
[1] ;
4812 if (!args
) SWIG_fail
;
4814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4815 if (!SWIG_IsOK(res1
)) {
4816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4818 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4821 result
= (bool)(arg1
)->GetValue();
4822 wxPyEndAllowThreads(__tstate
);
4823 if (PyErr_Occurred()) SWIG_fail
;
4826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4834 SWIGINTERN PyObject
*_wrap_CheckBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4835 PyObject
*resultobj
= 0;
4836 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4840 PyObject
*swig_obj
[1] ;
4842 if (!args
) SWIG_fail
;
4844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4845 if (!SWIG_IsOK(res1
)) {
4846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4848 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4851 result
= (bool)(arg1
)->IsChecked();
4852 wxPyEndAllowThreads(__tstate
);
4853 if (PyErr_Occurred()) SWIG_fail
;
4856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4864 SWIGINTERN PyObject
*_wrap_CheckBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4865 PyObject
*resultobj
= 0;
4866 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4872 PyObject
* obj0
= 0 ;
4873 PyObject
* obj1
= 0 ;
4874 char * kwnames
[] = {
4875 (char *) "self",(char *) "state", NULL
4878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4880 if (!SWIG_IsOK(res1
)) {
4881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4883 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4884 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4885 if (!SWIG_IsOK(ecode2
)) {
4886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4888 arg2
= static_cast< bool >(val2
);
4890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4891 (arg1
)->SetValue(arg2
);
4892 wxPyEndAllowThreads(__tstate
);
4893 if (PyErr_Occurred()) SWIG_fail
;
4895 resultobj
= SWIG_Py_Void();
4902 SWIGINTERN PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4903 PyObject
*resultobj
= 0;
4904 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4905 wxCheckBoxState result
;
4908 PyObject
*swig_obj
[1] ;
4910 if (!args
) SWIG_fail
;
4912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4913 if (!SWIG_IsOK(res1
)) {
4914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4916 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4919 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
4920 wxPyEndAllowThreads(__tstate
);
4921 if (PyErr_Occurred()) SWIG_fail
;
4923 resultobj
= SWIG_From_int(static_cast< int >(result
));
4930 SWIGINTERN PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4931 PyObject
*resultobj
= 0;
4932 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4933 wxCheckBoxState arg2
;
4938 PyObject
* obj0
= 0 ;
4939 PyObject
* obj1
= 0 ;
4940 char * kwnames
[] = {
4941 (char *) "self",(char *) "state", NULL
4944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4946 if (!SWIG_IsOK(res1
)) {
4947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4949 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4950 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4951 if (!SWIG_IsOK(ecode2
)) {
4952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
4954 arg2
= static_cast< wxCheckBoxState
>(val2
);
4956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4957 (arg1
)->Set3StateValue(arg2
);
4958 wxPyEndAllowThreads(__tstate
);
4959 if (PyErr_Occurred()) SWIG_fail
;
4961 resultobj
= SWIG_Py_Void();
4968 SWIGINTERN PyObject
*_wrap_CheckBox_Is3State(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4969 PyObject
*resultobj
= 0;
4970 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4974 PyObject
*swig_obj
[1] ;
4976 if (!args
) SWIG_fail
;
4978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4979 if (!SWIG_IsOK(res1
)) {
4980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4982 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4985 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
4986 wxPyEndAllowThreads(__tstate
);
4987 if (PyErr_Occurred()) SWIG_fail
;
4990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4998 SWIGINTERN PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4999 PyObject
*resultobj
= 0;
5000 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
5004 PyObject
*swig_obj
[1] ;
5006 if (!args
) SWIG_fail
;
5008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5009 if (!SWIG_IsOK(res1
)) {
5010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5012 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5015 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
5016 wxPyEndAllowThreads(__tstate
);
5017 if (PyErr_Occurred()) SWIG_fail
;
5020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5028 SWIGINTERN PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5029 PyObject
*resultobj
= 0;
5030 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5031 SwigValueWrapper
<wxVisualAttributes
> result
;
5034 PyObject
* obj0
= 0 ;
5035 char * kwnames
[] = {
5036 (char *) "variant", NULL
5039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5041 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5042 if (!SWIG_IsOK(ecode1
)) {
5043 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5045 arg1
= static_cast< wxWindowVariant
>(val1
);
5048 if (!wxPyCheckForApp()) SWIG_fail
;
5049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5050 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
5051 wxPyEndAllowThreads(__tstate
);
5052 if (PyErr_Occurred()) SWIG_fail
;
5054 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5061 SWIGINTERN PyObject
*CheckBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5063 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5064 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox
, SWIG_NewClientData(obj
));
5065 return SWIG_Py_Void();
5068 SWIGINTERN PyObject
*CheckBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5069 return SWIG_Python_InitShadowInstance(args
);
5072 SWIGINTERN
int ChoiceNameStr_set(PyObject
*) {
5073 SWIG_Error(SWIG_AttributeError
,"Variable ChoiceNameStr is read-only.");
5078 SWIGINTERN PyObject
*ChoiceNameStr_get(void) {
5079 PyObject
*pyobj
= 0;
5083 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5085 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5092 SWIGINTERN PyObject
*_wrap_new_Choice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5093 PyObject
*resultobj
= 0;
5094 wxWindow
*arg1
= (wxWindow
*) 0 ;
5095 int arg2
= (int) -1 ;
5096 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5097 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5098 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5099 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5100 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5101 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5102 long arg6
= (long) 0 ;
5103 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5104 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5105 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
5106 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5107 wxChoice
*result
= 0 ;
5114 bool temp5
= false ;
5119 bool temp8
= false ;
5120 PyObject
* obj0
= 0 ;
5121 PyObject
* obj1
= 0 ;
5122 PyObject
* obj2
= 0 ;
5123 PyObject
* obj3
= 0 ;
5124 PyObject
* obj4
= 0 ;
5125 PyObject
* obj5
= 0 ;
5126 PyObject
* obj6
= 0 ;
5127 PyObject
* obj7
= 0 ;
5128 char * kwnames
[] = {
5129 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5134 if (!SWIG_IsOK(res1
)) {
5135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5137 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5139 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5140 if (!SWIG_IsOK(ecode2
)) {
5141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5143 arg2
= static_cast< int >(val2
);
5148 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5154 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5159 if (! PySequence_Check(obj4
)) {
5160 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5163 arg5
= new wxArrayString
;
5165 int i
, len
=PySequence_Length(obj4
);
5166 for (i
=0; i
<len
; i
++) {
5167 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5168 wxString
* s
= wxString_in_helper(item
);
5169 if (PyErr_Occurred()) SWIG_fail
;
5177 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5178 if (!SWIG_IsOK(ecode6
)) {
5179 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5181 arg6
= static_cast< long >(val6
);
5184 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5185 if (!SWIG_IsOK(res7
)) {
5186 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5189 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5191 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5195 arg8
= wxString_in_helper(obj7
);
5196 if (arg8
== NULL
) SWIG_fail
;
5201 if (!wxPyCheckForApp()) SWIG_fail
;
5202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5203 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5204 wxPyEndAllowThreads(__tstate
);
5205 if (PyErr_Occurred()) SWIG_fail
;
5207 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_NEW
| 0 );
5209 if (temp5
) delete arg5
;
5218 if (temp5
) delete arg5
;
5228 SWIGINTERN PyObject
*_wrap_new_PreChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5229 PyObject
*resultobj
= 0;
5230 wxChoice
*result
= 0 ;
5232 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoice",0,0,0)) SWIG_fail
;
5234 if (!wxPyCheckForApp()) SWIG_fail
;
5235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5236 result
= (wxChoice
*)new wxChoice();
5237 wxPyEndAllowThreads(__tstate
);
5238 if (PyErr_Occurred()) SWIG_fail
;
5240 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_OWN
| 0 );
5247 SWIGINTERN PyObject
*_wrap_Choice_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5248 PyObject
*resultobj
= 0;
5249 wxChoice
*arg1
= (wxChoice
*) 0 ;
5250 wxWindow
*arg2
= (wxWindow
*) 0 ;
5251 int arg3
= (int) -1 ;
5252 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5253 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5254 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5255 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5256 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5257 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5258 long arg7
= (long) 0 ;
5259 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5260 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5261 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
5262 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5272 bool temp6
= false ;
5277 bool temp9
= false ;
5278 PyObject
* obj0
= 0 ;
5279 PyObject
* obj1
= 0 ;
5280 PyObject
* obj2
= 0 ;
5281 PyObject
* obj3
= 0 ;
5282 PyObject
* obj4
= 0 ;
5283 PyObject
* obj5
= 0 ;
5284 PyObject
* obj6
= 0 ;
5285 PyObject
* obj7
= 0 ;
5286 PyObject
* obj8
= 0 ;
5287 char * kwnames
[] = {
5288 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5293 if (!SWIG_IsOK(res1
)) {
5294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5296 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5297 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5298 if (!SWIG_IsOK(res2
)) {
5299 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5301 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5303 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5304 if (!SWIG_IsOK(ecode3
)) {
5305 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5307 arg3
= static_cast< int >(val3
);
5312 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5318 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5323 if (! PySequence_Check(obj5
)) {
5324 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5327 arg6
= new wxArrayString
;
5329 int i
, len
=PySequence_Length(obj5
);
5330 for (i
=0; i
<len
; i
++) {
5331 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5332 wxString
* s
= wxString_in_helper(item
);
5333 if (PyErr_Occurred()) SWIG_fail
;
5341 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5342 if (!SWIG_IsOK(ecode7
)) {
5343 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5345 arg7
= static_cast< long >(val7
);
5348 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5349 if (!SWIG_IsOK(res8
)) {
5350 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5353 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5355 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5359 arg9
= wxString_in_helper(obj8
);
5360 if (arg9
== NULL
) SWIG_fail
;
5365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5366 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5367 wxPyEndAllowThreads(__tstate
);
5368 if (PyErr_Occurred()) SWIG_fail
;
5371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5374 if (temp6
) delete arg6
;
5383 if (temp6
) delete arg6
;
5393 SWIGINTERN PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5394 PyObject
*resultobj
= 0;
5395 wxChoice
*arg1
= (wxChoice
*) 0 ;
5399 PyObject
*swig_obj
[1] ;
5401 if (!args
) SWIG_fail
;
5403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5404 if (!SWIG_IsOK(res1
)) {
5405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5407 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5410 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
5411 wxPyEndAllowThreads(__tstate
);
5412 if (PyErr_Occurred()) SWIG_fail
;
5414 resultobj
= SWIG_From_int(static_cast< int >(result
));
5421 SWIGINTERN PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5422 PyObject
*resultobj
= 0;
5423 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5424 SwigValueWrapper
<wxVisualAttributes
> result
;
5427 PyObject
* obj0
= 0 ;
5428 char * kwnames
[] = {
5429 (char *) "variant", NULL
5432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5434 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5435 if (!SWIG_IsOK(ecode1
)) {
5436 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5438 arg1
= static_cast< wxWindowVariant
>(val1
);
5441 if (!wxPyCheckForApp()) SWIG_fail
;
5442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5443 result
= wxChoice::GetClassDefaultAttributes(arg1
);
5444 wxPyEndAllowThreads(__tstate
);
5445 if (PyErr_Occurred()) SWIG_fail
;
5447 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5454 SWIGINTERN PyObject
*Choice_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5456 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5457 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice
, SWIG_NewClientData(obj
));
5458 return SWIG_Py_Void();
5461 SWIGINTERN PyObject
*Choice_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5462 return SWIG_Python_InitShadowInstance(args
);
5465 SWIGINTERN
int ComboBoxNameStr_set(PyObject
*) {
5466 SWIG_Error(SWIG_AttributeError
,"Variable ComboBoxNameStr is read-only.");
5471 SWIGINTERN PyObject
*ComboBoxNameStr_get(void) {
5472 PyObject
*pyobj
= 0;
5476 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5478 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5485 SWIGINTERN PyObject
*_wrap_new_ComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5486 PyObject
*resultobj
= 0;
5487 wxWindow
*arg1
= (wxWindow
*) 0 ;
5488 int arg2
= (int) -1 ;
5489 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5490 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5491 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5492 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5493 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5494 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5495 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5496 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5497 long arg7
= (long) 0 ;
5498 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5499 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5500 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
5501 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5502 wxComboBox
*result
= 0 ;
5507 bool temp3
= false ;
5510 bool temp6
= false ;
5515 bool temp9
= false ;
5516 PyObject
* obj0
= 0 ;
5517 PyObject
* obj1
= 0 ;
5518 PyObject
* obj2
= 0 ;
5519 PyObject
* obj3
= 0 ;
5520 PyObject
* obj4
= 0 ;
5521 PyObject
* obj5
= 0 ;
5522 PyObject
* obj6
= 0 ;
5523 PyObject
* obj7
= 0 ;
5524 PyObject
* obj8
= 0 ;
5525 char * kwnames
[] = {
5526 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5531 if (!SWIG_IsOK(res1
)) {
5532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5534 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5536 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5537 if (!SWIG_IsOK(ecode2
)) {
5538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5540 arg2
= static_cast< int >(val2
);
5544 arg3
= wxString_in_helper(obj2
);
5545 if (arg3
== NULL
) SWIG_fail
;
5552 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5558 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5563 if (! PySequence_Check(obj5
)) {
5564 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5567 arg6
= new wxArrayString
;
5569 int i
, len
=PySequence_Length(obj5
);
5570 for (i
=0; i
<len
; i
++) {
5571 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5572 wxString
* s
= wxString_in_helper(item
);
5573 if (PyErr_Occurred()) SWIG_fail
;
5581 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5582 if (!SWIG_IsOK(ecode7
)) {
5583 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5585 arg7
= static_cast< long >(val7
);
5588 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5589 if (!SWIG_IsOK(res8
)) {
5590 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5593 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5595 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5599 arg9
= wxString_in_helper(obj8
);
5600 if (arg9
== NULL
) SWIG_fail
;
5605 if (!wxPyCheckForApp()) SWIG_fail
;
5606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5607 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
);
5608 wxPyEndAllowThreads(__tstate
);
5609 if (PyErr_Occurred()) SWIG_fail
;
5611 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_NEW
| 0 );
5617 if (temp6
) delete arg6
;
5630 if (temp6
) delete arg6
;
5640 SWIGINTERN PyObject
*_wrap_new_PreComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5641 PyObject
*resultobj
= 0;
5642 wxComboBox
*result
= 0 ;
5644 if (!SWIG_Python_UnpackTuple(args
,"new_PreComboBox",0,0,0)) SWIG_fail
;
5646 if (!wxPyCheckForApp()) SWIG_fail
;
5647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5648 result
= (wxComboBox
*)new wxComboBox();
5649 wxPyEndAllowThreads(__tstate
);
5650 if (PyErr_Occurred()) SWIG_fail
;
5652 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_OWN
| 0 );
5659 SWIGINTERN PyObject
*_wrap_ComboBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5660 PyObject
*resultobj
= 0;
5661 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5662 wxWindow
*arg2
= (wxWindow
*) 0 ;
5663 int arg3
= (int) -1 ;
5664 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5665 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5666 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5667 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5668 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5669 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5670 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
5671 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
5672 long arg8
= (long) 0 ;
5673 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5674 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5675 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
5676 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5684 bool temp4
= false ;
5687 bool temp7
= false ;
5692 bool temp10
= false ;
5693 PyObject
* obj0
= 0 ;
5694 PyObject
* obj1
= 0 ;
5695 PyObject
* obj2
= 0 ;
5696 PyObject
* obj3
= 0 ;
5697 PyObject
* obj4
= 0 ;
5698 PyObject
* obj5
= 0 ;
5699 PyObject
* obj6
= 0 ;
5700 PyObject
* obj7
= 0 ;
5701 PyObject
* obj8
= 0 ;
5702 PyObject
* obj9
= 0 ;
5703 char * kwnames
[] = {
5704 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
5708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5709 if (!SWIG_IsOK(res1
)) {
5710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5712 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5713 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5714 if (!SWIG_IsOK(res2
)) {
5715 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5717 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5719 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5720 if (!SWIG_IsOK(ecode3
)) {
5721 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5723 arg3
= static_cast< int >(val3
);
5727 arg4
= wxString_in_helper(obj3
);
5728 if (arg4
== NULL
) SWIG_fail
;
5735 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5741 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5746 if (! PySequence_Check(obj6
)) {
5747 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5750 arg7
= new wxArrayString
;
5752 int i
, len
=PySequence_Length(obj6
);
5753 for (i
=0; i
<len
; i
++) {
5754 PyObject
* item
= PySequence_GetItem(obj6
, i
);
5755 wxString
* s
= wxString_in_helper(item
);
5756 if (PyErr_Occurred()) SWIG_fail
;
5764 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
5765 if (!SWIG_IsOK(ecode8
)) {
5766 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5768 arg8
= static_cast< long >(val8
);
5771 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
5772 if (!SWIG_IsOK(res9
)) {
5773 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5776 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5778 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
5782 arg10
= wxString_in_helper(obj9
);
5783 if (arg10
== NULL
) SWIG_fail
;
5788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5789 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
);
5790 wxPyEndAllowThreads(__tstate
);
5791 if (PyErr_Occurred()) SWIG_fail
;
5794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5801 if (temp7
) delete arg7
;
5814 if (temp7
) delete arg7
;
5824 SWIGINTERN PyObject
*_wrap_ComboBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5825 PyObject
*resultobj
= 0;
5826 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5830 PyObject
*swig_obj
[1] ;
5832 if (!args
) SWIG_fail
;
5834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5835 if (!SWIG_IsOK(res1
)) {
5836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5838 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5841 result
= ((wxComboBox
const *)arg1
)->GetValue();
5842 wxPyEndAllowThreads(__tstate
);
5843 if (PyErr_Occurred()) SWIG_fail
;
5847 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5849 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5858 SWIGINTERN PyObject
*_wrap_ComboBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5859 PyObject
*resultobj
= 0;
5860 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5861 wxString
*arg2
= 0 ;
5864 bool temp2
= false ;
5865 PyObject
* obj0
= 0 ;
5866 PyObject
* obj1
= 0 ;
5867 char * kwnames
[] = {
5868 (char *) "self",(char *) "value", NULL
5871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5873 if (!SWIG_IsOK(res1
)) {
5874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5876 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5878 arg2
= wxString_in_helper(obj1
);
5879 if (arg2
== NULL
) SWIG_fail
;
5883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5884 (arg1
)->SetValue((wxString
const &)*arg2
);
5885 wxPyEndAllowThreads(__tstate
);
5886 if (PyErr_Occurred()) SWIG_fail
;
5888 resultobj
= SWIG_Py_Void();
5903 SWIGINTERN PyObject
*_wrap_ComboBox_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5904 PyObject
*resultobj
= 0;
5905 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5908 PyObject
*swig_obj
[1] ;
5910 if (!args
) SWIG_fail
;
5912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5913 if (!SWIG_IsOK(res1
)) {
5914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5916 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5920 wxPyEndAllowThreads(__tstate
);
5921 if (PyErr_Occurred()) SWIG_fail
;
5923 resultobj
= SWIG_Py_Void();
5930 SWIGINTERN PyObject
*_wrap_ComboBox_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5931 PyObject
*resultobj
= 0;
5932 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5935 PyObject
*swig_obj
[1] ;
5937 if (!args
) SWIG_fail
;
5939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5940 if (!SWIG_IsOK(res1
)) {
5941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5943 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5947 wxPyEndAllowThreads(__tstate
);
5948 if (PyErr_Occurred()) SWIG_fail
;
5950 resultobj
= SWIG_Py_Void();
5957 SWIGINTERN PyObject
*_wrap_ComboBox_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5958 PyObject
*resultobj
= 0;
5959 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5962 PyObject
*swig_obj
[1] ;
5964 if (!args
) SWIG_fail
;
5966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5967 if (!SWIG_IsOK(res1
)) {
5968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
5970 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5974 wxPyEndAllowThreads(__tstate
);
5975 if (PyErr_Occurred()) SWIG_fail
;
5977 resultobj
= SWIG_Py_Void();
5984 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5985 PyObject
*resultobj
= 0;
5986 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5992 PyObject
* obj0
= 0 ;
5993 PyObject
* obj1
= 0 ;
5994 char * kwnames
[] = {
5995 (char *) "self",(char *) "pos", NULL
5998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6000 if (!SWIG_IsOK(res1
)) {
6001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
6003 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6004 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6005 if (!SWIG_IsOK(ecode2
)) {
6006 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6008 arg2
= static_cast< long >(val2
);
6010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6011 (arg1
)->SetInsertionPoint(arg2
);
6012 wxPyEndAllowThreads(__tstate
);
6013 if (PyErr_Occurred()) SWIG_fail
;
6015 resultobj
= SWIG_Py_Void();
6022 SWIGINTERN PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6023 PyObject
*resultobj
= 0;
6024 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6028 PyObject
*swig_obj
[1] ;
6030 if (!args
) SWIG_fail
;
6032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6033 if (!SWIG_IsOK(res1
)) {
6034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6036 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6039 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
6040 wxPyEndAllowThreads(__tstate
);
6041 if (PyErr_Occurred()) SWIG_fail
;
6043 resultobj
= SWIG_From_long(static_cast< long >(result
));
6050 SWIGINTERN PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6051 PyObject
*resultobj
= 0;
6052 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6056 PyObject
*swig_obj
[1] ;
6058 if (!args
) SWIG_fail
;
6060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6061 if (!SWIG_IsOK(res1
)) {
6062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6064 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6067 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
6068 wxPyEndAllowThreads(__tstate
);
6069 if (PyErr_Occurred()) SWIG_fail
;
6071 resultobj
= SWIG_From_long(static_cast< long >(result
));
6078 SWIGINTERN PyObject
*_wrap_ComboBox_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6079 PyObject
*resultobj
= 0;
6080 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6083 wxString
*arg4
= 0 ;
6090 bool temp4
= false ;
6091 PyObject
* obj0
= 0 ;
6092 PyObject
* obj1
= 0 ;
6093 PyObject
* obj2
= 0 ;
6094 PyObject
* obj3
= 0 ;
6095 char * kwnames
[] = {
6096 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6101 if (!SWIG_IsOK(res1
)) {
6102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6104 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6105 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6106 if (!SWIG_IsOK(ecode2
)) {
6107 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6109 arg2
= static_cast< long >(val2
);
6110 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6111 if (!SWIG_IsOK(ecode3
)) {
6112 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6114 arg3
= static_cast< long >(val3
);
6116 arg4
= wxString_in_helper(obj3
);
6117 if (arg4
== NULL
) SWIG_fail
;
6121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6122 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6123 wxPyEndAllowThreads(__tstate
);
6124 if (PyErr_Occurred()) SWIG_fail
;
6126 resultobj
= SWIG_Py_Void();
6141 SWIGINTERN PyObject
*_wrap_ComboBox_SetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6142 PyObject
*resultobj
= 0;
6143 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6152 PyObject
* obj0
= 0 ;
6153 PyObject
* obj1
= 0 ;
6154 PyObject
* obj2
= 0 ;
6155 char * kwnames
[] = {
6156 (char *) "self",(char *) "from",(char *) "to", NULL
6159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6161 if (!SWIG_IsOK(res1
)) {
6162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6164 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6165 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6166 if (!SWIG_IsOK(ecode2
)) {
6167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6169 arg2
= static_cast< long >(val2
);
6170 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6171 if (!SWIG_IsOK(ecode3
)) {
6172 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6174 arg3
= static_cast< long >(val3
);
6176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6177 (arg1
)->SetSelection(arg2
,arg3
);
6178 wxPyEndAllowThreads(__tstate
);
6179 if (PyErr_Occurred()) SWIG_fail
;
6181 resultobj
= SWIG_Py_Void();
6188 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6189 PyObject
*resultobj
= 0;
6190 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6194 PyObject
*swig_obj
[1] ;
6196 if (!args
) SWIG_fail
;
6198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6199 if (!SWIG_IsOK(res1
)) {
6200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6202 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6205 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6206 wxPyEndAllowThreads(__tstate
);
6207 if (PyErr_Occurred()) SWIG_fail
;
6209 resultobj
= SWIG_From_int(static_cast< int >(result
));
6216 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6217 PyObject
*resultobj
= 0;
6218 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6219 wxString
*arg2
= 0 ;
6223 bool temp2
= false ;
6224 PyObject
* obj0
= 0 ;
6225 PyObject
* obj1
= 0 ;
6226 char * kwnames
[] = {
6227 (char *) "self",(char *) "string", NULL
6230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6232 if (!SWIG_IsOK(res1
)) {
6233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6235 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6237 arg2
= wxString_in_helper(obj1
);
6238 if (arg2
== NULL
) SWIG_fail
;
6242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6243 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6244 wxPyEndAllowThreads(__tstate
);
6245 if (PyErr_Occurred()) SWIG_fail
;
6248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6264 SWIGINTERN PyObject
*_wrap_ComboBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6265 PyObject
*resultobj
= 0;
6266 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6268 wxString
*arg3
= 0 ;
6273 bool temp3
= false ;
6274 PyObject
* obj0
= 0 ;
6275 PyObject
* obj1
= 0 ;
6276 PyObject
* obj2
= 0 ;
6277 char * kwnames
[] = {
6278 (char *) "self",(char *) "n",(char *) "string", NULL
6281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6283 if (!SWIG_IsOK(res1
)) {
6284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetString" "', expected argument " "1"" of type '" "wxComboBox *""'");
6286 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6287 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6288 if (!SWIG_IsOK(ecode2
)) {
6289 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetString" "', expected argument " "2"" of type '" "int""'");
6291 arg2
= static_cast< int >(val2
);
6293 arg3
= wxString_in_helper(obj2
);
6294 if (arg3
== NULL
) SWIG_fail
;
6298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6299 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
6300 wxPyEndAllowThreads(__tstate
);
6301 if (PyErr_Occurred()) SWIG_fail
;
6303 resultobj
= SWIG_Py_Void();
6318 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6319 PyObject
*resultobj
= 0;
6320 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6326 PyObject
* obj0
= 0 ;
6327 PyObject
* obj1
= 0 ;
6328 char * kwnames
[] = {
6329 (char *) "self",(char *) "editable", NULL
6332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6334 if (!SWIG_IsOK(res1
)) {
6335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6337 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6338 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6339 if (!SWIG_IsOK(ecode2
)) {
6340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6342 arg2
= static_cast< bool >(val2
);
6344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6345 (arg1
)->SetEditable(arg2
);
6346 wxPyEndAllowThreads(__tstate
);
6347 if (PyErr_Occurred()) SWIG_fail
;
6349 resultobj
= SWIG_Py_Void();
6356 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6357 PyObject
*resultobj
= 0;
6358 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6361 PyObject
*swig_obj
[1] ;
6363 if (!args
) SWIG_fail
;
6365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6366 if (!SWIG_IsOK(res1
)) {
6367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6369 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6372 (arg1
)->SetInsertionPointEnd();
6373 wxPyEndAllowThreads(__tstate
);
6374 if (PyErr_Occurred()) SWIG_fail
;
6376 resultobj
= SWIG_Py_Void();
6383 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6384 PyObject
*resultobj
= 0;
6385 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6394 PyObject
* obj0
= 0 ;
6395 PyObject
* obj1
= 0 ;
6396 PyObject
* obj2
= 0 ;
6397 char * kwnames
[] = {
6398 (char *) "self",(char *) "from",(char *) "to", NULL
6401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6403 if (!SWIG_IsOK(res1
)) {
6404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6406 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6407 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6408 if (!SWIG_IsOK(ecode2
)) {
6409 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6411 arg2
= static_cast< long >(val2
);
6412 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6413 if (!SWIG_IsOK(ecode3
)) {
6414 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6416 arg3
= static_cast< long >(val3
);
6418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6419 (arg1
)->Remove(arg2
,arg3
);
6420 wxPyEndAllowThreads(__tstate
);
6421 if (PyErr_Occurred()) SWIG_fail
;
6423 resultobj
= SWIG_Py_Void();
6430 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6431 PyObject
*resultobj
= 0;
6432 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6436 PyObject
*swig_obj
[1] ;
6438 if (!args
) SWIG_fail
;
6440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6441 if (!SWIG_IsOK(res1
)) {
6442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6444 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6447 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6448 wxPyEndAllowThreads(__tstate
);
6449 if (PyErr_Occurred()) SWIG_fail
;
6452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6460 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6461 PyObject
*resultobj
= 0;
6462 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6465 PyObject
*swig_obj
[1] ;
6467 if (!args
) SWIG_fail
;
6469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6470 if (!SWIG_IsOK(res1
)) {
6471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6473 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6477 wxPyEndAllowThreads(__tstate
);
6478 if (PyErr_Occurred()) SWIG_fail
;
6480 resultobj
= SWIG_Py_Void();
6487 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6488 PyObject
*resultobj
= 0;
6489 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6492 PyObject
*swig_obj
[1] ;
6494 if (!args
) SWIG_fail
;
6496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6497 if (!SWIG_IsOK(res1
)) {
6498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6500 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6504 wxPyEndAllowThreads(__tstate
);
6505 if (PyErr_Occurred()) SWIG_fail
;
6507 resultobj
= SWIG_Py_Void();
6514 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6515 PyObject
*resultobj
= 0;
6516 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6519 PyObject
*swig_obj
[1] ;
6521 if (!args
) SWIG_fail
;
6523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6524 if (!SWIG_IsOK(res1
)) {
6525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6527 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6530 (arg1
)->SelectAll();
6531 wxPyEndAllowThreads(__tstate
);
6532 if (PyErr_Occurred()) SWIG_fail
;
6534 resultobj
= SWIG_Py_Void();
6541 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6542 PyObject
*resultobj
= 0;
6543 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6547 PyObject
*swig_obj
[1] ;
6549 if (!args
) SWIG_fail
;
6551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6552 if (!SWIG_IsOK(res1
)) {
6553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6555 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6558 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6559 wxPyEndAllowThreads(__tstate
);
6560 if (PyErr_Occurred()) SWIG_fail
;
6563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6571 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6572 PyObject
*resultobj
= 0;
6573 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6577 PyObject
*swig_obj
[1] ;
6579 if (!args
) SWIG_fail
;
6581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6582 if (!SWIG_IsOK(res1
)) {
6583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6585 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6588 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6589 wxPyEndAllowThreads(__tstate
);
6590 if (PyErr_Occurred()) SWIG_fail
;
6593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6601 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6602 PyObject
*resultobj
= 0;
6603 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6607 PyObject
*swig_obj
[1] ;
6609 if (!args
) SWIG_fail
;
6611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6612 if (!SWIG_IsOK(res1
)) {
6613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6615 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6618 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6619 wxPyEndAllowThreads(__tstate
);
6620 if (PyErr_Occurred()) SWIG_fail
;
6623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6631 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6632 PyObject
*resultobj
= 0;
6633 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6637 PyObject
*swig_obj
[1] ;
6639 if (!args
) SWIG_fail
;
6641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6642 if (!SWIG_IsOK(res1
)) {
6643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6645 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6648 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6649 wxPyEndAllowThreads(__tstate
);
6650 if (PyErr_Occurred()) SWIG_fail
;
6653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6661 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6662 PyObject
*resultobj
= 0;
6663 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6667 PyObject
*swig_obj
[1] ;
6669 if (!args
) SWIG_fail
;
6671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6672 if (!SWIG_IsOK(res1
)) {
6673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6675 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6678 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6679 wxPyEndAllowThreads(__tstate
);
6680 if (PyErr_Occurred()) SWIG_fail
;
6683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6691 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6692 PyObject
*resultobj
= 0;
6693 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6694 SwigValueWrapper
<wxVisualAttributes
> result
;
6697 PyObject
* obj0
= 0 ;
6698 char * kwnames
[] = {
6699 (char *) "variant", NULL
6702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6704 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6705 if (!SWIG_IsOK(ecode1
)) {
6706 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6708 arg1
= static_cast< wxWindowVariant
>(val1
);
6711 if (!wxPyCheckForApp()) SWIG_fail
;
6712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6713 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6714 wxPyEndAllowThreads(__tstate
);
6715 if (PyErr_Occurred()) SWIG_fail
;
6717 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6724 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6726 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6727 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6728 return SWIG_Py_Void();
6731 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6732 return SWIG_Python_InitShadowInstance(args
);
6735 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6736 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6741 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6742 PyObject
*pyobj
= 0;
6746 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6748 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6755 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6756 PyObject
*resultobj
= 0;
6757 wxWindow
*arg1
= (wxWindow
*) 0 ;
6758 int arg2
= (int) -1 ;
6759 int arg3
= (int) 100 ;
6760 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6761 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6762 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6763 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6764 long arg6
= (long) wxGA_HORIZONTAL
;
6765 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6766 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6767 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6768 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6769 wxGauge
*result
= 0 ;
6782 bool temp8
= false ;
6783 PyObject
* obj0
= 0 ;
6784 PyObject
* obj1
= 0 ;
6785 PyObject
* obj2
= 0 ;
6786 PyObject
* obj3
= 0 ;
6787 PyObject
* obj4
= 0 ;
6788 PyObject
* obj5
= 0 ;
6789 PyObject
* obj6
= 0 ;
6790 PyObject
* obj7
= 0 ;
6791 char * kwnames
[] = {
6792 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6797 if (!SWIG_IsOK(res1
)) {
6798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6800 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6802 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6803 if (!SWIG_IsOK(ecode2
)) {
6804 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6806 arg2
= static_cast< int >(val2
);
6809 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6810 if (!SWIG_IsOK(ecode3
)) {
6811 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6813 arg3
= static_cast< int >(val3
);
6818 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6824 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6828 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6829 if (!SWIG_IsOK(ecode6
)) {
6830 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6832 arg6
= static_cast< long >(val6
);
6835 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6836 if (!SWIG_IsOK(res7
)) {
6837 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6840 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6842 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6846 arg8
= wxString_in_helper(obj7
);
6847 if (arg8
== NULL
) SWIG_fail
;
6852 if (!wxPyCheckForApp()) SWIG_fail
;
6853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6854 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6855 wxPyEndAllowThreads(__tstate
);
6856 if (PyErr_Occurred()) SWIG_fail
;
6858 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6873 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6874 PyObject
*resultobj
= 0;
6875 wxGauge
*result
= 0 ;
6877 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6879 if (!wxPyCheckForApp()) SWIG_fail
;
6880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6881 result
= (wxGauge
*)new wxGauge();
6882 wxPyEndAllowThreads(__tstate
);
6883 if (PyErr_Occurred()) SWIG_fail
;
6885 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6892 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6893 PyObject
*resultobj
= 0;
6894 wxGauge
*arg1
= (wxGauge
*) 0 ;
6895 wxWindow
*arg2
= (wxWindow
*) 0 ;
6896 int arg3
= (int) -1 ;
6897 int arg4
= (int) 100 ;
6898 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6899 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6900 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6901 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6902 long arg7
= (long) wxGA_HORIZONTAL
;
6903 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6904 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6905 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6906 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6922 bool temp9
= false ;
6923 PyObject
* obj0
= 0 ;
6924 PyObject
* obj1
= 0 ;
6925 PyObject
* obj2
= 0 ;
6926 PyObject
* obj3
= 0 ;
6927 PyObject
* obj4
= 0 ;
6928 PyObject
* obj5
= 0 ;
6929 PyObject
* obj6
= 0 ;
6930 PyObject
* obj7
= 0 ;
6931 PyObject
* obj8
= 0 ;
6932 char * kwnames
[] = {
6933 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6938 if (!SWIG_IsOK(res1
)) {
6939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6941 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6942 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6943 if (!SWIG_IsOK(res2
)) {
6944 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6946 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6948 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6949 if (!SWIG_IsOK(ecode3
)) {
6950 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6952 arg3
= static_cast< int >(val3
);
6955 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6956 if (!SWIG_IsOK(ecode4
)) {
6957 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
6959 arg4
= static_cast< int >(val4
);
6964 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6970 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6974 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6975 if (!SWIG_IsOK(ecode7
)) {
6976 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
6978 arg7
= static_cast< long >(val7
);
6981 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
6982 if (!SWIG_IsOK(res8
)) {
6983 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6986 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6988 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
6992 arg9
= wxString_in_helper(obj8
);
6993 if (arg9
== NULL
) SWIG_fail
;
6998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6999 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7000 wxPyEndAllowThreads(__tstate
);
7001 if (PyErr_Occurred()) SWIG_fail
;
7004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7020 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7021 PyObject
*resultobj
= 0;
7022 wxGauge
*arg1
= (wxGauge
*) 0 ;
7028 PyObject
* obj0
= 0 ;
7029 PyObject
* obj1
= 0 ;
7030 char * kwnames
[] = {
7031 (char *) "self",(char *) "range", NULL
7034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7036 if (!SWIG_IsOK(res1
)) {
7037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7039 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7040 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7041 if (!SWIG_IsOK(ecode2
)) {
7042 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7044 arg2
= static_cast< int >(val2
);
7046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7047 (arg1
)->SetRange(arg2
);
7048 wxPyEndAllowThreads(__tstate
);
7049 if (PyErr_Occurred()) SWIG_fail
;
7051 resultobj
= SWIG_Py_Void();
7058 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7059 PyObject
*resultobj
= 0;
7060 wxGauge
*arg1
= (wxGauge
*) 0 ;
7064 PyObject
*swig_obj
[1] ;
7066 if (!args
) SWIG_fail
;
7068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7069 if (!SWIG_IsOK(res1
)) {
7070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7072 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7075 result
= (int)((wxGauge
const *)arg1
)->GetRange();
7076 wxPyEndAllowThreads(__tstate
);
7077 if (PyErr_Occurred()) SWIG_fail
;
7079 resultobj
= SWIG_From_int(static_cast< int >(result
));
7086 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7087 PyObject
*resultobj
= 0;
7088 wxGauge
*arg1
= (wxGauge
*) 0 ;
7094 PyObject
* obj0
= 0 ;
7095 PyObject
* obj1
= 0 ;
7096 char * kwnames
[] = {
7097 (char *) "self",(char *) "pos", NULL
7100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7102 if (!SWIG_IsOK(res1
)) {
7103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7105 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7106 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7107 if (!SWIG_IsOK(ecode2
)) {
7108 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7110 arg2
= static_cast< int >(val2
);
7112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7113 (arg1
)->SetValue(arg2
);
7114 wxPyEndAllowThreads(__tstate
);
7115 if (PyErr_Occurred()) SWIG_fail
;
7117 resultobj
= SWIG_Py_Void();
7124 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7125 PyObject
*resultobj
= 0;
7126 wxGauge
*arg1
= (wxGauge
*) 0 ;
7130 PyObject
*swig_obj
[1] ;
7132 if (!args
) SWIG_fail
;
7134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7135 if (!SWIG_IsOK(res1
)) {
7136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7138 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7141 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7142 wxPyEndAllowThreads(__tstate
);
7143 if (PyErr_Occurred()) SWIG_fail
;
7145 resultobj
= SWIG_From_int(static_cast< int >(result
));
7152 SWIGINTERN PyObject
*_wrap_Gauge_Pulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7153 PyObject
*resultobj
= 0;
7154 wxGauge
*arg1
= (wxGauge
*) 0 ;
7157 PyObject
*swig_obj
[1] ;
7159 if (!args
) SWIG_fail
;
7161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7162 if (!SWIG_IsOK(res1
)) {
7163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Pulse" "', expected argument " "1"" of type '" "wxGauge *""'");
7165 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7169 wxPyEndAllowThreads(__tstate
);
7170 if (PyErr_Occurred()) SWIG_fail
;
7172 resultobj
= SWIG_Py_Void();
7179 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7180 PyObject
*resultobj
= 0;
7181 wxGauge
*arg1
= (wxGauge
*) 0 ;
7185 PyObject
*swig_obj
[1] ;
7187 if (!args
) SWIG_fail
;
7189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7190 if (!SWIG_IsOK(res1
)) {
7191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7193 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7196 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7197 wxPyEndAllowThreads(__tstate
);
7198 if (PyErr_Occurred()) SWIG_fail
;
7201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7209 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7210 PyObject
*resultobj
= 0;
7211 wxGauge
*arg1
= (wxGauge
*) 0 ;
7217 PyObject
* obj0
= 0 ;
7218 PyObject
* obj1
= 0 ;
7219 char * kwnames
[] = {
7220 (char *) "self",(char *) "w", NULL
7223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7225 if (!SWIG_IsOK(res1
)) {
7226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7228 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7229 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7230 if (!SWIG_IsOK(ecode2
)) {
7231 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7233 arg2
= static_cast< int >(val2
);
7235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7236 (arg1
)->SetShadowWidth(arg2
);
7237 wxPyEndAllowThreads(__tstate
);
7238 if (PyErr_Occurred()) SWIG_fail
;
7240 resultobj
= SWIG_Py_Void();
7247 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7248 PyObject
*resultobj
= 0;
7249 wxGauge
*arg1
= (wxGauge
*) 0 ;
7253 PyObject
*swig_obj
[1] ;
7255 if (!args
) SWIG_fail
;
7257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7258 if (!SWIG_IsOK(res1
)) {
7259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7261 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7264 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7265 wxPyEndAllowThreads(__tstate
);
7266 if (PyErr_Occurred()) SWIG_fail
;
7268 resultobj
= SWIG_From_int(static_cast< int >(result
));
7275 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7276 PyObject
*resultobj
= 0;
7277 wxGauge
*arg1
= (wxGauge
*) 0 ;
7283 PyObject
* obj0
= 0 ;
7284 PyObject
* obj1
= 0 ;
7285 char * kwnames
[] = {
7286 (char *) "self",(char *) "w", NULL
7289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7291 if (!SWIG_IsOK(res1
)) {
7292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7294 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7295 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7296 if (!SWIG_IsOK(ecode2
)) {
7297 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7299 arg2
= static_cast< int >(val2
);
7301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7302 (arg1
)->SetBezelFace(arg2
);
7303 wxPyEndAllowThreads(__tstate
);
7304 if (PyErr_Occurred()) SWIG_fail
;
7306 resultobj
= SWIG_Py_Void();
7313 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7314 PyObject
*resultobj
= 0;
7315 wxGauge
*arg1
= (wxGauge
*) 0 ;
7319 PyObject
*swig_obj
[1] ;
7321 if (!args
) SWIG_fail
;
7323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7324 if (!SWIG_IsOK(res1
)) {
7325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7327 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7330 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7331 wxPyEndAllowThreads(__tstate
);
7332 if (PyErr_Occurred()) SWIG_fail
;
7334 resultobj
= SWIG_From_int(static_cast< int >(result
));
7341 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7342 PyObject
*resultobj
= 0;
7343 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7344 SwigValueWrapper
<wxVisualAttributes
> result
;
7347 PyObject
* obj0
= 0 ;
7348 char * kwnames
[] = {
7349 (char *) "variant", NULL
7352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7354 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7355 if (!SWIG_IsOK(ecode1
)) {
7356 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7358 arg1
= static_cast< wxWindowVariant
>(val1
);
7361 if (!wxPyCheckForApp()) SWIG_fail
;
7362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7363 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7364 wxPyEndAllowThreads(__tstate
);
7365 if (PyErr_Occurred()) SWIG_fail
;
7367 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7374 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7376 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7377 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7378 return SWIG_Py_Void();
7381 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7382 return SWIG_Python_InitShadowInstance(args
);
7385 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7386 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7391 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7392 PyObject
*pyobj
= 0;
7396 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7398 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7405 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7406 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7411 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7412 PyObject
*pyobj
= 0;
7416 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7418 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7425 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7426 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7431 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7432 PyObject
*pyobj
= 0;
7436 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7438 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7445 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7446 PyObject
*resultobj
= 0;
7447 wxWindow
*arg1
= (wxWindow
*) 0 ;
7448 int arg2
= (int) -1 ;
7449 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7450 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7451 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7452 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7453 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7454 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7455 long arg6
= (long) 0 ;
7456 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7457 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7458 wxStaticBox
*result
= 0 ;
7463 bool temp3
= false ;
7468 bool temp7
= false ;
7469 PyObject
* obj0
= 0 ;
7470 PyObject
* obj1
= 0 ;
7471 PyObject
* obj2
= 0 ;
7472 PyObject
* obj3
= 0 ;
7473 PyObject
* obj4
= 0 ;
7474 PyObject
* obj5
= 0 ;
7475 PyObject
* obj6
= 0 ;
7476 char * kwnames
[] = {
7477 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7482 if (!SWIG_IsOK(res1
)) {
7483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7485 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7487 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7488 if (!SWIG_IsOK(ecode2
)) {
7489 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7491 arg2
= static_cast< int >(val2
);
7495 arg3
= wxString_in_helper(obj2
);
7496 if (arg3
== NULL
) SWIG_fail
;
7503 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7509 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7513 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7514 if (!SWIG_IsOK(ecode6
)) {
7515 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7517 arg6
= static_cast< long >(val6
);
7521 arg7
= wxString_in_helper(obj6
);
7522 if (arg7
== NULL
) SWIG_fail
;
7527 if (!wxPyCheckForApp()) SWIG_fail
;
7528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7529 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7530 wxPyEndAllowThreads(__tstate
);
7531 if (PyErr_Occurred()) SWIG_fail
;
7533 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7556 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7557 PyObject
*resultobj
= 0;
7558 wxStaticBox
*result
= 0 ;
7560 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7562 if (!wxPyCheckForApp()) SWIG_fail
;
7563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7564 result
= (wxStaticBox
*)new wxStaticBox();
7565 wxPyEndAllowThreads(__tstate
);
7566 if (PyErr_Occurred()) SWIG_fail
;
7568 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7575 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7576 PyObject
*resultobj
= 0;
7577 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7578 wxWindow
*arg2
= (wxWindow
*) 0 ;
7579 int arg3
= (int) -1 ;
7580 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7581 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7582 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7583 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7584 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7585 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7586 long arg7
= (long) 0 ;
7587 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7588 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7596 bool temp4
= false ;
7601 bool temp8
= false ;
7602 PyObject
* obj0
= 0 ;
7603 PyObject
* obj1
= 0 ;
7604 PyObject
* obj2
= 0 ;
7605 PyObject
* obj3
= 0 ;
7606 PyObject
* obj4
= 0 ;
7607 PyObject
* obj5
= 0 ;
7608 PyObject
* obj6
= 0 ;
7609 PyObject
* obj7
= 0 ;
7610 char * kwnames
[] = {
7611 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7616 if (!SWIG_IsOK(res1
)) {
7617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7619 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7620 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7621 if (!SWIG_IsOK(res2
)) {
7622 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7624 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7626 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7627 if (!SWIG_IsOK(ecode3
)) {
7628 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7630 arg3
= static_cast< int >(val3
);
7634 arg4
= wxString_in_helper(obj3
);
7635 if (arg4
== NULL
) SWIG_fail
;
7642 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7648 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7652 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7653 if (!SWIG_IsOK(ecode7
)) {
7654 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7656 arg7
= static_cast< long >(val7
);
7660 arg8
= wxString_in_helper(obj7
);
7661 if (arg8
== NULL
) SWIG_fail
;
7666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7667 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7668 wxPyEndAllowThreads(__tstate
);
7669 if (PyErr_Occurred()) SWIG_fail
;
7672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7696 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7697 PyObject
*resultobj
= 0;
7698 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7699 SwigValueWrapper
<wxVisualAttributes
> result
;
7702 PyObject
* obj0
= 0 ;
7703 char * kwnames
[] = {
7704 (char *) "variant", NULL
7707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7709 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7710 if (!SWIG_IsOK(ecode1
)) {
7711 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7713 arg1
= static_cast< wxWindowVariant
>(val1
);
7716 if (!wxPyCheckForApp()) SWIG_fail
;
7717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7718 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7719 wxPyEndAllowThreads(__tstate
);
7720 if (PyErr_Occurred()) SWIG_fail
;
7722 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7729 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7731 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7732 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7733 return SWIG_Py_Void();
7736 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7737 return SWIG_Python_InitShadowInstance(args
);
7740 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7741 PyObject
*resultobj
= 0;
7742 wxWindow
*arg1
= (wxWindow
*) 0 ;
7743 int arg2
= (int) -1 ;
7744 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7745 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7746 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7747 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7748 long arg5
= (long) wxLI_HORIZONTAL
;
7749 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
7750 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7751 wxStaticLine
*result
= 0 ;
7760 bool temp6
= false ;
7761 PyObject
* obj0
= 0 ;
7762 PyObject
* obj1
= 0 ;
7763 PyObject
* obj2
= 0 ;
7764 PyObject
* obj3
= 0 ;
7765 PyObject
* obj4
= 0 ;
7766 PyObject
* obj5
= 0 ;
7767 char * kwnames
[] = {
7768 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7773 if (!SWIG_IsOK(res1
)) {
7774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7776 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7778 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7779 if (!SWIG_IsOK(ecode2
)) {
7780 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7782 arg2
= static_cast< int >(val2
);
7787 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7793 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7797 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7798 if (!SWIG_IsOK(ecode5
)) {
7799 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7801 arg5
= static_cast< long >(val5
);
7805 arg6
= wxString_in_helper(obj5
);
7806 if (arg6
== NULL
) SWIG_fail
;
7811 if (!wxPyCheckForApp()) SWIG_fail
;
7812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7813 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7814 wxPyEndAllowThreads(__tstate
);
7815 if (PyErr_Occurred()) SWIG_fail
;
7817 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7832 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7833 PyObject
*resultobj
= 0;
7834 wxStaticLine
*result
= 0 ;
7836 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7838 if (!wxPyCheckForApp()) SWIG_fail
;
7839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7840 result
= (wxStaticLine
*)new wxStaticLine();
7841 wxPyEndAllowThreads(__tstate
);
7842 if (PyErr_Occurred()) SWIG_fail
;
7844 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7851 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7852 PyObject
*resultobj
= 0;
7853 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7854 wxWindow
*arg2
= (wxWindow
*) 0 ;
7855 int arg3
= (int) -1 ;
7856 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7857 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7858 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7859 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7860 long arg6
= (long) wxLI_HORIZONTAL
;
7861 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
7862 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7874 bool temp7
= false ;
7875 PyObject
* obj0
= 0 ;
7876 PyObject
* obj1
= 0 ;
7877 PyObject
* obj2
= 0 ;
7878 PyObject
* obj3
= 0 ;
7879 PyObject
* obj4
= 0 ;
7880 PyObject
* obj5
= 0 ;
7881 PyObject
* obj6
= 0 ;
7882 char * kwnames
[] = {
7883 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7888 if (!SWIG_IsOK(res1
)) {
7889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7891 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7892 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7893 if (!SWIG_IsOK(res2
)) {
7894 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7896 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7898 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7899 if (!SWIG_IsOK(ecode3
)) {
7900 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7902 arg3
= static_cast< int >(val3
);
7907 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7913 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7917 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7918 if (!SWIG_IsOK(ecode6
)) {
7919 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7921 arg6
= static_cast< long >(val6
);
7925 arg7
= wxString_in_helper(obj6
);
7926 if (arg7
== NULL
) SWIG_fail
;
7931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7932 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7933 wxPyEndAllowThreads(__tstate
);
7934 if (PyErr_Occurred()) SWIG_fail
;
7937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7953 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7954 PyObject
*resultobj
= 0;
7955 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7959 PyObject
*swig_obj
[1] ;
7961 if (!args
) SWIG_fail
;
7963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7964 if (!SWIG_IsOK(res1
)) {
7965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7967 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7970 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
7971 wxPyEndAllowThreads(__tstate
);
7972 if (PyErr_Occurred()) SWIG_fail
;
7975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7983 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7984 PyObject
*resultobj
= 0;
7987 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
7989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7990 result
= (int)wxStaticLine::GetDefaultSize();
7991 wxPyEndAllowThreads(__tstate
);
7992 if (PyErr_Occurred()) SWIG_fail
;
7994 resultobj
= SWIG_From_int(static_cast< int >(result
));
8001 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8002 PyObject
*resultobj
= 0;
8003 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8004 SwigValueWrapper
<wxVisualAttributes
> result
;
8007 PyObject
* obj0
= 0 ;
8008 char * kwnames
[] = {
8009 (char *) "variant", NULL
8012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8014 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8015 if (!SWIG_IsOK(ecode1
)) {
8016 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8018 arg1
= static_cast< wxWindowVariant
>(val1
);
8021 if (!wxPyCheckForApp()) SWIG_fail
;
8022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8023 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
8024 wxPyEndAllowThreads(__tstate
);
8025 if (PyErr_Occurred()) SWIG_fail
;
8027 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8034 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8036 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8037 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
8038 return SWIG_Py_Void();
8041 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8042 return SWIG_Python_InitShadowInstance(args
);
8045 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8046 PyObject
*resultobj
= 0;
8047 wxWindow
*arg1
= (wxWindow
*) 0 ;
8048 int arg2
= (int) -1 ;
8049 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8050 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8051 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8052 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8053 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8054 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8055 long arg6
= (long) 0 ;
8056 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8057 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8058 wxStaticText
*result
= 0 ;
8063 bool temp3
= false ;
8068 bool temp7
= false ;
8069 PyObject
* obj0
= 0 ;
8070 PyObject
* obj1
= 0 ;
8071 PyObject
* obj2
= 0 ;
8072 PyObject
* obj3
= 0 ;
8073 PyObject
* obj4
= 0 ;
8074 PyObject
* obj5
= 0 ;
8075 PyObject
* obj6
= 0 ;
8076 char * kwnames
[] = {
8077 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8082 if (!SWIG_IsOK(res1
)) {
8083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8085 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8087 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8088 if (!SWIG_IsOK(ecode2
)) {
8089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8091 arg2
= static_cast< int >(val2
);
8095 arg3
= wxString_in_helper(obj2
);
8096 if (arg3
== NULL
) SWIG_fail
;
8103 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8109 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8113 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8114 if (!SWIG_IsOK(ecode6
)) {
8115 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8117 arg6
= static_cast< long >(val6
);
8121 arg7
= wxString_in_helper(obj6
);
8122 if (arg7
== NULL
) SWIG_fail
;
8127 if (!wxPyCheckForApp()) SWIG_fail
;
8128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8129 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8130 wxPyEndAllowThreads(__tstate
);
8131 if (PyErr_Occurred()) SWIG_fail
;
8133 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8156 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8157 PyObject
*resultobj
= 0;
8158 wxStaticText
*result
= 0 ;
8160 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8162 if (!wxPyCheckForApp()) SWIG_fail
;
8163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8164 result
= (wxStaticText
*)new wxStaticText();
8165 wxPyEndAllowThreads(__tstate
);
8166 if (PyErr_Occurred()) SWIG_fail
;
8168 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8175 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8176 PyObject
*resultobj
= 0;
8177 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8178 wxWindow
*arg2
= (wxWindow
*) 0 ;
8179 int arg3
= (int) -1 ;
8180 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8181 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8182 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8183 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8184 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8185 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8186 long arg7
= (long) 0 ;
8187 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8188 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8196 bool temp4
= false ;
8201 bool temp8
= false ;
8202 PyObject
* obj0
= 0 ;
8203 PyObject
* obj1
= 0 ;
8204 PyObject
* obj2
= 0 ;
8205 PyObject
* obj3
= 0 ;
8206 PyObject
* obj4
= 0 ;
8207 PyObject
* obj5
= 0 ;
8208 PyObject
* obj6
= 0 ;
8209 PyObject
* obj7
= 0 ;
8210 char * kwnames
[] = {
8211 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8216 if (!SWIG_IsOK(res1
)) {
8217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8219 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8220 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8221 if (!SWIG_IsOK(res2
)) {
8222 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8224 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8226 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8227 if (!SWIG_IsOK(ecode3
)) {
8228 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8230 arg3
= static_cast< int >(val3
);
8234 arg4
= wxString_in_helper(obj3
);
8235 if (arg4
== NULL
) SWIG_fail
;
8242 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8248 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8252 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8253 if (!SWIG_IsOK(ecode7
)) {
8254 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8256 arg7
= static_cast< long >(val7
);
8260 arg8
= wxString_in_helper(obj7
);
8261 if (arg8
== NULL
) SWIG_fail
;
8266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8267 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8268 wxPyEndAllowThreads(__tstate
);
8269 if (PyErr_Occurred()) SWIG_fail
;
8272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8296 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8297 PyObject
*resultobj
= 0;
8298 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8304 PyObject
* obj0
= 0 ;
8305 PyObject
* obj1
= 0 ;
8306 char * kwnames
[] = {
8307 (char *) "self",(char *) "width", NULL
8310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8312 if (!SWIG_IsOK(res1
)) {
8313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8315 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8316 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8317 if (!SWIG_IsOK(ecode2
)) {
8318 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8320 arg2
= static_cast< int >(val2
);
8322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8324 wxPyEndAllowThreads(__tstate
);
8325 if (PyErr_Occurred()) SWIG_fail
;
8327 resultobj
= SWIG_Py_Void();
8334 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8335 PyObject
*resultobj
= 0;
8336 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8337 SwigValueWrapper
<wxVisualAttributes
> result
;
8340 PyObject
* obj0
= 0 ;
8341 char * kwnames
[] = {
8342 (char *) "variant", NULL
8345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8347 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8348 if (!SWIG_IsOK(ecode1
)) {
8349 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8351 arg1
= static_cast< wxWindowVariant
>(val1
);
8354 if (!wxPyCheckForApp()) SWIG_fail
;
8355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8356 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8357 wxPyEndAllowThreads(__tstate
);
8358 if (PyErr_Occurred()) SWIG_fail
;
8360 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8367 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8369 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8370 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8371 return SWIG_Py_Void();
8374 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8375 return SWIG_Python_InitShadowInstance(args
);
8378 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8379 PyObject
*resultobj
= 0;
8380 wxWindow
*arg1
= (wxWindow
*) 0 ;
8381 int arg2
= (int) -1 ;
8382 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8383 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8384 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8385 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8386 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8387 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8388 long arg6
= (long) 0 ;
8389 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8390 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8391 wxStaticBitmap
*result
= 0 ;
8402 bool temp7
= false ;
8403 PyObject
* obj0
= 0 ;
8404 PyObject
* obj1
= 0 ;
8405 PyObject
* obj2
= 0 ;
8406 PyObject
* obj3
= 0 ;
8407 PyObject
* obj4
= 0 ;
8408 PyObject
* obj5
= 0 ;
8409 PyObject
* obj6
= 0 ;
8410 char * kwnames
[] = {
8411 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8416 if (!SWIG_IsOK(res1
)) {
8417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8419 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8421 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8422 if (!SWIG_IsOK(ecode2
)) {
8423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8425 arg2
= static_cast< int >(val2
);
8428 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8429 if (!SWIG_IsOK(res3
)) {
8430 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8433 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8435 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8440 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8446 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8450 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8451 if (!SWIG_IsOK(ecode6
)) {
8452 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8454 arg6
= static_cast< long >(val6
);
8458 arg7
= wxString_in_helper(obj6
);
8459 if (arg7
== NULL
) SWIG_fail
;
8464 if (!wxPyCheckForApp()) SWIG_fail
;
8465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8466 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8467 wxPyEndAllowThreads(__tstate
);
8468 if (PyErr_Occurred()) SWIG_fail
;
8470 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8485 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8486 PyObject
*resultobj
= 0;
8487 wxStaticBitmap
*result
= 0 ;
8489 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8491 if (!wxPyCheckForApp()) SWIG_fail
;
8492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8493 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8494 wxPyEndAllowThreads(__tstate
);
8495 if (PyErr_Occurred()) SWIG_fail
;
8497 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8504 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8505 PyObject
*resultobj
= 0;
8506 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8507 wxWindow
*arg2
= (wxWindow
*) 0 ;
8508 int arg3
= (int) -1 ;
8509 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8510 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8511 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8512 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8513 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8514 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8515 long arg7
= (long) 0 ;
8516 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8517 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8531 bool temp8
= false ;
8532 PyObject
* obj0
= 0 ;
8533 PyObject
* obj1
= 0 ;
8534 PyObject
* obj2
= 0 ;
8535 PyObject
* obj3
= 0 ;
8536 PyObject
* obj4
= 0 ;
8537 PyObject
* obj5
= 0 ;
8538 PyObject
* obj6
= 0 ;
8539 PyObject
* obj7
= 0 ;
8540 char * kwnames
[] = {
8541 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8546 if (!SWIG_IsOK(res1
)) {
8547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8549 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8550 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8551 if (!SWIG_IsOK(res2
)) {
8552 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8554 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8556 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8557 if (!SWIG_IsOK(ecode3
)) {
8558 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8560 arg3
= static_cast< int >(val3
);
8563 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8564 if (!SWIG_IsOK(res4
)) {
8565 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8568 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8570 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8575 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8581 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8585 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8586 if (!SWIG_IsOK(ecode7
)) {
8587 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8589 arg7
= static_cast< long >(val7
);
8593 arg8
= wxString_in_helper(obj7
);
8594 if (arg8
== NULL
) SWIG_fail
;
8599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8600 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8601 wxPyEndAllowThreads(__tstate
);
8602 if (PyErr_Occurred()) SWIG_fail
;
8605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8621 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8622 PyObject
*resultobj
= 0;
8623 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8627 PyObject
*swig_obj
[1] ;
8629 if (!args
) SWIG_fail
;
8631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8632 if (!SWIG_IsOK(res1
)) {
8633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8635 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8638 result
= (arg1
)->GetBitmap();
8639 wxPyEndAllowThreads(__tstate
);
8640 if (PyErr_Occurred()) SWIG_fail
;
8642 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8649 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8650 PyObject
*resultobj
= 0;
8651 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8652 wxBitmap
*arg2
= 0 ;
8657 PyObject
* obj0
= 0 ;
8658 PyObject
* obj1
= 0 ;
8659 char * kwnames
[] = {
8660 (char *) "self",(char *) "bitmap", NULL
8663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8665 if (!SWIG_IsOK(res1
)) {
8666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8668 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8669 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8670 if (!SWIG_IsOK(res2
)) {
8671 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8674 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8676 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8679 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8680 wxPyEndAllowThreads(__tstate
);
8681 if (PyErr_Occurred()) SWIG_fail
;
8683 resultobj
= SWIG_Py_Void();
8690 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8691 PyObject
*resultobj
= 0;
8692 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8698 PyObject
* obj0
= 0 ;
8699 PyObject
* obj1
= 0 ;
8700 char * kwnames
[] = {
8701 (char *) "self",(char *) "icon", NULL
8704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8706 if (!SWIG_IsOK(res1
)) {
8707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8709 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8710 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8711 if (!SWIG_IsOK(res2
)) {
8712 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8715 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8717 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8720 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8721 wxPyEndAllowThreads(__tstate
);
8722 if (PyErr_Occurred()) SWIG_fail
;
8724 resultobj
= SWIG_Py_Void();
8731 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8732 PyObject
*resultobj
= 0;
8733 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8734 SwigValueWrapper
<wxVisualAttributes
> result
;
8737 PyObject
* obj0
= 0 ;
8738 char * kwnames
[] = {
8739 (char *) "variant", NULL
8742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8744 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8745 if (!SWIG_IsOK(ecode1
)) {
8746 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8748 arg1
= static_cast< wxWindowVariant
>(val1
);
8751 if (!wxPyCheckForApp()) SWIG_fail
;
8752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8753 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8754 wxPyEndAllowThreads(__tstate
);
8755 if (PyErr_Occurred()) SWIG_fail
;
8757 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8764 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8766 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8767 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8768 return SWIG_Py_Void();
8771 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8772 return SWIG_Python_InitShadowInstance(args
);
8775 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8776 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8781 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8782 PyObject
*pyobj
= 0;
8786 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8788 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8795 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8796 PyObject
*resultobj
= 0;
8797 wxWindow
*arg1
= (wxWindow
*) 0 ;
8798 int arg2
= (int) -1 ;
8799 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8800 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8801 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8802 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8803 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8804 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8805 long arg6
= (long) 0 ;
8806 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8807 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8808 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8809 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8810 wxListBox
*result
= 0 ;
8817 bool temp5
= false ;
8822 bool temp8
= false ;
8823 PyObject
* obj0
= 0 ;
8824 PyObject
* obj1
= 0 ;
8825 PyObject
* obj2
= 0 ;
8826 PyObject
* obj3
= 0 ;
8827 PyObject
* obj4
= 0 ;
8828 PyObject
* obj5
= 0 ;
8829 PyObject
* obj6
= 0 ;
8830 PyObject
* obj7
= 0 ;
8831 char * kwnames
[] = {
8832 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8837 if (!SWIG_IsOK(res1
)) {
8838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8840 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8842 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8843 if (!SWIG_IsOK(ecode2
)) {
8844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8846 arg2
= static_cast< int >(val2
);
8851 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8857 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8862 if (! PySequence_Check(obj4
)) {
8863 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8866 arg5
= new wxArrayString
;
8868 int i
, len
=PySequence_Length(obj4
);
8869 for (i
=0; i
<len
; i
++) {
8870 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8871 wxString
* s
= wxString_in_helper(item
);
8872 if (PyErr_Occurred()) SWIG_fail
;
8880 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8881 if (!SWIG_IsOK(ecode6
)) {
8882 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8884 arg6
= static_cast< long >(val6
);
8887 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
8888 if (!SWIG_IsOK(res7
)) {
8889 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8892 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8894 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
8898 arg8
= wxString_in_helper(obj7
);
8899 if (arg8
== NULL
) SWIG_fail
;
8904 if (!wxPyCheckForApp()) SWIG_fail
;
8905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8906 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8907 wxPyEndAllowThreads(__tstate
);
8908 if (PyErr_Occurred()) SWIG_fail
;
8910 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
8912 if (temp5
) delete arg5
;
8921 if (temp5
) delete arg5
;
8931 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8932 PyObject
*resultobj
= 0;
8933 wxListBox
*result
= 0 ;
8935 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
8937 if (!wxPyCheckForApp()) SWIG_fail
;
8938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8939 result
= (wxListBox
*)new wxListBox();
8940 wxPyEndAllowThreads(__tstate
);
8941 if (PyErr_Occurred()) SWIG_fail
;
8943 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
8950 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8951 PyObject
*resultobj
= 0;
8952 wxListBox
*arg1
= (wxListBox
*) 0 ;
8953 wxWindow
*arg2
= (wxWindow
*) 0 ;
8954 int arg3
= (int) -1 ;
8955 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8956 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8957 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8958 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8959 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8960 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8961 long arg7
= (long) 0 ;
8962 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8963 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8964 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8965 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8975 bool temp6
= false ;
8980 bool temp9
= false ;
8981 PyObject
* obj0
= 0 ;
8982 PyObject
* obj1
= 0 ;
8983 PyObject
* obj2
= 0 ;
8984 PyObject
* obj3
= 0 ;
8985 PyObject
* obj4
= 0 ;
8986 PyObject
* obj5
= 0 ;
8987 PyObject
* obj6
= 0 ;
8988 PyObject
* obj7
= 0 ;
8989 PyObject
* obj8
= 0 ;
8990 char * kwnames
[] = {
8991 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
8995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
8996 if (!SWIG_IsOK(res1
)) {
8997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
8999 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9000 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9001 if (!SWIG_IsOK(res2
)) {
9002 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9004 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9006 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9007 if (!SWIG_IsOK(ecode3
)) {
9008 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9010 arg3
= static_cast< int >(val3
);
9015 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9021 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9026 if (! PySequence_Check(obj5
)) {
9027 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9030 arg6
= new wxArrayString
;
9032 int i
, len
=PySequence_Length(obj5
);
9033 for (i
=0; i
<len
; i
++) {
9034 PyObject
* item
= PySequence_GetItem(obj5
, i
);
9035 wxString
* s
= wxString_in_helper(item
);
9036 if (PyErr_Occurred()) SWIG_fail
;
9044 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
9045 if (!SWIG_IsOK(ecode7
)) {
9046 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9048 arg7
= static_cast< long >(val7
);
9051 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
9052 if (!SWIG_IsOK(res8
)) {
9053 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9056 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9058 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9062 arg9
= wxString_in_helper(obj8
);
9063 if (arg9
== NULL
) SWIG_fail
;
9068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9069 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9070 wxPyEndAllowThreads(__tstate
);
9071 if (PyErr_Occurred()) SWIG_fail
;
9074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9077 if (temp6
) delete arg6
;
9086 if (temp6
) delete arg6
;
9096 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9097 PyObject
*resultobj
= 0;
9098 wxListBox
*arg1
= (wxListBox
*) 0 ;
9099 wxString
*arg2
= 0 ;
9101 PyObject
*arg4
= (PyObject
*) NULL
;
9104 bool temp2
= false ;
9107 PyObject
* obj0
= 0 ;
9108 PyObject
* obj1
= 0 ;
9109 PyObject
* obj2
= 0 ;
9110 PyObject
* obj3
= 0 ;
9111 char * kwnames
[] = {
9112 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9117 if (!SWIG_IsOK(res1
)) {
9118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9120 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9122 arg2
= wxString_in_helper(obj1
);
9123 if (arg2
== NULL
) SWIG_fail
;
9126 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9127 if (!SWIG_IsOK(ecode3
)) {
9128 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9130 arg3
= static_cast< int >(val3
);
9135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9136 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9137 wxPyEndAllowThreads(__tstate
);
9138 if (PyErr_Occurred()) SWIG_fail
;
9140 resultobj
= SWIG_Py_Void();
9155 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9156 PyObject
*resultobj
= 0;
9157 wxListBox
*arg1
= (wxListBox
*) 0 ;
9158 wxArrayString
*arg2
= 0 ;
9162 bool temp2
= false ;
9165 PyObject
* obj0
= 0 ;
9166 PyObject
* obj1
= 0 ;
9167 PyObject
* obj2
= 0 ;
9168 char * kwnames
[] = {
9169 (char *) "self",(char *) "items",(char *) "pos", NULL
9172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9174 if (!SWIG_IsOK(res1
)) {
9175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9177 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9179 if (! PySequence_Check(obj1
)) {
9180 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9183 arg2
= new wxArrayString
;
9185 int i
, len
=PySequence_Length(obj1
);
9186 for (i
=0; i
<len
; i
++) {
9187 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9188 wxString
* s
= wxString_in_helper(item
);
9189 if (PyErr_Occurred()) SWIG_fail
;
9195 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9196 if (!SWIG_IsOK(ecode3
)) {
9197 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9199 arg3
= static_cast< unsigned int >(val3
);
9201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9202 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9203 wxPyEndAllowThreads(__tstate
);
9204 if (PyErr_Occurred()) SWIG_fail
;
9206 resultobj
= SWIG_Py_Void();
9208 if (temp2
) delete arg2
;
9213 if (temp2
) delete arg2
;
9219 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9220 PyObject
*resultobj
= 0;
9221 wxListBox
*arg1
= (wxListBox
*) 0 ;
9222 wxArrayString
*arg2
= 0 ;
9225 bool temp2
= false ;
9226 PyObject
* obj0
= 0 ;
9227 PyObject
* obj1
= 0 ;
9228 char * kwnames
[] = {
9229 (char *) "self",(char *) "items", NULL
9232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9234 if (!SWIG_IsOK(res1
)) {
9235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9237 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9239 if (! PySequence_Check(obj1
)) {
9240 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9243 arg2
= new wxArrayString
;
9245 int i
, len
=PySequence_Length(obj1
);
9246 for (i
=0; i
<len
; i
++) {
9247 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9248 wxString
* s
= wxString_in_helper(item
);
9249 if (PyErr_Occurred()) SWIG_fail
;
9256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9257 (arg1
)->Set((wxArrayString
const &)*arg2
);
9258 wxPyEndAllowThreads(__tstate
);
9259 if (PyErr_Occurred()) SWIG_fail
;
9261 resultobj
= SWIG_Py_Void();
9263 if (temp2
) delete arg2
;
9268 if (temp2
) delete arg2
;
9274 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9275 PyObject
*resultobj
= 0;
9276 wxListBox
*arg1
= (wxListBox
*) 0 ;
9283 PyObject
* obj0
= 0 ;
9284 PyObject
* obj1
= 0 ;
9285 char * kwnames
[] = {
9286 (char *) "self",(char *) "n", NULL
9289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9291 if (!SWIG_IsOK(res1
)) {
9292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9294 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9295 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9296 if (!SWIG_IsOK(ecode2
)) {
9297 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9299 arg2
= static_cast< int >(val2
);
9301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9302 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9303 wxPyEndAllowThreads(__tstate
);
9304 if (PyErr_Occurred()) SWIG_fail
;
9307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9315 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9316 PyObject
*resultobj
= 0;
9317 wxListBox
*arg1
= (wxListBox
*) 0 ;
9319 bool arg3
= (bool) true ;
9326 PyObject
* obj0
= 0 ;
9327 PyObject
* obj1
= 0 ;
9328 PyObject
* obj2
= 0 ;
9329 char * kwnames
[] = {
9330 (char *) "self",(char *) "n",(char *) "select", NULL
9333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9335 if (!SWIG_IsOK(res1
)) {
9336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9338 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9339 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9340 if (!SWIG_IsOK(ecode2
)) {
9341 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9343 arg2
= static_cast< int >(val2
);
9345 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9346 if (!SWIG_IsOK(ecode3
)) {
9347 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9349 arg3
= static_cast< bool >(val3
);
9352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9353 (arg1
)->SetSelection(arg2
,arg3
);
9354 wxPyEndAllowThreads(__tstate
);
9355 if (PyErr_Occurred()) SWIG_fail
;
9357 resultobj
= SWIG_Py_Void();
9364 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9365 PyObject
*resultobj
= 0;
9366 wxListBox
*arg1
= (wxListBox
*) 0 ;
9372 PyObject
* obj0
= 0 ;
9373 PyObject
* obj1
= 0 ;
9374 char * kwnames
[] = {
9375 (char *) "self",(char *) "n", NULL
9378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9380 if (!SWIG_IsOK(res1
)) {
9381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9383 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9384 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9385 if (!SWIG_IsOK(ecode2
)) {
9386 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9388 arg2
= static_cast< int >(val2
);
9390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9391 (arg1
)->Select(arg2
);
9392 wxPyEndAllowThreads(__tstate
);
9393 if (PyErr_Occurred()) SWIG_fail
;
9395 resultobj
= SWIG_Py_Void();
9402 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9403 PyObject
*resultobj
= 0;
9404 wxListBox
*arg1
= (wxListBox
*) 0 ;
9410 PyObject
* obj0
= 0 ;
9411 PyObject
* obj1
= 0 ;
9412 char * kwnames
[] = {
9413 (char *) "self",(char *) "n", NULL
9416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9418 if (!SWIG_IsOK(res1
)) {
9419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9421 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9422 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9423 if (!SWIG_IsOK(ecode2
)) {
9424 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9426 arg2
= static_cast< int >(val2
);
9428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9429 (arg1
)->Deselect(arg2
);
9430 wxPyEndAllowThreads(__tstate
);
9431 if (PyErr_Occurred()) SWIG_fail
;
9433 resultobj
= SWIG_Py_Void();
9440 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9441 PyObject
*resultobj
= 0;
9442 wxListBox
*arg1
= (wxListBox
*) 0 ;
9443 int arg2
= (int) -1 ;
9448 PyObject
* obj0
= 0 ;
9449 PyObject
* obj1
= 0 ;
9450 char * kwnames
[] = {
9451 (char *) "self",(char *) "itemToLeaveSelected", NULL
9454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9456 if (!SWIG_IsOK(res1
)) {
9457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9459 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9461 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9462 if (!SWIG_IsOK(ecode2
)) {
9463 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9465 arg2
= static_cast< int >(val2
);
9468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9469 (arg1
)->DeselectAll(arg2
);
9470 wxPyEndAllowThreads(__tstate
);
9471 if (PyErr_Occurred()) SWIG_fail
;
9473 resultobj
= SWIG_Py_Void();
9480 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9481 PyObject
*resultobj
= 0;
9482 wxListBox
*arg1
= (wxListBox
*) 0 ;
9483 wxString
*arg2
= 0 ;
9484 bool arg3
= (bool) true ;
9488 bool temp2
= false ;
9491 PyObject
* obj0
= 0 ;
9492 PyObject
* obj1
= 0 ;
9493 PyObject
* obj2
= 0 ;
9494 char * kwnames
[] = {
9495 (char *) "self",(char *) "s",(char *) "select", NULL
9498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9500 if (!SWIG_IsOK(res1
)) {
9501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9503 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9505 arg2
= wxString_in_helper(obj1
);
9506 if (arg2
== NULL
) SWIG_fail
;
9510 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9511 if (!SWIG_IsOK(ecode3
)) {
9512 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9514 arg3
= static_cast< bool >(val3
);
9517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9518 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9519 wxPyEndAllowThreads(__tstate
);
9520 if (PyErr_Occurred()) SWIG_fail
;
9523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9539 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9540 PyObject
*resultobj
= 0;
9541 wxListBox
*arg1
= (wxListBox
*) 0 ;
9542 PyObject
*result
= 0 ;
9545 PyObject
*swig_obj
[1] ;
9547 if (!args
) SWIG_fail
;
9549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9550 if (!SWIG_IsOK(res1
)) {
9551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9553 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9556 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9557 wxPyEndAllowThreads(__tstate
);
9558 if (PyErr_Occurred()) SWIG_fail
;
9567 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9568 PyObject
*resultobj
= 0;
9569 wxListBox
*arg1
= (wxListBox
*) 0 ;
9575 PyObject
* obj0
= 0 ;
9576 PyObject
* obj1
= 0 ;
9577 char * kwnames
[] = {
9578 (char *) "self",(char *) "n", NULL
9581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9583 if (!SWIG_IsOK(res1
)) {
9584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9586 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9587 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9588 if (!SWIG_IsOK(ecode2
)) {
9589 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9591 arg2
= static_cast< int >(val2
);
9593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9594 (arg1
)->SetFirstItem(arg2
);
9595 wxPyEndAllowThreads(__tstate
);
9596 if (PyErr_Occurred()) SWIG_fail
;
9598 resultobj
= SWIG_Py_Void();
9605 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9606 PyObject
*resultobj
= 0;
9607 wxListBox
*arg1
= (wxListBox
*) 0 ;
9608 wxString
*arg2
= 0 ;
9611 bool temp2
= false ;
9612 PyObject
* obj0
= 0 ;
9613 PyObject
* obj1
= 0 ;
9614 char * kwnames
[] = {
9615 (char *) "self",(char *) "s", NULL
9618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9620 if (!SWIG_IsOK(res1
)) {
9621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9623 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9625 arg2
= wxString_in_helper(obj1
);
9626 if (arg2
== NULL
) SWIG_fail
;
9630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9631 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9632 wxPyEndAllowThreads(__tstate
);
9633 if (PyErr_Occurred()) SWIG_fail
;
9635 resultobj
= SWIG_Py_Void();
9650 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9651 PyObject
*resultobj
= 0;
9652 wxListBox
*arg1
= (wxListBox
*) 0 ;
9658 PyObject
* obj0
= 0 ;
9659 PyObject
* obj1
= 0 ;
9660 char * kwnames
[] = {
9661 (char *) "self",(char *) "n", NULL
9664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9666 if (!SWIG_IsOK(res1
)) {
9667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9669 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9670 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9671 if (!SWIG_IsOK(ecode2
)) {
9672 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9674 arg2
= static_cast< int >(val2
);
9676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9677 (arg1
)->EnsureVisible(arg2
);
9678 wxPyEndAllowThreads(__tstate
);
9679 if (PyErr_Occurred()) SWIG_fail
;
9681 resultobj
= SWIG_Py_Void();
9688 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9689 PyObject
*resultobj
= 0;
9690 wxListBox
*arg1
= (wxListBox
*) 0 ;
9691 wxString
*arg2
= 0 ;
9694 bool temp2
= false ;
9695 PyObject
* obj0
= 0 ;
9696 PyObject
* obj1
= 0 ;
9697 char * kwnames
[] = {
9698 (char *) "self",(char *) "s", NULL
9701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9703 if (!SWIG_IsOK(res1
)) {
9704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9706 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9708 arg2
= wxString_in_helper(obj1
);
9709 if (arg2
== NULL
) SWIG_fail
;
9713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9714 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9715 wxPyEndAllowThreads(__tstate
);
9716 if (PyErr_Occurred()) SWIG_fail
;
9718 resultobj
= SWIG_Py_Void();
9733 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9734 PyObject
*resultobj
= 0;
9735 wxListBox
*arg1
= (wxListBox
*) 0 ;
9739 PyObject
*swig_obj
[1] ;
9741 if (!args
) SWIG_fail
;
9743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9744 if (!SWIG_IsOK(res1
)) {
9745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9747 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9750 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9751 wxPyEndAllowThreads(__tstate
);
9752 if (PyErr_Occurred()) SWIG_fail
;
9755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9763 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9764 PyObject
*resultobj
= 0;
9765 wxListBox
*arg1
= (wxListBox
*) 0 ;
9771 PyObject
* obj0
= 0 ;
9772 PyObject
* obj1
= 0 ;
9773 char * kwnames
[] = {
9774 (char *) "self",(char *) "pt", NULL
9777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9779 if (!SWIG_IsOK(res1
)) {
9780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9782 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9785 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9789 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9790 wxPyEndAllowThreads(__tstate
);
9791 if (PyErr_Occurred()) SWIG_fail
;
9793 resultobj
= SWIG_From_int(static_cast< int >(result
));
9800 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9801 PyObject
*resultobj
= 0;
9802 wxListBox
*arg1
= (wxListBox
*) 0 ;
9804 wxColour
*arg3
= 0 ;
9810 PyObject
* obj0
= 0 ;
9811 PyObject
* obj1
= 0 ;
9812 PyObject
* obj2
= 0 ;
9813 char * kwnames
[] = {
9814 (char *) "self",(char *) "item",(char *) "c", NULL
9817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9819 if (!SWIG_IsOK(res1
)) {
9820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9822 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9823 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9824 if (!SWIG_IsOK(ecode2
)) {
9825 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9827 arg2
= static_cast< int >(val2
);
9830 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9834 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9835 wxPyEndAllowThreads(__tstate
);
9836 if (PyErr_Occurred()) SWIG_fail
;
9838 resultobj
= SWIG_Py_Void();
9845 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9846 PyObject
*resultobj
= 0;
9847 wxListBox
*arg1
= (wxListBox
*) 0 ;
9849 wxColour
*arg3
= 0 ;
9855 PyObject
* obj0
= 0 ;
9856 PyObject
* obj1
= 0 ;
9857 PyObject
* obj2
= 0 ;
9858 char * kwnames
[] = {
9859 (char *) "self",(char *) "item",(char *) "c", NULL
9862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9864 if (!SWIG_IsOK(res1
)) {
9865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9867 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9868 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9869 if (!SWIG_IsOK(ecode2
)) {
9870 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9872 arg2
= static_cast< int >(val2
);
9875 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9879 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9880 wxPyEndAllowThreads(__tstate
);
9881 if (PyErr_Occurred()) SWIG_fail
;
9883 resultobj
= SWIG_Py_Void();
9890 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9891 PyObject
*resultobj
= 0;
9892 wxListBox
*arg1
= (wxListBox
*) 0 ;
9901 PyObject
* obj0
= 0 ;
9902 PyObject
* obj1
= 0 ;
9903 PyObject
* obj2
= 0 ;
9904 char * kwnames
[] = {
9905 (char *) "self",(char *) "item",(char *) "f", NULL
9908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9910 if (!SWIG_IsOK(res1
)) {
9911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9913 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9914 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9915 if (!SWIG_IsOK(ecode2
)) {
9916 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9918 arg2
= static_cast< int >(val2
);
9919 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
9920 if (!SWIG_IsOK(res3
)) {
9921 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9924 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9926 arg3
= reinterpret_cast< wxFont
* >(argp3
);
9928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9929 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
9930 wxPyEndAllowThreads(__tstate
);
9931 if (PyErr_Occurred()) SWIG_fail
;
9933 resultobj
= SWIG_Py_Void();
9940 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9941 PyObject
*resultobj
= 0;
9942 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9943 SwigValueWrapper
<wxVisualAttributes
> result
;
9946 PyObject
* obj0
= 0 ;
9947 char * kwnames
[] = {
9948 (char *) "variant", NULL
9951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9953 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9954 if (!SWIG_IsOK(ecode1
)) {
9955 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9957 arg1
= static_cast< wxWindowVariant
>(val1
);
9960 if (!wxPyCheckForApp()) SWIG_fail
;
9961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9962 result
= wxListBox::GetClassDefaultAttributes(arg1
);
9963 wxPyEndAllowThreads(__tstate
);
9964 if (PyErr_Occurred()) SWIG_fail
;
9966 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9973 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9975 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9976 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
9977 return SWIG_Py_Void();
9980 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9981 return SWIG_Python_InitShadowInstance(args
);
9984 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9985 PyObject
*resultobj
= 0;
9986 wxWindow
*arg1
= (wxWindow
*) 0 ;
9987 int arg2
= (int) -1 ;
9988 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9989 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9990 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9991 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9992 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
9993 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
9994 long arg6
= (long) 0 ;
9995 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9996 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9997 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
9998 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9999 wxCheckListBox
*result
= 0 ;
10006 bool temp5
= false ;
10011 bool temp8
= false ;
10012 PyObject
* obj0
= 0 ;
10013 PyObject
* obj1
= 0 ;
10014 PyObject
* obj2
= 0 ;
10015 PyObject
* obj3
= 0 ;
10016 PyObject
* obj4
= 0 ;
10017 PyObject
* obj5
= 0 ;
10018 PyObject
* obj6
= 0 ;
10019 PyObject
* obj7
= 0 ;
10020 char * kwnames
[] = {
10021 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
10025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10026 if (!SWIG_IsOK(res1
)) {
10027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10029 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10031 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10032 if (!SWIG_IsOK(ecode2
)) {
10033 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10035 arg2
= static_cast< int >(val2
);
10040 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10046 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10051 if (! PySequence_Check(obj4
)) {
10052 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10055 arg5
= new wxArrayString
;
10057 int i
, len
=PySequence_Length(obj4
);
10058 for (i
=0; i
<len
; i
++) {
10059 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10060 wxString
* s
= wxString_in_helper(item
);
10061 if (PyErr_Occurred()) SWIG_fail
;
10069 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10070 if (!SWIG_IsOK(ecode6
)) {
10071 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10073 arg6
= static_cast< long >(val6
);
10076 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10077 if (!SWIG_IsOK(res7
)) {
10078 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10081 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10083 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10087 arg8
= wxString_in_helper(obj7
);
10088 if (arg8
== NULL
) SWIG_fail
;
10093 if (!wxPyCheckForApp()) SWIG_fail
;
10094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10095 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10096 wxPyEndAllowThreads(__tstate
);
10097 if (PyErr_Occurred()) SWIG_fail
;
10099 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10101 if (temp5
) delete arg5
;
10110 if (temp5
) delete arg5
;
10120 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10121 PyObject
*resultobj
= 0;
10122 wxCheckListBox
*result
= 0 ;
10124 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10126 if (!wxPyCheckForApp()) SWIG_fail
;
10127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10128 result
= (wxCheckListBox
*)new wxCheckListBox();
10129 wxPyEndAllowThreads(__tstate
);
10130 if (PyErr_Occurred()) SWIG_fail
;
10132 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10139 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10140 PyObject
*resultobj
= 0;
10141 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10142 wxWindow
*arg2
= (wxWindow
*) 0 ;
10143 int arg3
= (int) -1 ;
10144 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10145 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10146 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10147 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10148 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10149 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10150 long arg7
= (long) 0 ;
10151 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10152 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10153 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10154 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10164 bool temp6
= false ;
10169 bool temp9
= false ;
10170 PyObject
* obj0
= 0 ;
10171 PyObject
* obj1
= 0 ;
10172 PyObject
* obj2
= 0 ;
10173 PyObject
* obj3
= 0 ;
10174 PyObject
* obj4
= 0 ;
10175 PyObject
* obj5
= 0 ;
10176 PyObject
* obj6
= 0 ;
10177 PyObject
* obj7
= 0 ;
10178 PyObject
* obj8
= 0 ;
10179 char * kwnames
[] = {
10180 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10185 if (!SWIG_IsOK(res1
)) {
10186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10188 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10189 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10190 if (!SWIG_IsOK(res2
)) {
10191 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10193 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10195 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10196 if (!SWIG_IsOK(ecode3
)) {
10197 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10199 arg3
= static_cast< int >(val3
);
10204 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10210 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10215 if (! PySequence_Check(obj5
)) {
10216 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10219 arg6
= new wxArrayString
;
10221 int i
, len
=PySequence_Length(obj5
);
10222 for (i
=0; i
<len
; i
++) {
10223 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10224 wxString
* s
= wxString_in_helper(item
);
10225 if (PyErr_Occurred()) SWIG_fail
;
10233 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10234 if (!SWIG_IsOK(ecode7
)) {
10235 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10237 arg7
= static_cast< long >(val7
);
10240 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10241 if (!SWIG_IsOK(res8
)) {
10242 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10245 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10247 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10251 arg9
= wxString_in_helper(obj8
);
10252 if (arg9
== NULL
) SWIG_fail
;
10257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10258 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10259 wxPyEndAllowThreads(__tstate
);
10260 if (PyErr_Occurred()) SWIG_fail
;
10263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10266 if (temp6
) delete arg6
;
10275 if (temp6
) delete arg6
;
10285 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10286 PyObject
*resultobj
= 0;
10287 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10288 unsigned int arg2
;
10292 unsigned int val2
;
10294 PyObject
* obj0
= 0 ;
10295 PyObject
* obj1
= 0 ;
10296 char * kwnames
[] = {
10297 (char *) "self",(char *) "index", NULL
10300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10302 if (!SWIG_IsOK(res1
)) {
10303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10305 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10306 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10307 if (!SWIG_IsOK(ecode2
)) {
10308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10310 arg2
= static_cast< unsigned int >(val2
);
10312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10313 result
= (bool)(arg1
)->IsChecked(arg2
);
10314 wxPyEndAllowThreads(__tstate
);
10315 if (PyErr_Occurred()) SWIG_fail
;
10318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10326 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10327 PyObject
*resultobj
= 0;
10328 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10329 unsigned int arg2
;
10330 int arg3
= (int) true ;
10333 unsigned int val2
;
10337 PyObject
* obj0
= 0 ;
10338 PyObject
* obj1
= 0 ;
10339 PyObject
* obj2
= 0 ;
10340 char * kwnames
[] = {
10341 (char *) "self",(char *) "index",(char *) "check", NULL
10344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10346 if (!SWIG_IsOK(res1
)) {
10347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10349 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10350 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10351 if (!SWIG_IsOK(ecode2
)) {
10352 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10354 arg2
= static_cast< unsigned int >(val2
);
10356 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10357 if (!SWIG_IsOK(ecode3
)) {
10358 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10360 arg3
= static_cast< int >(val3
);
10363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10364 (arg1
)->Check(arg2
,arg3
);
10365 wxPyEndAllowThreads(__tstate
);
10366 if (PyErr_Occurred()) SWIG_fail
;
10368 resultobj
= SWIG_Py_Void();
10375 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10377 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10378 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10379 return SWIG_Py_Void();
10382 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10383 return SWIG_Python_InitShadowInstance(args
);
10386 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10387 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10392 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10393 PyObject
*pyobj
= 0;
10397 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10399 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10406 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10407 PyObject
*resultobj
= 0;
10408 wxColour
const &arg1_defvalue
= wxNullColour
;
10409 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10410 wxColour
const &arg2_defvalue
= wxNullColour
;
10411 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10412 wxFont
const &arg3_defvalue
= wxNullFont
;
10413 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10414 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10415 wxTextAttr
*result
= 0 ;
10422 PyObject
* obj0
= 0 ;
10423 PyObject
* obj1
= 0 ;
10424 PyObject
* obj2
= 0 ;
10425 PyObject
* obj3
= 0 ;
10426 char * kwnames
[] = {
10427 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10434 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10440 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10444 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10445 if (!SWIG_IsOK(res3
)) {
10446 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10449 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10451 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10454 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10455 if (!SWIG_IsOK(ecode4
)) {
10456 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10458 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10462 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10463 wxPyEndAllowThreads(__tstate
);
10464 if (PyErr_Occurred()) SWIG_fail
;
10466 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10473 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10474 PyObject
*resultobj
= 0;
10475 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10478 PyObject
*swig_obj
[1] ;
10480 if (!args
) SWIG_fail
;
10481 swig_obj
[0] = args
;
10482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10483 if (!SWIG_IsOK(res1
)) {
10484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10486 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10491 wxPyEndAllowThreads(__tstate
);
10492 if (PyErr_Occurred()) SWIG_fail
;
10494 resultobj
= SWIG_Py_Void();
10501 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10502 PyObject
*resultobj
= 0;
10503 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10506 PyObject
*swig_obj
[1] ;
10508 if (!args
) SWIG_fail
;
10509 swig_obj
[0] = args
;
10510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10511 if (!SWIG_IsOK(res1
)) {
10512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10514 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10518 wxPyEndAllowThreads(__tstate
);
10519 if (PyErr_Occurred()) SWIG_fail
;
10521 resultobj
= SWIG_Py_Void();
10528 SWIGINTERN PyObject
*_wrap_TextAttr_Merge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10529 PyObject
*resultobj
= 0;
10530 wxTextAttr
*arg1
= 0 ;
10531 wxTextAttr
*arg2
= 0 ;
10537 PyObject
* obj0
= 0 ;
10538 PyObject
* obj1
= 0 ;
10539 char * kwnames
[] = {
10540 (char *) "base",(char *) "overlay", NULL
10543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_Merge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10544 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10545 if (!SWIG_IsOK(res1
)) {
10546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10549 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10551 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10552 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10553 if (!SWIG_IsOK(res2
)) {
10554 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10557 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10559 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
10561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10562 result
= wxTextAttr::Merge((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
);
10563 wxPyEndAllowThreads(__tstate
);
10564 if (PyErr_Occurred()) SWIG_fail
;
10566 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
10573 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10574 PyObject
*resultobj
= 0;
10575 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10576 wxColour
*arg2
= 0 ;
10580 PyObject
* obj0
= 0 ;
10581 PyObject
* obj1
= 0 ;
10582 char * kwnames
[] = {
10583 (char *) "self",(char *) "colText", NULL
10586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10588 if (!SWIG_IsOK(res1
)) {
10589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10591 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10594 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10598 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10599 wxPyEndAllowThreads(__tstate
);
10600 if (PyErr_Occurred()) SWIG_fail
;
10602 resultobj
= SWIG_Py_Void();
10609 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10610 PyObject
*resultobj
= 0;
10611 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10612 wxColour
*arg2
= 0 ;
10616 PyObject
* obj0
= 0 ;
10617 PyObject
* obj1
= 0 ;
10618 char * kwnames
[] = {
10619 (char *) "self",(char *) "colBack", NULL
10622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10624 if (!SWIG_IsOK(res1
)) {
10625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10627 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10630 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10634 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10635 wxPyEndAllowThreads(__tstate
);
10636 if (PyErr_Occurred()) SWIG_fail
;
10638 resultobj
= SWIG_Py_Void();
10645 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10646 PyObject
*resultobj
= 0;
10647 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10649 long arg3
= (long) wxTEXT_ATTR_FONT
;
10656 PyObject
* obj0
= 0 ;
10657 PyObject
* obj1
= 0 ;
10658 PyObject
* obj2
= 0 ;
10659 char * kwnames
[] = {
10660 (char *) "self",(char *) "font",(char *) "flags", NULL
10663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10665 if (!SWIG_IsOK(res1
)) {
10666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10668 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10669 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10670 if (!SWIG_IsOK(res2
)) {
10671 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10674 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10676 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10678 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10679 if (!SWIG_IsOK(ecode3
)) {
10680 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10682 arg3
= static_cast< long >(val3
);
10685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10686 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10687 wxPyEndAllowThreads(__tstate
);
10688 if (PyErr_Occurred()) SWIG_fail
;
10690 resultobj
= SWIG_Py_Void();
10697 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10698 PyObject
*resultobj
= 0;
10699 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10700 wxTextAttrAlignment arg2
;
10705 PyObject
* obj0
= 0 ;
10706 PyObject
* obj1
= 0 ;
10707 char * kwnames
[] = {
10708 (char *) "self",(char *) "alignment", NULL
10711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10713 if (!SWIG_IsOK(res1
)) {
10714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10716 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10717 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10718 if (!SWIG_IsOK(ecode2
)) {
10719 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10721 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10724 (arg1
)->SetAlignment(arg2
);
10725 wxPyEndAllowThreads(__tstate
);
10726 if (PyErr_Occurred()) SWIG_fail
;
10728 resultobj
= SWIG_Py_Void();
10735 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10736 PyObject
*resultobj
= 0;
10737 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10738 wxArrayInt
*arg2
= 0 ;
10741 bool temp2
= false ;
10742 PyObject
* obj0
= 0 ;
10743 PyObject
* obj1
= 0 ;
10744 char * kwnames
[] = {
10745 (char *) "self",(char *) "tabs", NULL
10748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10750 if (!SWIG_IsOK(res1
)) {
10751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10753 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10755 if (! PySequence_Check(obj1
)) {
10756 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10759 arg2
= new wxArrayInt
;
10761 int i
, len
=PySequence_Length(obj1
);
10762 for (i
=0; i
<len
; i
++) {
10763 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10764 PyObject
* number
= PyNumber_Int(item
);
10766 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10769 arg2
->Add(PyInt_AS_LONG(number
));
10775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10776 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10777 wxPyEndAllowThreads(__tstate
);
10778 if (PyErr_Occurred()) SWIG_fail
;
10780 resultobj
= SWIG_Py_Void();
10782 if (temp2
) delete arg2
;
10787 if (temp2
) delete arg2
;
10793 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10794 PyObject
*resultobj
= 0;
10795 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10797 int arg3
= (int) 0 ;
10804 PyObject
* obj0
= 0 ;
10805 PyObject
* obj1
= 0 ;
10806 PyObject
* obj2
= 0 ;
10807 char * kwnames
[] = {
10808 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10813 if (!SWIG_IsOK(res1
)) {
10814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10816 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10817 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10818 if (!SWIG_IsOK(ecode2
)) {
10819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10821 arg2
= static_cast< int >(val2
);
10823 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10824 if (!SWIG_IsOK(ecode3
)) {
10825 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10827 arg3
= static_cast< int >(val3
);
10830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10831 (arg1
)->SetLeftIndent(arg2
,arg3
);
10832 wxPyEndAllowThreads(__tstate
);
10833 if (PyErr_Occurred()) SWIG_fail
;
10835 resultobj
= SWIG_Py_Void();
10842 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10843 PyObject
*resultobj
= 0;
10844 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10850 PyObject
* obj0
= 0 ;
10851 PyObject
* obj1
= 0 ;
10852 char * kwnames
[] = {
10853 (char *) "self",(char *) "indent", NULL
10856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10858 if (!SWIG_IsOK(res1
)) {
10859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10861 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10862 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10863 if (!SWIG_IsOK(ecode2
)) {
10864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10866 arg2
= static_cast< int >(val2
);
10868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10869 (arg1
)->SetRightIndent(arg2
);
10870 wxPyEndAllowThreads(__tstate
);
10871 if (PyErr_Occurred()) SWIG_fail
;
10873 resultobj
= SWIG_Py_Void();
10880 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10881 PyObject
*resultobj
= 0;
10882 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10888 PyObject
* obj0
= 0 ;
10889 PyObject
* obj1
= 0 ;
10890 char * kwnames
[] = {
10891 (char *) "self",(char *) "flags", NULL
10894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10896 if (!SWIG_IsOK(res1
)) {
10897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10899 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10900 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10901 if (!SWIG_IsOK(ecode2
)) {
10902 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10904 arg2
= static_cast< long >(val2
);
10906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10907 (arg1
)->SetFlags(arg2
);
10908 wxPyEndAllowThreads(__tstate
);
10909 if (PyErr_Occurred()) SWIG_fail
;
10911 resultobj
= SWIG_Py_Void();
10918 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10919 PyObject
*resultobj
= 0;
10920 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10924 PyObject
*swig_obj
[1] ;
10926 if (!args
) SWIG_fail
;
10927 swig_obj
[0] = args
;
10928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10929 if (!SWIG_IsOK(res1
)) {
10930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10932 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10935 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
10936 wxPyEndAllowThreads(__tstate
);
10937 if (PyErr_Occurred()) SWIG_fail
;
10940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10948 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10949 PyObject
*resultobj
= 0;
10950 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10954 PyObject
*swig_obj
[1] ;
10956 if (!args
) SWIG_fail
;
10957 swig_obj
[0] = args
;
10958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10959 if (!SWIG_IsOK(res1
)) {
10960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10962 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10965 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
10966 wxPyEndAllowThreads(__tstate
);
10967 if (PyErr_Occurred()) SWIG_fail
;
10970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10978 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10979 PyObject
*resultobj
= 0;
10980 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10984 PyObject
*swig_obj
[1] ;
10986 if (!args
) SWIG_fail
;
10987 swig_obj
[0] = args
;
10988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10989 if (!SWIG_IsOK(res1
)) {
10990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10992 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10995 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
10996 wxPyEndAllowThreads(__tstate
);
10997 if (PyErr_Occurred()) SWIG_fail
;
11000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11008 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11009 PyObject
*resultobj
= 0;
11010 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11014 PyObject
*swig_obj
[1] ;
11016 if (!args
) SWIG_fail
;
11017 swig_obj
[0] = args
;
11018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11019 if (!SWIG_IsOK(res1
)) {
11020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11022 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11025 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
11026 wxPyEndAllowThreads(__tstate
);
11027 if (PyErr_Occurred()) SWIG_fail
;
11030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11038 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11039 PyObject
*resultobj
= 0;
11040 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11044 PyObject
*swig_obj
[1] ;
11046 if (!args
) SWIG_fail
;
11047 swig_obj
[0] = args
;
11048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11049 if (!SWIG_IsOK(res1
)) {
11050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11052 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11055 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
11056 wxPyEndAllowThreads(__tstate
);
11057 if (PyErr_Occurred()) SWIG_fail
;
11060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11068 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11069 PyObject
*resultobj
= 0;
11070 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11074 PyObject
*swig_obj
[1] ;
11076 if (!args
) SWIG_fail
;
11077 swig_obj
[0] = args
;
11078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11079 if (!SWIG_IsOK(res1
)) {
11080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11082 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11085 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11086 wxPyEndAllowThreads(__tstate
);
11087 if (PyErr_Occurred()) SWIG_fail
;
11090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11098 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11099 PyObject
*resultobj
= 0;
11100 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11104 PyObject
*swig_obj
[1] ;
11106 if (!args
) SWIG_fail
;
11107 swig_obj
[0] = args
;
11108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11109 if (!SWIG_IsOK(res1
)) {
11110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11112 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11115 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11116 wxPyEndAllowThreads(__tstate
);
11117 if (PyErr_Occurred()) SWIG_fail
;
11120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11128 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11129 PyObject
*resultobj
= 0;
11130 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11137 PyObject
* obj0
= 0 ;
11138 PyObject
* obj1
= 0 ;
11139 char * kwnames
[] = {
11140 (char *) "self",(char *) "flag", NULL
11143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11145 if (!SWIG_IsOK(res1
)) {
11146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11148 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11149 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11150 if (!SWIG_IsOK(ecode2
)) {
11151 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11153 arg2
= static_cast< long >(val2
);
11155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11156 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11157 wxPyEndAllowThreads(__tstate
);
11158 if (PyErr_Occurred()) SWIG_fail
;
11161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11169 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11170 PyObject
*resultobj
= 0;
11171 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11172 wxColour
*result
= 0 ;
11175 PyObject
*swig_obj
[1] ;
11177 if (!args
) SWIG_fail
;
11178 swig_obj
[0] = args
;
11179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11180 if (!SWIG_IsOK(res1
)) {
11181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11183 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11187 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11188 result
= (wxColour
*) &_result_ref
;
11190 wxPyEndAllowThreads(__tstate
);
11191 if (PyErr_Occurred()) SWIG_fail
;
11193 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11200 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11201 PyObject
*resultobj
= 0;
11202 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11203 wxColour
*result
= 0 ;
11206 PyObject
*swig_obj
[1] ;
11208 if (!args
) SWIG_fail
;
11209 swig_obj
[0] = args
;
11210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11211 if (!SWIG_IsOK(res1
)) {
11212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11214 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11218 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11219 result
= (wxColour
*) &_result_ref
;
11221 wxPyEndAllowThreads(__tstate
);
11222 if (PyErr_Occurred()) SWIG_fail
;
11224 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11231 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11232 PyObject
*resultobj
= 0;
11233 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11234 wxFont
*result
= 0 ;
11237 PyObject
*swig_obj
[1] ;
11239 if (!args
) SWIG_fail
;
11240 swig_obj
[0] = args
;
11241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11242 if (!SWIG_IsOK(res1
)) {
11243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11245 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11249 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11250 result
= (wxFont
*) &_result_ref
;
11252 wxPyEndAllowThreads(__tstate
);
11253 if (PyErr_Occurred()) SWIG_fail
;
11256 wxFont
* resultptr
= new wxFont(*result
);
11257 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11265 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11266 PyObject
*resultobj
= 0;
11267 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11268 wxTextAttrAlignment result
;
11271 PyObject
*swig_obj
[1] ;
11273 if (!args
) SWIG_fail
;
11274 swig_obj
[0] = args
;
11275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11276 if (!SWIG_IsOK(res1
)) {
11277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11279 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11282 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11283 wxPyEndAllowThreads(__tstate
);
11284 if (PyErr_Occurred()) SWIG_fail
;
11286 resultobj
= SWIG_From_int(static_cast< int >(result
));
11293 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11294 PyObject
*resultobj
= 0;
11295 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11296 wxArrayInt
*result
= 0 ;
11299 PyObject
*swig_obj
[1] ;
11301 if (!args
) SWIG_fail
;
11302 swig_obj
[0] = args
;
11303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11304 if (!SWIG_IsOK(res1
)) {
11305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11307 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11311 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11312 result
= (wxArrayInt
*) &_result_ref
;
11314 wxPyEndAllowThreads(__tstate
);
11315 if (PyErr_Occurred()) SWIG_fail
;
11318 resultobj
= wxArrayInt2PyList_helper(*result
);
11326 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11327 PyObject
*resultobj
= 0;
11328 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11332 PyObject
*swig_obj
[1] ;
11334 if (!args
) SWIG_fail
;
11335 swig_obj
[0] = args
;
11336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11337 if (!SWIG_IsOK(res1
)) {
11338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11340 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11343 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11344 wxPyEndAllowThreads(__tstate
);
11345 if (PyErr_Occurred()) SWIG_fail
;
11347 resultobj
= SWIG_From_long(static_cast< long >(result
));
11354 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11355 PyObject
*resultobj
= 0;
11356 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11360 PyObject
*swig_obj
[1] ;
11362 if (!args
) SWIG_fail
;
11363 swig_obj
[0] = args
;
11364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11365 if (!SWIG_IsOK(res1
)) {
11366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11368 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11371 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11372 wxPyEndAllowThreads(__tstate
);
11373 if (PyErr_Occurred()) SWIG_fail
;
11375 resultobj
= SWIG_From_long(static_cast< long >(result
));
11382 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11383 PyObject
*resultobj
= 0;
11384 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11388 PyObject
*swig_obj
[1] ;
11390 if (!args
) SWIG_fail
;
11391 swig_obj
[0] = args
;
11392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11393 if (!SWIG_IsOK(res1
)) {
11394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11396 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11399 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11400 wxPyEndAllowThreads(__tstate
);
11401 if (PyErr_Occurred()) SWIG_fail
;
11403 resultobj
= SWIG_From_long(static_cast< long >(result
));
11410 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11411 PyObject
*resultobj
= 0;
11412 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11416 PyObject
*swig_obj
[1] ;
11418 if (!args
) SWIG_fail
;
11419 swig_obj
[0] = args
;
11420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11421 if (!SWIG_IsOK(res1
)) {
11422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11424 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11427 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11428 wxPyEndAllowThreads(__tstate
);
11429 if (PyErr_Occurred()) SWIG_fail
;
11431 resultobj
= SWIG_From_long(static_cast< long >(result
));
11438 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11439 PyObject
*resultobj
= 0;
11440 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11444 PyObject
*swig_obj
[1] ;
11446 if (!args
) SWIG_fail
;
11447 swig_obj
[0] = args
;
11448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11449 if (!SWIG_IsOK(res1
)) {
11450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11452 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11455 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11456 wxPyEndAllowThreads(__tstate
);
11457 if (PyErr_Occurred()) SWIG_fail
;
11460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11468 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11469 PyObject
*resultobj
= 0;
11470 wxTextAttr
*arg1
= 0 ;
11471 wxTextAttr
*arg2
= 0 ;
11472 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11480 PyObject
* obj0
= 0 ;
11481 PyObject
* obj1
= 0 ;
11482 PyObject
* obj2
= 0 ;
11483 char * kwnames
[] = {
11484 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11488 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11489 if (!SWIG_IsOK(res1
)) {
11490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11493 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11495 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11496 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11497 if (!SWIG_IsOK(res2
)) {
11498 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11501 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11503 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11504 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11505 if (!SWIG_IsOK(res3
)) {
11506 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11508 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11511 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11512 wxPyEndAllowThreads(__tstate
);
11513 if (PyErr_Occurred()) SWIG_fail
;
11515 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11522 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11524 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11525 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11526 return SWIG_Py_Void();
11529 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11530 return SWIG_Python_InitShadowInstance(args
);
11533 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11534 PyObject
*resultobj
= 0;
11535 wxWindow
*arg1
= (wxWindow
*) 0 ;
11536 int arg2
= (int) -1 ;
11537 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11538 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11539 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11540 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11541 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11542 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11543 long arg6
= (long) 0 ;
11544 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11545 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11546 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11547 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11548 wxTextCtrl
*result
= 0 ;
11553 bool temp3
= false ;
11560 bool temp8
= false ;
11561 PyObject
* obj0
= 0 ;
11562 PyObject
* obj1
= 0 ;
11563 PyObject
* obj2
= 0 ;
11564 PyObject
* obj3
= 0 ;
11565 PyObject
* obj4
= 0 ;
11566 PyObject
* obj5
= 0 ;
11567 PyObject
* obj6
= 0 ;
11568 PyObject
* obj7
= 0 ;
11569 char * kwnames
[] = {
11570 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11575 if (!SWIG_IsOK(res1
)) {
11576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11578 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11580 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11581 if (!SWIG_IsOK(ecode2
)) {
11582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11584 arg2
= static_cast< int >(val2
);
11588 arg3
= wxString_in_helper(obj2
);
11589 if (arg3
== NULL
) SWIG_fail
;
11596 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11602 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11606 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11607 if (!SWIG_IsOK(ecode6
)) {
11608 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11610 arg6
= static_cast< long >(val6
);
11613 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11614 if (!SWIG_IsOK(res7
)) {
11615 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11618 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11620 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11624 arg8
= wxString_in_helper(obj7
);
11625 if (arg8
== NULL
) SWIG_fail
;
11630 if (!wxPyCheckForApp()) SWIG_fail
;
11631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11632 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11633 wxPyEndAllowThreads(__tstate
);
11634 if (PyErr_Occurred()) SWIG_fail
;
11636 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11659 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11660 PyObject
*resultobj
= 0;
11661 wxTextCtrl
*result
= 0 ;
11663 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11665 if (!wxPyCheckForApp()) SWIG_fail
;
11666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11667 result
= (wxTextCtrl
*)new wxTextCtrl();
11668 wxPyEndAllowThreads(__tstate
);
11669 if (PyErr_Occurred()) SWIG_fail
;
11671 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11678 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11679 PyObject
*resultobj
= 0;
11680 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11681 wxWindow
*arg2
= (wxWindow
*) 0 ;
11682 int arg3
= (int) -1 ;
11683 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11684 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11685 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11686 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11687 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11688 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11689 long arg7
= (long) 0 ;
11690 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11691 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11692 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11693 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11701 bool temp4
= false ;
11708 bool temp9
= false ;
11709 PyObject
* obj0
= 0 ;
11710 PyObject
* obj1
= 0 ;
11711 PyObject
* obj2
= 0 ;
11712 PyObject
* obj3
= 0 ;
11713 PyObject
* obj4
= 0 ;
11714 PyObject
* obj5
= 0 ;
11715 PyObject
* obj6
= 0 ;
11716 PyObject
* obj7
= 0 ;
11717 PyObject
* obj8
= 0 ;
11718 char * kwnames
[] = {
11719 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11724 if (!SWIG_IsOK(res1
)) {
11725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11727 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11728 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11729 if (!SWIG_IsOK(res2
)) {
11730 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11732 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11734 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11735 if (!SWIG_IsOK(ecode3
)) {
11736 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11738 arg3
= static_cast< int >(val3
);
11742 arg4
= wxString_in_helper(obj3
);
11743 if (arg4
== NULL
) SWIG_fail
;
11750 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11756 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11760 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11761 if (!SWIG_IsOK(ecode7
)) {
11762 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11764 arg7
= static_cast< long >(val7
);
11767 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11768 if (!SWIG_IsOK(res8
)) {
11769 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11772 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11774 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11778 arg9
= wxString_in_helper(obj8
);
11779 if (arg9
== NULL
) SWIG_fail
;
11784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11785 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11786 wxPyEndAllowThreads(__tstate
);
11787 if (PyErr_Occurred()) SWIG_fail
;
11790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11814 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11815 PyObject
*resultobj
= 0;
11816 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11820 PyObject
*swig_obj
[1] ;
11822 if (!args
) SWIG_fail
;
11823 swig_obj
[0] = args
;
11824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11825 if (!SWIG_IsOK(res1
)) {
11826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11828 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11831 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11832 wxPyEndAllowThreads(__tstate
);
11833 if (PyErr_Occurred()) SWIG_fail
;
11837 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11839 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11848 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11849 PyObject
*resultobj
= 0;
11850 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11851 wxString
*arg2
= 0 ;
11854 bool temp2
= false ;
11855 PyObject
* obj0
= 0 ;
11856 PyObject
* obj1
= 0 ;
11857 char * kwnames
[] = {
11858 (char *) "self",(char *) "value", NULL
11861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11863 if (!SWIG_IsOK(res1
)) {
11864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11866 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11868 arg2
= wxString_in_helper(obj1
);
11869 if (arg2
== NULL
) SWIG_fail
;
11873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11874 (arg1
)->SetValue((wxString
const &)*arg2
);
11875 wxPyEndAllowThreads(__tstate
);
11876 if (PyErr_Occurred()) SWIG_fail
;
11878 resultobj
= SWIG_Py_Void();
11893 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11894 PyObject
*resultobj
= 0;
11895 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11899 PyObject
*swig_obj
[1] ;
11901 if (!args
) SWIG_fail
;
11902 swig_obj
[0] = args
;
11903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11904 if (!SWIG_IsOK(res1
)) {
11905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11907 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11910 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEmpty();
11911 wxPyEndAllowThreads(__tstate
);
11912 if (PyErr_Occurred()) SWIG_fail
;
11915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11923 SWIGINTERN PyObject
*_wrap_TextCtrl_ChangeValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11924 PyObject
*resultobj
= 0;
11925 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11926 wxString
*arg2
= 0 ;
11929 bool temp2
= false ;
11930 PyObject
* obj0
= 0 ;
11931 PyObject
* obj1
= 0 ;
11932 char * kwnames
[] = {
11933 (char *) "self",(char *) "value", NULL
11936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ChangeValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11938 if (!SWIG_IsOK(res1
)) {
11939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ChangeValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11941 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11943 arg2
= wxString_in_helper(obj1
);
11944 if (arg2
== NULL
) SWIG_fail
;
11948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11949 (arg1
)->ChangeValue((wxString
const &)*arg2
);
11950 wxPyEndAllowThreads(__tstate
);
11951 if (PyErr_Occurred()) SWIG_fail
;
11953 resultobj
= SWIG_Py_Void();
11968 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11969 PyObject
*resultobj
= 0;
11970 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11980 PyObject
* obj0
= 0 ;
11981 PyObject
* obj1
= 0 ;
11982 PyObject
* obj2
= 0 ;
11983 char * kwnames
[] = {
11984 (char *) "self",(char *) "from",(char *) "to", NULL
11987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11989 if (!SWIG_IsOK(res1
)) {
11990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11992 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11993 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11994 if (!SWIG_IsOK(ecode2
)) {
11995 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
11997 arg2
= static_cast< long >(val2
);
11998 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
11999 if (!SWIG_IsOK(ecode3
)) {
12000 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
12002 arg3
= static_cast< long >(val3
);
12004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12005 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
12006 wxPyEndAllowThreads(__tstate
);
12007 if (PyErr_Occurred()) SWIG_fail
;
12011 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12013 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12022 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12023 PyObject
*resultobj
= 0;
12024 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12031 PyObject
* obj0
= 0 ;
12032 PyObject
* obj1
= 0 ;
12033 char * kwnames
[] = {
12034 (char *) "self",(char *) "lineNo", NULL
12037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12039 if (!SWIG_IsOK(res1
)) {
12040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12042 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12043 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12044 if (!SWIG_IsOK(ecode2
)) {
12045 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
12047 arg2
= static_cast< long >(val2
);
12049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12050 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
12051 wxPyEndAllowThreads(__tstate
);
12052 if (PyErr_Occurred()) SWIG_fail
;
12054 resultobj
= SWIG_From_int(static_cast< int >(result
));
12061 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12062 PyObject
*resultobj
= 0;
12063 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12070 PyObject
* obj0
= 0 ;
12071 PyObject
* obj1
= 0 ;
12072 char * kwnames
[] = {
12073 (char *) "self",(char *) "lineNo", NULL
12076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12078 if (!SWIG_IsOK(res1
)) {
12079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12081 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12082 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12083 if (!SWIG_IsOK(ecode2
)) {
12084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12086 arg2
= static_cast< long >(val2
);
12088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12089 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
12090 wxPyEndAllowThreads(__tstate
);
12091 if (PyErr_Occurred()) SWIG_fail
;
12095 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12097 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12106 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12107 PyObject
*resultobj
= 0;
12108 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12112 PyObject
*swig_obj
[1] ;
12114 if (!args
) SWIG_fail
;
12115 swig_obj
[0] = args
;
12116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12117 if (!SWIG_IsOK(res1
)) {
12118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12120 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12123 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
12124 wxPyEndAllowThreads(__tstate
);
12125 if (PyErr_Occurred()) SWIG_fail
;
12127 resultobj
= SWIG_From_int(static_cast< int >(result
));
12134 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12135 PyObject
*resultobj
= 0;
12136 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12140 PyObject
*swig_obj
[1] ;
12142 if (!args
) SWIG_fail
;
12143 swig_obj
[0] = args
;
12144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12145 if (!SWIG_IsOK(res1
)) {
12146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12148 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12151 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12152 wxPyEndAllowThreads(__tstate
);
12153 if (PyErr_Occurred()) SWIG_fail
;
12156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12164 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12165 PyObject
*resultobj
= 0;
12166 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12170 PyObject
*swig_obj
[1] ;
12172 if (!args
) SWIG_fail
;
12173 swig_obj
[0] = args
;
12174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12175 if (!SWIG_IsOK(res1
)) {
12176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12178 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12181 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12182 wxPyEndAllowThreads(__tstate
);
12183 if (PyErr_Occurred()) SWIG_fail
;
12186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12194 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12195 PyObject
*resultobj
= 0;
12196 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12200 PyObject
*swig_obj
[1] ;
12202 if (!args
) SWIG_fail
;
12203 swig_obj
[0] = args
;
12204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12205 if (!SWIG_IsOK(res1
)) {
12206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12208 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12211 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12212 wxPyEndAllowThreads(__tstate
);
12213 if (PyErr_Occurred()) SWIG_fail
;
12216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12224 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12225 PyObject
*resultobj
= 0;
12226 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12230 PyObject
*swig_obj
[1] ;
12232 if (!args
) SWIG_fail
;
12233 swig_obj
[0] = args
;
12234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12235 if (!SWIG_IsOK(res1
)) {
12236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12238 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12241 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12242 wxPyEndAllowThreads(__tstate
);
12243 if (PyErr_Occurred()) SWIG_fail
;
12246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12254 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12255 PyObject
*resultobj
= 0;
12256 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12257 long *arg2
= (long *) 0 ;
12258 long *arg3
= (long *) 0 ;
12262 int res2
= SWIG_TMPOBJ
;
12264 int res3
= SWIG_TMPOBJ
;
12265 PyObject
*swig_obj
[1] ;
12269 if (!args
) SWIG_fail
;
12270 swig_obj
[0] = args
;
12271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12272 if (!SWIG_IsOK(res1
)) {
12273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12275 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12278 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12279 wxPyEndAllowThreads(__tstate
);
12280 if (PyErr_Occurred()) SWIG_fail
;
12282 resultobj
= SWIG_Py_Void();
12283 if (SWIG_IsTmpObj(res2
)) {
12284 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12286 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12287 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12289 if (SWIG_IsTmpObj(res3
)) {
12290 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12292 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12293 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12301 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12302 PyObject
*resultobj
= 0;
12303 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12307 PyObject
*swig_obj
[1] ;
12309 if (!args
) SWIG_fail
;
12310 swig_obj
[0] = args
;
12311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12312 if (!SWIG_IsOK(res1
)) {
12313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12315 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12318 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12319 wxPyEndAllowThreads(__tstate
);
12320 if (PyErr_Occurred()) SWIG_fail
;
12324 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12326 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12335 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12336 PyObject
*resultobj
= 0;
12337 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12340 PyObject
*swig_obj
[1] ;
12342 if (!args
) SWIG_fail
;
12343 swig_obj
[0] = args
;
12344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12345 if (!SWIG_IsOK(res1
)) {
12346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12348 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12352 wxPyEndAllowThreads(__tstate
);
12353 if (PyErr_Occurred()) SWIG_fail
;
12355 resultobj
= SWIG_Py_Void();
12362 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12363 PyObject
*resultobj
= 0;
12364 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12367 wxString
*arg4
= 0 ;
12374 bool temp4
= false ;
12375 PyObject
* obj0
= 0 ;
12376 PyObject
* obj1
= 0 ;
12377 PyObject
* obj2
= 0 ;
12378 PyObject
* obj3
= 0 ;
12379 char * kwnames
[] = {
12380 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12385 if (!SWIG_IsOK(res1
)) {
12386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12388 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12389 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12390 if (!SWIG_IsOK(ecode2
)) {
12391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12393 arg2
= static_cast< long >(val2
);
12394 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12395 if (!SWIG_IsOK(ecode3
)) {
12396 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12398 arg3
= static_cast< long >(val3
);
12400 arg4
= wxString_in_helper(obj3
);
12401 if (arg4
== NULL
) SWIG_fail
;
12405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12406 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12407 wxPyEndAllowThreads(__tstate
);
12408 if (PyErr_Occurred()) SWIG_fail
;
12410 resultobj
= SWIG_Py_Void();
12425 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12426 PyObject
*resultobj
= 0;
12427 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12436 PyObject
* obj0
= 0 ;
12437 PyObject
* obj1
= 0 ;
12438 PyObject
* obj2
= 0 ;
12439 char * kwnames
[] = {
12440 (char *) "self",(char *) "from",(char *) "to", NULL
12443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12445 if (!SWIG_IsOK(res1
)) {
12446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12448 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12449 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12450 if (!SWIG_IsOK(ecode2
)) {
12451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12453 arg2
= static_cast< long >(val2
);
12454 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12455 if (!SWIG_IsOK(ecode3
)) {
12456 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12458 arg3
= static_cast< long >(val3
);
12460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12461 (arg1
)->Remove(arg2
,arg3
);
12462 wxPyEndAllowThreads(__tstate
);
12463 if (PyErr_Occurred()) SWIG_fail
;
12465 resultobj
= SWIG_Py_Void();
12472 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12473 PyObject
*resultobj
= 0;
12474 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12475 wxString
*arg2
= 0 ;
12476 int arg3
= (int) wxTEXT_TYPE_ANY
;
12480 bool temp2
= false ;
12483 PyObject
* obj0
= 0 ;
12484 PyObject
* obj1
= 0 ;
12485 PyObject
* obj2
= 0 ;
12486 char * kwnames
[] = {
12487 (char *) "self",(char *) "file",(char *) "fileType", NULL
12490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12492 if (!SWIG_IsOK(res1
)) {
12493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12495 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12497 arg2
= wxString_in_helper(obj1
);
12498 if (arg2
== NULL
) SWIG_fail
;
12502 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12503 if (!SWIG_IsOK(ecode3
)) {
12504 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'");
12506 arg3
= static_cast< int >(val3
);
12509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12510 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
12511 wxPyEndAllowThreads(__tstate
);
12512 if (PyErr_Occurred()) SWIG_fail
;
12515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12531 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12532 PyObject
*resultobj
= 0;
12533 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12534 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12535 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12536 int arg3
= (int) wxTEXT_TYPE_ANY
;
12540 bool temp2
= false ;
12543 PyObject
* obj0
= 0 ;
12544 PyObject
* obj1
= 0 ;
12545 PyObject
* obj2
= 0 ;
12546 char * kwnames
[] = {
12547 (char *) "self",(char *) "file",(char *) "fileType", NULL
12550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12552 if (!SWIG_IsOK(res1
)) {
12553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12555 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12558 arg2
= wxString_in_helper(obj1
);
12559 if (arg2
== NULL
) SWIG_fail
;
12564 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12565 if (!SWIG_IsOK(ecode3
)) {
12566 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'");
12568 arg3
= static_cast< int >(val3
);
12571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12572 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
12573 wxPyEndAllowThreads(__tstate
);
12574 if (PyErr_Occurred()) SWIG_fail
;
12577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12593 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12594 PyObject
*resultobj
= 0;
12595 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12598 PyObject
*swig_obj
[1] ;
12600 if (!args
) SWIG_fail
;
12601 swig_obj
[0] = args
;
12602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12603 if (!SWIG_IsOK(res1
)) {
12604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12606 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12609 (arg1
)->MarkDirty();
12610 wxPyEndAllowThreads(__tstate
);
12611 if (PyErr_Occurred()) SWIG_fail
;
12613 resultobj
= SWIG_Py_Void();
12620 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12621 PyObject
*resultobj
= 0;
12622 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12625 PyObject
*swig_obj
[1] ;
12627 if (!args
) SWIG_fail
;
12628 swig_obj
[0] = args
;
12629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12630 if (!SWIG_IsOK(res1
)) {
12631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12633 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12636 (arg1
)->DiscardEdits();
12637 wxPyEndAllowThreads(__tstate
);
12638 if (PyErr_Occurred()) SWIG_fail
;
12640 resultobj
= SWIG_Py_Void();
12647 SWIGINTERN PyObject
*_wrap_TextCtrl_SetModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12648 PyObject
*resultobj
= 0;
12649 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12655 PyObject
* obj0
= 0 ;
12656 PyObject
* obj1
= 0 ;
12657 char * kwnames
[] = {
12658 (char *) "self",(char *) "modified", NULL
12661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetModified",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12663 if (!SWIG_IsOK(res1
)) {
12664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12666 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12667 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12668 if (!SWIG_IsOK(ecode2
)) {
12669 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
12671 arg2
= static_cast< bool >(val2
);
12673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12674 (arg1
)->SetModified(arg2
);
12675 wxPyEndAllowThreads(__tstate
);
12676 if (PyErr_Occurred()) SWIG_fail
;
12678 resultobj
= SWIG_Py_Void();
12685 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12686 PyObject
*resultobj
= 0;
12687 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12688 unsigned long arg2
;
12691 unsigned long val2
;
12693 PyObject
* obj0
= 0 ;
12694 PyObject
* obj1
= 0 ;
12695 char * kwnames
[] = {
12696 (char *) "self",(char *) "len", NULL
12699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12701 if (!SWIG_IsOK(res1
)) {
12702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12704 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12705 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12706 if (!SWIG_IsOK(ecode2
)) {
12707 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12709 arg2
= static_cast< unsigned long >(val2
);
12711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12712 (arg1
)->SetMaxLength(arg2
);
12713 wxPyEndAllowThreads(__tstate
);
12714 if (PyErr_Occurred()) SWIG_fail
;
12716 resultobj
= SWIG_Py_Void();
12723 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12724 PyObject
*resultobj
= 0;
12725 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12726 wxString
*arg2
= 0 ;
12729 bool temp2
= false ;
12730 PyObject
* obj0
= 0 ;
12731 PyObject
* obj1
= 0 ;
12732 char * kwnames
[] = {
12733 (char *) "self",(char *) "text", NULL
12736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12738 if (!SWIG_IsOK(res1
)) {
12739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12741 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12743 arg2
= wxString_in_helper(obj1
);
12744 if (arg2
== NULL
) SWIG_fail
;
12748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12749 (arg1
)->WriteText((wxString
const &)*arg2
);
12750 wxPyEndAllowThreads(__tstate
);
12751 if (PyErr_Occurred()) SWIG_fail
;
12753 resultobj
= SWIG_Py_Void();
12768 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12769 PyObject
*resultobj
= 0;
12770 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12771 wxString
*arg2
= 0 ;
12774 bool temp2
= false ;
12775 PyObject
* obj0
= 0 ;
12776 PyObject
* obj1
= 0 ;
12777 char * kwnames
[] = {
12778 (char *) "self",(char *) "text", NULL
12781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12783 if (!SWIG_IsOK(res1
)) {
12784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12786 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12788 arg2
= wxString_in_helper(obj1
);
12789 if (arg2
== NULL
) SWIG_fail
;
12793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12794 (arg1
)->AppendText((wxString
const &)*arg2
);
12795 wxPyEndAllowThreads(__tstate
);
12796 if (PyErr_Occurred()) SWIG_fail
;
12798 resultobj
= SWIG_Py_Void();
12813 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12814 PyObject
*resultobj
= 0;
12815 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12816 wxKeyEvent
*arg2
= 0 ;
12822 PyObject
* obj0
= 0 ;
12823 PyObject
* obj1
= 0 ;
12824 char * kwnames
[] = {
12825 (char *) "self",(char *) "event", NULL
12828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12830 if (!SWIG_IsOK(res1
)) {
12831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12833 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12834 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12835 if (!SWIG_IsOK(res2
)) {
12836 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12839 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12841 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12844 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12845 wxPyEndAllowThreads(__tstate
);
12846 if (PyErr_Occurred()) SWIG_fail
;
12849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12857 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12858 PyObject
*resultobj
= 0;
12859 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12862 wxTextAttr
*arg4
= 0 ;
12872 PyObject
* obj0
= 0 ;
12873 PyObject
* obj1
= 0 ;
12874 PyObject
* obj2
= 0 ;
12875 PyObject
* obj3
= 0 ;
12876 char * kwnames
[] = {
12877 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12882 if (!SWIG_IsOK(res1
)) {
12883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12885 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12886 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12887 if (!SWIG_IsOK(ecode2
)) {
12888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12890 arg2
= static_cast< long >(val2
);
12891 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12892 if (!SWIG_IsOK(ecode3
)) {
12893 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12895 arg3
= static_cast< long >(val3
);
12896 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12897 if (!SWIG_IsOK(res4
)) {
12898 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12901 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12903 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12906 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12907 wxPyEndAllowThreads(__tstate
);
12908 if (PyErr_Occurred()) SWIG_fail
;
12911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12919 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12920 PyObject
*resultobj
= 0;
12921 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12923 wxTextAttr
*arg3
= 0 ;
12931 PyObject
* obj0
= 0 ;
12932 PyObject
* obj1
= 0 ;
12933 PyObject
* obj2
= 0 ;
12934 char * kwnames
[] = {
12935 (char *) "self",(char *) "position",(char *) "style", NULL
12938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12940 if (!SWIG_IsOK(res1
)) {
12941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12943 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12944 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12945 if (!SWIG_IsOK(ecode2
)) {
12946 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12948 arg2
= static_cast< long >(val2
);
12949 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
12950 if (!SWIG_IsOK(res3
)) {
12951 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12954 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12956 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
12958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12959 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
12960 wxPyEndAllowThreads(__tstate
);
12961 if (PyErr_Occurred()) SWIG_fail
;
12964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12972 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12973 PyObject
*resultobj
= 0;
12974 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12975 wxTextAttr
*arg2
= 0 ;
12981 PyObject
* obj0
= 0 ;
12982 PyObject
* obj1
= 0 ;
12983 char * kwnames
[] = {
12984 (char *) "self",(char *) "style", NULL
12987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12989 if (!SWIG_IsOK(res1
)) {
12990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12992 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12993 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12994 if (!SWIG_IsOK(res2
)) {
12995 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12998 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13000 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
13002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13003 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
13004 wxPyEndAllowThreads(__tstate
);
13005 if (PyErr_Occurred()) SWIG_fail
;
13008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13016 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13017 PyObject
*resultobj
= 0;
13018 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13019 wxTextAttr
*result
= 0 ;
13022 PyObject
*swig_obj
[1] ;
13024 if (!args
) SWIG_fail
;
13025 swig_obj
[0] = args
;
13026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13027 if (!SWIG_IsOK(res1
)) {
13028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13030 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13034 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
13035 result
= (wxTextAttr
*) &_result_ref
;
13037 wxPyEndAllowThreads(__tstate
);
13038 if (PyErr_Occurred()) SWIG_fail
;
13040 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
13047 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13048 PyObject
*resultobj
= 0;
13049 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13059 PyObject
* obj0
= 0 ;
13060 PyObject
* obj1
= 0 ;
13061 PyObject
* obj2
= 0 ;
13062 char * kwnames
[] = {
13063 (char *) "self",(char *) "x",(char *) "y", NULL
13066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13068 if (!SWIG_IsOK(res1
)) {
13069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13071 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13072 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13073 if (!SWIG_IsOK(ecode2
)) {
13074 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
13076 arg2
= static_cast< long >(val2
);
13077 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13078 if (!SWIG_IsOK(ecode3
)) {
13079 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
13081 arg3
= static_cast< long >(val3
);
13083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13084 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
13085 wxPyEndAllowThreads(__tstate
);
13086 if (PyErr_Occurred()) SWIG_fail
;
13088 resultobj
= SWIG_From_long(static_cast< long >(result
));
13095 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13096 PyObject
*resultobj
= 0;
13097 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13099 long *arg3
= (long *) 0 ;
13100 long *arg4
= (long *) 0 ;
13106 int res3
= SWIG_TMPOBJ
;
13108 int res4
= SWIG_TMPOBJ
;
13109 PyObject
* obj0
= 0 ;
13110 PyObject
* obj1
= 0 ;
13111 char * kwnames
[] = {
13112 (char *) "self",(char *) "pos", NULL
13117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13119 if (!SWIG_IsOK(res1
)) {
13120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13122 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13123 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13124 if (!SWIG_IsOK(ecode2
)) {
13125 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13127 arg2
= static_cast< long >(val2
);
13129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13130 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
13131 wxPyEndAllowThreads(__tstate
);
13132 if (PyErr_Occurred()) SWIG_fail
;
13134 resultobj
= SWIG_Py_Void();
13135 if (SWIG_IsTmpObj(res3
)) {
13136 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13138 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13139 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13141 if (SWIG_IsTmpObj(res4
)) {
13142 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13144 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13145 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13153 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13154 PyObject
*resultobj
= 0;
13155 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13161 PyObject
* obj0
= 0 ;
13162 PyObject
* obj1
= 0 ;
13163 char * kwnames
[] = {
13164 (char *) "self",(char *) "pos", NULL
13167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13169 if (!SWIG_IsOK(res1
)) {
13170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13172 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13173 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13174 if (!SWIG_IsOK(ecode2
)) {
13175 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13177 arg2
= static_cast< long >(val2
);
13179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13180 (arg1
)->ShowPosition(arg2
);
13181 wxPyEndAllowThreads(__tstate
);
13182 if (PyErr_Occurred()) SWIG_fail
;
13184 resultobj
= SWIG_Py_Void();
13191 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13192 PyObject
*resultobj
= 0;
13193 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13194 wxPoint
*arg2
= 0 ;
13195 long *arg3
= (long *) 0 ;
13196 long *arg4
= (long *) 0 ;
13197 wxTextCtrlHitTestResult result
;
13202 int res3
= SWIG_TMPOBJ
;
13204 int res4
= SWIG_TMPOBJ
;
13205 PyObject
* obj0
= 0 ;
13206 PyObject
* obj1
= 0 ;
13207 char * kwnames
[] = {
13208 (char *) "self",(char *) "pt", NULL
13213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13215 if (!SWIG_IsOK(res1
)) {
13216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13218 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13221 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13225 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13226 wxPyEndAllowThreads(__tstate
);
13227 if (PyErr_Occurred()) SWIG_fail
;
13229 resultobj
= SWIG_From_int(static_cast< int >(result
));
13230 if (SWIG_IsTmpObj(res3
)) {
13231 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13233 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13234 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13236 if (SWIG_IsTmpObj(res4
)) {
13237 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13239 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13240 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13248 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13249 PyObject
*resultobj
= 0;
13250 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13251 wxPoint
*arg2
= 0 ;
13252 long *arg3
= (long *) 0 ;
13253 wxTextCtrlHitTestResult result
;
13258 int res3
= SWIG_TMPOBJ
;
13259 PyObject
* obj0
= 0 ;
13260 PyObject
* obj1
= 0 ;
13261 char * kwnames
[] = {
13262 (char *) "self",(char *) "pt", NULL
13266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13268 if (!SWIG_IsOK(res1
)) {
13269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13271 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13274 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13278 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13279 wxPyEndAllowThreads(__tstate
);
13280 if (PyErr_Occurred()) SWIG_fail
;
13282 resultobj
= SWIG_From_int(static_cast< int >(result
));
13283 if (SWIG_IsTmpObj(res3
)) {
13284 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13286 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13287 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13295 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13296 PyObject
*resultobj
= 0;
13297 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13300 PyObject
*swig_obj
[1] ;
13302 if (!args
) SWIG_fail
;
13303 swig_obj
[0] = args
;
13304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13305 if (!SWIG_IsOK(res1
)) {
13306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13308 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13312 wxPyEndAllowThreads(__tstate
);
13313 if (PyErr_Occurred()) SWIG_fail
;
13315 resultobj
= SWIG_Py_Void();
13322 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13323 PyObject
*resultobj
= 0;
13324 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13327 PyObject
*swig_obj
[1] ;
13329 if (!args
) SWIG_fail
;
13330 swig_obj
[0] = args
;
13331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13332 if (!SWIG_IsOK(res1
)) {
13333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13335 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13339 wxPyEndAllowThreads(__tstate
);
13340 if (PyErr_Occurred()) SWIG_fail
;
13342 resultobj
= SWIG_Py_Void();
13349 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13350 PyObject
*resultobj
= 0;
13351 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13354 PyObject
*swig_obj
[1] ;
13356 if (!args
) SWIG_fail
;
13357 swig_obj
[0] = args
;
13358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13359 if (!SWIG_IsOK(res1
)) {
13360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13362 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13366 wxPyEndAllowThreads(__tstate
);
13367 if (PyErr_Occurred()) SWIG_fail
;
13369 resultobj
= SWIG_Py_Void();
13376 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13377 PyObject
*resultobj
= 0;
13378 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13382 PyObject
*swig_obj
[1] ;
13384 if (!args
) SWIG_fail
;
13385 swig_obj
[0] = args
;
13386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13387 if (!SWIG_IsOK(res1
)) {
13388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13390 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13393 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13394 wxPyEndAllowThreads(__tstate
);
13395 if (PyErr_Occurred()) SWIG_fail
;
13398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13406 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13407 PyObject
*resultobj
= 0;
13408 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13412 PyObject
*swig_obj
[1] ;
13414 if (!args
) SWIG_fail
;
13415 swig_obj
[0] = args
;
13416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13417 if (!SWIG_IsOK(res1
)) {
13418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13420 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13423 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13424 wxPyEndAllowThreads(__tstate
);
13425 if (PyErr_Occurred()) SWIG_fail
;
13428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13436 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13437 PyObject
*resultobj
= 0;
13438 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13442 PyObject
*swig_obj
[1] ;
13444 if (!args
) SWIG_fail
;
13445 swig_obj
[0] = args
;
13446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13447 if (!SWIG_IsOK(res1
)) {
13448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13450 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13453 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13454 wxPyEndAllowThreads(__tstate
);
13455 if (PyErr_Occurred()) SWIG_fail
;
13458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13466 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13467 PyObject
*resultobj
= 0;
13468 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13471 PyObject
*swig_obj
[1] ;
13473 if (!args
) SWIG_fail
;
13474 swig_obj
[0] = args
;
13475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13476 if (!SWIG_IsOK(res1
)) {
13477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13479 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13483 wxPyEndAllowThreads(__tstate
);
13484 if (PyErr_Occurred()) SWIG_fail
;
13486 resultobj
= SWIG_Py_Void();
13493 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13494 PyObject
*resultobj
= 0;
13495 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13498 PyObject
*swig_obj
[1] ;
13500 if (!args
) SWIG_fail
;
13501 swig_obj
[0] = args
;
13502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13503 if (!SWIG_IsOK(res1
)) {
13504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13506 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13510 wxPyEndAllowThreads(__tstate
);
13511 if (PyErr_Occurred()) SWIG_fail
;
13513 resultobj
= SWIG_Py_Void();
13520 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13521 PyObject
*resultobj
= 0;
13522 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13526 PyObject
*swig_obj
[1] ;
13528 if (!args
) SWIG_fail
;
13529 swig_obj
[0] = args
;
13530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13531 if (!SWIG_IsOK(res1
)) {
13532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13534 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13537 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13538 wxPyEndAllowThreads(__tstate
);
13539 if (PyErr_Occurred()) SWIG_fail
;
13542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13550 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13551 PyObject
*resultobj
= 0;
13552 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13556 PyObject
*swig_obj
[1] ;
13558 if (!args
) SWIG_fail
;
13559 swig_obj
[0] = args
;
13560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13561 if (!SWIG_IsOK(res1
)) {
13562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13564 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13567 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13568 wxPyEndAllowThreads(__tstate
);
13569 if (PyErr_Occurred()) SWIG_fail
;
13572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13580 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13581 PyObject
*resultobj
= 0;
13582 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13588 PyObject
* obj0
= 0 ;
13589 PyObject
* obj1
= 0 ;
13590 char * kwnames
[] = {
13591 (char *) "self",(char *) "pos", NULL
13594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13596 if (!SWIG_IsOK(res1
)) {
13597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13599 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13600 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13601 if (!SWIG_IsOK(ecode2
)) {
13602 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13604 arg2
= static_cast< long >(val2
);
13606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13607 (arg1
)->SetInsertionPoint(arg2
);
13608 wxPyEndAllowThreads(__tstate
);
13609 if (PyErr_Occurred()) SWIG_fail
;
13611 resultobj
= SWIG_Py_Void();
13618 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13619 PyObject
*resultobj
= 0;
13620 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13623 PyObject
*swig_obj
[1] ;
13625 if (!args
) SWIG_fail
;
13626 swig_obj
[0] = args
;
13627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13628 if (!SWIG_IsOK(res1
)) {
13629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13631 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13634 (arg1
)->SetInsertionPointEnd();
13635 wxPyEndAllowThreads(__tstate
);
13636 if (PyErr_Occurred()) SWIG_fail
;
13638 resultobj
= SWIG_Py_Void();
13645 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13646 PyObject
*resultobj
= 0;
13647 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13651 PyObject
*swig_obj
[1] ;
13653 if (!args
) SWIG_fail
;
13654 swig_obj
[0] = args
;
13655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13656 if (!SWIG_IsOK(res1
)) {
13657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13659 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13662 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13663 wxPyEndAllowThreads(__tstate
);
13664 if (PyErr_Occurred()) SWIG_fail
;
13666 resultobj
= SWIG_From_long(static_cast< long >(result
));
13673 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13674 PyObject
*resultobj
= 0;
13675 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13679 PyObject
*swig_obj
[1] ;
13681 if (!args
) SWIG_fail
;
13682 swig_obj
[0] = args
;
13683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13684 if (!SWIG_IsOK(res1
)) {
13685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13687 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13690 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13691 wxPyEndAllowThreads(__tstate
);
13692 if (PyErr_Occurred()) SWIG_fail
;
13694 resultobj
= SWIG_From_long(static_cast< long >(result
));
13701 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13702 PyObject
*resultobj
= 0;
13703 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13712 PyObject
* obj0
= 0 ;
13713 PyObject
* obj1
= 0 ;
13714 PyObject
* obj2
= 0 ;
13715 char * kwnames
[] = {
13716 (char *) "self",(char *) "from",(char *) "to", NULL
13719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13721 if (!SWIG_IsOK(res1
)) {
13722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13724 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13725 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13726 if (!SWIG_IsOK(ecode2
)) {
13727 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13729 arg2
= static_cast< long >(val2
);
13730 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13731 if (!SWIG_IsOK(ecode3
)) {
13732 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13734 arg3
= static_cast< long >(val3
);
13736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13737 (arg1
)->SetSelection(arg2
,arg3
);
13738 wxPyEndAllowThreads(__tstate
);
13739 if (PyErr_Occurred()) SWIG_fail
;
13741 resultobj
= SWIG_Py_Void();
13748 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13749 PyObject
*resultobj
= 0;
13750 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13753 PyObject
*swig_obj
[1] ;
13755 if (!args
) SWIG_fail
;
13756 swig_obj
[0] = args
;
13757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13758 if (!SWIG_IsOK(res1
)) {
13759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13761 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13764 (arg1
)->SelectAll();
13765 wxPyEndAllowThreads(__tstate
);
13766 if (PyErr_Occurred()) SWIG_fail
;
13768 resultobj
= SWIG_Py_Void();
13775 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13776 PyObject
*resultobj
= 0;
13777 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13783 PyObject
* obj0
= 0 ;
13784 PyObject
* obj1
= 0 ;
13785 char * kwnames
[] = {
13786 (char *) "self",(char *) "editable", NULL
13789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13791 if (!SWIG_IsOK(res1
)) {
13792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13794 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13795 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13796 if (!SWIG_IsOK(ecode2
)) {
13797 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13799 arg2
= static_cast< bool >(val2
);
13801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13802 (arg1
)->SetEditable(arg2
);
13803 wxPyEndAllowThreads(__tstate
);
13804 if (PyErr_Occurred()) SWIG_fail
;
13806 resultobj
= SWIG_Py_Void();
13813 SWIGINTERN PyObject
*_wrap_TextCtrl_SendTextUpdatedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13814 PyObject
*resultobj
= 0;
13815 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13818 PyObject
*swig_obj
[1] ;
13820 if (!args
) SWIG_fail
;
13821 swig_obj
[0] = args
;
13822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13823 if (!SWIG_IsOK(res1
)) {
13824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SendTextUpdatedEvent" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13826 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13829 (arg1
)->SendTextUpdatedEvent();
13830 wxPyEndAllowThreads(__tstate
);
13831 if (PyErr_Occurred()) SWIG_fail
;
13833 resultobj
= SWIG_Py_Void();
13840 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13841 PyObject
*resultobj
= 0;
13842 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13843 wxString
*arg2
= 0 ;
13846 bool temp2
= false ;
13847 PyObject
* obj0
= 0 ;
13848 PyObject
* obj1
= 0 ;
13849 char * kwnames
[] = {
13850 (char *) "self",(char *) "text", NULL
13853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13855 if (!SWIG_IsOK(res1
)) {
13856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13858 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13860 arg2
= wxString_in_helper(obj1
);
13861 if (arg2
== NULL
) SWIG_fail
;
13865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13866 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
13867 wxPyEndAllowThreads(__tstate
);
13868 if (PyErr_Occurred()) SWIG_fail
;
13870 resultobj
= SWIG_Py_Void();
13885 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13886 PyObject
*resultobj
= 0;
13887 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13897 PyObject
* obj0
= 0 ;
13898 PyObject
* obj1
= 0 ;
13899 PyObject
* obj2
= 0 ;
13900 char * kwnames
[] = {
13901 (char *) "self",(char *) "from",(char *) "to", NULL
13904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13906 if (!SWIG_IsOK(res1
)) {
13907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13909 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13910 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13911 if (!SWIG_IsOK(ecode2
)) {
13912 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13914 arg2
= static_cast< long >(val2
);
13915 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13916 if (!SWIG_IsOK(ecode3
)) {
13917 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
13919 arg3
= static_cast< long >(val3
);
13921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13922 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
13923 wxPyEndAllowThreads(__tstate
);
13924 if (PyErr_Occurred()) SWIG_fail
;
13928 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13930 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13939 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13940 PyObject
*resultobj
= 0;
13941 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13942 SwigValueWrapper
<wxVisualAttributes
> result
;
13945 PyObject
* obj0
= 0 ;
13946 char * kwnames
[] = {
13947 (char *) "variant", NULL
13950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
13952 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13953 if (!SWIG_IsOK(ecode1
)) {
13954 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
13956 arg1
= static_cast< wxWindowVariant
>(val1
);
13959 if (!wxPyCheckForApp()) SWIG_fail
;
13960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13961 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
13962 wxPyEndAllowThreads(__tstate
);
13963 if (PyErr_Occurred()) SWIG_fail
;
13965 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
13972 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13974 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13975 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
13976 return SWIG_Py_Void();
13979 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13980 return SWIG_Python_InitShadowInstance(args
);
13983 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13984 PyObject
*resultobj
= 0;
13986 wxMouseEvent
*arg2
= 0 ;
13989 wxTextUrlEvent
*result
= 0 ;
13998 PyObject
* obj0
= 0 ;
13999 PyObject
* obj1
= 0 ;
14000 PyObject
* obj2
= 0 ;
14001 PyObject
* obj3
= 0 ;
14002 char * kwnames
[] = {
14003 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
14006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14007 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14008 if (!SWIG_IsOK(ecode1
)) {
14009 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
14011 arg1
= static_cast< int >(val1
);
14012 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
14013 if (!SWIG_IsOK(res2
)) {
14014 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14017 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14019 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
14020 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14021 if (!SWIG_IsOK(ecode3
)) {
14022 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
14024 arg3
= static_cast< long >(val3
);
14025 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
14026 if (!SWIG_IsOK(ecode4
)) {
14027 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
14029 arg4
= static_cast< long >(val4
);
14031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14032 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
14033 wxPyEndAllowThreads(__tstate
);
14034 if (PyErr_Occurred()) SWIG_fail
;
14036 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
14043 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14044 PyObject
*resultobj
= 0;
14045 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14046 wxMouseEvent
*result
= 0 ;
14049 PyObject
*swig_obj
[1] ;
14051 if (!args
) SWIG_fail
;
14052 swig_obj
[0] = args
;
14053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14054 if (!SWIG_IsOK(res1
)) {
14055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
14057 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14061 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
14062 result
= (wxMouseEvent
*) &_result_ref
;
14064 wxPyEndAllowThreads(__tstate
);
14065 if (PyErr_Occurred()) SWIG_fail
;
14067 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
14074 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14075 PyObject
*resultobj
= 0;
14076 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14080 PyObject
*swig_obj
[1] ;
14082 if (!args
) SWIG_fail
;
14083 swig_obj
[0] = args
;
14084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14085 if (!SWIG_IsOK(res1
)) {
14086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14088 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14091 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
14092 wxPyEndAllowThreads(__tstate
);
14093 if (PyErr_Occurred()) SWIG_fail
;
14095 resultobj
= SWIG_From_long(static_cast< long >(result
));
14102 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14103 PyObject
*resultobj
= 0;
14104 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14108 PyObject
*swig_obj
[1] ;
14110 if (!args
) SWIG_fail
;
14111 swig_obj
[0] = args
;
14112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14113 if (!SWIG_IsOK(res1
)) {
14114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14116 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14119 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
14120 wxPyEndAllowThreads(__tstate
);
14121 if (PyErr_Occurred()) SWIG_fail
;
14123 resultobj
= SWIG_From_long(static_cast< long >(result
));
14130 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14132 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14133 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
14134 return SWIG_Py_Void();
14137 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14138 return SWIG_Python_InitShadowInstance(args
);
14141 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
14142 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
14147 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
14148 PyObject
*pyobj
= 0;
14152 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14154 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14161 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14162 PyObject
*resultobj
= 0;
14163 wxWindow
*arg1
= (wxWindow
*) 0 ;
14164 int arg2
= (int) -1 ;
14165 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14166 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14167 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14168 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14169 long arg5
= (long) wxSB_HORIZONTAL
;
14170 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
14171 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
14172 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
14173 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14174 wxScrollBar
*result
= 0 ;
14185 bool temp7
= false ;
14186 PyObject
* obj0
= 0 ;
14187 PyObject
* obj1
= 0 ;
14188 PyObject
* obj2
= 0 ;
14189 PyObject
* obj3
= 0 ;
14190 PyObject
* obj4
= 0 ;
14191 PyObject
* obj5
= 0 ;
14192 PyObject
* obj6
= 0 ;
14193 char * kwnames
[] = {
14194 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14199 if (!SWIG_IsOK(res1
)) {
14200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14202 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14204 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14205 if (!SWIG_IsOK(ecode2
)) {
14206 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14208 arg2
= static_cast< int >(val2
);
14213 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14219 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14223 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14224 if (!SWIG_IsOK(ecode5
)) {
14225 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14227 arg5
= static_cast< long >(val5
);
14230 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14231 if (!SWIG_IsOK(res6
)) {
14232 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14235 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14237 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14241 arg7
= wxString_in_helper(obj6
);
14242 if (arg7
== NULL
) SWIG_fail
;
14247 if (!wxPyCheckForApp()) SWIG_fail
;
14248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14249 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14250 wxPyEndAllowThreads(__tstate
);
14251 if (PyErr_Occurred()) SWIG_fail
;
14253 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14268 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14269 PyObject
*resultobj
= 0;
14270 wxScrollBar
*result
= 0 ;
14272 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14274 if (!wxPyCheckForApp()) SWIG_fail
;
14275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14276 result
= (wxScrollBar
*)new wxScrollBar();
14277 wxPyEndAllowThreads(__tstate
);
14278 if (PyErr_Occurred()) SWIG_fail
;
14280 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14287 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14288 PyObject
*resultobj
= 0;
14289 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14290 wxWindow
*arg2
= (wxWindow
*) 0 ;
14291 int arg3
= (int) -1 ;
14292 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14293 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14294 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14295 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14296 long arg6
= (long) wxSB_HORIZONTAL
;
14297 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14298 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14299 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14300 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14314 bool temp8
= false ;
14315 PyObject
* obj0
= 0 ;
14316 PyObject
* obj1
= 0 ;
14317 PyObject
* obj2
= 0 ;
14318 PyObject
* obj3
= 0 ;
14319 PyObject
* obj4
= 0 ;
14320 PyObject
* obj5
= 0 ;
14321 PyObject
* obj6
= 0 ;
14322 PyObject
* obj7
= 0 ;
14323 char * kwnames
[] = {
14324 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14329 if (!SWIG_IsOK(res1
)) {
14330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14332 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14333 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14334 if (!SWIG_IsOK(res2
)) {
14335 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14337 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14339 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14340 if (!SWIG_IsOK(ecode3
)) {
14341 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14343 arg3
= static_cast< int >(val3
);
14348 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14354 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14358 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14359 if (!SWIG_IsOK(ecode6
)) {
14360 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14362 arg6
= static_cast< long >(val6
);
14365 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14366 if (!SWIG_IsOK(res7
)) {
14367 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14370 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14372 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14376 arg8
= wxString_in_helper(obj7
);
14377 if (arg8
== NULL
) SWIG_fail
;
14382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14383 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14384 wxPyEndAllowThreads(__tstate
);
14385 if (PyErr_Occurred()) SWIG_fail
;
14388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14404 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14405 PyObject
*resultobj
= 0;
14406 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14410 PyObject
*swig_obj
[1] ;
14412 if (!args
) SWIG_fail
;
14413 swig_obj
[0] = args
;
14414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14415 if (!SWIG_IsOK(res1
)) {
14416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14418 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14421 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14422 wxPyEndAllowThreads(__tstate
);
14423 if (PyErr_Occurred()) SWIG_fail
;
14425 resultobj
= SWIG_From_int(static_cast< int >(result
));
14432 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14433 PyObject
*resultobj
= 0;
14434 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14438 PyObject
*swig_obj
[1] ;
14440 if (!args
) SWIG_fail
;
14441 swig_obj
[0] = args
;
14442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14443 if (!SWIG_IsOK(res1
)) {
14444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14446 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14449 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14450 wxPyEndAllowThreads(__tstate
);
14451 if (PyErr_Occurred()) SWIG_fail
;
14453 resultobj
= SWIG_From_int(static_cast< int >(result
));
14460 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14461 PyObject
*resultobj
= 0;
14462 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14466 PyObject
*swig_obj
[1] ;
14468 if (!args
) SWIG_fail
;
14469 swig_obj
[0] = args
;
14470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14471 if (!SWIG_IsOK(res1
)) {
14472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14474 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14477 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14478 wxPyEndAllowThreads(__tstate
);
14479 if (PyErr_Occurred()) SWIG_fail
;
14481 resultobj
= SWIG_From_int(static_cast< int >(result
));
14488 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14489 PyObject
*resultobj
= 0;
14490 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14494 PyObject
*swig_obj
[1] ;
14496 if (!args
) SWIG_fail
;
14497 swig_obj
[0] = args
;
14498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14499 if (!SWIG_IsOK(res1
)) {
14500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14502 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14505 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14506 wxPyEndAllowThreads(__tstate
);
14507 if (PyErr_Occurred()) SWIG_fail
;
14509 resultobj
= SWIG_From_int(static_cast< int >(result
));
14516 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14517 PyObject
*resultobj
= 0;
14518 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14522 PyObject
*swig_obj
[1] ;
14524 if (!args
) SWIG_fail
;
14525 swig_obj
[0] = args
;
14526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14527 if (!SWIG_IsOK(res1
)) {
14528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14530 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14533 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14534 wxPyEndAllowThreads(__tstate
);
14535 if (PyErr_Occurred()) SWIG_fail
;
14538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14546 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14547 PyObject
*resultobj
= 0;
14548 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14554 PyObject
* obj0
= 0 ;
14555 PyObject
* obj1
= 0 ;
14556 char * kwnames
[] = {
14557 (char *) "self",(char *) "viewStart", NULL
14560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14562 if (!SWIG_IsOK(res1
)) {
14563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14565 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14566 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14567 if (!SWIG_IsOK(ecode2
)) {
14568 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14570 arg2
= static_cast< int >(val2
);
14572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14573 (arg1
)->SetThumbPosition(arg2
);
14574 wxPyEndAllowThreads(__tstate
);
14575 if (PyErr_Occurred()) SWIG_fail
;
14577 resultobj
= SWIG_Py_Void();
14584 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14585 PyObject
*resultobj
= 0;
14586 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14587 SwigValueWrapper
<wxVisualAttributes
> result
;
14590 PyObject
* obj0
= 0 ;
14591 char * kwnames
[] = {
14592 (char *) "variant", NULL
14595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14597 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14598 if (!SWIG_IsOK(ecode1
)) {
14599 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14601 arg1
= static_cast< wxWindowVariant
>(val1
);
14604 if (!wxPyCheckForApp()) SWIG_fail
;
14605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14606 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14607 wxPyEndAllowThreads(__tstate
);
14608 if (PyErr_Occurred()) SWIG_fail
;
14610 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14617 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14619 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14620 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14621 return SWIG_Py_Void();
14624 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14625 return SWIG_Python_InitShadowInstance(args
);
14628 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14629 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14634 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14635 PyObject
*pyobj
= 0;
14639 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14641 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14648 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14649 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14654 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14655 PyObject
*pyobj
= 0;
14659 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14661 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14668 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14669 PyObject
*resultobj
= 0;
14670 wxWindow
*arg1
= (wxWindow
*) 0 ;
14671 int arg2
= (int) -1 ;
14672 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14673 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14674 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14675 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14676 long arg5
= (long) wxSP_HORIZONTAL
;
14677 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14678 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14679 wxSpinButton
*result
= 0 ;
14688 bool temp6
= false ;
14689 PyObject
* obj0
= 0 ;
14690 PyObject
* obj1
= 0 ;
14691 PyObject
* obj2
= 0 ;
14692 PyObject
* obj3
= 0 ;
14693 PyObject
* obj4
= 0 ;
14694 PyObject
* obj5
= 0 ;
14695 char * kwnames
[] = {
14696 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14701 if (!SWIG_IsOK(res1
)) {
14702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14704 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14706 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14707 if (!SWIG_IsOK(ecode2
)) {
14708 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14710 arg2
= static_cast< int >(val2
);
14715 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14721 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14725 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14726 if (!SWIG_IsOK(ecode5
)) {
14727 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14729 arg5
= static_cast< long >(val5
);
14733 arg6
= wxString_in_helper(obj5
);
14734 if (arg6
== NULL
) SWIG_fail
;
14739 if (!wxPyCheckForApp()) SWIG_fail
;
14740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14741 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14742 wxPyEndAllowThreads(__tstate
);
14743 if (PyErr_Occurred()) SWIG_fail
;
14745 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14760 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14761 PyObject
*resultobj
= 0;
14762 wxSpinButton
*result
= 0 ;
14764 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14766 if (!wxPyCheckForApp()) SWIG_fail
;
14767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14768 result
= (wxSpinButton
*)new wxSpinButton();
14769 wxPyEndAllowThreads(__tstate
);
14770 if (PyErr_Occurred()) SWIG_fail
;
14772 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14779 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14780 PyObject
*resultobj
= 0;
14781 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14782 wxWindow
*arg2
= (wxWindow
*) 0 ;
14783 int arg3
= (int) -1 ;
14784 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14785 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14786 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14787 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14788 long arg6
= (long) wxSP_HORIZONTAL
;
14789 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14790 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14802 bool temp7
= false ;
14803 PyObject
* obj0
= 0 ;
14804 PyObject
* obj1
= 0 ;
14805 PyObject
* obj2
= 0 ;
14806 PyObject
* obj3
= 0 ;
14807 PyObject
* obj4
= 0 ;
14808 PyObject
* obj5
= 0 ;
14809 PyObject
* obj6
= 0 ;
14810 char * kwnames
[] = {
14811 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14816 if (!SWIG_IsOK(res1
)) {
14817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14819 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14820 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14821 if (!SWIG_IsOK(res2
)) {
14822 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14824 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14826 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14827 if (!SWIG_IsOK(ecode3
)) {
14828 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14830 arg3
= static_cast< int >(val3
);
14835 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14841 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14845 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14846 if (!SWIG_IsOK(ecode6
)) {
14847 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14849 arg6
= static_cast< long >(val6
);
14853 arg7
= wxString_in_helper(obj6
);
14854 if (arg7
== NULL
) SWIG_fail
;
14859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14860 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14861 wxPyEndAllowThreads(__tstate
);
14862 if (PyErr_Occurred()) SWIG_fail
;
14865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14881 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14882 PyObject
*resultobj
= 0;
14883 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14887 PyObject
*swig_obj
[1] ;
14889 if (!args
) SWIG_fail
;
14890 swig_obj
[0] = args
;
14891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14892 if (!SWIG_IsOK(res1
)) {
14893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14895 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14898 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
14899 wxPyEndAllowThreads(__tstate
);
14900 if (PyErr_Occurred()) SWIG_fail
;
14902 resultobj
= SWIG_From_int(static_cast< int >(result
));
14909 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14910 PyObject
*resultobj
= 0;
14911 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14915 PyObject
*swig_obj
[1] ;
14917 if (!args
) SWIG_fail
;
14918 swig_obj
[0] = args
;
14919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14920 if (!SWIG_IsOK(res1
)) {
14921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14923 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14926 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
14927 wxPyEndAllowThreads(__tstate
);
14928 if (PyErr_Occurred()) SWIG_fail
;
14930 resultobj
= SWIG_From_int(static_cast< int >(result
));
14937 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14938 PyObject
*resultobj
= 0;
14939 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14943 PyObject
*swig_obj
[1] ;
14945 if (!args
) SWIG_fail
;
14946 swig_obj
[0] = args
;
14947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14948 if (!SWIG_IsOK(res1
)) {
14949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14951 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14954 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
14955 wxPyEndAllowThreads(__tstate
);
14956 if (PyErr_Occurred()) SWIG_fail
;
14958 resultobj
= SWIG_From_int(static_cast< int >(result
));
14965 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14966 PyObject
*resultobj
= 0;
14967 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14973 PyObject
* obj0
= 0 ;
14974 PyObject
* obj1
= 0 ;
14975 char * kwnames
[] = {
14976 (char *) "self",(char *) "val", NULL
14979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14981 if (!SWIG_IsOK(res1
)) {
14982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14984 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14985 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14986 if (!SWIG_IsOK(ecode2
)) {
14987 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
14989 arg2
= static_cast< int >(val2
);
14991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14992 (arg1
)->SetValue(arg2
);
14993 wxPyEndAllowThreads(__tstate
);
14994 if (PyErr_Occurred()) SWIG_fail
;
14996 resultobj
= SWIG_Py_Void();
15003 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15004 PyObject
*resultobj
= 0;
15005 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15011 PyObject
* obj0
= 0 ;
15012 PyObject
* obj1
= 0 ;
15013 char * kwnames
[] = {
15014 (char *) "self",(char *) "minVal", NULL
15017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15019 if (!SWIG_IsOK(res1
)) {
15020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15022 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15023 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15024 if (!SWIG_IsOK(ecode2
)) {
15025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
15027 arg2
= static_cast< int >(val2
);
15029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15030 (arg1
)->SetMin(arg2
);
15031 wxPyEndAllowThreads(__tstate
);
15032 if (PyErr_Occurred()) SWIG_fail
;
15034 resultobj
= SWIG_Py_Void();
15041 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15042 PyObject
*resultobj
= 0;
15043 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15049 PyObject
* obj0
= 0 ;
15050 PyObject
* obj1
= 0 ;
15051 char * kwnames
[] = {
15052 (char *) "self",(char *) "maxVal", NULL
15055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15057 if (!SWIG_IsOK(res1
)) {
15058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15060 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15061 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15062 if (!SWIG_IsOK(ecode2
)) {
15063 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
15065 arg2
= static_cast< int >(val2
);
15067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15068 (arg1
)->SetMax(arg2
);
15069 wxPyEndAllowThreads(__tstate
);
15070 if (PyErr_Occurred()) SWIG_fail
;
15072 resultobj
= SWIG_Py_Void();
15079 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15080 PyObject
*resultobj
= 0;
15081 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15090 PyObject
* obj0
= 0 ;
15091 PyObject
* obj1
= 0 ;
15092 PyObject
* obj2
= 0 ;
15093 char * kwnames
[] = {
15094 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15099 if (!SWIG_IsOK(res1
)) {
15100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15102 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15103 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15104 if (!SWIG_IsOK(ecode2
)) {
15105 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15107 arg2
= static_cast< int >(val2
);
15108 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15109 if (!SWIG_IsOK(ecode3
)) {
15110 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15112 arg3
= static_cast< int >(val3
);
15114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15115 (arg1
)->SetRange(arg2
,arg3
);
15116 wxPyEndAllowThreads(__tstate
);
15117 if (PyErr_Occurred()) SWIG_fail
;
15119 resultobj
= SWIG_Py_Void();
15126 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15127 PyObject
*resultobj
= 0;
15128 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15132 PyObject
*swig_obj
[1] ;
15134 if (!args
) SWIG_fail
;
15135 swig_obj
[0] = args
;
15136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15137 if (!SWIG_IsOK(res1
)) {
15138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15140 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15143 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
15144 wxPyEndAllowThreads(__tstate
);
15145 if (PyErr_Occurred()) SWIG_fail
;
15148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15156 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15157 PyObject
*resultobj
= 0;
15158 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15159 SwigValueWrapper
<wxVisualAttributes
> result
;
15162 PyObject
* obj0
= 0 ;
15163 char * kwnames
[] = {
15164 (char *) "variant", NULL
15167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15169 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15170 if (!SWIG_IsOK(ecode1
)) {
15171 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15173 arg1
= static_cast< wxWindowVariant
>(val1
);
15176 if (!wxPyCheckForApp()) SWIG_fail
;
15177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15178 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
15179 wxPyEndAllowThreads(__tstate
);
15180 if (PyErr_Occurred()) SWIG_fail
;
15182 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15189 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15191 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15192 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15193 return SWIG_Py_Void();
15196 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15197 return SWIG_Python_InitShadowInstance(args
);
15200 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15201 PyObject
*resultobj
= 0;
15202 wxWindow
*arg1
= (wxWindow
*) 0 ;
15203 int arg2
= (int) -1 ;
15204 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15205 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15206 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15207 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15208 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15209 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15210 long arg6
= (long) wxSP_ARROW_KEYS
;
15211 int arg7
= (int) 0 ;
15212 int arg8
= (int) 100 ;
15213 int arg9
= (int) 0 ;
15214 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15215 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15216 wxSpinCtrl
*result
= 0 ;
15221 bool temp3
= false ;
15232 bool temp10
= false ;
15233 PyObject
* obj0
= 0 ;
15234 PyObject
* obj1
= 0 ;
15235 PyObject
* obj2
= 0 ;
15236 PyObject
* obj3
= 0 ;
15237 PyObject
* obj4
= 0 ;
15238 PyObject
* obj5
= 0 ;
15239 PyObject
* obj6
= 0 ;
15240 PyObject
* obj7
= 0 ;
15241 PyObject
* obj8
= 0 ;
15242 PyObject
* obj9
= 0 ;
15243 char * kwnames
[] = {
15244 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15249 if (!SWIG_IsOK(res1
)) {
15250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15252 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15254 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15255 if (!SWIG_IsOK(ecode2
)) {
15256 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15258 arg2
= static_cast< int >(val2
);
15262 arg3
= wxString_in_helper(obj2
);
15263 if (arg3
== NULL
) SWIG_fail
;
15270 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15276 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15280 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15281 if (!SWIG_IsOK(ecode6
)) {
15282 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15284 arg6
= static_cast< long >(val6
);
15287 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15288 if (!SWIG_IsOK(ecode7
)) {
15289 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15291 arg7
= static_cast< int >(val7
);
15294 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15295 if (!SWIG_IsOK(ecode8
)) {
15296 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15298 arg8
= static_cast< int >(val8
);
15301 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15302 if (!SWIG_IsOK(ecode9
)) {
15303 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15305 arg9
= static_cast< int >(val9
);
15309 arg10
= wxString_in_helper(obj9
);
15310 if (arg10
== NULL
) SWIG_fail
;
15315 if (!wxPyCheckForApp()) SWIG_fail
;
15316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15317 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15318 wxPyEndAllowThreads(__tstate
);
15319 if (PyErr_Occurred()) SWIG_fail
;
15321 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15344 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15345 PyObject
*resultobj
= 0;
15346 wxSpinCtrl
*result
= 0 ;
15348 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15350 if (!wxPyCheckForApp()) SWIG_fail
;
15351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15352 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15353 wxPyEndAllowThreads(__tstate
);
15354 if (PyErr_Occurred()) SWIG_fail
;
15356 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15363 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15364 PyObject
*resultobj
= 0;
15365 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15366 wxWindow
*arg2
= (wxWindow
*) 0 ;
15367 int arg3
= (int) -1 ;
15368 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15369 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15370 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15371 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15372 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15373 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15374 long arg7
= (long) wxSP_ARROW_KEYS
;
15375 int arg8
= (int) 0 ;
15376 int arg9
= (int) 100 ;
15377 int arg10
= (int) 0 ;
15378 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15379 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15387 bool temp4
= false ;
15398 bool temp11
= false ;
15399 PyObject
* obj0
= 0 ;
15400 PyObject
* obj1
= 0 ;
15401 PyObject
* obj2
= 0 ;
15402 PyObject
* obj3
= 0 ;
15403 PyObject
* obj4
= 0 ;
15404 PyObject
* obj5
= 0 ;
15405 PyObject
* obj6
= 0 ;
15406 PyObject
* obj7
= 0 ;
15407 PyObject
* obj8
= 0 ;
15408 PyObject
* obj9
= 0 ;
15409 PyObject
* obj10
= 0 ;
15410 char * kwnames
[] = {
15411 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15416 if (!SWIG_IsOK(res1
)) {
15417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15419 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15420 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15421 if (!SWIG_IsOK(res2
)) {
15422 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15424 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15426 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15427 if (!SWIG_IsOK(ecode3
)) {
15428 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15430 arg3
= static_cast< int >(val3
);
15434 arg4
= wxString_in_helper(obj3
);
15435 if (arg4
== NULL
) SWIG_fail
;
15442 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15448 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15452 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15453 if (!SWIG_IsOK(ecode7
)) {
15454 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15456 arg7
= static_cast< long >(val7
);
15459 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15460 if (!SWIG_IsOK(ecode8
)) {
15461 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15463 arg8
= static_cast< int >(val8
);
15466 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15467 if (!SWIG_IsOK(ecode9
)) {
15468 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15470 arg9
= static_cast< int >(val9
);
15473 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15474 if (!SWIG_IsOK(ecode10
)) {
15475 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15477 arg10
= static_cast< int >(val10
);
15481 arg11
= wxString_in_helper(obj10
);
15482 if (arg11
== NULL
) SWIG_fail
;
15487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15488 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15489 wxPyEndAllowThreads(__tstate
);
15490 if (PyErr_Occurred()) SWIG_fail
;
15493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15517 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15518 PyObject
*resultobj
= 0;
15519 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15523 PyObject
*swig_obj
[1] ;
15525 if (!args
) SWIG_fail
;
15526 swig_obj
[0] = args
;
15527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15528 if (!SWIG_IsOK(res1
)) {
15529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15531 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15534 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15535 wxPyEndAllowThreads(__tstate
);
15536 if (PyErr_Occurred()) SWIG_fail
;
15538 resultobj
= SWIG_From_int(static_cast< int >(result
));
15545 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15546 PyObject
*resultobj
= 0;
15547 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15553 PyObject
* obj0
= 0 ;
15554 PyObject
* obj1
= 0 ;
15555 char * kwnames
[] = {
15556 (char *) "self",(char *) "value", NULL
15559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15561 if (!SWIG_IsOK(res1
)) {
15562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15564 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15565 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15566 if (!SWIG_IsOK(ecode2
)) {
15567 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15569 arg2
= static_cast< int >(val2
);
15571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15572 (arg1
)->SetValue(arg2
);
15573 wxPyEndAllowThreads(__tstate
);
15574 if (PyErr_Occurred()) SWIG_fail
;
15576 resultobj
= SWIG_Py_Void();
15583 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15584 PyObject
*resultobj
= 0;
15585 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15586 wxString
*arg2
= 0 ;
15589 bool temp2
= false ;
15590 PyObject
* obj0
= 0 ;
15591 PyObject
* obj1
= 0 ;
15592 char * kwnames
[] = {
15593 (char *) "self",(char *) "text", NULL
15596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15598 if (!SWIG_IsOK(res1
)) {
15599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15601 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15603 arg2
= wxString_in_helper(obj1
);
15604 if (arg2
== NULL
) SWIG_fail
;
15608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15609 (arg1
)->SetValue((wxString
const &)*arg2
);
15610 wxPyEndAllowThreads(__tstate
);
15611 if (PyErr_Occurred()) SWIG_fail
;
15613 resultobj
= SWIG_Py_Void();
15628 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15629 PyObject
*resultobj
= 0;
15630 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15639 PyObject
* obj0
= 0 ;
15640 PyObject
* obj1
= 0 ;
15641 PyObject
* obj2
= 0 ;
15642 char * kwnames
[] = {
15643 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15648 if (!SWIG_IsOK(res1
)) {
15649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15651 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15652 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15653 if (!SWIG_IsOK(ecode2
)) {
15654 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15656 arg2
= static_cast< int >(val2
);
15657 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15658 if (!SWIG_IsOK(ecode3
)) {
15659 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15661 arg3
= static_cast< int >(val3
);
15663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15664 (arg1
)->SetRange(arg2
,arg3
);
15665 wxPyEndAllowThreads(__tstate
);
15666 if (PyErr_Occurred()) SWIG_fail
;
15668 resultobj
= SWIG_Py_Void();
15675 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15676 PyObject
*resultobj
= 0;
15677 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15681 PyObject
*swig_obj
[1] ;
15683 if (!args
) SWIG_fail
;
15684 swig_obj
[0] = args
;
15685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15686 if (!SWIG_IsOK(res1
)) {
15687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15689 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15692 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15693 wxPyEndAllowThreads(__tstate
);
15694 if (PyErr_Occurred()) SWIG_fail
;
15696 resultobj
= SWIG_From_int(static_cast< int >(result
));
15703 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15704 PyObject
*resultobj
= 0;
15705 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15709 PyObject
*swig_obj
[1] ;
15711 if (!args
) SWIG_fail
;
15712 swig_obj
[0] = args
;
15713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15714 if (!SWIG_IsOK(res1
)) {
15715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15717 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15720 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15721 wxPyEndAllowThreads(__tstate
);
15722 if (PyErr_Occurred()) SWIG_fail
;
15724 resultobj
= SWIG_From_int(static_cast< int >(result
));
15731 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15732 PyObject
*resultobj
= 0;
15733 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15742 PyObject
* obj0
= 0 ;
15743 PyObject
* obj1
= 0 ;
15744 PyObject
* obj2
= 0 ;
15745 char * kwnames
[] = {
15746 (char *) "self",(char *) "from",(char *) "to", NULL
15749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15751 if (!SWIG_IsOK(res1
)) {
15752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15754 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15755 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15756 if (!SWIG_IsOK(ecode2
)) {
15757 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15759 arg2
= static_cast< long >(val2
);
15760 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15761 if (!SWIG_IsOK(ecode3
)) {
15762 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15764 arg3
= static_cast< long >(val3
);
15766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15767 (arg1
)->SetSelection(arg2
,arg3
);
15768 wxPyEndAllowThreads(__tstate
);
15769 if (PyErr_Occurred()) SWIG_fail
;
15771 resultobj
= SWIG_Py_Void();
15778 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15779 PyObject
*resultobj
= 0;
15780 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15781 SwigValueWrapper
<wxVisualAttributes
> result
;
15784 PyObject
* obj0
= 0 ;
15785 char * kwnames
[] = {
15786 (char *) "variant", NULL
15789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15791 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15792 if (!SWIG_IsOK(ecode1
)) {
15793 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15795 arg1
= static_cast< wxWindowVariant
>(val1
);
15798 if (!wxPyCheckForApp()) SWIG_fail
;
15799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15800 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15801 wxPyEndAllowThreads(__tstate
);
15802 if (PyErr_Occurred()) SWIG_fail
;
15804 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15811 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15813 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15814 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15815 return SWIG_Py_Void();
15818 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15819 return SWIG_Python_InitShadowInstance(args
);
15822 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15823 PyObject
*resultobj
= 0;
15824 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15825 int arg2
= (int) 0 ;
15826 wxSpinEvent
*result
= 0 ;
15831 PyObject
* obj0
= 0 ;
15832 PyObject
* obj1
= 0 ;
15833 char * kwnames
[] = {
15834 (char *) "commandType",(char *) "winid", NULL
15837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15839 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15840 if (!SWIG_IsOK(ecode1
)) {
15841 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15843 arg1
= static_cast< wxEventType
>(val1
);
15846 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15847 if (!SWIG_IsOK(ecode2
)) {
15848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15850 arg2
= static_cast< int >(val2
);
15853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15854 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
15855 wxPyEndAllowThreads(__tstate
);
15856 if (PyErr_Occurred()) SWIG_fail
;
15858 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
15865 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15866 PyObject
*resultobj
= 0;
15867 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15871 PyObject
*swig_obj
[1] ;
15873 if (!args
) SWIG_fail
;
15874 swig_obj
[0] = args
;
15875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15876 if (!SWIG_IsOK(res1
)) {
15877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15879 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15882 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
15883 wxPyEndAllowThreads(__tstate
);
15884 if (PyErr_Occurred()) SWIG_fail
;
15886 resultobj
= SWIG_From_int(static_cast< int >(result
));
15893 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15894 PyObject
*resultobj
= 0;
15895 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15901 PyObject
* obj0
= 0 ;
15902 PyObject
* obj1
= 0 ;
15903 char * kwnames
[] = {
15904 (char *) "self",(char *) "pos", NULL
15907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15909 if (!SWIG_IsOK(res1
)) {
15910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15912 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15913 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15914 if (!SWIG_IsOK(ecode2
)) {
15915 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
15917 arg2
= static_cast< int >(val2
);
15919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15920 (arg1
)->SetPosition(arg2
);
15921 wxPyEndAllowThreads(__tstate
);
15922 if (PyErr_Occurred()) SWIG_fail
;
15924 resultobj
= SWIG_Py_Void();
15931 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15933 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15934 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
15935 return SWIG_Py_Void();
15938 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15939 return SWIG_Python_InitShadowInstance(args
);
15942 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
15943 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
15948 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
15949 PyObject
*pyobj
= 0;
15953 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15955 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15962 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
15963 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
15968 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
15969 PyObject
*pyobj
= 0;
15973 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15975 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15982 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15983 PyObject
*resultobj
= 0;
15984 wxWindow
*arg1
= (wxWindow
*) 0 ;
15985 int arg2
= (int) -1 ;
15986 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15987 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15988 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15989 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15990 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15991 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15992 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
15993 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
15994 int arg7
= (int) 0 ;
15995 long arg8
= (long) wxRA_HORIZONTAL
;
15996 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
15997 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
15998 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
15999 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
16000 wxRadioBox
*result
= 0 ;
16005 bool temp3
= false ;
16008 bool temp6
= false ;
16015 bool temp10
= false ;
16016 PyObject
* obj0
= 0 ;
16017 PyObject
* obj1
= 0 ;
16018 PyObject
* obj2
= 0 ;
16019 PyObject
* obj3
= 0 ;
16020 PyObject
* obj4
= 0 ;
16021 PyObject
* obj5
= 0 ;
16022 PyObject
* obj6
= 0 ;
16023 PyObject
* obj7
= 0 ;
16024 PyObject
* obj8
= 0 ;
16025 PyObject
* obj9
= 0 ;
16026 char * kwnames
[] = {
16027 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
16031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16032 if (!SWIG_IsOK(res1
)) {
16033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16035 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16037 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16038 if (!SWIG_IsOK(ecode2
)) {
16039 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
16041 arg2
= static_cast< int >(val2
);
16045 arg3
= wxString_in_helper(obj2
);
16046 if (arg3
== NULL
) SWIG_fail
;
16053 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16059 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16064 if (! PySequence_Check(obj5
)) {
16065 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16068 arg6
= new wxArrayString
;
16070 int i
, len
=PySequence_Length(obj5
);
16071 for (i
=0; i
<len
; i
++) {
16072 PyObject
* item
= PySequence_GetItem(obj5
, i
);
16073 wxString
* s
= wxString_in_helper(item
);
16074 if (PyErr_Occurred()) SWIG_fail
;
16082 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
16083 if (!SWIG_IsOK(ecode7
)) {
16084 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16086 arg7
= static_cast< int >(val7
);
16089 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
16090 if (!SWIG_IsOK(ecode8
)) {
16091 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16093 arg8
= static_cast< long >(val8
);
16096 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
16097 if (!SWIG_IsOK(res9
)) {
16098 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16101 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16103 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
16107 arg10
= wxString_in_helper(obj9
);
16108 if (arg10
== NULL
) SWIG_fail
;
16113 if (!wxPyCheckForApp()) SWIG_fail
;
16114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16115 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
);
16116 wxPyEndAllowThreads(__tstate
);
16117 if (PyErr_Occurred()) SWIG_fail
;
16119 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
16125 if (temp6
) delete arg6
;
16138 if (temp6
) delete arg6
;
16148 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16149 PyObject
*resultobj
= 0;
16150 wxRadioBox
*result
= 0 ;
16152 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
16154 if (!wxPyCheckForApp()) SWIG_fail
;
16155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16156 result
= (wxRadioBox
*)new wxRadioBox();
16157 wxPyEndAllowThreads(__tstate
);
16158 if (PyErr_Occurred()) SWIG_fail
;
16160 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
16167 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16168 PyObject
*resultobj
= 0;
16169 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16170 wxWindow
*arg2
= (wxWindow
*) 0 ;
16171 int arg3
= (int) -1 ;
16172 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16173 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16174 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16175 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16176 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16177 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16178 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
16179 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
16180 int arg8
= (int) 0 ;
16181 long arg9
= (long) wxRA_HORIZONTAL
;
16182 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
16183 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
16184 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
16185 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16193 bool temp4
= false ;
16196 bool temp7
= false ;
16203 bool temp11
= false ;
16204 PyObject
* obj0
= 0 ;
16205 PyObject
* obj1
= 0 ;
16206 PyObject
* obj2
= 0 ;
16207 PyObject
* obj3
= 0 ;
16208 PyObject
* obj4
= 0 ;
16209 PyObject
* obj5
= 0 ;
16210 PyObject
* obj6
= 0 ;
16211 PyObject
* obj7
= 0 ;
16212 PyObject
* obj8
= 0 ;
16213 PyObject
* obj9
= 0 ;
16214 PyObject
* obj10
= 0 ;
16215 char * kwnames
[] = {
16216 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16221 if (!SWIG_IsOK(res1
)) {
16222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16224 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16225 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16226 if (!SWIG_IsOK(res2
)) {
16227 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16229 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16231 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16232 if (!SWIG_IsOK(ecode3
)) {
16233 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16235 arg3
= static_cast< int >(val3
);
16239 arg4
= wxString_in_helper(obj3
);
16240 if (arg4
== NULL
) SWIG_fail
;
16247 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16253 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16258 if (! PySequence_Check(obj6
)) {
16259 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16262 arg7
= new wxArrayString
;
16264 int i
, len
=PySequence_Length(obj6
);
16265 for (i
=0; i
<len
; i
++) {
16266 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16267 wxString
* s
= wxString_in_helper(item
);
16268 if (PyErr_Occurred()) SWIG_fail
;
16276 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16277 if (!SWIG_IsOK(ecode8
)) {
16278 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16280 arg8
= static_cast< int >(val8
);
16283 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16284 if (!SWIG_IsOK(ecode9
)) {
16285 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16287 arg9
= static_cast< long >(val9
);
16290 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16291 if (!SWIG_IsOK(res10
)) {
16292 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16295 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16297 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16301 arg11
= wxString_in_helper(obj10
);
16302 if (arg11
== NULL
) SWIG_fail
;
16307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16308 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
);
16309 wxPyEndAllowThreads(__tstate
);
16310 if (PyErr_Occurred()) SWIG_fail
;
16313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16320 if (temp7
) delete arg7
;
16333 if (temp7
) delete arg7
;
16343 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16344 PyObject
*resultobj
= 0;
16345 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16351 PyObject
* obj0
= 0 ;
16352 PyObject
* obj1
= 0 ;
16353 char * kwnames
[] = {
16354 (char *) "self",(char *) "n", NULL
16357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16359 if (!SWIG_IsOK(res1
)) {
16360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16362 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16363 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16364 if (!SWIG_IsOK(ecode2
)) {
16365 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16367 arg2
= static_cast< int >(val2
);
16369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16370 (arg1
)->SetSelection(arg2
);
16371 wxPyEndAllowThreads(__tstate
);
16372 if (PyErr_Occurred()) SWIG_fail
;
16374 resultobj
= SWIG_Py_Void();
16381 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16382 PyObject
*resultobj
= 0;
16383 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16387 PyObject
*swig_obj
[1] ;
16389 if (!args
) SWIG_fail
;
16390 swig_obj
[0] = args
;
16391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16392 if (!SWIG_IsOK(res1
)) {
16393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16395 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16398 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16399 wxPyEndAllowThreads(__tstate
);
16400 if (PyErr_Occurred()) SWIG_fail
;
16402 resultobj
= SWIG_From_int(static_cast< int >(result
));
16409 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16410 PyObject
*resultobj
= 0;
16411 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16415 PyObject
*swig_obj
[1] ;
16417 if (!args
) SWIG_fail
;
16418 swig_obj
[0] = args
;
16419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16420 if (!SWIG_IsOK(res1
)) {
16421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16423 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16426 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16427 wxPyEndAllowThreads(__tstate
);
16428 if (PyErr_Occurred()) SWIG_fail
;
16432 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16434 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16443 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16444 PyObject
*resultobj
= 0;
16445 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16446 wxString
*arg2
= 0 ;
16450 bool temp2
= false ;
16451 PyObject
* obj0
= 0 ;
16452 PyObject
* obj1
= 0 ;
16453 char * kwnames
[] = {
16454 (char *) "self",(char *) "s", NULL
16457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16459 if (!SWIG_IsOK(res1
)) {
16460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16462 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16464 arg2
= wxString_in_helper(obj1
);
16465 if (arg2
== NULL
) SWIG_fail
;
16469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16470 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16471 wxPyEndAllowThreads(__tstate
);
16472 if (PyErr_Occurred()) SWIG_fail
;
16475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16491 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16492 PyObject
*resultobj
= 0;
16493 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16497 PyObject
*swig_obj
[1] ;
16499 if (!args
) SWIG_fail
;
16500 swig_obj
[0] = args
;
16501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16502 if (!SWIG_IsOK(res1
)) {
16503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16505 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16508 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16509 wxPyEndAllowThreads(__tstate
);
16510 if (PyErr_Occurred()) SWIG_fail
;
16512 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16519 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16520 PyObject
*resultobj
= 0;
16521 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16522 wxString
*arg2
= 0 ;
16526 bool temp2
= false ;
16527 PyObject
* obj0
= 0 ;
16528 PyObject
* obj1
= 0 ;
16529 char * kwnames
[] = {
16530 (char *) "self",(char *) "s", NULL
16533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16535 if (!SWIG_IsOK(res1
)) {
16536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16538 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16540 arg2
= wxString_in_helper(obj1
);
16541 if (arg2
== NULL
) SWIG_fail
;
16545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16546 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16547 wxPyEndAllowThreads(__tstate
);
16548 if (PyErr_Occurred()) SWIG_fail
;
16550 resultobj
= SWIG_From_int(static_cast< int >(result
));
16565 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16566 PyObject
*resultobj
= 0;
16567 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16574 PyObject
* obj0
= 0 ;
16575 PyObject
* obj1
= 0 ;
16576 char * kwnames
[] = {
16577 (char *) "self",(char *) "n", NULL
16580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16582 if (!SWIG_IsOK(res1
)) {
16583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16585 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16586 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16587 if (!SWIG_IsOK(ecode2
)) {
16588 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16590 arg2
= static_cast< int >(val2
);
16592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16593 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16594 wxPyEndAllowThreads(__tstate
);
16595 if (PyErr_Occurred()) SWIG_fail
;
16599 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16601 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16610 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16611 PyObject
*resultobj
= 0;
16612 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16614 wxString
*arg3
= 0 ;
16619 bool temp3
= false ;
16620 PyObject
* obj0
= 0 ;
16621 PyObject
* obj1
= 0 ;
16622 PyObject
* obj2
= 0 ;
16623 char * kwnames
[] = {
16624 (char *) "self",(char *) "n",(char *) "label", NULL
16627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16629 if (!SWIG_IsOK(res1
)) {
16630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16632 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16633 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16634 if (!SWIG_IsOK(ecode2
)) {
16635 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16637 arg2
= static_cast< int >(val2
);
16639 arg3
= wxString_in_helper(obj2
);
16640 if (arg3
== NULL
) SWIG_fail
;
16644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16645 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16646 wxPyEndAllowThreads(__tstate
);
16647 if (PyErr_Occurred()) SWIG_fail
;
16649 resultobj
= SWIG_Py_Void();
16664 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16665 PyObject
*resultobj
= 0;
16666 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16667 unsigned int arg2
;
16668 bool arg3
= (bool) true ;
16671 unsigned int val2
;
16675 PyObject
* obj0
= 0 ;
16676 PyObject
* obj1
= 0 ;
16677 PyObject
* obj2
= 0 ;
16678 char * kwnames
[] = {
16679 (char *) "self",(char *) "n",(char *) "enable", NULL
16682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16684 if (!SWIG_IsOK(res1
)) {
16685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16687 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16688 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16689 if (!SWIG_IsOK(ecode2
)) {
16690 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16692 arg2
= static_cast< unsigned int >(val2
);
16694 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16695 if (!SWIG_IsOK(ecode3
)) {
16696 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16698 arg3
= static_cast< bool >(val3
);
16701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16702 (arg1
)->Enable(arg2
,arg3
);
16703 wxPyEndAllowThreads(__tstate
);
16704 if (PyErr_Occurred()) SWIG_fail
;
16706 resultobj
= SWIG_Py_Void();
16713 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16714 PyObject
*resultobj
= 0;
16715 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16716 unsigned int arg2
;
16717 bool arg3
= (bool) true ;
16720 unsigned int val2
;
16724 PyObject
* obj0
= 0 ;
16725 PyObject
* obj1
= 0 ;
16726 PyObject
* obj2
= 0 ;
16727 char * kwnames
[] = {
16728 (char *) "self",(char *) "n",(char *) "show", NULL
16731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16733 if (!SWIG_IsOK(res1
)) {
16734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16736 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16737 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16738 if (!SWIG_IsOK(ecode2
)) {
16739 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16741 arg2
= static_cast< unsigned int >(val2
);
16743 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16744 if (!SWIG_IsOK(ecode3
)) {
16745 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16747 arg3
= static_cast< bool >(val3
);
16750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16751 (arg1
)->Show(arg2
,arg3
);
16752 wxPyEndAllowThreads(__tstate
);
16753 if (PyErr_Occurred()) SWIG_fail
;
16755 resultobj
= SWIG_Py_Void();
16762 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16763 PyObject
*resultobj
= 0;
16764 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16765 unsigned int arg2
;
16769 unsigned int val2
;
16771 PyObject
* obj0
= 0 ;
16772 PyObject
* obj1
= 0 ;
16773 char * kwnames
[] = {
16774 (char *) "self",(char *) "n", NULL
16777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16779 if (!SWIG_IsOK(res1
)) {
16780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16782 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16783 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16784 if (!SWIG_IsOK(ecode2
)) {
16785 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16787 arg2
= static_cast< unsigned int >(val2
);
16789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16790 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16791 wxPyEndAllowThreads(__tstate
);
16792 if (PyErr_Occurred()) SWIG_fail
;
16795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16803 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16804 PyObject
*resultobj
= 0;
16805 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16806 unsigned int arg2
;
16810 unsigned int val2
;
16812 PyObject
* obj0
= 0 ;
16813 PyObject
* obj1
= 0 ;
16814 char * kwnames
[] = {
16815 (char *) "self",(char *) "n", NULL
16818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16820 if (!SWIG_IsOK(res1
)) {
16821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16823 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16824 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16825 if (!SWIG_IsOK(ecode2
)) {
16826 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16828 arg2
= static_cast< unsigned int >(val2
);
16830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16831 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
16832 wxPyEndAllowThreads(__tstate
);
16833 if (PyErr_Occurred()) SWIG_fail
;
16836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16844 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16845 PyObject
*resultobj
= 0;
16846 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16847 unsigned int result
;
16850 PyObject
*swig_obj
[1] ;
16852 if (!args
) SWIG_fail
;
16853 swig_obj
[0] = args
;
16854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16855 if (!SWIG_IsOK(res1
)) {
16856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16858 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16861 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
16862 wxPyEndAllowThreads(__tstate
);
16863 if (PyErr_Occurred()) SWIG_fail
;
16865 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16872 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16873 PyObject
*resultobj
= 0;
16874 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16875 unsigned int result
;
16878 PyObject
*swig_obj
[1] ;
16880 if (!args
) SWIG_fail
;
16881 swig_obj
[0] = args
;
16882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16883 if (!SWIG_IsOK(res1
)) {
16884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16886 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16889 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
16890 wxPyEndAllowThreads(__tstate
);
16891 if (PyErr_Occurred()) SWIG_fail
;
16893 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16900 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16901 PyObject
*resultobj
= 0;
16902 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16915 PyObject
* obj0
= 0 ;
16916 PyObject
* obj1
= 0 ;
16917 PyObject
* obj2
= 0 ;
16918 PyObject
* obj3
= 0 ;
16919 char * kwnames
[] = {
16920 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
16923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16925 if (!SWIG_IsOK(res1
)) {
16926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16928 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16929 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16930 if (!SWIG_IsOK(ecode2
)) {
16931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
16933 arg2
= static_cast< int >(val2
);
16934 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16935 if (!SWIG_IsOK(ecode3
)) {
16936 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
16938 arg3
= static_cast< wxDirection
>(val3
);
16939 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16940 if (!SWIG_IsOK(ecode4
)) {
16941 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
16943 arg4
= static_cast< long >(val4
);
16945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16946 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
16947 wxPyEndAllowThreads(__tstate
);
16948 if (PyErr_Occurred()) SWIG_fail
;
16950 resultobj
= SWIG_From_int(static_cast< int >(result
));
16957 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16958 PyObject
*resultobj
= 0;
16959 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16960 unsigned int arg2
;
16961 wxString
*arg3
= 0 ;
16964 unsigned int val2
;
16966 bool temp3
= false ;
16967 PyObject
* obj0
= 0 ;
16968 PyObject
* obj1
= 0 ;
16969 PyObject
* obj2
= 0 ;
16970 char * kwnames
[] = {
16971 (char *) "self",(char *) "item",(char *) "text", NULL
16974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemToolTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16976 if (!SWIG_IsOK(res1
)) {
16977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16979 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16980 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16981 if (!SWIG_IsOK(ecode2
)) {
16982 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16984 arg2
= static_cast< unsigned int >(val2
);
16986 arg3
= wxString_in_helper(obj2
);
16987 if (arg3
== NULL
) SWIG_fail
;
16991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16992 (arg1
)->SetItemToolTip(arg2
,(wxString
const &)*arg3
);
16993 wxPyEndAllowThreads(__tstate
);
16994 if (PyErr_Occurred()) SWIG_fail
;
16996 resultobj
= SWIG_Py_Void();
17011 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17012 PyObject
*resultobj
= 0;
17013 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17014 unsigned int arg2
;
17015 wxToolTip
*result
= 0 ;
17018 unsigned int val2
;
17020 PyObject
* obj0
= 0 ;
17021 PyObject
* obj1
= 0 ;
17022 char * kwnames
[] = {
17023 (char *) "self",(char *) "item", NULL
17026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17028 if (!SWIG_IsOK(res1
)) {
17029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17031 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17032 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17033 if (!SWIG_IsOK(ecode2
)) {
17034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17036 arg2
= static_cast< unsigned int >(val2
);
17038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17039 result
= (wxToolTip
*)((wxRadioBox
const *)arg1
)->GetItemToolTip(arg2
);
17040 wxPyEndAllowThreads(__tstate
);
17041 if (PyErr_Occurred()) SWIG_fail
;
17044 resultobj
= wxPyMake_wxObject(result
, (bool)0);
17052 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17053 PyObject
*resultobj
= 0;
17054 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17055 unsigned int arg2
;
17056 wxString
*arg3
= 0 ;
17059 unsigned int val2
;
17061 bool temp3
= false ;
17062 PyObject
* obj0
= 0 ;
17063 PyObject
* obj1
= 0 ;
17064 PyObject
* obj2
= 0 ;
17065 char * kwnames
[] = {
17066 (char *) "self",(char *) "n",(char *) "helpText", NULL
17069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemHelpText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17071 if (!SWIG_IsOK(res1
)) {
17072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17074 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17075 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17076 if (!SWIG_IsOK(ecode2
)) {
17077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17079 arg2
= static_cast< unsigned int >(val2
);
17081 arg3
= wxString_in_helper(obj2
);
17082 if (arg3
== NULL
) SWIG_fail
;
17086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17087 (arg1
)->SetItemHelpText(arg2
,(wxString
const &)*arg3
);
17088 wxPyEndAllowThreads(__tstate
);
17089 if (PyErr_Occurred()) SWIG_fail
;
17091 resultobj
= SWIG_Py_Void();
17106 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17107 PyObject
*resultobj
= 0;
17108 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17109 unsigned int arg2
;
17113 unsigned int val2
;
17115 PyObject
* obj0
= 0 ;
17116 PyObject
* obj1
= 0 ;
17117 char * kwnames
[] = {
17118 (char *) "self",(char *) "n", NULL
17121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemHelpText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17123 if (!SWIG_IsOK(res1
)) {
17124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17126 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17127 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17128 if (!SWIG_IsOK(ecode2
)) {
17129 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17131 arg2
= static_cast< unsigned int >(val2
);
17133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17134 result
= ((wxRadioBox
const *)arg1
)->GetItemHelpText(arg2
);
17135 wxPyEndAllowThreads(__tstate
);
17136 if (PyErr_Occurred()) SWIG_fail
;
17140 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17142 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17151 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17152 PyObject
*resultobj
= 0;
17153 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17154 SwigValueWrapper
<wxVisualAttributes
> result
;
17157 PyObject
* obj0
= 0 ;
17158 char * kwnames
[] = {
17159 (char *) "variant", NULL
17162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17164 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17165 if (!SWIG_IsOK(ecode1
)) {
17166 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17168 arg1
= static_cast< wxWindowVariant
>(val1
);
17171 if (!wxPyCheckForApp()) SWIG_fail
;
17172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17173 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
17174 wxPyEndAllowThreads(__tstate
);
17175 if (PyErr_Occurred()) SWIG_fail
;
17177 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17184 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17186 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17187 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
17188 return SWIG_Py_Void();
17191 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17192 return SWIG_Python_InitShadowInstance(args
);
17195 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17196 PyObject
*resultobj
= 0;
17197 wxWindow
*arg1
= (wxWindow
*) 0 ;
17198 int arg2
= (int) -1 ;
17199 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17200 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17201 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17202 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17203 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17204 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17205 long arg6
= (long) 0 ;
17206 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17207 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17208 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
17209 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17210 wxRadioButton
*result
= 0 ;
17215 bool temp3
= false ;
17222 bool temp8
= false ;
17223 PyObject
* obj0
= 0 ;
17224 PyObject
* obj1
= 0 ;
17225 PyObject
* obj2
= 0 ;
17226 PyObject
* obj3
= 0 ;
17227 PyObject
* obj4
= 0 ;
17228 PyObject
* obj5
= 0 ;
17229 PyObject
* obj6
= 0 ;
17230 PyObject
* obj7
= 0 ;
17231 char * kwnames
[] = {
17232 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17237 if (!SWIG_IsOK(res1
)) {
17238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17240 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17242 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17243 if (!SWIG_IsOK(ecode2
)) {
17244 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17246 arg2
= static_cast< int >(val2
);
17250 arg3
= wxString_in_helper(obj2
);
17251 if (arg3
== NULL
) SWIG_fail
;
17258 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17264 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17268 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17269 if (!SWIG_IsOK(ecode6
)) {
17270 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17272 arg6
= static_cast< long >(val6
);
17275 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
17276 if (!SWIG_IsOK(res7
)) {
17277 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17280 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17282 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
17286 arg8
= wxString_in_helper(obj7
);
17287 if (arg8
== NULL
) SWIG_fail
;
17292 if (!wxPyCheckForApp()) SWIG_fail
;
17293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17294 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17295 wxPyEndAllowThreads(__tstate
);
17296 if (PyErr_Occurred()) SWIG_fail
;
17298 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17321 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17322 PyObject
*resultobj
= 0;
17323 wxRadioButton
*result
= 0 ;
17325 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17327 if (!wxPyCheckForApp()) SWIG_fail
;
17328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17329 result
= (wxRadioButton
*)new wxRadioButton();
17330 wxPyEndAllowThreads(__tstate
);
17331 if (PyErr_Occurred()) SWIG_fail
;
17333 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17340 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17341 PyObject
*resultobj
= 0;
17342 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17343 wxWindow
*arg2
= (wxWindow
*) 0 ;
17344 int arg3
= (int) -1 ;
17345 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17346 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17347 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17348 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17349 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17350 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17351 long arg7
= (long) 0 ;
17352 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17353 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17354 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17355 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17363 bool temp4
= false ;
17370 bool temp9
= false ;
17371 PyObject
* obj0
= 0 ;
17372 PyObject
* obj1
= 0 ;
17373 PyObject
* obj2
= 0 ;
17374 PyObject
* obj3
= 0 ;
17375 PyObject
* obj4
= 0 ;
17376 PyObject
* obj5
= 0 ;
17377 PyObject
* obj6
= 0 ;
17378 PyObject
* obj7
= 0 ;
17379 PyObject
* obj8
= 0 ;
17380 char * kwnames
[] = {
17381 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17386 if (!SWIG_IsOK(res1
)) {
17387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17389 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17390 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17391 if (!SWIG_IsOK(res2
)) {
17392 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17394 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17396 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17397 if (!SWIG_IsOK(ecode3
)) {
17398 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17400 arg3
= static_cast< int >(val3
);
17404 arg4
= wxString_in_helper(obj3
);
17405 if (arg4
== NULL
) SWIG_fail
;
17412 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17418 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17422 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17423 if (!SWIG_IsOK(ecode7
)) {
17424 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17426 arg7
= static_cast< long >(val7
);
17429 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17430 if (!SWIG_IsOK(res8
)) {
17431 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17434 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17436 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17440 arg9
= wxString_in_helper(obj8
);
17441 if (arg9
== NULL
) SWIG_fail
;
17446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17447 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17448 wxPyEndAllowThreads(__tstate
);
17449 if (PyErr_Occurred()) SWIG_fail
;
17452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17476 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17477 PyObject
*resultobj
= 0;
17478 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17482 PyObject
*swig_obj
[1] ;
17484 if (!args
) SWIG_fail
;
17485 swig_obj
[0] = args
;
17486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17487 if (!SWIG_IsOK(res1
)) {
17488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17490 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17493 result
= (bool)(arg1
)->GetValue();
17494 wxPyEndAllowThreads(__tstate
);
17495 if (PyErr_Occurred()) SWIG_fail
;
17498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17506 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17507 PyObject
*resultobj
= 0;
17508 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17514 PyObject
* obj0
= 0 ;
17515 PyObject
* obj1
= 0 ;
17516 char * kwnames
[] = {
17517 (char *) "self",(char *) "value", NULL
17520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17522 if (!SWIG_IsOK(res1
)) {
17523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17525 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17526 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17527 if (!SWIG_IsOK(ecode2
)) {
17528 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17530 arg2
= static_cast< bool >(val2
);
17532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17533 (arg1
)->SetValue(arg2
);
17534 wxPyEndAllowThreads(__tstate
);
17535 if (PyErr_Occurred()) SWIG_fail
;
17537 resultobj
= SWIG_Py_Void();
17544 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17545 PyObject
*resultobj
= 0;
17546 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17547 SwigValueWrapper
<wxVisualAttributes
> result
;
17550 PyObject
* obj0
= 0 ;
17551 char * kwnames
[] = {
17552 (char *) "variant", NULL
17555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17557 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17558 if (!SWIG_IsOK(ecode1
)) {
17559 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17561 arg1
= static_cast< wxWindowVariant
>(val1
);
17564 if (!wxPyCheckForApp()) SWIG_fail
;
17565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17566 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17567 wxPyEndAllowThreads(__tstate
);
17568 if (PyErr_Occurred()) SWIG_fail
;
17570 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17577 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17579 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17580 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17581 return SWIG_Py_Void();
17584 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17585 return SWIG_Python_InitShadowInstance(args
);
17588 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17589 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17594 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17595 PyObject
*pyobj
= 0;
17599 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17601 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17608 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17609 PyObject
*resultobj
= 0;
17610 wxWindow
*arg1
= (wxWindow
*) 0 ;
17611 int arg2
= (int) -1 ;
17612 int arg3
= (int) 0 ;
17613 int arg4
= (int) 0 ;
17614 int arg5
= (int) 100 ;
17615 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17616 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17617 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17618 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17619 long arg8
= (long) wxSL_HORIZONTAL
;
17620 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17621 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17622 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17623 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17624 wxSlider
*result
= 0 ;
17641 bool temp10
= false ;
17642 PyObject
* obj0
= 0 ;
17643 PyObject
* obj1
= 0 ;
17644 PyObject
* obj2
= 0 ;
17645 PyObject
* obj3
= 0 ;
17646 PyObject
* obj4
= 0 ;
17647 PyObject
* obj5
= 0 ;
17648 PyObject
* obj6
= 0 ;
17649 PyObject
* obj7
= 0 ;
17650 PyObject
* obj8
= 0 ;
17651 PyObject
* obj9
= 0 ;
17652 char * kwnames
[] = {
17653 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17658 if (!SWIG_IsOK(res1
)) {
17659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17661 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17663 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17664 if (!SWIG_IsOK(ecode2
)) {
17665 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17667 arg2
= static_cast< int >(val2
);
17670 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17671 if (!SWIG_IsOK(ecode3
)) {
17672 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17674 arg3
= static_cast< int >(val3
);
17677 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17678 if (!SWIG_IsOK(ecode4
)) {
17679 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17681 arg4
= static_cast< int >(val4
);
17684 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17685 if (!SWIG_IsOK(ecode5
)) {
17686 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17688 arg5
= static_cast< int >(val5
);
17693 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17699 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17703 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17704 if (!SWIG_IsOK(ecode8
)) {
17705 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17707 arg8
= static_cast< long >(val8
);
17710 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17711 if (!SWIG_IsOK(res9
)) {
17712 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17715 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17717 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17721 arg10
= wxString_in_helper(obj9
);
17722 if (arg10
== NULL
) SWIG_fail
;
17727 if (!wxPyCheckForApp()) SWIG_fail
;
17728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17729 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17730 wxPyEndAllowThreads(__tstate
);
17731 if (PyErr_Occurred()) SWIG_fail
;
17733 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17748 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17749 PyObject
*resultobj
= 0;
17750 wxSlider
*result
= 0 ;
17752 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17754 if (!wxPyCheckForApp()) SWIG_fail
;
17755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17756 result
= (wxSlider
*)new wxSlider();
17757 wxPyEndAllowThreads(__tstate
);
17758 if (PyErr_Occurred()) SWIG_fail
;
17760 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17767 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17768 PyObject
*resultobj
= 0;
17769 wxSlider
*arg1
= (wxSlider
*) 0 ;
17770 wxWindow
*arg2
= (wxWindow
*) 0 ;
17771 int arg3
= (int) -1 ;
17772 int arg4
= (int) 0 ;
17773 int arg5
= (int) 0 ;
17774 int arg6
= (int) 100 ;
17775 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17776 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17777 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17778 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17779 long arg9
= (long) wxSL_HORIZONTAL
;
17780 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17781 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17782 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17783 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17803 bool temp11
= false ;
17804 PyObject
* obj0
= 0 ;
17805 PyObject
* obj1
= 0 ;
17806 PyObject
* obj2
= 0 ;
17807 PyObject
* obj3
= 0 ;
17808 PyObject
* obj4
= 0 ;
17809 PyObject
* obj5
= 0 ;
17810 PyObject
* obj6
= 0 ;
17811 PyObject
* obj7
= 0 ;
17812 PyObject
* obj8
= 0 ;
17813 PyObject
* obj9
= 0 ;
17814 PyObject
* obj10
= 0 ;
17815 char * kwnames
[] = {
17816 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17821 if (!SWIG_IsOK(res1
)) {
17822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17824 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17825 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17826 if (!SWIG_IsOK(res2
)) {
17827 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17829 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17831 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17832 if (!SWIG_IsOK(ecode3
)) {
17833 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17835 arg3
= static_cast< int >(val3
);
17838 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17839 if (!SWIG_IsOK(ecode4
)) {
17840 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17842 arg4
= static_cast< int >(val4
);
17845 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17846 if (!SWIG_IsOK(ecode5
)) {
17847 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17849 arg5
= static_cast< int >(val5
);
17852 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17853 if (!SWIG_IsOK(ecode6
)) {
17854 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17856 arg6
= static_cast< int >(val6
);
17861 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17867 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
17871 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
17872 if (!SWIG_IsOK(ecode9
)) {
17873 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17875 arg9
= static_cast< long >(val9
);
17878 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
17879 if (!SWIG_IsOK(res10
)) {
17880 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17883 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17885 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
17889 arg11
= wxString_in_helper(obj10
);
17890 if (arg11
== NULL
) SWIG_fail
;
17895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17896 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
17897 wxPyEndAllowThreads(__tstate
);
17898 if (PyErr_Occurred()) SWIG_fail
;
17901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17917 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17918 PyObject
*resultobj
= 0;
17919 wxSlider
*arg1
= (wxSlider
*) 0 ;
17923 PyObject
*swig_obj
[1] ;
17925 if (!args
) SWIG_fail
;
17926 swig_obj
[0] = args
;
17927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17928 if (!SWIG_IsOK(res1
)) {
17929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
17931 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17934 result
= (int)((wxSlider
const *)arg1
)->GetValue();
17935 wxPyEndAllowThreads(__tstate
);
17936 if (PyErr_Occurred()) SWIG_fail
;
17938 resultobj
= SWIG_From_int(static_cast< int >(result
));
17945 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17946 PyObject
*resultobj
= 0;
17947 wxSlider
*arg1
= (wxSlider
*) 0 ;
17953 PyObject
* obj0
= 0 ;
17954 PyObject
* obj1
= 0 ;
17955 char * kwnames
[] = {
17956 (char *) "self",(char *) "value", NULL
17959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17961 if (!SWIG_IsOK(res1
)) {
17962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
17964 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17965 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17966 if (!SWIG_IsOK(ecode2
)) {
17967 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
17969 arg2
= static_cast< int >(val2
);
17971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17972 (arg1
)->SetValue(arg2
);
17973 wxPyEndAllowThreads(__tstate
);
17974 if (PyErr_Occurred()) SWIG_fail
;
17976 resultobj
= SWIG_Py_Void();
17983 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17984 PyObject
*resultobj
= 0;
17985 wxSlider
*arg1
= (wxSlider
*) 0 ;
17994 PyObject
* obj0
= 0 ;
17995 PyObject
* obj1
= 0 ;
17996 PyObject
* obj2
= 0 ;
17997 char * kwnames
[] = {
17998 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
18001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18003 if (!SWIG_IsOK(res1
)) {
18004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
18006 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18007 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18008 if (!SWIG_IsOK(ecode2
)) {
18009 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
18011 arg2
= static_cast< int >(val2
);
18012 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18013 if (!SWIG_IsOK(ecode3
)) {
18014 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
18016 arg3
= static_cast< int >(val3
);
18018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18019 (arg1
)->SetRange(arg2
,arg3
);
18020 wxPyEndAllowThreads(__tstate
);
18021 if (PyErr_Occurred()) SWIG_fail
;
18023 resultobj
= SWIG_Py_Void();
18030 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18031 PyObject
*resultobj
= 0;
18032 wxSlider
*arg1
= (wxSlider
*) 0 ;
18036 PyObject
*swig_obj
[1] ;
18038 if (!args
) SWIG_fail
;
18039 swig_obj
[0] = args
;
18040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18041 if (!SWIG_IsOK(res1
)) {
18042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
18044 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18047 result
= (int)((wxSlider
const *)arg1
)->GetMin();
18048 wxPyEndAllowThreads(__tstate
);
18049 if (PyErr_Occurred()) SWIG_fail
;
18051 resultobj
= SWIG_From_int(static_cast< int >(result
));
18058 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18059 PyObject
*resultobj
= 0;
18060 wxSlider
*arg1
= (wxSlider
*) 0 ;
18064 PyObject
*swig_obj
[1] ;
18066 if (!args
) SWIG_fail
;
18067 swig_obj
[0] = args
;
18068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18069 if (!SWIG_IsOK(res1
)) {
18070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
18072 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18075 result
= (int)((wxSlider
const *)arg1
)->GetMax();
18076 wxPyEndAllowThreads(__tstate
);
18077 if (PyErr_Occurred()) SWIG_fail
;
18079 resultobj
= SWIG_From_int(static_cast< int >(result
));
18086 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18087 PyObject
*resultobj
= 0;
18088 wxSlider
*arg1
= (wxSlider
*) 0 ;
18094 PyObject
* obj0
= 0 ;
18095 PyObject
* obj1
= 0 ;
18096 char * kwnames
[] = {
18097 (char *) "self",(char *) "minValue", NULL
18100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18102 if (!SWIG_IsOK(res1
)) {
18103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
18105 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18106 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18107 if (!SWIG_IsOK(ecode2
)) {
18108 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
18110 arg2
= static_cast< int >(val2
);
18112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18113 (arg1
)->SetMin(arg2
);
18114 wxPyEndAllowThreads(__tstate
);
18115 if (PyErr_Occurred()) SWIG_fail
;
18117 resultobj
= SWIG_Py_Void();
18124 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18125 PyObject
*resultobj
= 0;
18126 wxSlider
*arg1
= (wxSlider
*) 0 ;
18132 PyObject
* obj0
= 0 ;
18133 PyObject
* obj1
= 0 ;
18134 char * kwnames
[] = {
18135 (char *) "self",(char *) "maxValue", NULL
18138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18140 if (!SWIG_IsOK(res1
)) {
18141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
18143 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18144 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18145 if (!SWIG_IsOK(ecode2
)) {
18146 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
18148 arg2
= static_cast< int >(val2
);
18150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18151 (arg1
)->SetMax(arg2
);
18152 wxPyEndAllowThreads(__tstate
);
18153 if (PyErr_Occurred()) SWIG_fail
;
18155 resultobj
= SWIG_Py_Void();
18162 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18163 PyObject
*resultobj
= 0;
18164 wxSlider
*arg1
= (wxSlider
*) 0 ;
18170 PyObject
* obj0
= 0 ;
18171 PyObject
* obj1
= 0 ;
18172 char * kwnames
[] = {
18173 (char *) "self",(char *) "lineSize", NULL
18176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18178 if (!SWIG_IsOK(res1
)) {
18179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18181 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18182 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18183 if (!SWIG_IsOK(ecode2
)) {
18184 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18186 arg2
= static_cast< int >(val2
);
18188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18189 (arg1
)->SetLineSize(arg2
);
18190 wxPyEndAllowThreads(__tstate
);
18191 if (PyErr_Occurred()) SWIG_fail
;
18193 resultobj
= SWIG_Py_Void();
18200 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18201 PyObject
*resultobj
= 0;
18202 wxSlider
*arg1
= (wxSlider
*) 0 ;
18208 PyObject
* obj0
= 0 ;
18209 PyObject
* obj1
= 0 ;
18210 char * kwnames
[] = {
18211 (char *) "self",(char *) "pageSize", NULL
18214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18216 if (!SWIG_IsOK(res1
)) {
18217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18219 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18220 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18221 if (!SWIG_IsOK(ecode2
)) {
18222 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18224 arg2
= static_cast< int >(val2
);
18226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18227 (arg1
)->SetPageSize(arg2
);
18228 wxPyEndAllowThreads(__tstate
);
18229 if (PyErr_Occurred()) SWIG_fail
;
18231 resultobj
= SWIG_Py_Void();
18238 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18239 PyObject
*resultobj
= 0;
18240 wxSlider
*arg1
= (wxSlider
*) 0 ;
18244 PyObject
*swig_obj
[1] ;
18246 if (!args
) SWIG_fail
;
18247 swig_obj
[0] = args
;
18248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18249 if (!SWIG_IsOK(res1
)) {
18250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18252 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18255 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
18256 wxPyEndAllowThreads(__tstate
);
18257 if (PyErr_Occurred()) SWIG_fail
;
18259 resultobj
= SWIG_From_int(static_cast< int >(result
));
18266 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18267 PyObject
*resultobj
= 0;
18268 wxSlider
*arg1
= (wxSlider
*) 0 ;
18272 PyObject
*swig_obj
[1] ;
18274 if (!args
) SWIG_fail
;
18275 swig_obj
[0] = args
;
18276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18277 if (!SWIG_IsOK(res1
)) {
18278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18280 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18283 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
18284 wxPyEndAllowThreads(__tstate
);
18285 if (PyErr_Occurred()) SWIG_fail
;
18287 resultobj
= SWIG_From_int(static_cast< int >(result
));
18294 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18295 PyObject
*resultobj
= 0;
18296 wxSlider
*arg1
= (wxSlider
*) 0 ;
18302 PyObject
* obj0
= 0 ;
18303 PyObject
* obj1
= 0 ;
18304 char * kwnames
[] = {
18305 (char *) "self",(char *) "lenPixels", NULL
18308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18310 if (!SWIG_IsOK(res1
)) {
18311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18313 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18314 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18315 if (!SWIG_IsOK(ecode2
)) {
18316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18318 arg2
= static_cast< int >(val2
);
18320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18321 (arg1
)->SetThumbLength(arg2
);
18322 wxPyEndAllowThreads(__tstate
);
18323 if (PyErr_Occurred()) SWIG_fail
;
18325 resultobj
= SWIG_Py_Void();
18332 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18333 PyObject
*resultobj
= 0;
18334 wxSlider
*arg1
= (wxSlider
*) 0 ;
18338 PyObject
*swig_obj
[1] ;
18340 if (!args
) SWIG_fail
;
18341 swig_obj
[0] = args
;
18342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18343 if (!SWIG_IsOK(res1
)) {
18344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18346 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18349 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18350 wxPyEndAllowThreads(__tstate
);
18351 if (PyErr_Occurred()) SWIG_fail
;
18353 resultobj
= SWIG_From_int(static_cast< int >(result
));
18360 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18361 PyObject
*resultobj
= 0;
18362 wxSlider
*arg1
= (wxSlider
*) 0 ;
18364 int arg3
= (int) 1 ;
18371 PyObject
* obj0
= 0 ;
18372 PyObject
* obj1
= 0 ;
18373 PyObject
* obj2
= 0 ;
18374 char * kwnames
[] = {
18375 (char *) "self",(char *) "n",(char *) "pos", NULL
18378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18380 if (!SWIG_IsOK(res1
)) {
18381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18383 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18384 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18385 if (!SWIG_IsOK(ecode2
)) {
18386 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18388 arg2
= static_cast< int >(val2
);
18390 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18391 if (!SWIG_IsOK(ecode3
)) {
18392 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18394 arg3
= static_cast< int >(val3
);
18397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18398 (arg1
)->SetTickFreq(arg2
,arg3
);
18399 wxPyEndAllowThreads(__tstate
);
18400 if (PyErr_Occurred()) SWIG_fail
;
18402 resultobj
= SWIG_Py_Void();
18409 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18410 PyObject
*resultobj
= 0;
18411 wxSlider
*arg1
= (wxSlider
*) 0 ;
18415 PyObject
*swig_obj
[1] ;
18417 if (!args
) SWIG_fail
;
18418 swig_obj
[0] = args
;
18419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18420 if (!SWIG_IsOK(res1
)) {
18421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18423 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18426 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18427 wxPyEndAllowThreads(__tstate
);
18428 if (PyErr_Occurred()) SWIG_fail
;
18430 resultobj
= SWIG_From_int(static_cast< int >(result
));
18437 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18438 PyObject
*resultobj
= 0;
18439 wxSlider
*arg1
= (wxSlider
*) 0 ;
18442 PyObject
*swig_obj
[1] ;
18444 if (!args
) SWIG_fail
;
18445 swig_obj
[0] = args
;
18446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18447 if (!SWIG_IsOK(res1
)) {
18448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18450 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18453 (arg1
)->ClearTicks();
18454 wxPyEndAllowThreads(__tstate
);
18455 if (PyErr_Occurred()) SWIG_fail
;
18457 resultobj
= SWIG_Py_Void();
18464 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18465 PyObject
*resultobj
= 0;
18466 wxSlider
*arg1
= (wxSlider
*) 0 ;
18472 PyObject
* obj0
= 0 ;
18473 PyObject
* obj1
= 0 ;
18474 char * kwnames
[] = {
18475 (char *) "self",(char *) "tickPos", NULL
18478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) 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_SetTick" "', 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_SetTick" "', expected argument " "2"" of type '" "int""'");
18488 arg2
= static_cast< int >(val2
);
18490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18491 (arg1
)->SetTick(arg2
);
18492 wxPyEndAllowThreads(__tstate
);
18493 if (PyErr_Occurred()) SWIG_fail
;
18495 resultobj
= SWIG_Py_Void();
18502 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18503 PyObject
*resultobj
= 0;
18504 wxSlider
*arg1
= (wxSlider
*) 0 ;
18507 PyObject
*swig_obj
[1] ;
18509 if (!args
) SWIG_fail
;
18510 swig_obj
[0] = args
;
18511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18512 if (!SWIG_IsOK(res1
)) {
18513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18515 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18518 (arg1
)->ClearSel();
18519 wxPyEndAllowThreads(__tstate
);
18520 if (PyErr_Occurred()) SWIG_fail
;
18522 resultobj
= SWIG_Py_Void();
18529 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18530 PyObject
*resultobj
= 0;
18531 wxSlider
*arg1
= (wxSlider
*) 0 ;
18535 PyObject
*swig_obj
[1] ;
18537 if (!args
) SWIG_fail
;
18538 swig_obj
[0] = args
;
18539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18540 if (!SWIG_IsOK(res1
)) {
18541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18543 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18546 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18547 wxPyEndAllowThreads(__tstate
);
18548 if (PyErr_Occurred()) SWIG_fail
;
18550 resultobj
= SWIG_From_int(static_cast< int >(result
));
18557 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18558 PyObject
*resultobj
= 0;
18559 wxSlider
*arg1
= (wxSlider
*) 0 ;
18563 PyObject
*swig_obj
[1] ;
18565 if (!args
) SWIG_fail
;
18566 swig_obj
[0] = args
;
18567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18568 if (!SWIG_IsOK(res1
)) {
18569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18571 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18574 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18575 wxPyEndAllowThreads(__tstate
);
18576 if (PyErr_Occurred()) SWIG_fail
;
18578 resultobj
= SWIG_From_int(static_cast< int >(result
));
18585 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18586 PyObject
*resultobj
= 0;
18587 wxSlider
*arg1
= (wxSlider
*) 0 ;
18596 PyObject
* obj0
= 0 ;
18597 PyObject
* obj1
= 0 ;
18598 PyObject
* obj2
= 0 ;
18599 char * kwnames
[] = {
18600 (char *) "self",(char *) "min",(char *) "max", NULL
18603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18605 if (!SWIG_IsOK(res1
)) {
18606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18608 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18609 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18610 if (!SWIG_IsOK(ecode2
)) {
18611 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18613 arg2
= static_cast< int >(val2
);
18614 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18615 if (!SWIG_IsOK(ecode3
)) {
18616 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18618 arg3
= static_cast< int >(val3
);
18620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18621 (arg1
)->SetSelection(arg2
,arg3
);
18622 wxPyEndAllowThreads(__tstate
);
18623 if (PyErr_Occurred()) SWIG_fail
;
18625 resultobj
= SWIG_Py_Void();
18632 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18633 PyObject
*resultobj
= 0;
18634 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18635 SwigValueWrapper
<wxVisualAttributes
> result
;
18638 PyObject
* obj0
= 0 ;
18639 char * kwnames
[] = {
18640 (char *) "variant", NULL
18643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18645 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18646 if (!SWIG_IsOK(ecode1
)) {
18647 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18649 arg1
= static_cast< wxWindowVariant
>(val1
);
18652 if (!wxPyCheckForApp()) SWIG_fail
;
18653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18654 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18655 wxPyEndAllowThreads(__tstate
);
18656 if (PyErr_Occurred()) SWIG_fail
;
18658 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18665 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18667 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18668 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18669 return SWIG_Py_Void();
18672 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18673 return SWIG_Python_InitShadowInstance(args
);
18676 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18677 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18682 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18683 PyObject
*pyobj
= 0;
18687 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18689 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18696 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18697 PyObject
*resultobj
= 0;
18698 wxWindow
*arg1
= (wxWindow
*) 0 ;
18699 int arg2
= (int) -1 ;
18700 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18701 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18702 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18703 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18704 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18705 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18706 long arg6
= (long) 0 ;
18707 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18708 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18709 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18710 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18711 wxToggleButton
*result
= 0 ;
18716 bool temp3
= false ;
18723 bool temp8
= false ;
18724 PyObject
* obj0
= 0 ;
18725 PyObject
* obj1
= 0 ;
18726 PyObject
* obj2
= 0 ;
18727 PyObject
* obj3
= 0 ;
18728 PyObject
* obj4
= 0 ;
18729 PyObject
* obj5
= 0 ;
18730 PyObject
* obj6
= 0 ;
18731 PyObject
* obj7
= 0 ;
18732 char * kwnames
[] = {
18733 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18738 if (!SWIG_IsOK(res1
)) {
18739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18741 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18743 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18744 if (!SWIG_IsOK(ecode2
)) {
18745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18747 arg2
= static_cast< int >(val2
);
18751 arg3
= wxString_in_helper(obj2
);
18752 if (arg3
== NULL
) SWIG_fail
;
18759 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18765 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18769 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18770 if (!SWIG_IsOK(ecode6
)) {
18771 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18773 arg6
= static_cast< long >(val6
);
18776 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18777 if (!SWIG_IsOK(res7
)) {
18778 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18781 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18783 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18787 arg8
= wxString_in_helper(obj7
);
18788 if (arg8
== NULL
) SWIG_fail
;
18793 if (!wxPyCheckForApp()) SWIG_fail
;
18794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18795 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18796 wxPyEndAllowThreads(__tstate
);
18797 if (PyErr_Occurred()) SWIG_fail
;
18799 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18822 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18823 PyObject
*resultobj
= 0;
18824 wxToggleButton
*result
= 0 ;
18826 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
18828 if (!wxPyCheckForApp()) SWIG_fail
;
18829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18830 result
= (wxToggleButton
*)new wxToggleButton();
18831 wxPyEndAllowThreads(__tstate
);
18832 if (PyErr_Occurred()) SWIG_fail
;
18834 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
18841 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18842 PyObject
*resultobj
= 0;
18843 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18844 wxWindow
*arg2
= (wxWindow
*) 0 ;
18845 int arg3
= (int) -1 ;
18846 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18847 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18848 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18849 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18850 wxSize
const &arg6_defvalue
= wxDefaultSize
;
18851 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
18852 long arg7
= (long) 0 ;
18853 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18854 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18855 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
18856 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
18864 bool temp4
= false ;
18871 bool temp9
= false ;
18872 PyObject
* obj0
= 0 ;
18873 PyObject
* obj1
= 0 ;
18874 PyObject
* obj2
= 0 ;
18875 PyObject
* obj3
= 0 ;
18876 PyObject
* obj4
= 0 ;
18877 PyObject
* obj5
= 0 ;
18878 PyObject
* obj6
= 0 ;
18879 PyObject
* obj7
= 0 ;
18880 PyObject
* obj8
= 0 ;
18881 char * kwnames
[] = {
18882 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
18886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18887 if (!SWIG_IsOK(res1
)) {
18888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18890 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18891 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18892 if (!SWIG_IsOK(res2
)) {
18893 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18895 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18897 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18898 if (!SWIG_IsOK(ecode3
)) {
18899 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18901 arg3
= static_cast< int >(val3
);
18905 arg4
= wxString_in_helper(obj3
);
18906 if (arg4
== NULL
) SWIG_fail
;
18913 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18919 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
18923 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18924 if (!SWIG_IsOK(ecode7
)) {
18925 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
18927 arg7
= static_cast< long >(val7
);
18930 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
18931 if (!SWIG_IsOK(res8
)) {
18932 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18935 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18937 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
18941 arg9
= wxString_in_helper(obj8
);
18942 if (arg9
== NULL
) SWIG_fail
;
18947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18948 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
18949 wxPyEndAllowThreads(__tstate
);
18950 if (PyErr_Occurred()) SWIG_fail
;
18953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18977 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18978 PyObject
*resultobj
= 0;
18979 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18985 PyObject
* obj0
= 0 ;
18986 PyObject
* obj1
= 0 ;
18987 char * kwnames
[] = {
18988 (char *) "self",(char *) "value", NULL
18991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18993 if (!SWIG_IsOK(res1
)) {
18994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18996 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18997 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18998 if (!SWIG_IsOK(ecode2
)) {
18999 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
19001 arg2
= static_cast< bool >(val2
);
19003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19004 (arg1
)->SetValue(arg2
);
19005 wxPyEndAllowThreads(__tstate
);
19006 if (PyErr_Occurred()) SWIG_fail
;
19008 resultobj
= SWIG_Py_Void();
19015 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19016 PyObject
*resultobj
= 0;
19017 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19021 PyObject
*swig_obj
[1] ;
19023 if (!args
) SWIG_fail
;
19024 swig_obj
[0] = args
;
19025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19026 if (!SWIG_IsOK(res1
)) {
19027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
19029 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19032 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
19033 wxPyEndAllowThreads(__tstate
);
19034 if (PyErr_Occurred()) SWIG_fail
;
19037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19045 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19046 PyObject
*resultobj
= 0;
19047 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
19048 SwigValueWrapper
<wxVisualAttributes
> result
;
19051 PyObject
* obj0
= 0 ;
19052 char * kwnames
[] = {
19053 (char *) "variant", NULL
19056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
19058 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19059 if (!SWIG_IsOK(ecode1
)) {
19060 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19062 arg1
= static_cast< wxWindowVariant
>(val1
);
19065 if (!wxPyCheckForApp()) SWIG_fail
;
19066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19067 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
19068 wxPyEndAllowThreads(__tstate
);
19069 if (PyErr_Occurred()) SWIG_fail
;
19071 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
19078 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19080 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19081 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
19082 return SWIG_Py_Void();
19085 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19086 return SWIG_Python_InitShadowInstance(args
);
19089 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
19090 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
19095 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
19096 PyObject
*pyobj
= 0;
19100 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19102 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19109 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19110 PyObject
*resultobj
= 0;
19111 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19115 PyObject
*swig_obj
[1] ;
19117 if (!args
) SWIG_fail
;
19118 swig_obj
[0] = args
;
19119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19120 if (!SWIG_IsOK(res1
)) {
19121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19123 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19126 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
19127 wxPyEndAllowThreads(__tstate
);
19128 if (PyErr_Occurred()) SWIG_fail
;
19130 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19137 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19138 PyObject
*resultobj
= 0;
19139 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19141 wxWindow
*result
= 0 ;
19146 PyObject
* obj0
= 0 ;
19147 PyObject
* obj1
= 0 ;
19148 char * kwnames
[] = {
19149 (char *) "self",(char *) "n", NULL
19152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19154 if (!SWIG_IsOK(res1
)) {
19155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19157 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19158 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19159 if (!SWIG_IsOK(ecode2
)) {
19160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19162 arg2
= static_cast< size_t >(val2
);
19164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19165 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
19166 wxPyEndAllowThreads(__tstate
);
19167 if (PyErr_Occurred()) SWIG_fail
;
19170 resultobj
= wxPyMake_wxObject(result
, 0);
19178 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19179 PyObject
*resultobj
= 0;
19180 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19181 wxWindow
*result
= 0 ;
19184 PyObject
*swig_obj
[1] ;
19186 if (!args
) SWIG_fail
;
19187 swig_obj
[0] = args
;
19188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19189 if (!SWIG_IsOK(res1
)) {
19190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19192 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19195 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
19196 wxPyEndAllowThreads(__tstate
);
19197 if (PyErr_Occurred()) SWIG_fail
;
19200 resultobj
= wxPyMake_wxObject(result
, 0);
19208 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19209 PyObject
*resultobj
= 0;
19210 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19214 PyObject
*swig_obj
[1] ;
19216 if (!args
) SWIG_fail
;
19217 swig_obj
[0] = args
;
19218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19219 if (!SWIG_IsOK(res1
)) {
19220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19222 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19225 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
19226 wxPyEndAllowThreads(__tstate
);
19227 if (PyErr_Occurred()) SWIG_fail
;
19229 resultobj
= SWIG_From_int(static_cast< int >(result
));
19236 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19237 PyObject
*resultobj
= 0;
19238 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19240 wxString
*arg3
= 0 ;
19246 bool temp3
= false ;
19247 PyObject
* obj0
= 0 ;
19248 PyObject
* obj1
= 0 ;
19249 PyObject
* obj2
= 0 ;
19250 char * kwnames
[] = {
19251 (char *) "self",(char *) "n",(char *) "strText", NULL
19254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19256 if (!SWIG_IsOK(res1
)) {
19257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19259 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19260 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19261 if (!SWIG_IsOK(ecode2
)) {
19262 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19264 arg2
= static_cast< size_t >(val2
);
19266 arg3
= wxString_in_helper(obj2
);
19267 if (arg3
== NULL
) SWIG_fail
;
19271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19272 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
19273 wxPyEndAllowThreads(__tstate
);
19274 if (PyErr_Occurred()) SWIG_fail
;
19277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19293 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19294 PyObject
*resultobj
= 0;
19295 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19302 PyObject
* obj0
= 0 ;
19303 PyObject
* obj1
= 0 ;
19304 char * kwnames
[] = {
19305 (char *) "self",(char *) "n", NULL
19308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19310 if (!SWIG_IsOK(res1
)) {
19311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19313 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19314 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19315 if (!SWIG_IsOK(ecode2
)) {
19316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19318 arg2
= static_cast< size_t >(val2
);
19320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19321 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19322 wxPyEndAllowThreads(__tstate
);
19323 if (PyErr_Occurred()) SWIG_fail
;
19327 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19329 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19338 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19339 PyObject
*resultobj
= 0;
19340 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19341 wxImageList
*arg2
= (wxImageList
*) 0 ;
19346 PyObject
* obj0
= 0 ;
19347 PyObject
* obj1
= 0 ;
19348 char * kwnames
[] = {
19349 (char *) "self",(char *) "imageList", NULL
19352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19354 if (!SWIG_IsOK(res1
)) {
19355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19357 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19358 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19359 if (!SWIG_IsOK(res2
)) {
19360 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19362 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19365 (arg1
)->SetImageList(arg2
);
19366 wxPyEndAllowThreads(__tstate
);
19367 if (PyErr_Occurred()) SWIG_fail
;
19369 resultobj
= SWIG_Py_Void();
19376 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19377 PyObject
*resultobj
= 0;
19378 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19379 wxImageList
*arg2
= (wxImageList
*) 0 ;
19383 PyObject
* obj0
= 0 ;
19384 PyObject
* obj1
= 0 ;
19385 char * kwnames
[] = {
19386 (char *) "self",(char *) "imageList", NULL
19389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19391 if (!SWIG_IsOK(res1
)) {
19392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19394 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19395 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19396 if (!SWIG_IsOK(res2
)) {
19397 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19401 (arg1
)->AssignImageList(arg2
);
19402 wxPyEndAllowThreads(__tstate
);
19403 if (PyErr_Occurred()) SWIG_fail
;
19405 resultobj
= SWIG_Py_Void();
19412 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19413 PyObject
*resultobj
= 0;
19414 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19415 wxImageList
*result
= 0 ;
19418 PyObject
*swig_obj
[1] ;
19420 if (!args
) SWIG_fail
;
19421 swig_obj
[0] = args
;
19422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19423 if (!SWIG_IsOK(res1
)) {
19424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19426 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19429 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19430 wxPyEndAllowThreads(__tstate
);
19431 if (PyErr_Occurred()) SWIG_fail
;
19434 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19442 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19443 PyObject
*resultobj
= 0;
19444 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19451 PyObject
* obj0
= 0 ;
19452 PyObject
* obj1
= 0 ;
19453 char * kwnames
[] = {
19454 (char *) "self",(char *) "n", NULL
19457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19459 if (!SWIG_IsOK(res1
)) {
19460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19462 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19463 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19464 if (!SWIG_IsOK(ecode2
)) {
19465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19467 arg2
= static_cast< size_t >(val2
);
19469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19470 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19471 wxPyEndAllowThreads(__tstate
);
19472 if (PyErr_Occurred()) SWIG_fail
;
19474 resultobj
= SWIG_From_int(static_cast< int >(result
));
19481 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19482 PyObject
*resultobj
= 0;
19483 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19493 PyObject
* obj0
= 0 ;
19494 PyObject
* obj1
= 0 ;
19495 PyObject
* obj2
= 0 ;
19496 char * kwnames
[] = {
19497 (char *) "self",(char *) "n",(char *) "imageId", NULL
19500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19502 if (!SWIG_IsOK(res1
)) {
19503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19505 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19506 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19507 if (!SWIG_IsOK(ecode2
)) {
19508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19510 arg2
= static_cast< size_t >(val2
);
19511 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19512 if (!SWIG_IsOK(ecode3
)) {
19513 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19515 arg3
= static_cast< int >(val3
);
19517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19518 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19519 wxPyEndAllowThreads(__tstate
);
19520 if (PyErr_Occurred()) SWIG_fail
;
19523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19531 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19532 PyObject
*resultobj
= 0;
19533 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19538 PyObject
* obj0
= 0 ;
19539 PyObject
* obj1
= 0 ;
19540 char * kwnames
[] = {
19541 (char *) "self",(char *) "size", NULL
19544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19546 if (!SWIG_IsOK(res1
)) {
19547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19549 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19552 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19556 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19557 wxPyEndAllowThreads(__tstate
);
19558 if (PyErr_Occurred()) SWIG_fail
;
19560 resultobj
= SWIG_Py_Void();
19567 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19568 PyObject
*resultobj
= 0;
19569 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19575 PyObject
* obj0
= 0 ;
19576 PyObject
* obj1
= 0 ;
19577 char * kwnames
[] = {
19578 (char *) "self",(char *) "sizePage", NULL
19581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19583 if (!SWIG_IsOK(res1
)) {
19584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19586 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19589 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19593 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19594 wxPyEndAllowThreads(__tstate
);
19595 if (PyErr_Occurred()) SWIG_fail
;
19597 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19604 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19605 PyObject
*resultobj
= 0;
19606 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19607 unsigned int result
;
19610 PyObject
*swig_obj
[1] ;
19612 if (!args
) SWIG_fail
;
19613 swig_obj
[0] = args
;
19614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19615 if (!SWIG_IsOK(res1
)) {
19616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19618 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19621 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19622 wxPyEndAllowThreads(__tstate
);
19623 if (PyErr_Occurred()) SWIG_fail
;
19625 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19632 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19633 PyObject
*resultobj
= 0;
19634 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19635 unsigned int arg2
;
19638 unsigned int val2
;
19640 PyObject
* obj0
= 0 ;
19641 PyObject
* obj1
= 0 ;
19642 char * kwnames
[] = {
19643 (char *) "self",(char *) "internalBorder", NULL
19646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19648 if (!SWIG_IsOK(res1
)) {
19649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19651 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19652 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19653 if (!SWIG_IsOK(ecode2
)) {
19654 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19656 arg2
= static_cast< unsigned int >(val2
);
19658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19659 (arg1
)->SetInternalBorder(arg2
);
19660 wxPyEndAllowThreads(__tstate
);
19661 if (PyErr_Occurred()) SWIG_fail
;
19663 resultobj
= SWIG_Py_Void();
19670 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19671 PyObject
*resultobj
= 0;
19672 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19676 PyObject
*swig_obj
[1] ;
19678 if (!args
) SWIG_fail
;
19679 swig_obj
[0] = args
;
19680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19681 if (!SWIG_IsOK(res1
)) {
19682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19684 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19687 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19688 wxPyEndAllowThreads(__tstate
);
19689 if (PyErr_Occurred()) SWIG_fail
;
19692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19700 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19701 PyObject
*resultobj
= 0;
19702 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19708 PyObject
* obj0
= 0 ;
19709 PyObject
* obj1
= 0 ;
19710 char * kwnames
[] = {
19711 (char *) "self",(char *) "margin", NULL
19714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19716 if (!SWIG_IsOK(res1
)) {
19717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19719 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19720 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19721 if (!SWIG_IsOK(ecode2
)) {
19722 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19724 arg2
= static_cast< int >(val2
);
19726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19727 (arg1
)->SetControlMargin(arg2
);
19728 wxPyEndAllowThreads(__tstate
);
19729 if (PyErr_Occurred()) SWIG_fail
;
19731 resultobj
= SWIG_Py_Void();
19738 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19739 PyObject
*resultobj
= 0;
19740 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19744 PyObject
*swig_obj
[1] ;
19746 if (!args
) SWIG_fail
;
19747 swig_obj
[0] = args
;
19748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19749 if (!SWIG_IsOK(res1
)) {
19750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19752 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19755 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
19756 wxPyEndAllowThreads(__tstate
);
19757 if (PyErr_Occurred()) SWIG_fail
;
19759 resultobj
= SWIG_From_int(static_cast< int >(result
));
19766 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19767 PyObject
*resultobj
= 0;
19768 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19774 PyObject
* obj0
= 0 ;
19775 PyObject
* obj1
= 0 ;
19776 char * kwnames
[] = {
19777 (char *) "self",(char *) "fit", NULL
19780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19782 if (!SWIG_IsOK(res1
)) {
19783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19785 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19786 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19787 if (!SWIG_IsOK(ecode2
)) {
19788 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19790 arg2
= static_cast< bool >(val2
);
19792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19793 (arg1
)->SetFitToCurrentPage(arg2
);
19794 wxPyEndAllowThreads(__tstate
);
19795 if (PyErr_Occurred()) SWIG_fail
;
19797 resultobj
= SWIG_Py_Void();
19804 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19805 PyObject
*resultobj
= 0;
19806 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19810 PyObject
*swig_obj
[1] ;
19812 if (!args
) SWIG_fail
;
19813 swig_obj
[0] = args
;
19814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19815 if (!SWIG_IsOK(res1
)) {
19816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19818 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19821 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19822 wxPyEndAllowThreads(__tstate
);
19823 if (PyErr_Occurred()) SWIG_fail
;
19826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19834 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19835 PyObject
*resultobj
= 0;
19836 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19837 wxSizer
*result
= 0 ;
19840 PyObject
*swig_obj
[1] ;
19842 if (!args
) SWIG_fail
;
19843 swig_obj
[0] = args
;
19844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19845 if (!SWIG_IsOK(res1
)) {
19846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19848 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19851 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
19852 wxPyEndAllowThreads(__tstate
);
19853 if (PyErr_Occurred()) SWIG_fail
;
19856 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19864 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19865 PyObject
*resultobj
= 0;
19866 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19873 PyObject
* obj0
= 0 ;
19874 PyObject
* obj1
= 0 ;
19875 char * kwnames
[] = {
19876 (char *) "self",(char *) "n", NULL
19879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19881 if (!SWIG_IsOK(res1
)) {
19882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19884 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19885 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19886 if (!SWIG_IsOK(ecode2
)) {
19887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19889 arg2
= static_cast< size_t >(val2
);
19891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19892 result
= (bool)(arg1
)->DeletePage(arg2
);
19893 wxPyEndAllowThreads(__tstate
);
19894 if (PyErr_Occurred()) SWIG_fail
;
19897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19905 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19906 PyObject
*resultobj
= 0;
19907 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19914 PyObject
* obj0
= 0 ;
19915 PyObject
* obj1
= 0 ;
19916 char * kwnames
[] = {
19917 (char *) "self",(char *) "n", NULL
19920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19922 if (!SWIG_IsOK(res1
)) {
19923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19925 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19926 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19927 if (!SWIG_IsOK(ecode2
)) {
19928 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
19930 arg2
= static_cast< size_t >(val2
);
19932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19933 result
= (bool)(arg1
)->RemovePage(arg2
);
19934 wxPyEndAllowThreads(__tstate
);
19935 if (PyErr_Occurred()) SWIG_fail
;
19938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19946 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19947 PyObject
*resultobj
= 0;
19948 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19952 PyObject
*swig_obj
[1] ;
19954 if (!args
) SWIG_fail
;
19955 swig_obj
[0] = args
;
19956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19957 if (!SWIG_IsOK(res1
)) {
19958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19960 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19963 result
= (bool)(arg1
)->DeleteAllPages();
19964 wxPyEndAllowThreads(__tstate
);
19965 if (PyErr_Occurred()) SWIG_fail
;
19968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19976 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19977 PyObject
*resultobj
= 0;
19978 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19979 wxWindow
*arg2
= (wxWindow
*) 0 ;
19980 wxString
*arg3
= 0 ;
19981 bool arg4
= (bool) false ;
19982 int arg5
= (int) -1 ;
19988 bool temp3
= false ;
19993 PyObject
* obj0
= 0 ;
19994 PyObject
* obj1
= 0 ;
19995 PyObject
* obj2
= 0 ;
19996 PyObject
* obj3
= 0 ;
19997 PyObject
* obj4
= 0 ;
19998 char * kwnames
[] = {
19999 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20004 if (!SWIG_IsOK(res1
)) {
20005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20007 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20008 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20009 if (!SWIG_IsOK(res2
)) {
20010 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
20012 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20014 arg3
= wxString_in_helper(obj2
);
20015 if (arg3
== NULL
) SWIG_fail
;
20019 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
20020 if (!SWIG_IsOK(ecode4
)) {
20021 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
20023 arg4
= static_cast< bool >(val4
);
20026 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20027 if (!SWIG_IsOK(ecode5
)) {
20028 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
20030 arg5
= static_cast< int >(val5
);
20033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20034 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
20035 wxPyEndAllowThreads(__tstate
);
20036 if (PyErr_Occurred()) SWIG_fail
;
20039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20055 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20056 PyObject
*resultobj
= 0;
20057 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20059 wxWindow
*arg3
= (wxWindow
*) 0 ;
20060 wxString
*arg4
= 0 ;
20061 bool arg5
= (bool) false ;
20062 int arg6
= (int) -1 ;
20070 bool temp4
= false ;
20075 PyObject
* obj0
= 0 ;
20076 PyObject
* obj1
= 0 ;
20077 PyObject
* obj2
= 0 ;
20078 PyObject
* obj3
= 0 ;
20079 PyObject
* obj4
= 0 ;
20080 PyObject
* obj5
= 0 ;
20081 char * kwnames
[] = {
20082 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20087 if (!SWIG_IsOK(res1
)) {
20088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20090 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20091 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20092 if (!SWIG_IsOK(ecode2
)) {
20093 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
20095 arg2
= static_cast< size_t >(val2
);
20096 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20097 if (!SWIG_IsOK(res3
)) {
20098 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
20100 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
20102 arg4
= wxString_in_helper(obj3
);
20103 if (arg4
== NULL
) SWIG_fail
;
20107 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
20108 if (!SWIG_IsOK(ecode5
)) {
20109 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
20111 arg5
= static_cast< bool >(val5
);
20114 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20115 if (!SWIG_IsOK(ecode6
)) {
20116 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
20118 arg6
= static_cast< int >(val6
);
20121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20122 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
20123 wxPyEndAllowThreads(__tstate
);
20124 if (PyErr_Occurred()) SWIG_fail
;
20127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20143 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20144 PyObject
*resultobj
= 0;
20145 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20152 PyObject
* obj0
= 0 ;
20153 PyObject
* obj1
= 0 ;
20154 char * kwnames
[] = {
20155 (char *) "self",(char *) "n", NULL
20158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20160 if (!SWIG_IsOK(res1
)) {
20161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20163 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20164 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20165 if (!SWIG_IsOK(ecode2
)) {
20166 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20168 arg2
= static_cast< size_t >(val2
);
20170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20171 result
= (int)(arg1
)->SetSelection(arg2
);
20172 wxPyEndAllowThreads(__tstate
);
20173 if (PyErr_Occurred()) SWIG_fail
;
20175 resultobj
= SWIG_From_int(static_cast< int >(result
));
20182 SWIGINTERN PyObject
*_wrap_BookCtrlBase_ChangeSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20183 PyObject
*resultobj
= 0;
20184 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20191 PyObject
* obj0
= 0 ;
20192 PyObject
* obj1
= 0 ;
20193 char * kwnames
[] = {
20194 (char *) "self",(char *) "n", NULL
20197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_ChangeSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20199 if (!SWIG_IsOK(res1
)) {
20200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20202 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20203 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20204 if (!SWIG_IsOK(ecode2
)) {
20205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "2"" of type '" "size_t""'");
20207 arg2
= static_cast< size_t >(val2
);
20209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20210 result
= (int)(arg1
)->ChangeSelection(arg2
);
20211 wxPyEndAllowThreads(__tstate
);
20212 if (PyErr_Occurred()) SWIG_fail
;
20214 resultobj
= SWIG_From_int(static_cast< int >(result
));
20221 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20222 PyObject
*resultobj
= 0;
20223 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20224 bool arg2
= (bool) true ;
20229 PyObject
* obj0
= 0 ;
20230 PyObject
* obj1
= 0 ;
20231 char * kwnames
[] = {
20232 (char *) "self",(char *) "forward", NULL
20235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20237 if (!SWIG_IsOK(res1
)) {
20238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20240 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20242 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20243 if (!SWIG_IsOK(ecode2
)) {
20244 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20246 arg2
= static_cast< bool >(val2
);
20249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20250 (arg1
)->AdvanceSelection(arg2
);
20251 wxPyEndAllowThreads(__tstate
);
20252 if (PyErr_Occurred()) SWIG_fail
;
20254 resultobj
= SWIG_Py_Void();
20261 SWIGINTERN PyObject
*_wrap_BookCtrlBase_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20262 PyObject
*resultobj
= 0;
20263 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20264 wxPoint
*arg2
= 0 ;
20265 long *arg3
= (long *) 0 ;
20271 int res3
= SWIG_TMPOBJ
;
20272 PyObject
* obj0
= 0 ;
20273 PyObject
* obj1
= 0 ;
20274 char * kwnames
[] = {
20275 (char *) "self",(char *) "pt", NULL
20279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20281 if (!SWIG_IsOK(res1
)) {
20282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20284 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20287 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20291 result
= (int)((wxBookCtrlBase
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20292 wxPyEndAllowThreads(__tstate
);
20293 if (PyErr_Occurred()) SWIG_fail
;
20295 resultobj
= SWIG_From_int(static_cast< int >(result
));
20296 if (SWIG_IsTmpObj(res3
)) {
20297 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20299 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20300 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20308 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20309 PyObject
*resultobj
= 0;
20310 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20311 SwigValueWrapper
<wxVisualAttributes
> result
;
20314 PyObject
* obj0
= 0 ;
20315 char * kwnames
[] = {
20316 (char *) "variant", NULL
20319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20321 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20322 if (!SWIG_IsOK(ecode1
)) {
20323 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20325 arg1
= static_cast< wxWindowVariant
>(val1
);
20328 if (!wxPyCheckForApp()) SWIG_fail
;
20329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20330 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
20331 wxPyEndAllowThreads(__tstate
);
20332 if (PyErr_Occurred()) SWIG_fail
;
20334 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20341 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20343 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20344 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
20345 return SWIG_Py_Void();
20348 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20349 PyObject
*resultobj
= 0;
20350 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20351 int arg2
= (int) 0 ;
20352 int arg3
= (int) -1 ;
20353 int arg4
= (int) -1 ;
20354 wxBookCtrlBaseEvent
*result
= 0 ;
20363 PyObject
* obj0
= 0 ;
20364 PyObject
* obj1
= 0 ;
20365 PyObject
* obj2
= 0 ;
20366 PyObject
* obj3
= 0 ;
20367 char * kwnames
[] = {
20368 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20373 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20374 if (!SWIG_IsOK(ecode1
)) {
20375 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20377 arg1
= static_cast< wxEventType
>(val1
);
20380 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20381 if (!SWIG_IsOK(ecode2
)) {
20382 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20384 arg2
= static_cast< int >(val2
);
20387 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20388 if (!SWIG_IsOK(ecode3
)) {
20389 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20391 arg3
= static_cast< int >(val3
);
20394 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20395 if (!SWIG_IsOK(ecode4
)) {
20396 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20398 arg4
= static_cast< int >(val4
);
20401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20402 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
20403 wxPyEndAllowThreads(__tstate
);
20404 if (PyErr_Occurred()) SWIG_fail
;
20406 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
20413 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20414 PyObject
*resultobj
= 0;
20415 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20419 PyObject
*swig_obj
[1] ;
20421 if (!args
) SWIG_fail
;
20422 swig_obj
[0] = args
;
20423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20424 if (!SWIG_IsOK(res1
)) {
20425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20427 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20430 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
20431 wxPyEndAllowThreads(__tstate
);
20432 if (PyErr_Occurred()) SWIG_fail
;
20434 resultobj
= SWIG_From_int(static_cast< int >(result
));
20441 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20442 PyObject
*resultobj
= 0;
20443 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20449 PyObject
* obj0
= 0 ;
20450 PyObject
* obj1
= 0 ;
20451 char * kwnames
[] = {
20452 (char *) "self",(char *) "nSel", NULL
20455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20457 if (!SWIG_IsOK(res1
)) {
20458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20460 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20461 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20462 if (!SWIG_IsOK(ecode2
)) {
20463 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20465 arg2
= static_cast< int >(val2
);
20467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20468 (arg1
)->SetSelection(arg2
);
20469 wxPyEndAllowThreads(__tstate
);
20470 if (PyErr_Occurred()) SWIG_fail
;
20472 resultobj
= SWIG_Py_Void();
20479 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20480 PyObject
*resultobj
= 0;
20481 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20485 PyObject
*swig_obj
[1] ;
20487 if (!args
) SWIG_fail
;
20488 swig_obj
[0] = args
;
20489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20490 if (!SWIG_IsOK(res1
)) {
20491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20493 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20496 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20497 wxPyEndAllowThreads(__tstate
);
20498 if (PyErr_Occurred()) SWIG_fail
;
20500 resultobj
= SWIG_From_int(static_cast< int >(result
));
20507 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20508 PyObject
*resultobj
= 0;
20509 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20515 PyObject
* obj0
= 0 ;
20516 PyObject
* obj1
= 0 ;
20517 char * kwnames
[] = {
20518 (char *) "self",(char *) "nOldSel", NULL
20521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20523 if (!SWIG_IsOK(res1
)) {
20524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20526 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20527 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20528 if (!SWIG_IsOK(ecode2
)) {
20529 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20531 arg2
= static_cast< int >(val2
);
20533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20534 (arg1
)->SetOldSelection(arg2
);
20535 wxPyEndAllowThreads(__tstate
);
20536 if (PyErr_Occurred()) SWIG_fail
;
20538 resultobj
= SWIG_Py_Void();
20545 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20547 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20548 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20549 return SWIG_Py_Void();
20552 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20553 return SWIG_Python_InitShadowInstance(args
);
20556 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20557 PyObject
*resultobj
= 0;
20558 wxWindow
*arg1
= (wxWindow
*) 0 ;
20559 int arg2
= (int) -1 ;
20560 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20561 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20562 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20563 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20564 long arg5
= (long) 0 ;
20565 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20566 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20567 wxNotebook
*result
= 0 ;
20576 bool temp6
= false ;
20577 PyObject
* obj0
= 0 ;
20578 PyObject
* obj1
= 0 ;
20579 PyObject
* obj2
= 0 ;
20580 PyObject
* obj3
= 0 ;
20581 PyObject
* obj4
= 0 ;
20582 PyObject
* obj5
= 0 ;
20583 char * kwnames
[] = {
20584 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20589 if (!SWIG_IsOK(res1
)) {
20590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20592 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20594 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20595 if (!SWIG_IsOK(ecode2
)) {
20596 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20598 arg2
= static_cast< int >(val2
);
20603 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20609 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20613 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20614 if (!SWIG_IsOK(ecode5
)) {
20615 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20617 arg5
= static_cast< long >(val5
);
20621 arg6
= wxString_in_helper(obj5
);
20622 if (arg6
== NULL
) SWIG_fail
;
20627 if (!wxPyCheckForApp()) SWIG_fail
;
20628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20629 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20630 wxPyEndAllowThreads(__tstate
);
20631 if (PyErr_Occurred()) SWIG_fail
;
20633 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20648 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20649 PyObject
*resultobj
= 0;
20650 wxNotebook
*result
= 0 ;
20652 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20654 if (!wxPyCheckForApp()) SWIG_fail
;
20655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20656 result
= (wxNotebook
*)new wxNotebook();
20657 wxPyEndAllowThreads(__tstate
);
20658 if (PyErr_Occurred()) SWIG_fail
;
20660 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20667 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20668 PyObject
*resultobj
= 0;
20669 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20670 wxWindow
*arg2
= (wxWindow
*) 0 ;
20671 int arg3
= (int) -1 ;
20672 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20673 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20674 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20675 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20676 long arg6
= (long) 0 ;
20677 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20678 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20690 bool temp7
= false ;
20691 PyObject
* obj0
= 0 ;
20692 PyObject
* obj1
= 0 ;
20693 PyObject
* obj2
= 0 ;
20694 PyObject
* obj3
= 0 ;
20695 PyObject
* obj4
= 0 ;
20696 PyObject
* obj5
= 0 ;
20697 PyObject
* obj6
= 0 ;
20698 char * kwnames
[] = {
20699 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20704 if (!SWIG_IsOK(res1
)) {
20705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20707 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20708 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20709 if (!SWIG_IsOK(res2
)) {
20710 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20712 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20714 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20715 if (!SWIG_IsOK(ecode3
)) {
20716 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20718 arg3
= static_cast< int >(val3
);
20723 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20729 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20733 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20734 if (!SWIG_IsOK(ecode6
)) {
20735 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20737 arg6
= static_cast< long >(val6
);
20741 arg7
= wxString_in_helper(obj6
);
20742 if (arg7
== NULL
) SWIG_fail
;
20747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20748 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20749 wxPyEndAllowThreads(__tstate
);
20750 if (PyErr_Occurred()) SWIG_fail
;
20753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20769 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20770 PyObject
*resultobj
= 0;
20771 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20775 PyObject
*swig_obj
[1] ;
20777 if (!args
) SWIG_fail
;
20778 swig_obj
[0] = args
;
20779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20780 if (!SWIG_IsOK(res1
)) {
20781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20783 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20786 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20787 wxPyEndAllowThreads(__tstate
);
20788 if (PyErr_Occurred()) SWIG_fail
;
20790 resultobj
= SWIG_From_int(static_cast< int >(result
));
20797 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20798 PyObject
*resultobj
= 0;
20799 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20804 PyObject
* obj0
= 0 ;
20805 PyObject
* obj1
= 0 ;
20806 char * kwnames
[] = {
20807 (char *) "self",(char *) "padding", NULL
20810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20812 if (!SWIG_IsOK(res1
)) {
20813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20815 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20818 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20822 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20823 wxPyEndAllowThreads(__tstate
);
20824 if (PyErr_Occurred()) SWIG_fail
;
20826 resultobj
= SWIG_Py_Void();
20833 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20834 PyObject
*resultobj
= 0;
20835 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20840 PyObject
* obj0
= 0 ;
20841 PyObject
* obj1
= 0 ;
20842 char * kwnames
[] = {
20843 (char *) "self",(char *) "sz", NULL
20846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20848 if (!SWIG_IsOK(res1
)) {
20849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20851 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20854 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20858 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
20859 wxPyEndAllowThreads(__tstate
);
20860 if (PyErr_Occurred()) SWIG_fail
;
20862 resultobj
= SWIG_Py_Void();
20869 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20870 PyObject
*resultobj
= 0;
20871 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20875 PyObject
*swig_obj
[1] ;
20877 if (!args
) SWIG_fail
;
20878 swig_obj
[0] = args
;
20879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20880 if (!SWIG_IsOK(res1
)) {
20881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20883 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20886 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
20887 wxPyEndAllowThreads(__tstate
);
20888 if (PyErr_Occurred()) SWIG_fail
;
20890 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
20897 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20898 PyObject
*resultobj
= 0;
20899 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20900 SwigValueWrapper
<wxVisualAttributes
> result
;
20903 PyObject
* obj0
= 0 ;
20904 char * kwnames
[] = {
20905 (char *) "variant", NULL
20908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20910 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20911 if (!SWIG_IsOK(ecode1
)) {
20912 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20914 arg1
= static_cast< wxWindowVariant
>(val1
);
20917 if (!wxPyCheckForApp()) SWIG_fail
;
20918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20919 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
20920 wxPyEndAllowThreads(__tstate
);
20921 if (PyErr_Occurred()) SWIG_fail
;
20923 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20930 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangingEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20931 PyObject
*resultobj
= 0;
20932 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20939 PyObject
* obj0
= 0 ;
20940 PyObject
* obj1
= 0 ;
20941 char * kwnames
[] = {
20942 (char *) "self",(char *) "nPage", NULL
20945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SendPageChangingEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20947 if (!SWIG_IsOK(res1
)) {
20948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
20950 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20951 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20952 if (!SWIG_IsOK(ecode2
)) {
20953 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "2"" of type '" "int""'");
20955 arg2
= static_cast< int >(val2
);
20957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20958 result
= (bool)(arg1
)->SendPageChangingEvent(arg2
);
20959 wxPyEndAllowThreads(__tstate
);
20960 if (PyErr_Occurred()) SWIG_fail
;
20963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20971 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20972 PyObject
*resultobj
= 0;
20973 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20975 int arg3
= (int) -1 ;
20982 PyObject
* obj0
= 0 ;
20983 PyObject
* obj1
= 0 ;
20984 PyObject
* obj2
= 0 ;
20985 char * kwnames
[] = {
20986 (char *) "self",(char *) "nPageOld",(char *) "nPageNew", NULL
20989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Notebook_SendPageChangedEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20991 if (!SWIG_IsOK(res1
)) {
20992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
20994 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20995 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20996 if (!SWIG_IsOK(ecode2
)) {
20997 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "2"" of type '" "int""'");
20999 arg2
= static_cast< int >(val2
);
21001 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21002 if (!SWIG_IsOK(ecode3
)) {
21003 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "3"" of type '" "int""'");
21005 arg3
= static_cast< int >(val3
);
21008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21009 (arg1
)->SendPageChangedEvent(arg2
,arg3
);
21010 wxPyEndAllowThreads(__tstate
);
21011 if (PyErr_Occurred()) SWIG_fail
;
21013 resultobj
= SWIG_Py_Void();
21020 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21022 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21023 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
21024 return SWIG_Py_Void();
21027 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21028 return SWIG_Python_InitShadowInstance(args
);
21031 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21032 PyObject
*resultobj
= 0;
21033 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21034 int arg2
= (int) 0 ;
21035 int arg3
= (int) -1 ;
21036 int arg4
= (int) -1 ;
21037 wxNotebookEvent
*result
= 0 ;
21046 PyObject
* obj0
= 0 ;
21047 PyObject
* obj1
= 0 ;
21048 PyObject
* obj2
= 0 ;
21049 PyObject
* obj3
= 0 ;
21050 char * kwnames
[] = {
21051 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21056 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21057 if (!SWIG_IsOK(ecode1
)) {
21058 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21060 arg1
= static_cast< wxEventType
>(val1
);
21063 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21064 if (!SWIG_IsOK(ecode2
)) {
21065 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
21067 arg2
= static_cast< int >(val2
);
21070 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21071 if (!SWIG_IsOK(ecode3
)) {
21072 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
21074 arg3
= static_cast< int >(val3
);
21077 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21078 if (!SWIG_IsOK(ecode4
)) {
21079 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
21081 arg4
= static_cast< int >(val4
);
21084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21085 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
21086 wxPyEndAllowThreads(__tstate
);
21087 if (PyErr_Occurred()) SWIG_fail
;
21089 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
21096 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21098 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21099 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
21100 return SWIG_Py_Void();
21103 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21104 return SWIG_Python_InitShadowInstance(args
);
21107 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21108 PyObject
*resultobj
= 0;
21109 wxWindow
*arg1
= (wxWindow
*) 0 ;
21110 int arg2
= (int) -1 ;
21111 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21112 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21113 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21114 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21115 long arg5
= (long) 0 ;
21116 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21117 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21118 wxListbook
*result
= 0 ;
21127 bool temp6
= false ;
21128 PyObject
* obj0
= 0 ;
21129 PyObject
* obj1
= 0 ;
21130 PyObject
* obj2
= 0 ;
21131 PyObject
* obj3
= 0 ;
21132 PyObject
* obj4
= 0 ;
21133 PyObject
* obj5
= 0 ;
21134 char * kwnames
[] = {
21135 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21140 if (!SWIG_IsOK(res1
)) {
21141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
21143 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21145 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21146 if (!SWIG_IsOK(ecode2
)) {
21147 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
21149 arg2
= static_cast< int >(val2
);
21154 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21160 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21164 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21165 if (!SWIG_IsOK(ecode5
)) {
21166 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
21168 arg5
= static_cast< long >(val5
);
21172 arg6
= wxString_in_helper(obj5
);
21173 if (arg6
== NULL
) SWIG_fail
;
21178 if (!wxPyCheckForApp()) SWIG_fail
;
21179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21180 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21181 wxPyEndAllowThreads(__tstate
);
21182 if (PyErr_Occurred()) SWIG_fail
;
21184 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
21199 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21200 PyObject
*resultobj
= 0;
21201 wxListbook
*result
= 0 ;
21203 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
21205 if (!wxPyCheckForApp()) SWIG_fail
;
21206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21207 result
= (wxListbook
*)new wxListbook();
21208 wxPyEndAllowThreads(__tstate
);
21209 if (PyErr_Occurred()) SWIG_fail
;
21211 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
21218 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21219 PyObject
*resultobj
= 0;
21220 wxListbook
*arg1
= (wxListbook
*) 0 ;
21221 wxWindow
*arg2
= (wxWindow
*) 0 ;
21222 int arg3
= (int) -1 ;
21223 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21224 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21225 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21226 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21227 long arg6
= (long) 0 ;
21228 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21229 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21241 bool temp7
= false ;
21242 PyObject
* obj0
= 0 ;
21243 PyObject
* obj1
= 0 ;
21244 PyObject
* obj2
= 0 ;
21245 PyObject
* obj3
= 0 ;
21246 PyObject
* obj4
= 0 ;
21247 PyObject
* obj5
= 0 ;
21248 PyObject
* obj6
= 0 ;
21249 char * kwnames
[] = {
21250 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21255 if (!SWIG_IsOK(res1
)) {
21256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
21258 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21259 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21260 if (!SWIG_IsOK(res2
)) {
21261 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21263 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21265 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21266 if (!SWIG_IsOK(ecode3
)) {
21267 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
21269 arg3
= static_cast< int >(val3
);
21274 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21280 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21284 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21285 if (!SWIG_IsOK(ecode6
)) {
21286 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21288 arg6
= static_cast< long >(val6
);
21292 arg7
= wxString_in_helper(obj6
);
21293 if (arg7
== NULL
) SWIG_fail
;
21298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21299 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21300 wxPyEndAllowThreads(__tstate
);
21301 if (PyErr_Occurred()) SWIG_fail
;
21304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21320 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21321 PyObject
*resultobj
= 0;
21322 wxListbook
*arg1
= (wxListbook
*) 0 ;
21323 wxListView
*result
= 0 ;
21326 PyObject
*swig_obj
[1] ;
21328 if (!args
) SWIG_fail
;
21329 swig_obj
[0] = args
;
21330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21331 if (!SWIG_IsOK(res1
)) {
21332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21334 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21337 result
= (wxListView
*)(arg1
)->GetListView();
21338 wxPyEndAllowThreads(__tstate
);
21339 if (PyErr_Occurred()) SWIG_fail
;
21341 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
21348 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21350 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21351 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
21352 return SWIG_Py_Void();
21355 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21356 return SWIG_Python_InitShadowInstance(args
);
21359 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21360 PyObject
*resultobj
= 0;
21361 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21362 int arg2
= (int) 0 ;
21363 int arg3
= (int) -1 ;
21364 int arg4
= (int) -1 ;
21365 wxListbookEvent
*result
= 0 ;
21374 PyObject
* obj0
= 0 ;
21375 PyObject
* obj1
= 0 ;
21376 PyObject
* obj2
= 0 ;
21377 PyObject
* obj3
= 0 ;
21378 char * kwnames
[] = {
21379 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21384 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21385 if (!SWIG_IsOK(ecode1
)) {
21386 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21388 arg1
= static_cast< wxEventType
>(val1
);
21391 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21392 if (!SWIG_IsOK(ecode2
)) {
21393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21395 arg2
= static_cast< int >(val2
);
21398 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21399 if (!SWIG_IsOK(ecode3
)) {
21400 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21402 arg3
= static_cast< int >(val3
);
21405 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21406 if (!SWIG_IsOK(ecode4
)) {
21407 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21409 arg4
= static_cast< int >(val4
);
21412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21413 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
21414 wxPyEndAllowThreads(__tstate
);
21415 if (PyErr_Occurred()) SWIG_fail
;
21417 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
21424 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21426 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21427 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
21428 return SWIG_Py_Void();
21431 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21432 return SWIG_Python_InitShadowInstance(args
);
21435 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21436 PyObject
*resultobj
= 0;
21437 wxWindow
*arg1
= (wxWindow
*) 0 ;
21439 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21440 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21441 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21442 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21443 long arg5
= (long) 0 ;
21444 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21445 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21446 wxChoicebook
*result
= 0 ;
21455 bool temp6
= false ;
21456 PyObject
* obj0
= 0 ;
21457 PyObject
* obj1
= 0 ;
21458 PyObject
* obj2
= 0 ;
21459 PyObject
* obj3
= 0 ;
21460 PyObject
* obj4
= 0 ;
21461 PyObject
* obj5
= 0 ;
21462 char * kwnames
[] = {
21463 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21468 if (!SWIG_IsOK(res1
)) {
21469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21471 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21472 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21473 if (!SWIG_IsOK(ecode2
)) {
21474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21476 arg2
= static_cast< int >(val2
);
21480 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21486 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21490 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21491 if (!SWIG_IsOK(ecode5
)) {
21492 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21494 arg5
= static_cast< long >(val5
);
21498 arg6
= wxString_in_helper(obj5
);
21499 if (arg6
== NULL
) SWIG_fail
;
21504 if (!wxPyCheckForApp()) SWIG_fail
;
21505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21506 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21507 wxPyEndAllowThreads(__tstate
);
21508 if (PyErr_Occurred()) SWIG_fail
;
21510 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21525 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21526 PyObject
*resultobj
= 0;
21527 wxChoicebook
*result
= 0 ;
21529 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21531 if (!wxPyCheckForApp()) SWIG_fail
;
21532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21533 result
= (wxChoicebook
*)new wxChoicebook();
21534 wxPyEndAllowThreads(__tstate
);
21535 if (PyErr_Occurred()) SWIG_fail
;
21537 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21544 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21545 PyObject
*resultobj
= 0;
21546 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21547 wxWindow
*arg2
= (wxWindow
*) 0 ;
21549 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21550 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21551 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21552 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21553 long arg6
= (long) 0 ;
21554 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21555 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21567 bool temp7
= false ;
21568 PyObject
* obj0
= 0 ;
21569 PyObject
* obj1
= 0 ;
21570 PyObject
* obj2
= 0 ;
21571 PyObject
* obj3
= 0 ;
21572 PyObject
* obj4
= 0 ;
21573 PyObject
* obj5
= 0 ;
21574 PyObject
* obj6
= 0 ;
21575 char * kwnames
[] = {
21576 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21581 if (!SWIG_IsOK(res1
)) {
21582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21584 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21585 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21586 if (!SWIG_IsOK(res2
)) {
21587 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21589 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21590 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21591 if (!SWIG_IsOK(ecode3
)) {
21592 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21594 arg3
= static_cast< int >(val3
);
21598 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21604 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21608 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21609 if (!SWIG_IsOK(ecode6
)) {
21610 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21612 arg6
= static_cast< long >(val6
);
21616 arg7
= wxString_in_helper(obj6
);
21617 if (arg7
== NULL
) SWIG_fail
;
21622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21623 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21624 wxPyEndAllowThreads(__tstate
);
21625 if (PyErr_Occurred()) SWIG_fail
;
21628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21644 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21645 PyObject
*resultobj
= 0;
21646 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21647 wxChoice
*result
= 0 ;
21650 PyObject
*swig_obj
[1] ;
21652 if (!args
) SWIG_fail
;
21653 swig_obj
[0] = args
;
21654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21655 if (!SWIG_IsOK(res1
)) {
21656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21658 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21661 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21662 wxPyEndAllowThreads(__tstate
);
21663 if (PyErr_Occurred()) SWIG_fail
;
21665 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21672 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21674 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21675 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21676 return SWIG_Py_Void();
21679 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21680 return SWIG_Python_InitShadowInstance(args
);
21683 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21684 PyObject
*resultobj
= 0;
21685 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21686 int arg2
= (int) 0 ;
21687 int arg3
= (int) -1 ;
21688 int arg4
= (int) -1 ;
21689 wxChoicebookEvent
*result
= 0 ;
21698 PyObject
* obj0
= 0 ;
21699 PyObject
* obj1
= 0 ;
21700 PyObject
* obj2
= 0 ;
21701 PyObject
* obj3
= 0 ;
21702 char * kwnames
[] = {
21703 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21708 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21709 if (!SWIG_IsOK(ecode1
)) {
21710 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21712 arg1
= static_cast< wxEventType
>(val1
);
21715 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21716 if (!SWIG_IsOK(ecode2
)) {
21717 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21719 arg2
= static_cast< int >(val2
);
21722 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21723 if (!SWIG_IsOK(ecode3
)) {
21724 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21726 arg3
= static_cast< int >(val3
);
21729 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21730 if (!SWIG_IsOK(ecode4
)) {
21731 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21733 arg4
= static_cast< int >(val4
);
21736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21737 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21738 wxPyEndAllowThreads(__tstate
);
21739 if (PyErr_Occurred()) SWIG_fail
;
21741 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21748 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21750 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21751 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21752 return SWIG_Py_Void();
21755 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21756 return SWIG_Python_InitShadowInstance(args
);
21759 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21760 PyObject
*resultobj
= 0;
21761 wxWindow
*arg1
= (wxWindow
*) 0 ;
21763 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21764 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21765 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21766 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21767 long arg5
= (long) wxBK_DEFAULT
;
21768 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21769 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21770 wxTreebook
*result
= 0 ;
21779 bool temp6
= false ;
21780 PyObject
* obj0
= 0 ;
21781 PyObject
* obj1
= 0 ;
21782 PyObject
* obj2
= 0 ;
21783 PyObject
* obj3
= 0 ;
21784 PyObject
* obj4
= 0 ;
21785 PyObject
* obj5
= 0 ;
21786 char * kwnames
[] = {
21787 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21792 if (!SWIG_IsOK(res1
)) {
21793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21795 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21796 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21797 if (!SWIG_IsOK(ecode2
)) {
21798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21800 arg2
= static_cast< int >(val2
);
21804 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21810 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21814 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21815 if (!SWIG_IsOK(ecode5
)) {
21816 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21818 arg5
= static_cast< long >(val5
);
21822 arg6
= wxString_in_helper(obj5
);
21823 if (arg6
== NULL
) SWIG_fail
;
21828 if (!wxPyCheckForApp()) SWIG_fail
;
21829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21830 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21831 wxPyEndAllowThreads(__tstate
);
21832 if (PyErr_Occurred()) SWIG_fail
;
21834 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
21849 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21850 PyObject
*resultobj
= 0;
21851 wxTreebook
*result
= 0 ;
21853 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
21855 if (!wxPyCheckForApp()) SWIG_fail
;
21856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21857 result
= (wxTreebook
*)new wxTreebook();
21858 wxPyEndAllowThreads(__tstate
);
21859 if (PyErr_Occurred()) SWIG_fail
;
21861 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
21868 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21869 PyObject
*resultobj
= 0;
21870 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21871 wxWindow
*arg2
= (wxWindow
*) 0 ;
21873 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21874 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21875 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21876 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21877 long arg6
= (long) wxBK_DEFAULT
;
21878 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21879 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21891 bool temp7
= false ;
21892 PyObject
* obj0
= 0 ;
21893 PyObject
* obj1
= 0 ;
21894 PyObject
* obj2
= 0 ;
21895 PyObject
* obj3
= 0 ;
21896 PyObject
* obj4
= 0 ;
21897 PyObject
* obj5
= 0 ;
21898 PyObject
* obj6
= 0 ;
21899 char * kwnames
[] = {
21900 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21905 if (!SWIG_IsOK(res1
)) {
21906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21908 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21909 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21910 if (!SWIG_IsOK(res2
)) {
21911 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21913 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21914 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21915 if (!SWIG_IsOK(ecode3
)) {
21916 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
21918 arg3
= static_cast< int >(val3
);
21922 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21928 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21932 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21933 if (!SWIG_IsOK(ecode6
)) {
21934 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
21936 arg6
= static_cast< long >(val6
);
21940 arg7
= wxString_in_helper(obj6
);
21941 if (arg7
== NULL
) SWIG_fail
;
21946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21947 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21948 wxPyEndAllowThreads(__tstate
);
21949 if (PyErr_Occurred()) SWIG_fail
;
21952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21968 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21969 PyObject
*resultobj
= 0;
21970 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21972 wxWindow
*arg3
= (wxWindow
*) 0 ;
21973 wxString
*arg4
= 0 ;
21974 bool arg5
= (bool) false ;
21975 int arg6
= (int) wxNOT_FOUND
;
21983 bool temp4
= false ;
21988 PyObject
* obj0
= 0 ;
21989 PyObject
* obj1
= 0 ;
21990 PyObject
* obj2
= 0 ;
21991 PyObject
* obj3
= 0 ;
21992 PyObject
* obj4
= 0 ;
21993 PyObject
* obj5
= 0 ;
21994 char * kwnames
[] = {
21995 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22000 if (!SWIG_IsOK(res1
)) {
22001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22003 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22004 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22005 if (!SWIG_IsOK(ecode2
)) {
22006 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
22008 arg2
= static_cast< size_t >(val2
);
22009 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22010 if (!SWIG_IsOK(res3
)) {
22011 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
22013 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
22015 arg4
= wxString_in_helper(obj3
);
22016 if (arg4
== NULL
) SWIG_fail
;
22020 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
22021 if (!SWIG_IsOK(ecode5
)) {
22022 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
22024 arg5
= static_cast< bool >(val5
);
22027 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22028 if (!SWIG_IsOK(ecode6
)) {
22029 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
22031 arg6
= static_cast< int >(val6
);
22034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22035 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
22036 wxPyEndAllowThreads(__tstate
);
22037 if (PyErr_Occurred()) SWIG_fail
;
22040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22056 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22057 PyObject
*resultobj
= 0;
22058 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22059 wxWindow
*arg2
= (wxWindow
*) 0 ;
22060 wxString
*arg3
= 0 ;
22061 bool arg4
= (bool) false ;
22062 int arg5
= (int) wxNOT_FOUND
;
22068 bool temp3
= false ;
22073 PyObject
* obj0
= 0 ;
22074 PyObject
* obj1
= 0 ;
22075 PyObject
* obj2
= 0 ;
22076 PyObject
* obj3
= 0 ;
22077 PyObject
* obj4
= 0 ;
22078 char * kwnames
[] = {
22079 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22084 if (!SWIG_IsOK(res1
)) {
22085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22087 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22088 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22089 if (!SWIG_IsOK(res2
)) {
22090 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
22092 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22094 arg3
= wxString_in_helper(obj2
);
22095 if (arg3
== NULL
) SWIG_fail
;
22099 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
22100 if (!SWIG_IsOK(ecode4
)) {
22101 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
22103 arg4
= static_cast< bool >(val4
);
22106 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22107 if (!SWIG_IsOK(ecode5
)) {
22108 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
22110 arg5
= static_cast< int >(val5
);
22113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22114 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22115 wxPyEndAllowThreads(__tstate
);
22116 if (PyErr_Occurred()) SWIG_fail
;
22119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22135 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22136 PyObject
*resultobj
= 0;
22137 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22144 PyObject
* obj0
= 0 ;
22145 PyObject
* obj1
= 0 ;
22146 char * kwnames
[] = {
22147 (char *) "self",(char *) "pos", NULL
22150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22152 if (!SWIG_IsOK(res1
)) {
22153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22155 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22156 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22157 if (!SWIG_IsOK(ecode2
)) {
22158 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
22160 arg2
= static_cast< size_t >(val2
);
22162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22163 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
22164 wxPyEndAllowThreads(__tstate
);
22165 if (PyErr_Occurred()) SWIG_fail
;
22168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22176 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22177 PyObject
*resultobj
= 0;
22178 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22180 bool arg3
= (bool) true ;
22188 PyObject
* obj0
= 0 ;
22189 PyObject
* obj1
= 0 ;
22190 PyObject
* obj2
= 0 ;
22191 char * kwnames
[] = {
22192 (char *) "self",(char *) "pos",(char *) "expand", NULL
22195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22197 if (!SWIG_IsOK(res1
)) {
22198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22200 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22201 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22202 if (!SWIG_IsOK(ecode2
)) {
22203 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
22205 arg2
= static_cast< size_t >(val2
);
22207 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22208 if (!SWIG_IsOK(ecode3
)) {
22209 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
22211 arg3
= static_cast< bool >(val3
);
22214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22215 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
22216 wxPyEndAllowThreads(__tstate
);
22217 if (PyErr_Occurred()) SWIG_fail
;
22220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22228 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22229 PyObject
*resultobj
= 0;
22230 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22237 PyObject
* obj0
= 0 ;
22238 PyObject
* obj1
= 0 ;
22239 char * kwnames
[] = {
22240 (char *) "self",(char *) "pos", NULL
22243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22245 if (!SWIG_IsOK(res1
)) {
22246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22248 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22249 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22250 if (!SWIG_IsOK(ecode2
)) {
22251 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
22253 arg2
= static_cast< size_t >(val2
);
22255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22256 result
= (bool)(arg1
)->CollapseNode(arg2
);
22257 wxPyEndAllowThreads(__tstate
);
22258 if (PyErr_Occurred()) SWIG_fail
;
22261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22269 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22270 PyObject
*resultobj
= 0;
22271 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22278 PyObject
* obj0
= 0 ;
22279 PyObject
* obj1
= 0 ;
22280 char * kwnames
[] = {
22281 (char *) "self",(char *) "pos", NULL
22284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22286 if (!SWIG_IsOK(res1
)) {
22287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22289 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22290 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22291 if (!SWIG_IsOK(ecode2
)) {
22292 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22294 arg2
= static_cast< size_t >(val2
);
22296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22297 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
22298 wxPyEndAllowThreads(__tstate
);
22299 if (PyErr_Occurred()) SWIG_fail
;
22301 resultobj
= SWIG_From_int(static_cast< int >(result
));
22308 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22309 PyObject
*resultobj
= 0;
22310 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22311 wxPyTreeCtrl
*result
= 0 ;
22314 PyObject
*swig_obj
[1] ;
22316 if (!args
) SWIG_fail
;
22317 swig_obj
[0] = args
;
22318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22319 if (!SWIG_IsOK(res1
)) {
22320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22322 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22325 result
= (wxPyTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
22326 wxPyEndAllowThreads(__tstate
);
22327 if (PyErr_Occurred()) SWIG_fail
;
22330 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22338 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22340 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22341 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
22342 return SWIG_Py_Void();
22345 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22346 return SWIG_Python_InitShadowInstance(args
);
22349 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22350 PyObject
*resultobj
= 0;
22351 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22352 int arg2
= (int) 0 ;
22353 int arg3
= (int) wxNOT_FOUND
;
22354 int arg4
= (int) wxNOT_FOUND
;
22355 wxTreebookEvent
*result
= 0 ;
22364 PyObject
* obj0
= 0 ;
22365 PyObject
* obj1
= 0 ;
22366 PyObject
* obj2
= 0 ;
22367 PyObject
* obj3
= 0 ;
22368 char * kwnames
[] = {
22369 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22374 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22375 if (!SWIG_IsOK(ecode1
)) {
22376 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22378 arg1
= static_cast< wxEventType
>(val1
);
22381 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22382 if (!SWIG_IsOK(ecode2
)) {
22383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22385 arg2
= static_cast< int >(val2
);
22388 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22389 if (!SWIG_IsOK(ecode3
)) {
22390 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22392 arg3
= static_cast< int >(val3
);
22395 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22396 if (!SWIG_IsOK(ecode4
)) {
22397 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22399 arg4
= static_cast< int >(val4
);
22402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22403 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
22404 wxPyEndAllowThreads(__tstate
);
22405 if (PyErr_Occurred()) SWIG_fail
;
22407 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
22414 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22416 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22417 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
22418 return SWIG_Py_Void();
22421 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22422 return SWIG_Python_InitShadowInstance(args
);
22425 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22426 PyObject
*resultobj
= 0;
22427 wxWindow
*arg1
= (wxWindow
*) 0 ;
22429 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22430 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22431 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22432 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22433 long arg5
= (long) wxBK_DEFAULT
;
22434 wxString
const &arg6_defvalue
= wxPyEmptyString
;
22435 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22436 wxToolbook
*result
= 0 ;
22445 bool temp6
= false ;
22446 PyObject
* obj0
= 0 ;
22447 PyObject
* obj1
= 0 ;
22448 PyObject
* obj2
= 0 ;
22449 PyObject
* obj3
= 0 ;
22450 PyObject
* obj4
= 0 ;
22451 PyObject
* obj5
= 0 ;
22452 char * kwnames
[] = {
22453 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22458 if (!SWIG_IsOK(res1
)) {
22459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22461 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22462 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22463 if (!SWIG_IsOK(ecode2
)) {
22464 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22466 arg2
= static_cast< int >(val2
);
22470 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22476 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22480 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22481 if (!SWIG_IsOK(ecode5
)) {
22482 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22484 arg5
= static_cast< long >(val5
);
22488 arg6
= wxString_in_helper(obj5
);
22489 if (arg6
== NULL
) SWIG_fail
;
22494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22495 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22496 wxPyEndAllowThreads(__tstate
);
22497 if (PyErr_Occurred()) SWIG_fail
;
22499 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22514 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22515 PyObject
*resultobj
= 0;
22516 wxToolbook
*result
= 0 ;
22518 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22521 result
= (wxToolbook
*)new wxToolbook();
22522 wxPyEndAllowThreads(__tstate
);
22523 if (PyErr_Occurred()) SWIG_fail
;
22525 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22532 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22533 PyObject
*resultobj
= 0;
22534 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22535 wxWindow
*arg2
= (wxWindow
*) 0 ;
22537 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22538 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22539 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22540 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22541 long arg6
= (long) 0 ;
22542 wxString
const &arg7_defvalue
= wxEmptyString
;
22543 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22555 bool temp7
= false ;
22556 PyObject
* obj0
= 0 ;
22557 PyObject
* obj1
= 0 ;
22558 PyObject
* obj2
= 0 ;
22559 PyObject
* obj3
= 0 ;
22560 PyObject
* obj4
= 0 ;
22561 PyObject
* obj5
= 0 ;
22562 PyObject
* obj6
= 0 ;
22563 char * kwnames
[] = {
22564 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22569 if (!SWIG_IsOK(res1
)) {
22570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22572 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22573 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22574 if (!SWIG_IsOK(res2
)) {
22575 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22577 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22578 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22579 if (!SWIG_IsOK(ecode3
)) {
22580 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22582 arg3
= static_cast< int >(val3
);
22586 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22592 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22596 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22597 if (!SWIG_IsOK(ecode6
)) {
22598 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22600 arg6
= static_cast< long >(val6
);
22604 arg7
= wxString_in_helper(obj6
);
22605 if (arg7
== NULL
) SWIG_fail
;
22610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22611 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22612 wxPyEndAllowThreads(__tstate
);
22613 if (PyErr_Occurred()) SWIG_fail
;
22616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22632 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22633 PyObject
*resultobj
= 0;
22634 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22635 wxToolBarBase
*result
= 0 ;
22638 PyObject
*swig_obj
[1] ;
22640 if (!args
) SWIG_fail
;
22641 swig_obj
[0] = args
;
22642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22643 if (!SWIG_IsOK(res1
)) {
22644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22646 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22649 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22650 wxPyEndAllowThreads(__tstate
);
22651 if (PyErr_Occurred()) SWIG_fail
;
22654 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22662 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22663 PyObject
*resultobj
= 0;
22664 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22667 PyObject
*swig_obj
[1] ;
22669 if (!args
) SWIG_fail
;
22670 swig_obj
[0] = args
;
22671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22672 if (!SWIG_IsOK(res1
)) {
22673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22675 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22679 wxPyEndAllowThreads(__tstate
);
22680 if (PyErr_Occurred()) SWIG_fail
;
22682 resultobj
= SWIG_Py_Void();
22689 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22691 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22692 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22693 return SWIG_Py_Void();
22696 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22697 return SWIG_Python_InitShadowInstance(args
);
22700 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22701 PyObject
*resultobj
= 0;
22702 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22703 int arg2
= (int) 0 ;
22704 int arg3
= (int) wxNOT_FOUND
;
22705 int arg4
= (int) wxNOT_FOUND
;
22706 wxToolbookEvent
*result
= 0 ;
22715 PyObject
* obj0
= 0 ;
22716 PyObject
* obj1
= 0 ;
22717 PyObject
* obj2
= 0 ;
22718 PyObject
* obj3
= 0 ;
22719 char * kwnames
[] = {
22720 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22725 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22726 if (!SWIG_IsOK(ecode1
)) {
22727 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22729 arg1
= static_cast< wxEventType
>(val1
);
22732 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22733 if (!SWIG_IsOK(ecode2
)) {
22734 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22736 arg2
= static_cast< int >(val2
);
22739 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22740 if (!SWIG_IsOK(ecode3
)) {
22741 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22743 arg3
= static_cast< int >(val3
);
22746 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22747 if (!SWIG_IsOK(ecode4
)) {
22748 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22750 arg4
= static_cast< int >(val4
);
22753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22754 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22755 wxPyEndAllowThreads(__tstate
);
22756 if (PyErr_Occurred()) SWIG_fail
;
22758 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22765 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22767 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22768 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22769 return SWIG_Py_Void();
22772 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22773 return SWIG_Python_InitShadowInstance(args
);
22776 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22777 PyObject
*resultobj
= 0;
22778 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22782 PyObject
*swig_obj
[1] ;
22784 if (!args
) SWIG_fail
;
22785 swig_obj
[0] = args
;
22786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22787 if (!SWIG_IsOK(res1
)) {
22788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22790 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22793 result
= (int)(arg1
)->GetId();
22794 wxPyEndAllowThreads(__tstate
);
22795 if (PyErr_Occurred()) SWIG_fail
;
22797 resultobj
= SWIG_From_int(static_cast< int >(result
));
22804 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22805 PyObject
*resultobj
= 0;
22806 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22807 wxControl
*result
= 0 ;
22810 PyObject
*swig_obj
[1] ;
22812 if (!args
) SWIG_fail
;
22813 swig_obj
[0] = args
;
22814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22815 if (!SWIG_IsOK(res1
)) {
22816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22818 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22821 result
= (wxControl
*)(arg1
)->GetControl();
22822 wxPyEndAllowThreads(__tstate
);
22823 if (PyErr_Occurred()) SWIG_fail
;
22826 resultobj
= wxPyMake_wxObject(result
, 0);
22834 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22835 PyObject
*resultobj
= 0;
22836 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22837 wxToolBarBase
*result
= 0 ;
22840 PyObject
*swig_obj
[1] ;
22842 if (!args
) SWIG_fail
;
22843 swig_obj
[0] = args
;
22844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22845 if (!SWIG_IsOK(res1
)) {
22846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22848 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22851 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
22852 wxPyEndAllowThreads(__tstate
);
22853 if (PyErr_Occurred()) SWIG_fail
;
22856 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22864 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22865 PyObject
*resultobj
= 0;
22866 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22870 PyObject
*swig_obj
[1] ;
22872 if (!args
) SWIG_fail
;
22873 swig_obj
[0] = args
;
22874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22875 if (!SWIG_IsOK(res1
)) {
22876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22878 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22881 result
= (int)(arg1
)->IsButton();
22882 wxPyEndAllowThreads(__tstate
);
22883 if (PyErr_Occurred()) SWIG_fail
;
22885 resultobj
= SWIG_From_int(static_cast< int >(result
));
22892 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22893 PyObject
*resultobj
= 0;
22894 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22898 PyObject
*swig_obj
[1] ;
22900 if (!args
) SWIG_fail
;
22901 swig_obj
[0] = args
;
22902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22903 if (!SWIG_IsOK(res1
)) {
22904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22906 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22909 result
= (int)(arg1
)->IsControl();
22910 wxPyEndAllowThreads(__tstate
);
22911 if (PyErr_Occurred()) SWIG_fail
;
22913 resultobj
= SWIG_From_int(static_cast< int >(result
));
22920 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22921 PyObject
*resultobj
= 0;
22922 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22926 PyObject
*swig_obj
[1] ;
22928 if (!args
) SWIG_fail
;
22929 swig_obj
[0] = args
;
22930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22931 if (!SWIG_IsOK(res1
)) {
22932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22934 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22937 result
= (int)(arg1
)->IsSeparator();
22938 wxPyEndAllowThreads(__tstate
);
22939 if (PyErr_Occurred()) SWIG_fail
;
22941 resultobj
= SWIG_From_int(static_cast< int >(result
));
22948 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22949 PyObject
*resultobj
= 0;
22950 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22954 PyObject
*swig_obj
[1] ;
22956 if (!args
) SWIG_fail
;
22957 swig_obj
[0] = args
;
22958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22959 if (!SWIG_IsOK(res1
)) {
22960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22962 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22965 result
= (int)(arg1
)->GetStyle();
22966 wxPyEndAllowThreads(__tstate
);
22967 if (PyErr_Occurred()) SWIG_fail
;
22969 resultobj
= SWIG_From_int(static_cast< int >(result
));
22976 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22977 PyObject
*resultobj
= 0;
22978 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22982 PyObject
*swig_obj
[1] ;
22984 if (!args
) SWIG_fail
;
22985 swig_obj
[0] = args
;
22986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22987 if (!SWIG_IsOK(res1
)) {
22988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22990 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22993 result
= (wxItemKind
)(arg1
)->GetKind();
22994 wxPyEndAllowThreads(__tstate
);
22995 if (PyErr_Occurred()) SWIG_fail
;
22997 resultobj
= SWIG_From_int(static_cast< int >(result
));
23004 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(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_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23018 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23021 result
= (bool)(arg1
)->IsEnabled();
23022 wxPyEndAllowThreads(__tstate
);
23023 if (PyErr_Occurred()) SWIG_fail
;
23026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23034 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23035 PyObject
*resultobj
= 0;
23036 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23040 PyObject
*swig_obj
[1] ;
23042 if (!args
) SWIG_fail
;
23043 swig_obj
[0] = args
;
23044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23045 if (!SWIG_IsOK(res1
)) {
23046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23048 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23051 result
= (bool)(arg1
)->IsToggled();
23052 wxPyEndAllowThreads(__tstate
);
23053 if (PyErr_Occurred()) SWIG_fail
;
23056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23064 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23065 PyObject
*resultobj
= 0;
23066 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23070 PyObject
*swig_obj
[1] ;
23072 if (!args
) SWIG_fail
;
23073 swig_obj
[0] = args
;
23074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23075 if (!SWIG_IsOK(res1
)) {
23076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23078 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23081 result
= (bool)(arg1
)->CanBeToggled();
23082 wxPyEndAllowThreads(__tstate
);
23083 if (PyErr_Occurred()) SWIG_fail
;
23086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23094 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23095 PyObject
*resultobj
= 0;
23096 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23097 wxBitmap
*result
= 0 ;
23100 PyObject
*swig_obj
[1] ;
23102 if (!args
) SWIG_fail
;
23103 swig_obj
[0] = args
;
23104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23105 if (!SWIG_IsOK(res1
)) {
23106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23108 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23112 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
23113 result
= (wxBitmap
*) &_result_ref
;
23115 wxPyEndAllowThreads(__tstate
);
23116 if (PyErr_Occurred()) SWIG_fail
;
23119 wxBitmap
* resultptr
= new wxBitmap(*result
);
23120 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23128 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23129 PyObject
*resultobj
= 0;
23130 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23131 wxBitmap
*result
= 0 ;
23134 PyObject
*swig_obj
[1] ;
23136 if (!args
) SWIG_fail
;
23137 swig_obj
[0] = args
;
23138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23139 if (!SWIG_IsOK(res1
)) {
23140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23142 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23146 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
23147 result
= (wxBitmap
*) &_result_ref
;
23149 wxPyEndAllowThreads(__tstate
);
23150 if (PyErr_Occurred()) SWIG_fail
;
23153 wxBitmap
* resultptr
= new wxBitmap(*result
);
23154 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23162 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23163 PyObject
*resultobj
= 0;
23164 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23168 PyObject
*swig_obj
[1] ;
23170 if (!args
) SWIG_fail
;
23171 swig_obj
[0] = args
;
23172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23173 if (!SWIG_IsOK(res1
)) {
23174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23176 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23179 result
= (arg1
)->GetBitmap();
23180 wxPyEndAllowThreads(__tstate
);
23181 if (PyErr_Occurred()) SWIG_fail
;
23183 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
23190 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23191 PyObject
*resultobj
= 0;
23192 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23196 PyObject
*swig_obj
[1] ;
23198 if (!args
) SWIG_fail
;
23199 swig_obj
[0] = args
;
23200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23201 if (!SWIG_IsOK(res1
)) {
23202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23204 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23207 result
= (arg1
)->GetLabel();
23208 wxPyEndAllowThreads(__tstate
);
23209 if (PyErr_Occurred()) SWIG_fail
;
23213 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23215 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23224 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23225 PyObject
*resultobj
= 0;
23226 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23230 PyObject
*swig_obj
[1] ;
23232 if (!args
) SWIG_fail
;
23233 swig_obj
[0] = args
;
23234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23235 if (!SWIG_IsOK(res1
)) {
23236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23238 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23241 result
= (arg1
)->GetShortHelp();
23242 wxPyEndAllowThreads(__tstate
);
23243 if (PyErr_Occurred()) SWIG_fail
;
23247 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23249 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23258 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23259 PyObject
*resultobj
= 0;
23260 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23264 PyObject
*swig_obj
[1] ;
23266 if (!args
) SWIG_fail
;
23267 swig_obj
[0] = args
;
23268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23269 if (!SWIG_IsOK(res1
)) {
23270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23272 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23275 result
= (arg1
)->GetLongHelp();
23276 wxPyEndAllowThreads(__tstate
);
23277 if (PyErr_Occurred()) SWIG_fail
;
23281 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23283 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23292 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23293 PyObject
*resultobj
= 0;
23294 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23301 PyObject
* obj0
= 0 ;
23302 PyObject
* obj1
= 0 ;
23303 char * kwnames
[] = {
23304 (char *) "self",(char *) "enable", NULL
23307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23309 if (!SWIG_IsOK(res1
)) {
23310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23312 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23313 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23314 if (!SWIG_IsOK(ecode2
)) {
23315 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23317 arg2
= static_cast< bool >(val2
);
23319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23320 result
= (bool)(arg1
)->Enable(arg2
);
23321 wxPyEndAllowThreads(__tstate
);
23322 if (PyErr_Occurred()) SWIG_fail
;
23325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23333 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23334 PyObject
*resultobj
= 0;
23335 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23338 PyObject
*swig_obj
[1] ;
23340 if (!args
) SWIG_fail
;
23341 swig_obj
[0] = args
;
23342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23343 if (!SWIG_IsOK(res1
)) {
23344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23346 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23350 wxPyEndAllowThreads(__tstate
);
23351 if (PyErr_Occurred()) SWIG_fail
;
23353 resultobj
= SWIG_Py_Void();
23360 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23361 PyObject
*resultobj
= 0;
23362 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23369 PyObject
* obj0
= 0 ;
23370 PyObject
* obj1
= 0 ;
23371 char * kwnames
[] = {
23372 (char *) "self",(char *) "toggle", NULL
23375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23377 if (!SWIG_IsOK(res1
)) {
23378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23380 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23381 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23382 if (!SWIG_IsOK(ecode2
)) {
23383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23385 arg2
= static_cast< bool >(val2
);
23387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23388 result
= (bool)(arg1
)->SetToggle(arg2
);
23389 wxPyEndAllowThreads(__tstate
);
23390 if (PyErr_Occurred()) SWIG_fail
;
23393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23401 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23402 PyObject
*resultobj
= 0;
23403 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23404 wxString
*arg2
= 0 ;
23408 bool temp2
= false ;
23409 PyObject
* obj0
= 0 ;
23410 PyObject
* obj1
= 0 ;
23411 char * kwnames
[] = {
23412 (char *) "self",(char *) "help", NULL
23415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23417 if (!SWIG_IsOK(res1
)) {
23418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23420 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23422 arg2
= wxString_in_helper(obj1
);
23423 if (arg2
== NULL
) SWIG_fail
;
23427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23428 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
23429 wxPyEndAllowThreads(__tstate
);
23430 if (PyErr_Occurred()) SWIG_fail
;
23433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23449 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23450 PyObject
*resultobj
= 0;
23451 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23452 wxString
*arg2
= 0 ;
23456 bool temp2
= false ;
23457 PyObject
* obj0
= 0 ;
23458 PyObject
* obj1
= 0 ;
23459 char * kwnames
[] = {
23460 (char *) "self",(char *) "help", NULL
23463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23465 if (!SWIG_IsOK(res1
)) {
23466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23468 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23470 arg2
= wxString_in_helper(obj1
);
23471 if (arg2
== NULL
) SWIG_fail
;
23475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23476 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
23477 wxPyEndAllowThreads(__tstate
);
23478 if (PyErr_Occurred()) SWIG_fail
;
23481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23497 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23498 PyObject
*resultobj
= 0;
23499 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23500 wxBitmap
*arg2
= 0 ;
23505 PyObject
* obj0
= 0 ;
23506 PyObject
* obj1
= 0 ;
23507 char * kwnames
[] = {
23508 (char *) "self",(char *) "bmp", NULL
23511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23513 if (!SWIG_IsOK(res1
)) {
23514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23516 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23517 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23518 if (!SWIG_IsOK(res2
)) {
23519 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23522 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23524 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23527 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23528 wxPyEndAllowThreads(__tstate
);
23529 if (PyErr_Occurred()) SWIG_fail
;
23531 resultobj
= SWIG_Py_Void();
23538 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23539 PyObject
*resultobj
= 0;
23540 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23541 wxBitmap
*arg2
= 0 ;
23546 PyObject
* obj0
= 0 ;
23547 PyObject
* obj1
= 0 ;
23548 char * kwnames
[] = {
23549 (char *) "self",(char *) "bmp", NULL
23552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23554 if (!SWIG_IsOK(res1
)) {
23555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23557 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23558 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23559 if (!SWIG_IsOK(res2
)) {
23560 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23563 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23565 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23568 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23569 wxPyEndAllowThreads(__tstate
);
23570 if (PyErr_Occurred()) SWIG_fail
;
23572 resultobj
= SWIG_Py_Void();
23579 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23580 PyObject
*resultobj
= 0;
23581 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23582 wxString
*arg2
= 0 ;
23585 bool temp2
= false ;
23586 PyObject
* obj0
= 0 ;
23587 PyObject
* obj1
= 0 ;
23588 char * kwnames
[] = {
23589 (char *) "self",(char *) "label", NULL
23592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23594 if (!SWIG_IsOK(res1
)) {
23595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23597 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23599 arg2
= wxString_in_helper(obj1
);
23600 if (arg2
== NULL
) SWIG_fail
;
23604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23605 (arg1
)->SetLabel((wxString
const &)*arg2
);
23606 wxPyEndAllowThreads(__tstate
);
23607 if (PyErr_Occurred()) SWIG_fail
;
23609 resultobj
= SWIG_Py_Void();
23624 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23625 PyObject
*resultobj
= 0;
23626 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23629 PyObject
*swig_obj
[1] ;
23631 if (!args
) SWIG_fail
;
23632 swig_obj
[0] = args
;
23633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23634 if (!SWIG_IsOK(res1
)) {
23635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23637 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23641 wxPyEndAllowThreads(__tstate
);
23642 if (PyErr_Occurred()) SWIG_fail
;
23644 resultobj
= SWIG_Py_Void();
23651 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23652 PyObject
*resultobj
= 0;
23653 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23654 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23659 PyObject
* obj0
= 0 ;
23660 PyObject
* obj1
= 0 ;
23661 char * kwnames
[] = {
23662 (char *) "self",(char *) "tbar", NULL
23665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23667 if (!SWIG_IsOK(res1
)) {
23668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23670 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23671 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23672 if (!SWIG_IsOK(res2
)) {
23673 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23675 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23678 (arg1
)->Attach(arg2
);
23679 wxPyEndAllowThreads(__tstate
);
23680 if (PyErr_Occurred()) SWIG_fail
;
23682 resultobj
= SWIG_Py_Void();
23689 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23690 PyObject
*resultobj
= 0;
23691 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23692 PyObject
*result
= 0 ;
23695 PyObject
*swig_obj
[1] ;
23697 if (!args
) SWIG_fail
;
23698 swig_obj
[0] = args
;
23699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23700 if (!SWIG_IsOK(res1
)) {
23701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23703 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23706 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23707 wxPyEndAllowThreads(__tstate
);
23708 if (PyErr_Occurred()) SWIG_fail
;
23710 resultobj
= result
;
23717 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23718 PyObject
*resultobj
= 0;
23719 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23720 PyObject
*arg2
= (PyObject
*) 0 ;
23723 PyObject
* obj0
= 0 ;
23724 PyObject
* obj1
= 0 ;
23725 char * kwnames
[] = {
23726 (char *) "self",(char *) "clientData", NULL
23729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23731 if (!SWIG_IsOK(res1
)) {
23732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23734 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23738 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23739 wxPyEndAllowThreads(__tstate
);
23740 if (PyErr_Occurred()) SWIG_fail
;
23742 resultobj
= SWIG_Py_Void();
23749 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23751 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23752 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23753 return SWIG_Py_Void();
23756 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23757 PyObject
*resultobj
= 0;
23758 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23760 wxString
*arg3
= 0 ;
23761 wxBitmap
*arg4
= 0 ;
23762 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23763 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23764 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23765 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23766 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23767 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23768 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23769 PyObject
*arg9
= (PyObject
*) NULL
;
23770 wxToolBarToolBase
*result
= 0 ;
23775 bool temp3
= false ;
23782 bool temp7
= false ;
23783 bool temp8
= false ;
23784 PyObject
* obj0
= 0 ;
23785 PyObject
* obj1
= 0 ;
23786 PyObject
* obj2
= 0 ;
23787 PyObject
* obj3
= 0 ;
23788 PyObject
* obj4
= 0 ;
23789 PyObject
* obj5
= 0 ;
23790 PyObject
* obj6
= 0 ;
23791 PyObject
* obj7
= 0 ;
23792 PyObject
* obj8
= 0 ;
23793 char * kwnames
[] = {
23794 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23799 if (!SWIG_IsOK(res1
)) {
23800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23802 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23803 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23804 if (!SWIG_IsOK(ecode2
)) {
23805 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23807 arg2
= static_cast< int >(val2
);
23809 arg3
= wxString_in_helper(obj2
);
23810 if (arg3
== NULL
) SWIG_fail
;
23813 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23814 if (!SWIG_IsOK(res4
)) {
23815 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23818 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23820 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23822 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23823 if (!SWIG_IsOK(res5
)) {
23824 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23827 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23829 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23832 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23833 if (!SWIG_IsOK(ecode6
)) {
23834 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23836 arg6
= static_cast< wxItemKind
>(val6
);
23840 arg7
= wxString_in_helper(obj6
);
23841 if (arg7
== NULL
) SWIG_fail
;
23847 arg8
= wxString_in_helper(obj7
);
23848 if (arg8
== NULL
) SWIG_fail
;
23856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23857 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
23858 wxPyEndAllowThreads(__tstate
);
23859 if (PyErr_Occurred()) SWIG_fail
;
23862 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23894 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23895 PyObject
*resultobj
= 0;
23896 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23899 wxString
*arg4
= 0 ;
23900 wxBitmap
*arg5
= 0 ;
23901 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
23902 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
23903 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
23904 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23905 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23906 wxString
const &arg9_defvalue
= wxPyEmptyString
;
23907 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23908 PyObject
*arg10
= (PyObject
*) NULL
;
23909 wxToolBarToolBase
*result
= 0 ;
23916 bool temp4
= false ;
23923 bool temp8
= false ;
23924 bool temp9
= false ;
23925 PyObject
* obj0
= 0 ;
23926 PyObject
* obj1
= 0 ;
23927 PyObject
* obj2
= 0 ;
23928 PyObject
* obj3
= 0 ;
23929 PyObject
* obj4
= 0 ;
23930 PyObject
* obj5
= 0 ;
23931 PyObject
* obj6
= 0 ;
23932 PyObject
* obj7
= 0 ;
23933 PyObject
* obj8
= 0 ;
23934 PyObject
* obj9
= 0 ;
23935 char * kwnames
[] = {
23936 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
23940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23941 if (!SWIG_IsOK(res1
)) {
23942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23944 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23945 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23946 if (!SWIG_IsOK(ecode2
)) {
23947 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
23949 arg2
= static_cast< size_t >(val2
);
23950 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23951 if (!SWIG_IsOK(ecode3
)) {
23952 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
23954 arg3
= static_cast< int >(val3
);
23956 arg4
= wxString_in_helper(obj3
);
23957 if (arg4
== NULL
) SWIG_fail
;
23960 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23961 if (!SWIG_IsOK(res5
)) {
23962 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23965 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23967 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23969 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23970 if (!SWIG_IsOK(res6
)) {
23971 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23974 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23976 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
23979 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
23980 if (!SWIG_IsOK(ecode7
)) {
23981 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
23983 arg7
= static_cast< wxItemKind
>(val7
);
23987 arg8
= wxString_in_helper(obj7
);
23988 if (arg8
== NULL
) SWIG_fail
;
23994 arg9
= wxString_in_helper(obj8
);
23995 if (arg9
== NULL
) SWIG_fail
;
24003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24004 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
24005 wxPyEndAllowThreads(__tstate
);
24006 if (PyErr_Occurred()) SWIG_fail
;
24009 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24041 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24042 PyObject
*resultobj
= 0;
24043 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24044 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
24045 wxToolBarToolBase
*result
= 0 ;
24050 PyObject
* obj0
= 0 ;
24051 PyObject
* obj1
= 0 ;
24052 char * kwnames
[] = {
24053 (char *) "self",(char *) "tool", NULL
24056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24058 if (!SWIG_IsOK(res1
)) {
24059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24061 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24062 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24063 if (!SWIG_IsOK(res2
)) {
24064 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
24066 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
24068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24069 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
24070 wxPyEndAllowThreads(__tstate
);
24071 if (PyErr_Occurred()) SWIG_fail
;
24074 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24082 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24083 PyObject
*resultobj
= 0;
24084 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24086 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
24087 wxToolBarToolBase
*result
= 0 ;
24094 PyObject
* obj0
= 0 ;
24095 PyObject
* obj1
= 0 ;
24096 PyObject
* obj2
= 0 ;
24097 char * kwnames
[] = {
24098 (char *) "self",(char *) "pos",(char *) "tool", NULL
24101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24103 if (!SWIG_IsOK(res1
)) {
24104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24106 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24107 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24108 if (!SWIG_IsOK(ecode2
)) {
24109 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
24111 arg2
= static_cast< size_t >(val2
);
24112 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24113 if (!SWIG_IsOK(res3
)) {
24114 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
24116 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
24118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24119 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
24120 wxPyEndAllowThreads(__tstate
);
24121 if (PyErr_Occurred()) SWIG_fail
;
24124 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24132 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24133 PyObject
*resultobj
= 0;
24134 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24135 wxControl
*arg2
= (wxControl
*) 0 ;
24136 wxToolBarToolBase
*result
= 0 ;
24141 PyObject
* obj0
= 0 ;
24142 PyObject
* obj1
= 0 ;
24143 char * kwnames
[] = {
24144 (char *) "self",(char *) "control", NULL
24147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24149 if (!SWIG_IsOK(res1
)) {
24150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24152 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24153 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
24154 if (!SWIG_IsOK(res2
)) {
24155 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
24157 arg2
= reinterpret_cast< wxControl
* >(argp2
);
24159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24160 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
24161 wxPyEndAllowThreads(__tstate
);
24162 if (PyErr_Occurred()) SWIG_fail
;
24165 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24173 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24174 PyObject
*resultobj
= 0;
24175 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24177 wxControl
*arg3
= (wxControl
*) 0 ;
24178 wxToolBarToolBase
*result
= 0 ;
24185 PyObject
* obj0
= 0 ;
24186 PyObject
* obj1
= 0 ;
24187 PyObject
* obj2
= 0 ;
24188 char * kwnames
[] = {
24189 (char *) "self",(char *) "pos",(char *) "control", NULL
24192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24194 if (!SWIG_IsOK(res1
)) {
24195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24197 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24198 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24199 if (!SWIG_IsOK(ecode2
)) {
24200 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
24202 arg2
= static_cast< size_t >(val2
);
24203 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
24204 if (!SWIG_IsOK(res3
)) {
24205 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
24207 arg3
= reinterpret_cast< wxControl
* >(argp3
);
24209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24210 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
24211 wxPyEndAllowThreads(__tstate
);
24212 if (PyErr_Occurred()) SWIG_fail
;
24215 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24223 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24224 PyObject
*resultobj
= 0;
24225 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24227 wxControl
*result
= 0 ;
24232 PyObject
* obj0
= 0 ;
24233 PyObject
* obj1
= 0 ;
24234 char * kwnames
[] = {
24235 (char *) "self",(char *) "id", NULL
24238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24240 if (!SWIG_IsOK(res1
)) {
24241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24243 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24244 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24245 if (!SWIG_IsOK(ecode2
)) {
24246 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
24248 arg2
= static_cast< int >(val2
);
24250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24251 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
24252 wxPyEndAllowThreads(__tstate
);
24253 if (PyErr_Occurred()) SWIG_fail
;
24256 resultobj
= wxPyMake_wxObject(result
, 0);
24264 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24265 PyObject
*resultobj
= 0;
24266 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24267 wxToolBarToolBase
*result
= 0 ;
24270 PyObject
*swig_obj
[1] ;
24272 if (!args
) SWIG_fail
;
24273 swig_obj
[0] = args
;
24274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24275 if (!SWIG_IsOK(res1
)) {
24276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24278 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24281 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
24282 wxPyEndAllowThreads(__tstate
);
24283 if (PyErr_Occurred()) SWIG_fail
;
24286 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24294 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24295 PyObject
*resultobj
= 0;
24296 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24298 wxToolBarToolBase
*result
= 0 ;
24303 PyObject
* obj0
= 0 ;
24304 PyObject
* obj1
= 0 ;
24305 char * kwnames
[] = {
24306 (char *) "self",(char *) "pos", NULL
24309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24311 if (!SWIG_IsOK(res1
)) {
24312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24314 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24315 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24316 if (!SWIG_IsOK(ecode2
)) {
24317 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24319 arg2
= static_cast< size_t >(val2
);
24321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24322 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
24323 wxPyEndAllowThreads(__tstate
);
24324 if (PyErr_Occurred()) SWIG_fail
;
24327 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24335 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24336 PyObject
*resultobj
= 0;
24337 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24339 wxToolBarToolBase
*result
= 0 ;
24344 PyObject
* obj0
= 0 ;
24345 PyObject
* obj1
= 0 ;
24346 char * kwnames
[] = {
24347 (char *) "self",(char *) "id", NULL
24350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24352 if (!SWIG_IsOK(res1
)) {
24353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24355 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24356 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24357 if (!SWIG_IsOK(ecode2
)) {
24358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24360 arg2
= static_cast< int >(val2
);
24362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24363 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
24364 wxPyEndAllowThreads(__tstate
);
24365 if (PyErr_Occurred()) SWIG_fail
;
24368 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24376 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24377 PyObject
*resultobj
= 0;
24378 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24385 PyObject
* obj0
= 0 ;
24386 PyObject
* obj1
= 0 ;
24387 char * kwnames
[] = {
24388 (char *) "self",(char *) "pos", NULL
24391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24393 if (!SWIG_IsOK(res1
)) {
24394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24396 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24397 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24398 if (!SWIG_IsOK(ecode2
)) {
24399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24401 arg2
= static_cast< size_t >(val2
);
24403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24404 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
24405 wxPyEndAllowThreads(__tstate
);
24406 if (PyErr_Occurred()) SWIG_fail
;
24409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24417 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24418 PyObject
*resultobj
= 0;
24419 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24426 PyObject
* obj0
= 0 ;
24427 PyObject
* obj1
= 0 ;
24428 char * kwnames
[] = {
24429 (char *) "self",(char *) "id", NULL
24432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24434 if (!SWIG_IsOK(res1
)) {
24435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24437 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24438 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24439 if (!SWIG_IsOK(ecode2
)) {
24440 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24442 arg2
= static_cast< int >(val2
);
24444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24445 result
= (bool)(arg1
)->DeleteTool(arg2
);
24446 wxPyEndAllowThreads(__tstate
);
24447 if (PyErr_Occurred()) SWIG_fail
;
24450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24458 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24459 PyObject
*resultobj
= 0;
24460 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24463 PyObject
*swig_obj
[1] ;
24465 if (!args
) SWIG_fail
;
24466 swig_obj
[0] = args
;
24467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24468 if (!SWIG_IsOK(res1
)) {
24469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24471 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24474 (arg1
)->ClearTools();
24475 wxPyEndAllowThreads(__tstate
);
24476 if (PyErr_Occurred()) SWIG_fail
;
24478 resultobj
= SWIG_Py_Void();
24485 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24486 PyObject
*resultobj
= 0;
24487 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24491 PyObject
*swig_obj
[1] ;
24493 if (!args
) SWIG_fail
;
24494 swig_obj
[0] = args
;
24495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24496 if (!SWIG_IsOK(res1
)) {
24497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24499 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24502 result
= (bool)(arg1
)->Realize();
24503 wxPyEndAllowThreads(__tstate
);
24504 if (PyErr_Occurred()) SWIG_fail
;
24507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24515 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24516 PyObject
*resultobj
= 0;
24517 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24526 PyObject
* obj0
= 0 ;
24527 PyObject
* obj1
= 0 ;
24528 PyObject
* obj2
= 0 ;
24529 char * kwnames
[] = {
24530 (char *) "self",(char *) "id",(char *) "enable", NULL
24533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24535 if (!SWIG_IsOK(res1
)) {
24536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24538 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24539 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24540 if (!SWIG_IsOK(ecode2
)) {
24541 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24543 arg2
= static_cast< int >(val2
);
24544 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24545 if (!SWIG_IsOK(ecode3
)) {
24546 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24548 arg3
= static_cast< bool >(val3
);
24550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24551 (arg1
)->EnableTool(arg2
,arg3
);
24552 wxPyEndAllowThreads(__tstate
);
24553 if (PyErr_Occurred()) SWIG_fail
;
24555 resultobj
= SWIG_Py_Void();
24562 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24563 PyObject
*resultobj
= 0;
24564 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24573 PyObject
* obj0
= 0 ;
24574 PyObject
* obj1
= 0 ;
24575 PyObject
* obj2
= 0 ;
24576 char * kwnames
[] = {
24577 (char *) "self",(char *) "id",(char *) "toggle", NULL
24580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24582 if (!SWIG_IsOK(res1
)) {
24583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24585 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24586 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24587 if (!SWIG_IsOK(ecode2
)) {
24588 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24590 arg2
= static_cast< int >(val2
);
24591 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24592 if (!SWIG_IsOK(ecode3
)) {
24593 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24595 arg3
= static_cast< bool >(val3
);
24597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24598 (arg1
)->ToggleTool(arg2
,arg3
);
24599 wxPyEndAllowThreads(__tstate
);
24600 if (PyErr_Occurred()) SWIG_fail
;
24602 resultobj
= SWIG_Py_Void();
24609 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24610 PyObject
*resultobj
= 0;
24611 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24620 PyObject
* obj0
= 0 ;
24621 PyObject
* obj1
= 0 ;
24622 PyObject
* obj2
= 0 ;
24623 char * kwnames
[] = {
24624 (char *) "self",(char *) "id",(char *) "toggle", NULL
24627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24629 if (!SWIG_IsOK(res1
)) {
24630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24632 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24633 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24634 if (!SWIG_IsOK(ecode2
)) {
24635 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24637 arg2
= static_cast< int >(val2
);
24638 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24639 if (!SWIG_IsOK(ecode3
)) {
24640 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24642 arg3
= static_cast< bool >(val3
);
24644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24645 (arg1
)->SetToggle(arg2
,arg3
);
24646 wxPyEndAllowThreads(__tstate
);
24647 if (PyErr_Occurred()) SWIG_fail
;
24649 resultobj
= SWIG_Py_Void();
24656 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24657 PyObject
*resultobj
= 0;
24658 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24660 PyObject
*result
= 0 ;
24665 PyObject
* obj0
= 0 ;
24666 PyObject
* obj1
= 0 ;
24667 char * kwnames
[] = {
24668 (char *) "self",(char *) "id", NULL
24671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24673 if (!SWIG_IsOK(res1
)) {
24674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24676 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24677 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24678 if (!SWIG_IsOK(ecode2
)) {
24679 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24681 arg2
= static_cast< int >(val2
);
24683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24684 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24685 wxPyEndAllowThreads(__tstate
);
24686 if (PyErr_Occurred()) SWIG_fail
;
24688 resultobj
= result
;
24695 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24696 PyObject
*resultobj
= 0;
24697 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24699 PyObject
*arg3
= (PyObject
*) 0 ;
24704 PyObject
* obj0
= 0 ;
24705 PyObject
* obj1
= 0 ;
24706 PyObject
* obj2
= 0 ;
24707 char * kwnames
[] = {
24708 (char *) "self",(char *) "id",(char *) "clientData", NULL
24711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24713 if (!SWIG_IsOK(res1
)) {
24714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24716 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24717 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24718 if (!SWIG_IsOK(ecode2
)) {
24719 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24721 arg2
= static_cast< int >(val2
);
24724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24725 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24726 wxPyEndAllowThreads(__tstate
);
24727 if (PyErr_Occurred()) SWIG_fail
;
24729 resultobj
= SWIG_Py_Void();
24736 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24737 PyObject
*resultobj
= 0;
24738 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24745 PyObject
* obj0
= 0 ;
24746 PyObject
* obj1
= 0 ;
24747 char * kwnames
[] = {
24748 (char *) "self",(char *) "id", NULL
24751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24753 if (!SWIG_IsOK(res1
)) {
24754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24756 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24757 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24758 if (!SWIG_IsOK(ecode2
)) {
24759 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24761 arg2
= static_cast< int >(val2
);
24763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24764 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24765 wxPyEndAllowThreads(__tstate
);
24766 if (PyErr_Occurred()) SWIG_fail
;
24768 resultobj
= SWIG_From_int(static_cast< int >(result
));
24775 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24776 PyObject
*resultobj
= 0;
24777 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24784 PyObject
* obj0
= 0 ;
24785 PyObject
* obj1
= 0 ;
24786 char * kwnames
[] = {
24787 (char *) "self",(char *) "id", NULL
24790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24792 if (!SWIG_IsOK(res1
)) {
24793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24795 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24796 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24797 if (!SWIG_IsOK(ecode2
)) {
24798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24800 arg2
= static_cast< int >(val2
);
24802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24803 result
= (bool)(arg1
)->GetToolState(arg2
);
24804 wxPyEndAllowThreads(__tstate
);
24805 if (PyErr_Occurred()) SWIG_fail
;
24808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24816 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24817 PyObject
*resultobj
= 0;
24818 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24825 PyObject
* obj0
= 0 ;
24826 PyObject
* obj1
= 0 ;
24827 char * kwnames
[] = {
24828 (char *) "self",(char *) "id", NULL
24831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24833 if (!SWIG_IsOK(res1
)) {
24834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24836 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24837 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24838 if (!SWIG_IsOK(ecode2
)) {
24839 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24841 arg2
= static_cast< int >(val2
);
24843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24844 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
24845 wxPyEndAllowThreads(__tstate
);
24846 if (PyErr_Occurred()) SWIG_fail
;
24849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24857 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24858 PyObject
*resultobj
= 0;
24859 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24861 wxString
*arg3
= 0 ;
24866 bool temp3
= false ;
24867 PyObject
* obj0
= 0 ;
24868 PyObject
* obj1
= 0 ;
24869 PyObject
* obj2
= 0 ;
24870 char * kwnames
[] = {
24871 (char *) "self",(char *) "id",(char *) "helpString", NULL
24874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24876 if (!SWIG_IsOK(res1
)) {
24877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24879 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24880 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24881 if (!SWIG_IsOK(ecode2
)) {
24882 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24884 arg2
= static_cast< int >(val2
);
24886 arg3
= wxString_in_helper(obj2
);
24887 if (arg3
== NULL
) SWIG_fail
;
24891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24892 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
24893 wxPyEndAllowThreads(__tstate
);
24894 if (PyErr_Occurred()) SWIG_fail
;
24896 resultobj
= SWIG_Py_Void();
24911 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24912 PyObject
*resultobj
= 0;
24913 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24920 PyObject
* obj0
= 0 ;
24921 PyObject
* obj1
= 0 ;
24922 char * kwnames
[] = {
24923 (char *) "self",(char *) "id", NULL
24926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24928 if (!SWIG_IsOK(res1
)) {
24929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24931 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24932 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24933 if (!SWIG_IsOK(ecode2
)) {
24934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24936 arg2
= static_cast< int >(val2
);
24938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24939 result
= (arg1
)->GetToolShortHelp(arg2
);
24940 wxPyEndAllowThreads(__tstate
);
24941 if (PyErr_Occurred()) SWIG_fail
;
24945 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24947 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24956 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24957 PyObject
*resultobj
= 0;
24958 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24960 wxString
*arg3
= 0 ;
24965 bool temp3
= false ;
24966 PyObject
* obj0
= 0 ;
24967 PyObject
* obj1
= 0 ;
24968 PyObject
* obj2
= 0 ;
24969 char * kwnames
[] = {
24970 (char *) "self",(char *) "id",(char *) "helpString", NULL
24973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24975 if (!SWIG_IsOK(res1
)) {
24976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24978 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24979 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24980 if (!SWIG_IsOK(ecode2
)) {
24981 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24983 arg2
= static_cast< int >(val2
);
24985 arg3
= wxString_in_helper(obj2
);
24986 if (arg3
== NULL
) SWIG_fail
;
24990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24991 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
24992 wxPyEndAllowThreads(__tstate
);
24993 if (PyErr_Occurred()) SWIG_fail
;
24995 resultobj
= SWIG_Py_Void();
25010 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25011 PyObject
*resultobj
= 0;
25012 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25019 PyObject
* obj0
= 0 ;
25020 PyObject
* obj1
= 0 ;
25021 char * kwnames
[] = {
25022 (char *) "self",(char *) "id", NULL
25025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25027 if (!SWIG_IsOK(res1
)) {
25028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25030 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25031 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25032 if (!SWIG_IsOK(ecode2
)) {
25033 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25035 arg2
= static_cast< int >(val2
);
25037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25038 result
= (arg1
)->GetToolLongHelp(arg2
);
25039 wxPyEndAllowThreads(__tstate
);
25040 if (PyErr_Occurred()) SWIG_fail
;
25044 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25046 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25055 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25056 PyObject
*resultobj
= 0;
25057 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25066 PyObject
* obj0
= 0 ;
25067 PyObject
* obj1
= 0 ;
25068 PyObject
* obj2
= 0 ;
25069 char * kwnames
[] = {
25070 (char *) "self",(char *) "x",(char *) "y", NULL
25073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25075 if (!SWIG_IsOK(res1
)) {
25076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25078 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25079 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25080 if (!SWIG_IsOK(ecode2
)) {
25081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
25083 arg2
= static_cast< int >(val2
);
25084 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25085 if (!SWIG_IsOK(ecode3
)) {
25086 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
25088 arg3
= static_cast< int >(val3
);
25090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25091 (arg1
)->SetMargins(arg2
,arg3
);
25092 wxPyEndAllowThreads(__tstate
);
25093 if (PyErr_Occurred()) SWIG_fail
;
25095 resultobj
= SWIG_Py_Void();
25102 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25103 PyObject
*resultobj
= 0;
25104 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25109 PyObject
* obj0
= 0 ;
25110 PyObject
* obj1
= 0 ;
25111 char * kwnames
[] = {
25112 (char *) "self",(char *) "size", NULL
25115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25117 if (!SWIG_IsOK(res1
)) {
25118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25120 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25123 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25127 (arg1
)->SetMargins((wxSize
const &)*arg2
);
25128 wxPyEndAllowThreads(__tstate
);
25129 if (PyErr_Occurred()) SWIG_fail
;
25131 resultobj
= SWIG_Py_Void();
25138 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25139 PyObject
*resultobj
= 0;
25140 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25146 PyObject
* obj0
= 0 ;
25147 PyObject
* obj1
= 0 ;
25148 char * kwnames
[] = {
25149 (char *) "self",(char *) "packing", NULL
25152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25154 if (!SWIG_IsOK(res1
)) {
25155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25157 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25158 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25159 if (!SWIG_IsOK(ecode2
)) {
25160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
25162 arg2
= static_cast< int >(val2
);
25164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25165 (arg1
)->SetToolPacking(arg2
);
25166 wxPyEndAllowThreads(__tstate
);
25167 if (PyErr_Occurred()) SWIG_fail
;
25169 resultobj
= SWIG_Py_Void();
25176 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25177 PyObject
*resultobj
= 0;
25178 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25184 PyObject
* obj0
= 0 ;
25185 PyObject
* obj1
= 0 ;
25186 char * kwnames
[] = {
25187 (char *) "self",(char *) "separation", NULL
25190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25192 if (!SWIG_IsOK(res1
)) {
25193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25195 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25196 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25197 if (!SWIG_IsOK(ecode2
)) {
25198 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
25200 arg2
= static_cast< int >(val2
);
25202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25203 (arg1
)->SetToolSeparation(arg2
);
25204 wxPyEndAllowThreads(__tstate
);
25205 if (PyErr_Occurred()) SWIG_fail
;
25207 resultobj
= SWIG_Py_Void();
25214 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25215 PyObject
*resultobj
= 0;
25216 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25220 PyObject
*swig_obj
[1] ;
25222 if (!args
) SWIG_fail
;
25223 swig_obj
[0] = args
;
25224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25225 if (!SWIG_IsOK(res1
)) {
25226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25228 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25231 result
= (arg1
)->GetToolMargins();
25232 wxPyEndAllowThreads(__tstate
);
25233 if (PyErr_Occurred()) SWIG_fail
;
25235 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25242 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25243 PyObject
*resultobj
= 0;
25244 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25248 PyObject
*swig_obj
[1] ;
25250 if (!args
) SWIG_fail
;
25251 swig_obj
[0] = args
;
25252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25253 if (!SWIG_IsOK(res1
)) {
25254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25256 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25259 result
= (arg1
)->GetMargins();
25260 wxPyEndAllowThreads(__tstate
);
25261 if (PyErr_Occurred()) SWIG_fail
;
25263 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25270 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25271 PyObject
*resultobj
= 0;
25272 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25276 PyObject
*swig_obj
[1] ;
25278 if (!args
) SWIG_fail
;
25279 swig_obj
[0] = args
;
25280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25281 if (!SWIG_IsOK(res1
)) {
25282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25284 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25287 result
= (int)(arg1
)->GetToolPacking();
25288 wxPyEndAllowThreads(__tstate
);
25289 if (PyErr_Occurred()) SWIG_fail
;
25291 resultobj
= SWIG_From_int(static_cast< int >(result
));
25298 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25299 PyObject
*resultobj
= 0;
25300 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25304 PyObject
*swig_obj
[1] ;
25306 if (!args
) SWIG_fail
;
25307 swig_obj
[0] = args
;
25308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25309 if (!SWIG_IsOK(res1
)) {
25310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25312 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25315 result
= (int)(arg1
)->GetToolSeparation();
25316 wxPyEndAllowThreads(__tstate
);
25317 if (PyErr_Occurred()) SWIG_fail
;
25319 resultobj
= SWIG_From_int(static_cast< int >(result
));
25326 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25327 PyObject
*resultobj
= 0;
25328 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25334 PyObject
* obj0
= 0 ;
25335 PyObject
* obj1
= 0 ;
25336 char * kwnames
[] = {
25337 (char *) "self",(char *) "nRows", NULL
25340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25342 if (!SWIG_IsOK(res1
)) {
25343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25345 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25346 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25347 if (!SWIG_IsOK(ecode2
)) {
25348 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25350 arg2
= static_cast< int >(val2
);
25352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25353 (arg1
)->SetRows(arg2
);
25354 wxPyEndAllowThreads(__tstate
);
25355 if (PyErr_Occurred()) SWIG_fail
;
25357 resultobj
= SWIG_Py_Void();
25364 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25365 PyObject
*resultobj
= 0;
25366 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25375 PyObject
* obj0
= 0 ;
25376 PyObject
* obj1
= 0 ;
25377 PyObject
* obj2
= 0 ;
25378 char * kwnames
[] = {
25379 (char *) "self",(char *) "rows",(char *) "cols", NULL
25382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25384 if (!SWIG_IsOK(res1
)) {
25385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25387 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25388 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25389 if (!SWIG_IsOK(ecode2
)) {
25390 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25392 arg2
= static_cast< int >(val2
);
25393 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25394 if (!SWIG_IsOK(ecode3
)) {
25395 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25397 arg3
= static_cast< int >(val3
);
25399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25400 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
25401 wxPyEndAllowThreads(__tstate
);
25402 if (PyErr_Occurred()) SWIG_fail
;
25404 resultobj
= SWIG_Py_Void();
25411 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25412 PyObject
*resultobj
= 0;
25413 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25417 PyObject
*swig_obj
[1] ;
25419 if (!args
) SWIG_fail
;
25420 swig_obj
[0] = args
;
25421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25422 if (!SWIG_IsOK(res1
)) {
25423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25425 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25428 result
= (int)(arg1
)->GetMaxRows();
25429 wxPyEndAllowThreads(__tstate
);
25430 if (PyErr_Occurred()) SWIG_fail
;
25432 resultobj
= SWIG_From_int(static_cast< int >(result
));
25439 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25440 PyObject
*resultobj
= 0;
25441 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25445 PyObject
*swig_obj
[1] ;
25447 if (!args
) SWIG_fail
;
25448 swig_obj
[0] = args
;
25449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25450 if (!SWIG_IsOK(res1
)) {
25451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25453 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25456 result
= (int)(arg1
)->GetMaxCols();
25457 wxPyEndAllowThreads(__tstate
);
25458 if (PyErr_Occurred()) SWIG_fail
;
25460 resultobj
= SWIG_From_int(static_cast< int >(result
));
25467 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25468 PyObject
*resultobj
= 0;
25469 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25474 PyObject
* obj0
= 0 ;
25475 PyObject
* obj1
= 0 ;
25476 char * kwnames
[] = {
25477 (char *) "self",(char *) "size", NULL
25480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25482 if (!SWIG_IsOK(res1
)) {
25483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25485 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25488 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25492 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
25493 wxPyEndAllowThreads(__tstate
);
25494 if (PyErr_Occurred()) SWIG_fail
;
25496 resultobj
= SWIG_Py_Void();
25503 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25504 PyObject
*resultobj
= 0;
25505 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25509 PyObject
*swig_obj
[1] ;
25511 if (!args
) SWIG_fail
;
25512 swig_obj
[0] = args
;
25513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25514 if (!SWIG_IsOK(res1
)) {
25515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25517 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25520 result
= (arg1
)->GetToolBitmapSize();
25521 wxPyEndAllowThreads(__tstate
);
25522 if (PyErr_Occurred()) SWIG_fail
;
25524 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25531 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25532 PyObject
*resultobj
= 0;
25533 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25537 PyObject
*swig_obj
[1] ;
25539 if (!args
) SWIG_fail
;
25540 swig_obj
[0] = args
;
25541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25542 if (!SWIG_IsOK(res1
)) {
25543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25545 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25548 result
= (arg1
)->GetToolSize();
25549 wxPyEndAllowThreads(__tstate
);
25550 if (PyErr_Occurred()) SWIG_fail
;
25552 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25559 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25560 PyObject
*resultobj
= 0;
25561 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25564 wxToolBarToolBase
*result
= 0 ;
25571 PyObject
* obj0
= 0 ;
25572 PyObject
* obj1
= 0 ;
25573 PyObject
* obj2
= 0 ;
25574 char * kwnames
[] = {
25575 (char *) "self",(char *) "x",(char *) "y", NULL
25578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25580 if (!SWIG_IsOK(res1
)) {
25581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25583 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25584 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25585 if (!SWIG_IsOK(ecode2
)) {
25586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25588 arg2
= static_cast< int >(val2
);
25589 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25590 if (!SWIG_IsOK(ecode3
)) {
25591 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25593 arg3
= static_cast< int >(val3
);
25595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25596 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25597 wxPyEndAllowThreads(__tstate
);
25598 if (PyErr_Occurred()) SWIG_fail
;
25601 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25609 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25610 PyObject
*resultobj
= 0;
25611 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25613 wxToolBarToolBase
*result
= 0 ;
25618 PyObject
* obj0
= 0 ;
25619 PyObject
* obj1
= 0 ;
25620 char * kwnames
[] = {
25621 (char *) "self",(char *) "toolid", NULL
25624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25626 if (!SWIG_IsOK(res1
)) {
25627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25629 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25630 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25631 if (!SWIG_IsOK(ecode2
)) {
25632 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25634 arg2
= static_cast< int >(val2
);
25636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25637 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25638 wxPyEndAllowThreads(__tstate
);
25639 if (PyErr_Occurred()) SWIG_fail
;
25642 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25650 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25651 PyObject
*resultobj
= 0;
25652 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25656 PyObject
*swig_obj
[1] ;
25658 if (!args
) SWIG_fail
;
25659 swig_obj
[0] = args
;
25660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25661 if (!SWIG_IsOK(res1
)) {
25662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25664 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25667 result
= (bool)(arg1
)->IsVertical();
25668 wxPyEndAllowThreads(__tstate
);
25669 if (PyErr_Occurred()) SWIG_fail
;
25672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25680 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25681 PyObject
*resultobj
= 0;
25682 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25686 PyObject
*swig_obj
[1] ;
25688 if (!args
) SWIG_fail
;
25689 swig_obj
[0] = args
;
25690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25691 if (!SWIG_IsOK(res1
)) {
25692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25694 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25697 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25698 wxPyEndAllowThreads(__tstate
);
25699 if (PyErr_Occurred()) SWIG_fail
;
25701 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25708 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25710 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25711 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25712 return SWIG_Py_Void();
25715 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25716 PyObject
*resultobj
= 0;
25717 wxWindow
*arg1
= (wxWindow
*) 0 ;
25718 int arg2
= (int) -1 ;
25719 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25720 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25721 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25722 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25723 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25724 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25725 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25726 wxToolBar
*result
= 0 ;
25735 bool temp6
= false ;
25736 PyObject
* obj0
= 0 ;
25737 PyObject
* obj1
= 0 ;
25738 PyObject
* obj2
= 0 ;
25739 PyObject
* obj3
= 0 ;
25740 PyObject
* obj4
= 0 ;
25741 PyObject
* obj5
= 0 ;
25742 char * kwnames
[] = {
25743 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25748 if (!SWIG_IsOK(res1
)) {
25749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25751 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25753 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25754 if (!SWIG_IsOK(ecode2
)) {
25755 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25757 arg2
= static_cast< int >(val2
);
25762 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25768 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25772 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25773 if (!SWIG_IsOK(ecode5
)) {
25774 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25776 arg5
= static_cast< long >(val5
);
25780 arg6
= wxString_in_helper(obj5
);
25781 if (arg6
== NULL
) SWIG_fail
;
25786 if (!wxPyCheckForApp()) SWIG_fail
;
25787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25788 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25789 wxPyEndAllowThreads(__tstate
);
25790 if (PyErr_Occurred()) SWIG_fail
;
25792 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
25807 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25808 PyObject
*resultobj
= 0;
25809 wxToolBar
*result
= 0 ;
25811 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
25813 if (!wxPyCheckForApp()) SWIG_fail
;
25814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25815 result
= (wxToolBar
*)new wxToolBar();
25816 wxPyEndAllowThreads(__tstate
);
25817 if (PyErr_Occurred()) SWIG_fail
;
25819 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
25826 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25827 PyObject
*resultobj
= 0;
25828 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25829 wxWindow
*arg2
= (wxWindow
*) 0 ;
25830 int arg3
= (int) -1 ;
25831 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25832 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25833 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25834 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25835 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25836 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
25837 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25849 bool temp7
= false ;
25850 PyObject
* obj0
= 0 ;
25851 PyObject
* obj1
= 0 ;
25852 PyObject
* obj2
= 0 ;
25853 PyObject
* obj3
= 0 ;
25854 PyObject
* obj4
= 0 ;
25855 PyObject
* obj5
= 0 ;
25856 PyObject
* obj6
= 0 ;
25857 char * kwnames
[] = {
25858 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
25863 if (!SWIG_IsOK(res1
)) {
25864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25866 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
25867 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25868 if (!SWIG_IsOK(res2
)) {
25869 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25871 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25873 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25874 if (!SWIG_IsOK(ecode3
)) {
25875 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25877 arg3
= static_cast< int >(val3
);
25882 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25888 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25892 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
25893 if (!SWIG_IsOK(ecode6
)) {
25894 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25896 arg6
= static_cast< long >(val6
);
25900 arg7
= wxString_in_helper(obj6
);
25901 if (arg7
== NULL
) SWIG_fail
;
25906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25907 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25908 wxPyEndAllowThreads(__tstate
);
25909 if (PyErr_Occurred()) SWIG_fail
;
25912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25928 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25929 PyObject
*resultobj
= 0;
25930 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
25931 SwigValueWrapper
<wxVisualAttributes
> result
;
25934 PyObject
* obj0
= 0 ;
25935 char * kwnames
[] = {
25936 (char *) "variant", NULL
25939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
25941 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25942 if (!SWIG_IsOK(ecode1
)) {
25943 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
25945 arg1
= static_cast< wxWindowVariant
>(val1
);
25948 if (!wxPyCheckForApp()) SWIG_fail
;
25949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25950 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
25951 wxPyEndAllowThreads(__tstate
);
25952 if (PyErr_Occurred()) SWIG_fail
;
25954 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
25961 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25963 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25964 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
25965 return SWIG_Py_Void();
25968 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25969 return SWIG_Python_InitShadowInstance(args
);
25972 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
25973 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
25978 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
25979 PyObject
*pyobj
= 0;
25983 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25985 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25992 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25993 PyObject
*resultobj
= 0;
25994 wxColour
const &arg1_defvalue
= wxNullColour
;
25995 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
25996 wxColour
const &arg2_defvalue
= wxNullColour
;
25997 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
25998 wxFont
const &arg3_defvalue
= wxNullFont
;
25999 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
26000 wxListItemAttr
*result
= 0 ;
26005 PyObject
* obj0
= 0 ;
26006 PyObject
* obj1
= 0 ;
26007 PyObject
* obj2
= 0 ;
26008 char * kwnames
[] = {
26009 (char *) "colText",(char *) "colBack",(char *) "font", NULL
26012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26016 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
26022 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26026 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
26027 if (!SWIG_IsOK(res3
)) {
26028 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26031 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26033 arg3
= reinterpret_cast< wxFont
* >(argp3
);
26036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26037 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
26038 wxPyEndAllowThreads(__tstate
);
26039 if (PyErr_Occurred()) SWIG_fail
;
26041 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
26048 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26049 PyObject
*resultobj
= 0;
26050 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26053 PyObject
*swig_obj
[1] ;
26055 if (!args
) SWIG_fail
;
26056 swig_obj
[0] = args
;
26057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
26058 if (!SWIG_IsOK(res1
)) {
26059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26061 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26066 wxPyEndAllowThreads(__tstate
);
26067 if (PyErr_Occurred()) SWIG_fail
;
26069 resultobj
= SWIG_Py_Void();
26076 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26077 PyObject
*resultobj
= 0;
26078 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26079 wxColour
*arg2
= 0 ;
26083 PyObject
* obj0
= 0 ;
26084 PyObject
* obj1
= 0 ;
26085 char * kwnames
[] = {
26086 (char *) "self",(char *) "colText", NULL
26089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26091 if (!SWIG_IsOK(res1
)) {
26092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26094 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26097 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26101 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26102 wxPyEndAllowThreads(__tstate
);
26103 if (PyErr_Occurred()) SWIG_fail
;
26105 resultobj
= SWIG_Py_Void();
26112 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26113 PyObject
*resultobj
= 0;
26114 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26115 wxColour
*arg2
= 0 ;
26119 PyObject
* obj0
= 0 ;
26120 PyObject
* obj1
= 0 ;
26121 char * kwnames
[] = {
26122 (char *) "self",(char *) "colBack", NULL
26125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26127 if (!SWIG_IsOK(res1
)) {
26128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26130 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26133 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26137 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26138 wxPyEndAllowThreads(__tstate
);
26139 if (PyErr_Occurred()) SWIG_fail
;
26141 resultobj
= SWIG_Py_Void();
26148 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26149 PyObject
*resultobj
= 0;
26150 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26156 PyObject
* obj0
= 0 ;
26157 PyObject
* obj1
= 0 ;
26158 char * kwnames
[] = {
26159 (char *) "self",(char *) "font", NULL
26162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26164 if (!SWIG_IsOK(res1
)) {
26165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26167 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26168 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26169 if (!SWIG_IsOK(res2
)) {
26170 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26173 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26175 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26178 (arg1
)->SetFont((wxFont
const &)*arg2
);
26179 wxPyEndAllowThreads(__tstate
);
26180 if (PyErr_Occurred()) SWIG_fail
;
26182 resultobj
= SWIG_Py_Void();
26189 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26190 PyObject
*resultobj
= 0;
26191 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26195 PyObject
*swig_obj
[1] ;
26197 if (!args
) SWIG_fail
;
26198 swig_obj
[0] = args
;
26199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26200 if (!SWIG_IsOK(res1
)) {
26201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26203 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26206 result
= (bool)(arg1
)->HasTextColour();
26207 wxPyEndAllowThreads(__tstate
);
26208 if (PyErr_Occurred()) SWIG_fail
;
26211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26219 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26220 PyObject
*resultobj
= 0;
26221 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26225 PyObject
*swig_obj
[1] ;
26227 if (!args
) SWIG_fail
;
26228 swig_obj
[0] = args
;
26229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26230 if (!SWIG_IsOK(res1
)) {
26231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26233 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26236 result
= (bool)(arg1
)->HasBackgroundColour();
26237 wxPyEndAllowThreads(__tstate
);
26238 if (PyErr_Occurred()) SWIG_fail
;
26241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26249 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26250 PyObject
*resultobj
= 0;
26251 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26255 PyObject
*swig_obj
[1] ;
26257 if (!args
) SWIG_fail
;
26258 swig_obj
[0] = args
;
26259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26260 if (!SWIG_IsOK(res1
)) {
26261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26263 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26266 result
= (bool)(arg1
)->HasFont();
26267 wxPyEndAllowThreads(__tstate
);
26268 if (PyErr_Occurred()) SWIG_fail
;
26271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26279 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26280 PyObject
*resultobj
= 0;
26281 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26285 PyObject
*swig_obj
[1] ;
26287 if (!args
) SWIG_fail
;
26288 swig_obj
[0] = args
;
26289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26290 if (!SWIG_IsOK(res1
)) {
26291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26293 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26296 result
= (arg1
)->GetTextColour();
26297 wxPyEndAllowThreads(__tstate
);
26298 if (PyErr_Occurred()) SWIG_fail
;
26300 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26307 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26308 PyObject
*resultobj
= 0;
26309 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26313 PyObject
*swig_obj
[1] ;
26315 if (!args
) SWIG_fail
;
26316 swig_obj
[0] = args
;
26317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26318 if (!SWIG_IsOK(res1
)) {
26319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26321 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26324 result
= (arg1
)->GetBackgroundColour();
26325 wxPyEndAllowThreads(__tstate
);
26326 if (PyErr_Occurred()) SWIG_fail
;
26328 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26335 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26336 PyObject
*resultobj
= 0;
26337 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26341 PyObject
*swig_obj
[1] ;
26343 if (!args
) SWIG_fail
;
26344 swig_obj
[0] = args
;
26345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26346 if (!SWIG_IsOK(res1
)) {
26347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26349 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26352 result
= (arg1
)->GetFont();
26353 wxPyEndAllowThreads(__tstate
);
26354 if (PyErr_Occurred()) SWIG_fail
;
26356 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
26363 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26364 PyObject
*resultobj
= 0;
26365 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26366 wxListItemAttr
*arg2
= 0 ;
26371 PyObject
* obj0
= 0 ;
26372 PyObject
* obj1
= 0 ;
26373 char * kwnames
[] = {
26374 (char *) "self",(char *) "source", NULL
26377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26379 if (!SWIG_IsOK(res1
)) {
26380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26382 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26383 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
26384 if (!SWIG_IsOK(res2
)) {
26385 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26388 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26390 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
26392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26393 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
26394 wxPyEndAllowThreads(__tstate
);
26395 if (PyErr_Occurred()) SWIG_fail
;
26397 resultobj
= SWIG_Py_Void();
26404 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26405 PyObject
*resultobj
= 0;
26406 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26409 PyObject
*swig_obj
[1] ;
26411 if (!args
) SWIG_fail
;
26412 swig_obj
[0] = args
;
26413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26414 if (!SWIG_IsOK(res1
)) {
26415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26417 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26420 wxListItemAttr_Destroy(arg1
);
26421 wxPyEndAllowThreads(__tstate
);
26422 if (PyErr_Occurred()) SWIG_fail
;
26424 resultobj
= SWIG_Py_Void();
26431 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26433 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26434 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
26435 return SWIG_Py_Void();
26438 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26439 return SWIG_Python_InitShadowInstance(args
);
26442 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26443 PyObject
*resultobj
= 0;
26444 wxListItem
*result
= 0 ;
26446 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
26448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26449 result
= (wxListItem
*)new wxListItem();
26450 wxPyEndAllowThreads(__tstate
);
26451 if (PyErr_Occurred()) SWIG_fail
;
26453 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, SWIG_POINTER_NEW
| 0 );
26460 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26461 PyObject
*resultobj
= 0;
26462 wxListItem
*arg1
= (wxListItem
*) 0 ;
26465 PyObject
*swig_obj
[1] ;
26467 if (!args
) SWIG_fail
;
26468 swig_obj
[0] = args
;
26469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
26470 if (!SWIG_IsOK(res1
)) {
26471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26473 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26478 wxPyEndAllowThreads(__tstate
);
26479 if (PyErr_Occurred()) SWIG_fail
;
26481 resultobj
= SWIG_Py_Void();
26488 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26489 PyObject
*resultobj
= 0;
26490 wxListItem
*arg1
= (wxListItem
*) 0 ;
26493 PyObject
*swig_obj
[1] ;
26495 if (!args
) SWIG_fail
;
26496 swig_obj
[0] = args
;
26497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26498 if (!SWIG_IsOK(res1
)) {
26499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26501 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26505 wxPyEndAllowThreads(__tstate
);
26506 if (PyErr_Occurred()) SWIG_fail
;
26508 resultobj
= SWIG_Py_Void();
26515 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26516 PyObject
*resultobj
= 0;
26517 wxListItem
*arg1
= (wxListItem
*) 0 ;
26520 PyObject
*swig_obj
[1] ;
26522 if (!args
) SWIG_fail
;
26523 swig_obj
[0] = args
;
26524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26525 if (!SWIG_IsOK(res1
)) {
26526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26528 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26531 (arg1
)->ClearAttributes();
26532 wxPyEndAllowThreads(__tstate
);
26533 if (PyErr_Occurred()) SWIG_fail
;
26535 resultobj
= SWIG_Py_Void();
26542 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26543 PyObject
*resultobj
= 0;
26544 wxListItem
*arg1
= (wxListItem
*) 0 ;
26550 PyObject
* obj0
= 0 ;
26551 PyObject
* obj1
= 0 ;
26552 char * kwnames
[] = {
26553 (char *) "self",(char *) "mask", NULL
26556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26558 if (!SWIG_IsOK(res1
)) {
26559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26561 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26562 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26563 if (!SWIG_IsOK(ecode2
)) {
26564 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26566 arg2
= static_cast< long >(val2
);
26568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26569 (arg1
)->SetMask(arg2
);
26570 wxPyEndAllowThreads(__tstate
);
26571 if (PyErr_Occurred()) SWIG_fail
;
26573 resultobj
= SWIG_Py_Void();
26580 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26581 PyObject
*resultobj
= 0;
26582 wxListItem
*arg1
= (wxListItem
*) 0 ;
26588 PyObject
* obj0
= 0 ;
26589 PyObject
* obj1
= 0 ;
26590 char * kwnames
[] = {
26591 (char *) "self",(char *) "id", NULL
26594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26596 if (!SWIG_IsOK(res1
)) {
26597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26599 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26600 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26601 if (!SWIG_IsOK(ecode2
)) {
26602 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26604 arg2
= static_cast< long >(val2
);
26606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26607 (arg1
)->SetId(arg2
);
26608 wxPyEndAllowThreads(__tstate
);
26609 if (PyErr_Occurred()) SWIG_fail
;
26611 resultobj
= SWIG_Py_Void();
26618 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26619 PyObject
*resultobj
= 0;
26620 wxListItem
*arg1
= (wxListItem
*) 0 ;
26626 PyObject
* obj0
= 0 ;
26627 PyObject
* obj1
= 0 ;
26628 char * kwnames
[] = {
26629 (char *) "self",(char *) "col", NULL
26632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26634 if (!SWIG_IsOK(res1
)) {
26635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26637 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26638 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26639 if (!SWIG_IsOK(ecode2
)) {
26640 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26642 arg2
= static_cast< int >(val2
);
26644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26645 (arg1
)->SetColumn(arg2
);
26646 wxPyEndAllowThreads(__tstate
);
26647 if (PyErr_Occurred()) SWIG_fail
;
26649 resultobj
= SWIG_Py_Void();
26656 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26657 PyObject
*resultobj
= 0;
26658 wxListItem
*arg1
= (wxListItem
*) 0 ;
26664 PyObject
* obj0
= 0 ;
26665 PyObject
* obj1
= 0 ;
26666 char * kwnames
[] = {
26667 (char *) "self",(char *) "state", NULL
26670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26672 if (!SWIG_IsOK(res1
)) {
26673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26675 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26676 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26677 if (!SWIG_IsOK(ecode2
)) {
26678 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26680 arg2
= static_cast< long >(val2
);
26682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26683 (arg1
)->SetState(arg2
);
26684 wxPyEndAllowThreads(__tstate
);
26685 if (PyErr_Occurred()) SWIG_fail
;
26687 resultobj
= SWIG_Py_Void();
26694 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26695 PyObject
*resultobj
= 0;
26696 wxListItem
*arg1
= (wxListItem
*) 0 ;
26702 PyObject
* obj0
= 0 ;
26703 PyObject
* obj1
= 0 ;
26704 char * kwnames
[] = {
26705 (char *) "self",(char *) "stateMask", NULL
26708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26710 if (!SWIG_IsOK(res1
)) {
26711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26713 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26714 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26715 if (!SWIG_IsOK(ecode2
)) {
26716 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26718 arg2
= static_cast< long >(val2
);
26720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26721 (arg1
)->SetStateMask(arg2
);
26722 wxPyEndAllowThreads(__tstate
);
26723 if (PyErr_Occurred()) SWIG_fail
;
26725 resultobj
= SWIG_Py_Void();
26732 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26733 PyObject
*resultobj
= 0;
26734 wxListItem
*arg1
= (wxListItem
*) 0 ;
26735 wxString
*arg2
= 0 ;
26738 bool temp2
= false ;
26739 PyObject
* obj0
= 0 ;
26740 PyObject
* obj1
= 0 ;
26741 char * kwnames
[] = {
26742 (char *) "self",(char *) "text", NULL
26745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26747 if (!SWIG_IsOK(res1
)) {
26748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26750 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26752 arg2
= wxString_in_helper(obj1
);
26753 if (arg2
== NULL
) SWIG_fail
;
26757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26758 (arg1
)->SetText((wxString
const &)*arg2
);
26759 wxPyEndAllowThreads(__tstate
);
26760 if (PyErr_Occurred()) SWIG_fail
;
26762 resultobj
= SWIG_Py_Void();
26777 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26778 PyObject
*resultobj
= 0;
26779 wxListItem
*arg1
= (wxListItem
*) 0 ;
26785 PyObject
* obj0
= 0 ;
26786 PyObject
* obj1
= 0 ;
26787 char * kwnames
[] = {
26788 (char *) "self",(char *) "image", NULL
26791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26793 if (!SWIG_IsOK(res1
)) {
26794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26796 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26797 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26798 if (!SWIG_IsOK(ecode2
)) {
26799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26801 arg2
= static_cast< int >(val2
);
26803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26804 (arg1
)->SetImage(arg2
);
26805 wxPyEndAllowThreads(__tstate
);
26806 if (PyErr_Occurred()) SWIG_fail
;
26808 resultobj
= SWIG_Py_Void();
26815 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26816 PyObject
*resultobj
= 0;
26817 wxListItem
*arg1
= (wxListItem
*) 0 ;
26823 PyObject
* obj0
= 0 ;
26824 PyObject
* obj1
= 0 ;
26825 char * kwnames
[] = {
26826 (char *) "self",(char *) "data", NULL
26829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26831 if (!SWIG_IsOK(res1
)) {
26832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26834 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26835 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26836 if (!SWIG_IsOK(ecode2
)) {
26837 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26839 arg2
= static_cast< long >(val2
);
26841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26842 (arg1
)->SetData(arg2
);
26843 wxPyEndAllowThreads(__tstate
);
26844 if (PyErr_Occurred()) SWIG_fail
;
26846 resultobj
= SWIG_Py_Void();
26853 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26854 PyObject
*resultobj
= 0;
26855 wxListItem
*arg1
= (wxListItem
*) 0 ;
26861 PyObject
* obj0
= 0 ;
26862 PyObject
* obj1
= 0 ;
26863 char * kwnames
[] = {
26864 (char *) "self",(char *) "width", NULL
26867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26869 if (!SWIG_IsOK(res1
)) {
26870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26872 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26873 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26874 if (!SWIG_IsOK(ecode2
)) {
26875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
26877 arg2
= static_cast< int >(val2
);
26879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26880 (arg1
)->SetWidth(arg2
);
26881 wxPyEndAllowThreads(__tstate
);
26882 if (PyErr_Occurred()) SWIG_fail
;
26884 resultobj
= SWIG_Py_Void();
26891 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26892 PyObject
*resultobj
= 0;
26893 wxListItem
*arg1
= (wxListItem
*) 0 ;
26894 wxListColumnFormat arg2
;
26899 PyObject
* obj0
= 0 ;
26900 PyObject
* obj1
= 0 ;
26901 char * kwnames
[] = {
26902 (char *) "self",(char *) "align", NULL
26905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26907 if (!SWIG_IsOK(res1
)) {
26908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26910 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26911 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26912 if (!SWIG_IsOK(ecode2
)) {
26913 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
26915 arg2
= static_cast< wxListColumnFormat
>(val2
);
26917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26918 (arg1
)->SetAlign(arg2
);
26919 wxPyEndAllowThreads(__tstate
);
26920 if (PyErr_Occurred()) SWIG_fail
;
26922 resultobj
= SWIG_Py_Void();
26929 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26930 PyObject
*resultobj
= 0;
26931 wxListItem
*arg1
= (wxListItem
*) 0 ;
26932 wxColour
*arg2
= 0 ;
26936 PyObject
* obj0
= 0 ;
26937 PyObject
* obj1
= 0 ;
26938 char * kwnames
[] = {
26939 (char *) "self",(char *) "colText", NULL
26942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26944 if (!SWIG_IsOK(res1
)) {
26945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26947 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26950 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26954 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26955 wxPyEndAllowThreads(__tstate
);
26956 if (PyErr_Occurred()) SWIG_fail
;
26958 resultobj
= SWIG_Py_Void();
26965 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26966 PyObject
*resultobj
= 0;
26967 wxListItem
*arg1
= (wxListItem
*) 0 ;
26968 wxColour
*arg2
= 0 ;
26972 PyObject
* obj0
= 0 ;
26973 PyObject
* obj1
= 0 ;
26974 char * kwnames
[] = {
26975 (char *) "self",(char *) "colBack", NULL
26978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26980 if (!SWIG_IsOK(res1
)) {
26981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26983 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26986 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26990 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26991 wxPyEndAllowThreads(__tstate
);
26992 if (PyErr_Occurred()) SWIG_fail
;
26994 resultobj
= SWIG_Py_Void();
27001 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27002 PyObject
*resultobj
= 0;
27003 wxListItem
*arg1
= (wxListItem
*) 0 ;
27009 PyObject
* obj0
= 0 ;
27010 PyObject
* obj1
= 0 ;
27011 char * kwnames
[] = {
27012 (char *) "self",(char *) "font", NULL
27015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27017 if (!SWIG_IsOK(res1
)) {
27018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
27020 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27021 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
27022 if (!SWIG_IsOK(res2
)) {
27023 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27026 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27028 arg2
= reinterpret_cast< wxFont
* >(argp2
);
27030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27031 (arg1
)->SetFont((wxFont
const &)*arg2
);
27032 wxPyEndAllowThreads(__tstate
);
27033 if (PyErr_Occurred()) SWIG_fail
;
27035 resultobj
= SWIG_Py_Void();
27042 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27043 PyObject
*resultobj
= 0;
27044 wxListItem
*arg1
= (wxListItem
*) 0 ;
27048 PyObject
*swig_obj
[1] ;
27050 if (!args
) SWIG_fail
;
27051 swig_obj
[0] = args
;
27052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27053 if (!SWIG_IsOK(res1
)) {
27054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
27056 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27059 result
= (long)(arg1
)->GetMask();
27060 wxPyEndAllowThreads(__tstate
);
27061 if (PyErr_Occurred()) SWIG_fail
;
27063 resultobj
= SWIG_From_long(static_cast< long >(result
));
27070 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27071 PyObject
*resultobj
= 0;
27072 wxListItem
*arg1
= (wxListItem
*) 0 ;
27076 PyObject
*swig_obj
[1] ;
27078 if (!args
) SWIG_fail
;
27079 swig_obj
[0] = args
;
27080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27081 if (!SWIG_IsOK(res1
)) {
27082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
27084 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27087 result
= (long)(arg1
)->GetId();
27088 wxPyEndAllowThreads(__tstate
);
27089 if (PyErr_Occurred()) SWIG_fail
;
27091 resultobj
= SWIG_From_long(static_cast< long >(result
));
27098 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27099 PyObject
*resultobj
= 0;
27100 wxListItem
*arg1
= (wxListItem
*) 0 ;
27104 PyObject
*swig_obj
[1] ;
27106 if (!args
) SWIG_fail
;
27107 swig_obj
[0] = args
;
27108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27109 if (!SWIG_IsOK(res1
)) {
27110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
27112 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27115 result
= (int)(arg1
)->GetColumn();
27116 wxPyEndAllowThreads(__tstate
);
27117 if (PyErr_Occurred()) SWIG_fail
;
27119 resultobj
= SWIG_From_int(static_cast< int >(result
));
27126 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27127 PyObject
*resultobj
= 0;
27128 wxListItem
*arg1
= (wxListItem
*) 0 ;
27132 PyObject
*swig_obj
[1] ;
27134 if (!args
) SWIG_fail
;
27135 swig_obj
[0] = args
;
27136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27137 if (!SWIG_IsOK(res1
)) {
27138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
27140 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27143 result
= (long)(arg1
)->GetState();
27144 wxPyEndAllowThreads(__tstate
);
27145 if (PyErr_Occurred()) SWIG_fail
;
27147 resultobj
= SWIG_From_long(static_cast< long >(result
));
27154 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27155 PyObject
*resultobj
= 0;
27156 wxListItem
*arg1
= (wxListItem
*) 0 ;
27157 wxString
*result
= 0 ;
27160 PyObject
*swig_obj
[1] ;
27162 if (!args
) SWIG_fail
;
27163 swig_obj
[0] = args
;
27164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27165 if (!SWIG_IsOK(res1
)) {
27166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
27168 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27172 wxString
const &_result_ref
= (arg1
)->GetText();
27173 result
= (wxString
*) &_result_ref
;
27175 wxPyEndAllowThreads(__tstate
);
27176 if (PyErr_Occurred()) SWIG_fail
;
27180 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27182 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27191 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27192 PyObject
*resultobj
= 0;
27193 wxListItem
*arg1
= (wxListItem
*) 0 ;
27197 PyObject
*swig_obj
[1] ;
27199 if (!args
) SWIG_fail
;
27200 swig_obj
[0] = args
;
27201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27202 if (!SWIG_IsOK(res1
)) {
27203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27205 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27208 result
= (int)(arg1
)->GetImage();
27209 wxPyEndAllowThreads(__tstate
);
27210 if (PyErr_Occurred()) SWIG_fail
;
27212 resultobj
= SWIG_From_int(static_cast< int >(result
));
27219 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27220 PyObject
*resultobj
= 0;
27221 wxListItem
*arg1
= (wxListItem
*) 0 ;
27225 PyObject
*swig_obj
[1] ;
27227 if (!args
) SWIG_fail
;
27228 swig_obj
[0] = args
;
27229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27230 if (!SWIG_IsOK(res1
)) {
27231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27233 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27236 result
= (long)(arg1
)->GetData();
27237 wxPyEndAllowThreads(__tstate
);
27238 if (PyErr_Occurred()) SWIG_fail
;
27240 resultobj
= SWIG_From_long(static_cast< long >(result
));
27247 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27248 PyObject
*resultobj
= 0;
27249 wxListItem
*arg1
= (wxListItem
*) 0 ;
27253 PyObject
*swig_obj
[1] ;
27255 if (!args
) SWIG_fail
;
27256 swig_obj
[0] = args
;
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_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27261 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27264 result
= (int)(arg1
)->GetWidth();
27265 wxPyEndAllowThreads(__tstate
);
27266 if (PyErr_Occurred()) SWIG_fail
;
27268 resultobj
= SWIG_From_int(static_cast< int >(result
));
27275 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27276 PyObject
*resultobj
= 0;
27277 wxListItem
*arg1
= (wxListItem
*) 0 ;
27278 wxListColumnFormat result
;
27281 PyObject
*swig_obj
[1] ;
27283 if (!args
) SWIG_fail
;
27284 swig_obj
[0] = args
;
27285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27286 if (!SWIG_IsOK(res1
)) {
27287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27289 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27292 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
27293 wxPyEndAllowThreads(__tstate
);
27294 if (PyErr_Occurred()) SWIG_fail
;
27296 resultobj
= SWIG_From_int(static_cast< int >(result
));
27303 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27304 PyObject
*resultobj
= 0;
27305 wxListItem
*arg1
= (wxListItem
*) 0 ;
27306 wxListItemAttr
*result
= 0 ;
27309 PyObject
*swig_obj
[1] ;
27311 if (!args
) SWIG_fail
;
27312 swig_obj
[0] = args
;
27313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27314 if (!SWIG_IsOK(res1
)) {
27315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27317 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27320 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
27321 wxPyEndAllowThreads(__tstate
);
27322 if (PyErr_Occurred()) SWIG_fail
;
27324 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
27331 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27332 PyObject
*resultobj
= 0;
27333 wxListItem
*arg1
= (wxListItem
*) 0 ;
27337 PyObject
*swig_obj
[1] ;
27339 if (!args
) SWIG_fail
;
27340 swig_obj
[0] = args
;
27341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27342 if (!SWIG_IsOK(res1
)) {
27343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27345 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27348 result
= (bool)(arg1
)->HasAttributes();
27349 wxPyEndAllowThreads(__tstate
);
27350 if (PyErr_Occurred()) SWIG_fail
;
27353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27361 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27362 PyObject
*resultobj
= 0;
27363 wxListItem
*arg1
= (wxListItem
*) 0 ;
27367 PyObject
*swig_obj
[1] ;
27369 if (!args
) SWIG_fail
;
27370 swig_obj
[0] = args
;
27371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27372 if (!SWIG_IsOK(res1
)) {
27373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27375 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27378 result
= ((wxListItem
const *)arg1
)->GetTextColour();
27379 wxPyEndAllowThreads(__tstate
);
27380 if (PyErr_Occurred()) SWIG_fail
;
27382 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27389 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27390 PyObject
*resultobj
= 0;
27391 wxListItem
*arg1
= (wxListItem
*) 0 ;
27395 PyObject
*swig_obj
[1] ;
27397 if (!args
) SWIG_fail
;
27398 swig_obj
[0] = args
;
27399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27400 if (!SWIG_IsOK(res1
)) {
27401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27403 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27406 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
27407 wxPyEndAllowThreads(__tstate
);
27408 if (PyErr_Occurred()) SWIG_fail
;
27410 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27417 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27418 PyObject
*resultobj
= 0;
27419 wxListItem
*arg1
= (wxListItem
*) 0 ;
27423 PyObject
*swig_obj
[1] ;
27425 if (!args
) SWIG_fail
;
27426 swig_obj
[0] = args
;
27427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27428 if (!SWIG_IsOK(res1
)) {
27429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27431 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27434 result
= ((wxListItem
const *)arg1
)->GetFont();
27435 wxPyEndAllowThreads(__tstate
);
27436 if (PyErr_Occurred()) SWIG_fail
;
27438 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
27445 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27446 PyObject
*resultobj
= 0;
27447 wxListItem
*arg1
= (wxListItem
*) 0 ;
27453 PyObject
*swig_obj
[2] ;
27455 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
27456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27457 if (!SWIG_IsOK(res1
)) {
27458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27460 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27461 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27462 if (!SWIG_IsOK(ecode2
)) {
27463 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27465 arg2
= static_cast< long >(val2
);
27466 if (arg1
) (arg1
)->m_mask
= arg2
;
27468 resultobj
= SWIG_Py_Void();
27475 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27476 PyObject
*resultobj
= 0;
27477 wxListItem
*arg1
= (wxListItem
*) 0 ;
27481 PyObject
*swig_obj
[1] ;
27483 if (!args
) SWIG_fail
;
27484 swig_obj
[0] = args
;
27485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27486 if (!SWIG_IsOK(res1
)) {
27487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27489 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27490 result
= (long) ((arg1
)->m_mask
);
27491 resultobj
= SWIG_From_long(static_cast< long >(result
));
27498 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27499 PyObject
*resultobj
= 0;
27500 wxListItem
*arg1
= (wxListItem
*) 0 ;
27506 PyObject
*swig_obj
[2] ;
27508 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27510 if (!SWIG_IsOK(res1
)) {
27511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27513 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27514 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27515 if (!SWIG_IsOK(ecode2
)) {
27516 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27518 arg2
= static_cast< long >(val2
);
27519 if (arg1
) (arg1
)->m_itemId
= arg2
;
27521 resultobj
= SWIG_Py_Void();
27528 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27529 PyObject
*resultobj
= 0;
27530 wxListItem
*arg1
= (wxListItem
*) 0 ;
27534 PyObject
*swig_obj
[1] ;
27536 if (!args
) SWIG_fail
;
27537 swig_obj
[0] = args
;
27538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27539 if (!SWIG_IsOK(res1
)) {
27540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27542 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27543 result
= (long) ((arg1
)->m_itemId
);
27544 resultobj
= SWIG_From_long(static_cast< long >(result
));
27551 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27552 PyObject
*resultobj
= 0;
27553 wxListItem
*arg1
= (wxListItem
*) 0 ;
27559 PyObject
*swig_obj
[2] ;
27561 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27563 if (!SWIG_IsOK(res1
)) {
27564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27566 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27567 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27568 if (!SWIG_IsOK(ecode2
)) {
27569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27571 arg2
= static_cast< int >(val2
);
27572 if (arg1
) (arg1
)->m_col
= arg2
;
27574 resultobj
= SWIG_Py_Void();
27581 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27582 PyObject
*resultobj
= 0;
27583 wxListItem
*arg1
= (wxListItem
*) 0 ;
27587 PyObject
*swig_obj
[1] ;
27589 if (!args
) SWIG_fail
;
27590 swig_obj
[0] = args
;
27591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27592 if (!SWIG_IsOK(res1
)) {
27593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27595 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27596 result
= (int) ((arg1
)->m_col
);
27597 resultobj
= SWIG_From_int(static_cast< int >(result
));
27604 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27605 PyObject
*resultobj
= 0;
27606 wxListItem
*arg1
= (wxListItem
*) 0 ;
27612 PyObject
*swig_obj
[2] ;
27614 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27616 if (!SWIG_IsOK(res1
)) {
27617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27619 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27620 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27621 if (!SWIG_IsOK(ecode2
)) {
27622 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27624 arg2
= static_cast< long >(val2
);
27625 if (arg1
) (arg1
)->m_state
= arg2
;
27627 resultobj
= SWIG_Py_Void();
27634 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27635 PyObject
*resultobj
= 0;
27636 wxListItem
*arg1
= (wxListItem
*) 0 ;
27640 PyObject
*swig_obj
[1] ;
27642 if (!args
) SWIG_fail
;
27643 swig_obj
[0] = args
;
27644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27645 if (!SWIG_IsOK(res1
)) {
27646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27648 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27649 result
= (long) ((arg1
)->m_state
);
27650 resultobj
= SWIG_From_long(static_cast< long >(result
));
27657 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27658 PyObject
*resultobj
= 0;
27659 wxListItem
*arg1
= (wxListItem
*) 0 ;
27665 PyObject
*swig_obj
[2] ;
27667 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
27668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27669 if (!SWIG_IsOK(res1
)) {
27670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27672 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27673 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27674 if (!SWIG_IsOK(ecode2
)) {
27675 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27677 arg2
= static_cast< long >(val2
);
27678 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27680 resultobj
= SWIG_Py_Void();
27687 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27688 PyObject
*resultobj
= 0;
27689 wxListItem
*arg1
= (wxListItem
*) 0 ;
27693 PyObject
*swig_obj
[1] ;
27695 if (!args
) SWIG_fail
;
27696 swig_obj
[0] = args
;
27697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27698 if (!SWIG_IsOK(res1
)) {
27699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27701 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27702 result
= (long) ((arg1
)->m_stateMask
);
27703 resultobj
= SWIG_From_long(static_cast< long >(result
));
27710 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27711 PyObject
*resultobj
= 0;
27712 wxListItem
*arg1
= (wxListItem
*) 0 ;
27713 wxString
*arg2
= (wxString
*) 0 ;
27716 bool temp2
= false ;
27717 PyObject
*swig_obj
[2] ;
27719 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
27720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27721 if (!SWIG_IsOK(res1
)) {
27722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27724 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27726 arg2
= wxString_in_helper(swig_obj
[1]);
27727 if (arg2
== NULL
) SWIG_fail
;
27730 if (arg1
) (arg1
)->m_text
= *arg2
;
27732 resultobj
= SWIG_Py_Void();
27747 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27748 PyObject
*resultobj
= 0;
27749 wxListItem
*arg1
= (wxListItem
*) 0 ;
27750 wxString
*result
= 0 ;
27753 PyObject
*swig_obj
[1] ;
27755 if (!args
) SWIG_fail
;
27756 swig_obj
[0] = args
;
27757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27758 if (!SWIG_IsOK(res1
)) {
27759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27761 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27762 result
= (wxString
*)& ((arg1
)->m_text
);
27765 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27767 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27776 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27777 PyObject
*resultobj
= 0;
27778 wxListItem
*arg1
= (wxListItem
*) 0 ;
27784 PyObject
*swig_obj
[2] ;
27786 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
27787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27788 if (!SWIG_IsOK(res1
)) {
27789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27791 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27792 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27793 if (!SWIG_IsOK(ecode2
)) {
27794 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27796 arg2
= static_cast< int >(val2
);
27797 if (arg1
) (arg1
)->m_image
= arg2
;
27799 resultobj
= SWIG_Py_Void();
27806 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27807 PyObject
*resultobj
= 0;
27808 wxListItem
*arg1
= (wxListItem
*) 0 ;
27812 PyObject
*swig_obj
[1] ;
27814 if (!args
) SWIG_fail
;
27815 swig_obj
[0] = args
;
27816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27817 if (!SWIG_IsOK(res1
)) {
27818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27820 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27821 result
= (int) ((arg1
)->m_image
);
27822 resultobj
= SWIG_From_int(static_cast< int >(result
));
27829 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27830 PyObject
*resultobj
= 0;
27831 wxListItem
*arg1
= (wxListItem
*) 0 ;
27837 PyObject
*swig_obj
[2] ;
27839 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
27840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27841 if (!SWIG_IsOK(res1
)) {
27842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27844 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27845 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27846 if (!SWIG_IsOK(ecode2
)) {
27847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27849 arg2
= static_cast< long >(val2
);
27850 if (arg1
) (arg1
)->m_data
= arg2
;
27852 resultobj
= SWIG_Py_Void();
27859 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27860 PyObject
*resultobj
= 0;
27861 wxListItem
*arg1
= (wxListItem
*) 0 ;
27865 PyObject
*swig_obj
[1] ;
27867 if (!args
) SWIG_fail
;
27868 swig_obj
[0] = args
;
27869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27870 if (!SWIG_IsOK(res1
)) {
27871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27873 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27874 result
= (long) ((arg1
)->m_data
);
27875 resultobj
= SWIG_From_long(static_cast< long >(result
));
27882 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27883 PyObject
*resultobj
= 0;
27884 wxListItem
*arg1
= (wxListItem
*) 0 ;
27890 PyObject
*swig_obj
[2] ;
27892 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
27893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27894 if (!SWIG_IsOK(res1
)) {
27895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27897 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27898 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27899 if (!SWIG_IsOK(ecode2
)) {
27900 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
27902 arg2
= static_cast< int >(val2
);
27903 if (arg1
) (arg1
)->m_format
= arg2
;
27905 resultobj
= SWIG_Py_Void();
27912 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27913 PyObject
*resultobj
= 0;
27914 wxListItem
*arg1
= (wxListItem
*) 0 ;
27918 PyObject
*swig_obj
[1] ;
27920 if (!args
) SWIG_fail
;
27921 swig_obj
[0] = args
;
27922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27923 if (!SWIG_IsOK(res1
)) {
27924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27926 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27927 result
= (int) ((arg1
)->m_format
);
27928 resultobj
= SWIG_From_int(static_cast< int >(result
));
27935 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27936 PyObject
*resultobj
= 0;
27937 wxListItem
*arg1
= (wxListItem
*) 0 ;
27943 PyObject
*swig_obj
[2] ;
27945 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
27946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27947 if (!SWIG_IsOK(res1
)) {
27948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27950 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27951 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27952 if (!SWIG_IsOK(ecode2
)) {
27953 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
27955 arg2
= static_cast< int >(val2
);
27956 if (arg1
) (arg1
)->m_width
= arg2
;
27958 resultobj
= SWIG_Py_Void();
27965 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27966 PyObject
*resultobj
= 0;
27967 wxListItem
*arg1
= (wxListItem
*) 0 ;
27971 PyObject
*swig_obj
[1] ;
27973 if (!args
) SWIG_fail
;
27974 swig_obj
[0] = args
;
27975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27976 if (!SWIG_IsOK(res1
)) {
27977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27979 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27980 result
= (int) ((arg1
)->m_width
);
27981 resultobj
= SWIG_From_int(static_cast< int >(result
));
27988 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27990 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27991 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
27992 return SWIG_Py_Void();
27995 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27996 return SWIG_Python_InitShadowInstance(args
);
27999 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28000 PyObject
*resultobj
= 0;
28001 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28002 int arg2
= (int) 0 ;
28003 wxListEvent
*result
= 0 ;
28008 PyObject
* obj0
= 0 ;
28009 PyObject
* obj1
= 0 ;
28010 char * kwnames
[] = {
28011 (char *) "commandType",(char *) "id", NULL
28014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28016 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28017 if (!SWIG_IsOK(ecode1
)) {
28018 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
28020 arg1
= static_cast< wxEventType
>(val1
);
28023 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28024 if (!SWIG_IsOK(ecode2
)) {
28025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
28027 arg2
= static_cast< int >(val2
);
28030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28031 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
28032 wxPyEndAllowThreads(__tstate
);
28033 if (PyErr_Occurred()) SWIG_fail
;
28035 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
28042 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28043 PyObject
*resultobj
= 0;
28044 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28050 PyObject
*swig_obj
[2] ;
28052 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
28053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28054 if (!SWIG_IsOK(res1
)) {
28055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28057 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28058 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28059 if (!SWIG_IsOK(ecode2
)) {
28060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
28062 arg2
= static_cast< int >(val2
);
28063 if (arg1
) (arg1
)->m_code
= arg2
;
28065 resultobj
= SWIG_Py_Void();
28072 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28073 PyObject
*resultobj
= 0;
28074 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28078 PyObject
*swig_obj
[1] ;
28080 if (!args
) SWIG_fail
;
28081 swig_obj
[0] = args
;
28082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28083 if (!SWIG_IsOK(res1
)) {
28084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28086 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28087 result
= (int) ((arg1
)->m_code
);
28088 resultobj
= SWIG_From_int(static_cast< int >(result
));
28095 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28096 PyObject
*resultobj
= 0;
28097 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28103 PyObject
*swig_obj
[2] ;
28105 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28107 if (!SWIG_IsOK(res1
)) {
28108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28110 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28111 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28112 if (!SWIG_IsOK(ecode2
)) {
28113 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
28115 arg2
= static_cast< long >(val2
);
28116 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
28118 resultobj
= SWIG_Py_Void();
28125 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28126 PyObject
*resultobj
= 0;
28127 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28131 PyObject
*swig_obj
[1] ;
28133 if (!args
) SWIG_fail
;
28134 swig_obj
[0] = args
;
28135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28136 if (!SWIG_IsOK(res1
)) {
28137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28139 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28140 result
= (long) ((arg1
)->m_oldItemIndex
);
28141 resultobj
= SWIG_From_long(static_cast< long >(result
));
28148 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28149 PyObject
*resultobj
= 0;
28150 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28156 PyObject
*swig_obj
[2] ;
28158 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28160 if (!SWIG_IsOK(res1
)) {
28161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28163 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28164 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28165 if (!SWIG_IsOK(ecode2
)) {
28166 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
28168 arg2
= static_cast< long >(val2
);
28169 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
28171 resultobj
= SWIG_Py_Void();
28178 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28179 PyObject
*resultobj
= 0;
28180 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28184 PyObject
*swig_obj
[1] ;
28186 if (!args
) SWIG_fail
;
28187 swig_obj
[0] = args
;
28188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28189 if (!SWIG_IsOK(res1
)) {
28190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28192 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28193 result
= (long) ((arg1
)->m_itemIndex
);
28194 resultobj
= SWIG_From_long(static_cast< long >(result
));
28201 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28202 PyObject
*resultobj
= 0;
28203 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28209 PyObject
*swig_obj
[2] ;
28211 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
28212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28213 if (!SWIG_IsOK(res1
)) {
28214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28216 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28217 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28218 if (!SWIG_IsOK(ecode2
)) {
28219 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
28221 arg2
= static_cast< int >(val2
);
28222 if (arg1
) (arg1
)->m_col
= arg2
;
28224 resultobj
= SWIG_Py_Void();
28231 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28232 PyObject
*resultobj
= 0;
28233 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28237 PyObject
*swig_obj
[1] ;
28239 if (!args
) SWIG_fail
;
28240 swig_obj
[0] = args
;
28241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28242 if (!SWIG_IsOK(res1
)) {
28243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28245 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28246 result
= (int) ((arg1
)->m_col
);
28247 resultobj
= SWIG_From_int(static_cast< int >(result
));
28254 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28255 PyObject
*resultobj
= 0;
28256 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28257 wxPoint
*arg2
= (wxPoint
*) 0 ;
28262 PyObject
*swig_obj
[2] ;
28264 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
28265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28266 if (!SWIG_IsOK(res1
)) {
28267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28269 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28270 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
28271 if (!SWIG_IsOK(res2
)) {
28272 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
28274 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
28275 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
28277 resultobj
= SWIG_Py_Void();
28284 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28285 PyObject
*resultobj
= 0;
28286 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28287 wxPoint
*result
= 0 ;
28290 PyObject
*swig_obj
[1] ;
28292 if (!args
) SWIG_fail
;
28293 swig_obj
[0] = args
;
28294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28295 if (!SWIG_IsOK(res1
)) {
28296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28298 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28299 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
28300 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
28307 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28308 PyObject
*resultobj
= 0;
28309 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28310 wxListItem
*result
= 0 ;
28313 PyObject
*swig_obj
[1] ;
28315 if (!args
) SWIG_fail
;
28316 swig_obj
[0] = args
;
28317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28318 if (!SWIG_IsOK(res1
)) {
28319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28321 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28322 result
= (wxListItem
*)& ((arg1
)->m_item
);
28324 resultobj
= wxPyMake_wxObject(result
, 0);
28332 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28333 PyObject
*resultobj
= 0;
28334 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28338 PyObject
*swig_obj
[1] ;
28340 if (!args
) SWIG_fail
;
28341 swig_obj
[0] = args
;
28342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28343 if (!SWIG_IsOK(res1
)) {
28344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28346 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28349 result
= (int)(arg1
)->GetKeyCode();
28350 wxPyEndAllowThreads(__tstate
);
28351 if (PyErr_Occurred()) SWIG_fail
;
28353 resultobj
= SWIG_From_int(static_cast< int >(result
));
28360 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28361 PyObject
*resultobj
= 0;
28362 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28366 PyObject
*swig_obj
[1] ;
28368 if (!args
) SWIG_fail
;
28369 swig_obj
[0] = args
;
28370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28371 if (!SWIG_IsOK(res1
)) {
28372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28374 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28377 result
= (long)(arg1
)->GetIndex();
28378 wxPyEndAllowThreads(__tstate
);
28379 if (PyErr_Occurred()) SWIG_fail
;
28381 resultobj
= SWIG_From_long(static_cast< long >(result
));
28388 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28389 PyObject
*resultobj
= 0;
28390 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28394 PyObject
*swig_obj
[1] ;
28396 if (!args
) SWIG_fail
;
28397 swig_obj
[0] = args
;
28398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28399 if (!SWIG_IsOK(res1
)) {
28400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28402 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28405 result
= (int)(arg1
)->GetColumn();
28406 wxPyEndAllowThreads(__tstate
);
28407 if (PyErr_Occurred()) SWIG_fail
;
28409 resultobj
= SWIG_From_int(static_cast< int >(result
));
28416 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28417 PyObject
*resultobj
= 0;
28418 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28422 PyObject
*swig_obj
[1] ;
28424 if (!args
) SWIG_fail
;
28425 swig_obj
[0] = args
;
28426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28427 if (!SWIG_IsOK(res1
)) {
28428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28430 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28433 result
= (arg1
)->GetPoint();
28434 wxPyEndAllowThreads(__tstate
);
28435 if (PyErr_Occurred()) SWIG_fail
;
28437 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
28444 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28445 PyObject
*resultobj
= 0;
28446 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28447 wxString
*result
= 0 ;
28450 PyObject
*swig_obj
[1] ;
28452 if (!args
) SWIG_fail
;
28453 swig_obj
[0] = args
;
28454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28455 if (!SWIG_IsOK(res1
)) {
28456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28458 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28462 wxString
const &_result_ref
= (arg1
)->GetLabel();
28463 result
= (wxString
*) &_result_ref
;
28465 wxPyEndAllowThreads(__tstate
);
28466 if (PyErr_Occurred()) SWIG_fail
;
28470 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28472 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28481 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28482 PyObject
*resultobj
= 0;
28483 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28484 wxString
*result
= 0 ;
28487 PyObject
*swig_obj
[1] ;
28489 if (!args
) SWIG_fail
;
28490 swig_obj
[0] = args
;
28491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28492 if (!SWIG_IsOK(res1
)) {
28493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28495 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28499 wxString
const &_result_ref
= (arg1
)->GetText();
28500 result
= (wxString
*) &_result_ref
;
28502 wxPyEndAllowThreads(__tstate
);
28503 if (PyErr_Occurred()) SWIG_fail
;
28507 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28509 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28518 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28519 PyObject
*resultobj
= 0;
28520 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28524 PyObject
*swig_obj
[1] ;
28526 if (!args
) SWIG_fail
;
28527 swig_obj
[0] = args
;
28528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28529 if (!SWIG_IsOK(res1
)) {
28530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28532 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28535 result
= (int)(arg1
)->GetImage();
28536 wxPyEndAllowThreads(__tstate
);
28537 if (PyErr_Occurred()) SWIG_fail
;
28539 resultobj
= SWIG_From_int(static_cast< int >(result
));
28546 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28547 PyObject
*resultobj
= 0;
28548 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28552 PyObject
*swig_obj
[1] ;
28554 if (!args
) SWIG_fail
;
28555 swig_obj
[0] = args
;
28556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28557 if (!SWIG_IsOK(res1
)) {
28558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28560 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28563 result
= (long)(arg1
)->GetData();
28564 wxPyEndAllowThreads(__tstate
);
28565 if (PyErr_Occurred()) SWIG_fail
;
28567 resultobj
= SWIG_From_long(static_cast< long >(result
));
28574 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28575 PyObject
*resultobj
= 0;
28576 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28580 PyObject
*swig_obj
[1] ;
28582 if (!args
) SWIG_fail
;
28583 swig_obj
[0] = args
;
28584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28585 if (!SWIG_IsOK(res1
)) {
28586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28588 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28591 result
= (long)(arg1
)->GetMask();
28592 wxPyEndAllowThreads(__tstate
);
28593 if (PyErr_Occurred()) SWIG_fail
;
28595 resultobj
= SWIG_From_long(static_cast< long >(result
));
28602 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28603 PyObject
*resultobj
= 0;
28604 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28605 wxListItem
*result
= 0 ;
28608 PyObject
*swig_obj
[1] ;
28610 if (!args
) SWIG_fail
;
28611 swig_obj
[0] = args
;
28612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28613 if (!SWIG_IsOK(res1
)) {
28614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28616 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28620 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28621 result
= (wxListItem
*) &_result_ref
;
28623 wxPyEndAllowThreads(__tstate
);
28624 if (PyErr_Occurred()) SWIG_fail
;
28626 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28633 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28634 PyObject
*resultobj
= 0;
28635 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28639 PyObject
*swig_obj
[1] ;
28641 if (!args
) SWIG_fail
;
28642 swig_obj
[0] = args
;
28643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28644 if (!SWIG_IsOK(res1
)) {
28645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28647 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28650 result
= (long)(arg1
)->GetCacheFrom();
28651 wxPyEndAllowThreads(__tstate
);
28652 if (PyErr_Occurred()) SWIG_fail
;
28654 resultobj
= SWIG_From_long(static_cast< long >(result
));
28661 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28662 PyObject
*resultobj
= 0;
28663 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28667 PyObject
*swig_obj
[1] ;
28669 if (!args
) SWIG_fail
;
28670 swig_obj
[0] = args
;
28671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28672 if (!SWIG_IsOK(res1
)) {
28673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28675 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28678 result
= (long)(arg1
)->GetCacheTo();
28679 wxPyEndAllowThreads(__tstate
);
28680 if (PyErr_Occurred()) SWIG_fail
;
28682 resultobj
= SWIG_From_long(static_cast< long >(result
));
28689 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28690 PyObject
*resultobj
= 0;
28691 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28695 PyObject
*swig_obj
[1] ;
28697 if (!args
) SWIG_fail
;
28698 swig_obj
[0] = args
;
28699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28700 if (!SWIG_IsOK(res1
)) {
28701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28703 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28706 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
28707 wxPyEndAllowThreads(__tstate
);
28708 if (PyErr_Occurred()) SWIG_fail
;
28711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28719 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28720 PyObject
*resultobj
= 0;
28721 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28727 PyObject
* obj0
= 0 ;
28728 PyObject
* obj1
= 0 ;
28729 char * kwnames
[] = {
28730 (char *) "self",(char *) "editCancelled", NULL
28733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28735 if (!SWIG_IsOK(res1
)) {
28736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28738 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28739 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28740 if (!SWIG_IsOK(ecode2
)) {
28741 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28743 arg2
= static_cast< bool >(val2
);
28745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28746 (arg1
)->SetEditCanceled(arg2
);
28747 wxPyEndAllowThreads(__tstate
);
28748 if (PyErr_Occurred()) SWIG_fail
;
28750 resultobj
= SWIG_Py_Void();
28757 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28759 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28760 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
28761 return SWIG_Py_Void();
28764 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28765 return SWIG_Python_InitShadowInstance(args
);
28768 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28769 PyObject
*resultobj
= 0;
28770 wxWindow
*arg1
= (wxWindow
*) 0 ;
28771 int arg2
= (int) -1 ;
28772 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28773 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28774 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28775 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28776 long arg5
= (long) wxLC_ICON
;
28777 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28778 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28779 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
28780 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28781 wxPyListCtrl
*result
= 0 ;
28792 bool temp7
= false ;
28793 PyObject
* obj0
= 0 ;
28794 PyObject
* obj1
= 0 ;
28795 PyObject
* obj2
= 0 ;
28796 PyObject
* obj3
= 0 ;
28797 PyObject
* obj4
= 0 ;
28798 PyObject
* obj5
= 0 ;
28799 PyObject
* obj6
= 0 ;
28800 char * kwnames
[] = {
28801 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28806 if (!SWIG_IsOK(res1
)) {
28807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28809 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28811 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28812 if (!SWIG_IsOK(ecode2
)) {
28813 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28815 arg2
= static_cast< int >(val2
);
28820 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28826 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28830 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28831 if (!SWIG_IsOK(ecode5
)) {
28832 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28834 arg5
= static_cast< long >(val5
);
28837 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
28838 if (!SWIG_IsOK(res6
)) {
28839 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28842 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28844 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
28848 arg7
= wxString_in_helper(obj6
);
28849 if (arg7
== NULL
) SWIG_fail
;
28854 if (!wxPyCheckForApp()) SWIG_fail
;
28855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28856 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28857 wxPyEndAllowThreads(__tstate
);
28858 if (PyErr_Occurred()) SWIG_fail
;
28860 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
28875 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28876 PyObject
*resultobj
= 0;
28877 wxPyListCtrl
*result
= 0 ;
28879 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
28881 if (!wxPyCheckForApp()) SWIG_fail
;
28882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28883 result
= (wxPyListCtrl
*)new wxPyListCtrl();
28884 wxPyEndAllowThreads(__tstate
);
28885 if (PyErr_Occurred()) SWIG_fail
;
28887 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
28894 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28895 PyObject
*resultobj
= 0;
28896 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28897 wxWindow
*arg2
= (wxWindow
*) 0 ;
28898 int arg3
= (int) -1 ;
28899 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28900 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28901 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28902 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28903 long arg6
= (long) wxLC_ICON
;
28904 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28905 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28906 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
28907 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28921 bool temp8
= false ;
28922 PyObject
* obj0
= 0 ;
28923 PyObject
* obj1
= 0 ;
28924 PyObject
* obj2
= 0 ;
28925 PyObject
* obj3
= 0 ;
28926 PyObject
* obj4
= 0 ;
28927 PyObject
* obj5
= 0 ;
28928 PyObject
* obj6
= 0 ;
28929 PyObject
* obj7
= 0 ;
28930 char * kwnames
[] = {
28931 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28936 if (!SWIG_IsOK(res1
)) {
28937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28939 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28940 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28941 if (!SWIG_IsOK(res2
)) {
28942 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
28944 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28946 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28947 if (!SWIG_IsOK(ecode3
)) {
28948 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
28950 arg3
= static_cast< int >(val3
);
28955 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28961 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28965 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28966 if (!SWIG_IsOK(ecode6
)) {
28967 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
28969 arg6
= static_cast< long >(val6
);
28972 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
28973 if (!SWIG_IsOK(res7
)) {
28974 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28977 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28979 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
28983 arg8
= wxString_in_helper(obj7
);
28984 if (arg8
== NULL
) SWIG_fail
;
28989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28990 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28991 wxPyEndAllowThreads(__tstate
);
28992 if (PyErr_Occurred()) SWIG_fail
;
28995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29011 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29012 PyObject
*resultobj
= 0;
29013 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29014 PyObject
*arg2
= (PyObject
*) 0 ;
29015 PyObject
*arg3
= (PyObject
*) 0 ;
29018 PyObject
* obj0
= 0 ;
29019 PyObject
* obj1
= 0 ;
29020 PyObject
* obj2
= 0 ;
29021 char * kwnames
[] = {
29022 (char *) "self",(char *) "self",(char *) "_class", NULL
29025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29027 if (!SWIG_IsOK(res1
)) {
29028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29030 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29035 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29036 wxPyEndAllowThreads(__tstate
);
29037 if (PyErr_Occurred()) SWIG_fail
;
29039 resultobj
= SWIG_Py_Void();
29046 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29047 PyObject
*resultobj
= 0;
29048 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29050 wxListItem
*result
= 0 ;
29055 PyObject
* obj0
= 0 ;
29056 PyObject
* obj1
= 0 ;
29057 char * kwnames
[] = {
29058 (char *) "self",(char *) "col", NULL
29061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29063 if (!SWIG_IsOK(res1
)) {
29064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29066 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29067 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29068 if (!SWIG_IsOK(ecode2
)) {
29069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
29071 arg2
= static_cast< int >(val2
);
29073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29074 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
29075 wxPyEndAllowThreads(__tstate
);
29076 if (PyErr_Occurred()) SWIG_fail
;
29079 resultobj
= wxPyMake_wxObject(result
, 0);
29087 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29088 PyObject
*resultobj
= 0;
29089 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29091 wxListItem
*arg3
= 0 ;
29099 PyObject
* obj0
= 0 ;
29100 PyObject
* obj1
= 0 ;
29101 PyObject
* obj2
= 0 ;
29102 char * kwnames
[] = {
29103 (char *) "self",(char *) "col",(char *) "item", NULL
29106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29108 if (!SWIG_IsOK(res1
)) {
29109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29111 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29112 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29113 if (!SWIG_IsOK(ecode2
)) {
29114 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
29116 arg2
= static_cast< int >(val2
);
29117 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
29118 if (!SWIG_IsOK(res3
)) {
29119 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29122 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29124 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
29126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29127 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
29128 wxPyEndAllowThreads(__tstate
);
29129 if (PyErr_Occurred()) SWIG_fail
;
29132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29140 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29141 PyObject
*resultobj
= 0;
29142 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29149 PyObject
* obj0
= 0 ;
29150 PyObject
* obj1
= 0 ;
29151 char * kwnames
[] = {
29152 (char *) "self",(char *) "col", NULL
29155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29157 if (!SWIG_IsOK(res1
)) {
29158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29160 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29161 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29162 if (!SWIG_IsOK(ecode2
)) {
29163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29165 arg2
= static_cast< int >(val2
);
29167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29168 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
29169 wxPyEndAllowThreads(__tstate
);
29170 if (PyErr_Occurred()) SWIG_fail
;
29172 resultobj
= SWIG_From_int(static_cast< int >(result
));
29179 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29180 PyObject
*resultobj
= 0;
29181 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29191 PyObject
* obj0
= 0 ;
29192 PyObject
* obj1
= 0 ;
29193 PyObject
* obj2
= 0 ;
29194 char * kwnames
[] = {
29195 (char *) "self",(char *) "col",(char *) "width", NULL
29198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29200 if (!SWIG_IsOK(res1
)) {
29201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29203 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29204 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29205 if (!SWIG_IsOK(ecode2
)) {
29206 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29208 arg2
= static_cast< int >(val2
);
29209 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29210 if (!SWIG_IsOK(ecode3
)) {
29211 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
29213 arg3
= static_cast< int >(val3
);
29215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29216 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
29217 wxPyEndAllowThreads(__tstate
);
29218 if (PyErr_Occurred()) SWIG_fail
;
29221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29229 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29230 PyObject
*resultobj
= 0;
29231 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29235 PyObject
*swig_obj
[1] ;
29237 if (!args
) SWIG_fail
;
29238 swig_obj
[0] = args
;
29239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29240 if (!SWIG_IsOK(res1
)) {
29241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29243 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29246 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
29247 wxPyEndAllowThreads(__tstate
);
29248 if (PyErr_Occurred()) SWIG_fail
;
29250 resultobj
= SWIG_From_int(static_cast< int >(result
));
29257 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29258 PyObject
*resultobj
= 0;
29259 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29263 PyObject
*swig_obj
[1] ;
29265 if (!args
) SWIG_fail
;
29266 swig_obj
[0] = args
;
29267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29268 if (!SWIG_IsOK(res1
)) {
29269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29271 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29274 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
29275 wxPyEndAllowThreads(__tstate
);
29276 if (PyErr_Occurred()) SWIG_fail
;
29278 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29285 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29286 PyObject
*resultobj
= 0;
29287 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29288 wxTextCtrl
*result
= 0 ;
29291 PyObject
*swig_obj
[1] ;
29293 if (!args
) SWIG_fail
;
29294 swig_obj
[0] = args
;
29295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29296 if (!SWIG_IsOK(res1
)) {
29297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29299 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29302 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
29303 wxPyEndAllowThreads(__tstate
);
29304 if (PyErr_Occurred()) SWIG_fail
;
29307 resultobj
= wxPyMake_wxObject(result
, 0);
29315 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29316 PyObject
*resultobj
= 0;
29317 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29319 int arg3
= (int) 0 ;
29320 wxListItem
*result
= 0 ;
29327 PyObject
* obj0
= 0 ;
29328 PyObject
* obj1
= 0 ;
29329 PyObject
* obj2
= 0 ;
29330 char * kwnames
[] = {
29331 (char *) "self",(char *) "itemId",(char *) "col", NULL
29334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29336 if (!SWIG_IsOK(res1
)) {
29337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29339 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29340 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29341 if (!SWIG_IsOK(ecode2
)) {
29342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29344 arg2
= static_cast< long >(val2
);
29346 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29347 if (!SWIG_IsOK(ecode3
)) {
29348 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29350 arg3
= static_cast< int >(val3
);
29353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29354 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
29355 wxPyEndAllowThreads(__tstate
);
29356 if (PyErr_Occurred()) SWIG_fail
;
29359 resultobj
= wxPyMake_wxObject(result
, 0);
29367 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29368 PyObject
*resultobj
= 0;
29369 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29370 wxListItem
*arg2
= 0 ;
29376 PyObject
* obj0
= 0 ;
29377 PyObject
* obj1
= 0 ;
29378 char * kwnames
[] = {
29379 (char *) "self",(char *) "info", NULL
29382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29384 if (!SWIG_IsOK(res1
)) {
29385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29387 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29388 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
29389 if (!SWIG_IsOK(res2
)) {
29390 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29393 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29395 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
29397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29398 result
= (bool)(arg1
)->SetItem(*arg2
);
29399 wxPyEndAllowThreads(__tstate
);
29400 if (PyErr_Occurred()) SWIG_fail
;
29403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29411 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29412 PyObject
*resultobj
= 0;
29413 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29416 wxString
*arg4
= 0 ;
29417 int arg5
= (int) -1 ;
29425 bool temp4
= false ;
29428 PyObject
* obj0
= 0 ;
29429 PyObject
* obj1
= 0 ;
29430 PyObject
* obj2
= 0 ;
29431 PyObject
* obj3
= 0 ;
29432 PyObject
* obj4
= 0 ;
29433 char * kwnames
[] = {
29434 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29439 if (!SWIG_IsOK(res1
)) {
29440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29442 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29443 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29444 if (!SWIG_IsOK(ecode2
)) {
29445 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29447 arg2
= static_cast< long >(val2
);
29448 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29449 if (!SWIG_IsOK(ecode3
)) {
29450 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29452 arg3
= static_cast< int >(val3
);
29454 arg4
= wxString_in_helper(obj3
);
29455 if (arg4
== NULL
) SWIG_fail
;
29459 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29460 if (!SWIG_IsOK(ecode5
)) {
29461 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29463 arg5
= static_cast< int >(val5
);
29466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29467 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
29468 wxPyEndAllowThreads(__tstate
);
29469 if (PyErr_Occurred()) SWIG_fail
;
29471 resultobj
= SWIG_From_long(static_cast< long >(result
));
29486 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29487 PyObject
*resultobj
= 0;
29488 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29498 PyObject
* obj0
= 0 ;
29499 PyObject
* obj1
= 0 ;
29500 PyObject
* obj2
= 0 ;
29501 char * kwnames
[] = {
29502 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29507 if (!SWIG_IsOK(res1
)) {
29508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29510 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29511 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29512 if (!SWIG_IsOK(ecode2
)) {
29513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29515 arg2
= static_cast< long >(val2
);
29516 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29517 if (!SWIG_IsOK(ecode3
)) {
29518 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29520 arg3
= static_cast< long >(val3
);
29522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29523 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29524 wxPyEndAllowThreads(__tstate
);
29525 if (PyErr_Occurred()) SWIG_fail
;
29527 resultobj
= SWIG_From_int(static_cast< int >(result
));
29534 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29535 PyObject
*resultobj
= 0;
29536 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29549 PyObject
* obj0
= 0 ;
29550 PyObject
* obj1
= 0 ;
29551 PyObject
* obj2
= 0 ;
29552 PyObject
* obj3
= 0 ;
29553 char * kwnames
[] = {
29554 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29559 if (!SWIG_IsOK(res1
)) {
29560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29562 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29563 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29564 if (!SWIG_IsOK(ecode2
)) {
29565 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29567 arg2
= static_cast< long >(val2
);
29568 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29569 if (!SWIG_IsOK(ecode3
)) {
29570 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29572 arg3
= static_cast< long >(val3
);
29573 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29574 if (!SWIG_IsOK(ecode4
)) {
29575 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29577 arg4
= static_cast< long >(val4
);
29579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29580 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29581 wxPyEndAllowThreads(__tstate
);
29582 if (PyErr_Occurred()) SWIG_fail
;
29585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29593 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29594 PyObject
*resultobj
= 0;
29595 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29598 int arg4
= (int) -1 ;
29608 PyObject
* obj0
= 0 ;
29609 PyObject
* obj1
= 0 ;
29610 PyObject
* obj2
= 0 ;
29611 PyObject
* obj3
= 0 ;
29612 char * kwnames
[] = {
29613 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29618 if (!SWIG_IsOK(res1
)) {
29619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29621 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29622 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29623 if (!SWIG_IsOK(ecode2
)) {
29624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29626 arg2
= static_cast< long >(val2
);
29627 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29628 if (!SWIG_IsOK(ecode3
)) {
29629 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29631 arg3
= static_cast< int >(val3
);
29633 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29634 if (!SWIG_IsOK(ecode4
)) {
29635 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29637 arg4
= static_cast< int >(val4
);
29640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29641 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29642 wxPyEndAllowThreads(__tstate
);
29643 if (PyErr_Occurred()) SWIG_fail
;
29646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29654 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29655 PyObject
*resultobj
= 0;
29656 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29669 PyObject
* obj0
= 0 ;
29670 PyObject
* obj1
= 0 ;
29671 PyObject
* obj2
= 0 ;
29672 PyObject
* obj3
= 0 ;
29673 char * kwnames
[] = {
29674 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29679 if (!SWIG_IsOK(res1
)) {
29680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29682 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29683 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29684 if (!SWIG_IsOK(ecode2
)) {
29685 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29687 arg2
= static_cast< long >(val2
);
29688 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29689 if (!SWIG_IsOK(ecode3
)) {
29690 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29692 arg3
= static_cast< long >(val3
);
29693 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29694 if (!SWIG_IsOK(ecode4
)) {
29695 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29697 arg4
= static_cast< int >(val4
);
29699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29700 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
29701 wxPyEndAllowThreads(__tstate
);
29702 if (PyErr_Occurred()) SWIG_fail
;
29705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29713 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29714 PyObject
*resultobj
= 0;
29715 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29722 PyObject
* obj0
= 0 ;
29723 PyObject
* obj1
= 0 ;
29724 char * kwnames
[] = {
29725 (char *) "self",(char *) "item", NULL
29728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29730 if (!SWIG_IsOK(res1
)) {
29731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29733 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29734 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29735 if (!SWIG_IsOK(ecode2
)) {
29736 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29738 arg2
= static_cast< long >(val2
);
29740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29741 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
29742 wxPyEndAllowThreads(__tstate
);
29743 if (PyErr_Occurred()) SWIG_fail
;
29747 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29749 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29758 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29759 PyObject
*resultobj
= 0;
29760 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29762 wxString
*arg3
= 0 ;
29767 bool temp3
= false ;
29768 PyObject
* obj0
= 0 ;
29769 PyObject
* obj1
= 0 ;
29770 PyObject
* obj2
= 0 ;
29771 char * kwnames
[] = {
29772 (char *) "self",(char *) "item",(char *) "str", NULL
29775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29777 if (!SWIG_IsOK(res1
)) {
29778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29780 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29781 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29782 if (!SWIG_IsOK(ecode2
)) {
29783 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29785 arg2
= static_cast< long >(val2
);
29787 arg3
= wxString_in_helper(obj2
);
29788 if (arg3
== NULL
) SWIG_fail
;
29792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29793 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
29794 wxPyEndAllowThreads(__tstate
);
29795 if (PyErr_Occurred()) SWIG_fail
;
29797 resultobj
= SWIG_Py_Void();
29812 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29813 PyObject
*resultobj
= 0;
29814 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29821 PyObject
* obj0
= 0 ;
29822 PyObject
* obj1
= 0 ;
29823 char * kwnames
[] = {
29824 (char *) "self",(char *) "item", NULL
29827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29829 if (!SWIG_IsOK(res1
)) {
29830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29832 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29833 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29834 if (!SWIG_IsOK(ecode2
)) {
29835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29837 arg2
= static_cast< long >(val2
);
29839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29840 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
29841 wxPyEndAllowThreads(__tstate
);
29842 if (PyErr_Occurred()) SWIG_fail
;
29844 resultobj
= SWIG_From_long(static_cast< long >(result
));
29851 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29852 PyObject
*resultobj
= 0;
29853 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29863 PyObject
* obj0
= 0 ;
29864 PyObject
* obj1
= 0 ;
29865 PyObject
* obj2
= 0 ;
29866 char * kwnames
[] = {
29867 (char *) "self",(char *) "item",(char *) "data", NULL
29870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29872 if (!SWIG_IsOK(res1
)) {
29873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29875 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29876 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29877 if (!SWIG_IsOK(ecode2
)) {
29878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
29880 arg2
= static_cast< long >(val2
);
29881 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29882 if (!SWIG_IsOK(ecode3
)) {
29883 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
29885 arg3
= static_cast< long >(val3
);
29887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29888 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
29889 wxPyEndAllowThreads(__tstate
);
29890 if (PyErr_Occurred()) SWIG_fail
;
29893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29901 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29902 PyObject
*resultobj
= 0;
29903 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29910 PyObject
* obj0
= 0 ;
29911 PyObject
* obj1
= 0 ;
29912 char * kwnames
[] = {
29913 (char *) "self",(char *) "item", NULL
29916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29918 if (!SWIG_IsOK(res1
)) {
29919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29921 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29922 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29923 if (!SWIG_IsOK(ecode2
)) {
29924 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
29926 arg2
= static_cast< long >(val2
);
29928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29929 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
29930 wxPyEndAllowThreads(__tstate
);
29931 if (PyErr_Occurred()) SWIG_fail
;
29933 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
29940 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29941 PyObject
*resultobj
= 0;
29942 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29944 int arg3
= (int) wxLIST_RECT_BOUNDS
;
29952 PyObject
* obj0
= 0 ;
29953 PyObject
* obj1
= 0 ;
29954 PyObject
* obj2
= 0 ;
29955 char * kwnames
[] = {
29956 (char *) "self",(char *) "item",(char *) "code", NULL
29959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29961 if (!SWIG_IsOK(res1
)) {
29962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29964 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29965 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29966 if (!SWIG_IsOK(ecode2
)) {
29967 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
29969 arg2
= static_cast< long >(val2
);
29971 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29972 if (!SWIG_IsOK(ecode3
)) {
29973 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
29975 arg3
= static_cast< int >(val3
);
29978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29979 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
29980 wxPyEndAllowThreads(__tstate
);
29981 if (PyErr_Occurred()) SWIG_fail
;
29983 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29990 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29991 PyObject
*resultobj
= 0;
29992 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29994 wxPoint
*arg3
= 0 ;
30001 PyObject
* obj0
= 0 ;
30002 PyObject
* obj1
= 0 ;
30003 PyObject
* obj2
= 0 ;
30004 char * kwnames
[] = {
30005 (char *) "self",(char *) "item",(char *) "pos", NULL
30008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30010 if (!SWIG_IsOK(res1
)) {
30011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30013 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30014 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30015 if (!SWIG_IsOK(ecode2
)) {
30016 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
30018 arg2
= static_cast< long >(val2
);
30021 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30025 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
30026 wxPyEndAllowThreads(__tstate
);
30027 if (PyErr_Occurred()) SWIG_fail
;
30030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30038 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30039 PyObject
*resultobj
= 0;
30040 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30044 PyObject
*swig_obj
[1] ;
30046 if (!args
) SWIG_fail
;
30047 swig_obj
[0] = args
;
30048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30049 if (!SWIG_IsOK(res1
)) {
30050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30052 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30055 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
30056 wxPyEndAllowThreads(__tstate
);
30057 if (PyErr_Occurred()) SWIG_fail
;
30059 resultobj
= SWIG_From_int(static_cast< int >(result
));
30066 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30067 PyObject
*resultobj
= 0;
30068 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30072 PyObject
*swig_obj
[1] ;
30074 if (!args
) SWIG_fail
;
30075 swig_obj
[0] = args
;
30076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30077 if (!SWIG_IsOK(res1
)) {
30078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30080 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30083 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
30084 wxPyEndAllowThreads(__tstate
);
30085 if (PyErr_Occurred()) SWIG_fail
;
30087 resultobj
= SWIG_From_int(static_cast< int >(result
));
30094 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30095 PyObject
*resultobj
= 0;
30096 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30100 PyObject
*swig_obj
[1] ;
30102 if (!args
) SWIG_fail
;
30103 swig_obj
[0] = args
;
30104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30105 if (!SWIG_IsOK(res1
)) {
30106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30108 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30111 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
30112 wxPyEndAllowThreads(__tstate
);
30113 if (PyErr_Occurred()) SWIG_fail
;
30115 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
30122 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30123 PyObject
*resultobj
= 0;
30124 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30126 bool arg3
= (bool) false ;
30133 PyObject
* obj0
= 0 ;
30134 PyObject
* obj1
= 0 ;
30135 PyObject
* obj2
= 0 ;
30136 char * kwnames
[] = {
30137 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
30140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30142 if (!SWIG_IsOK(res1
)) {
30143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30145 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30146 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30147 if (!SWIG_IsOK(ecode2
)) {
30148 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "2"" of type '" "int""'");
30150 arg2
= static_cast< int >(val2
);
30152 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30153 if (!SWIG_IsOK(ecode3
)) {
30154 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "3"" of type '" "bool""'");
30156 arg3
= static_cast< bool >(val3
);
30159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30160 (arg1
)->SetItemSpacing(arg2
,arg3
);
30161 wxPyEndAllowThreads(__tstate
);
30162 if (PyErr_Occurred()) SWIG_fail
;
30164 resultobj
= SWIG_Py_Void();
30171 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30172 PyObject
*resultobj
= 0;
30173 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30177 PyObject
*swig_obj
[1] ;
30179 if (!args
) SWIG_fail
;
30180 swig_obj
[0] = args
;
30181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30182 if (!SWIG_IsOK(res1
)) {
30183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30185 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30188 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
30189 wxPyEndAllowThreads(__tstate
);
30190 if (PyErr_Occurred()) SWIG_fail
;
30192 resultobj
= SWIG_From_int(static_cast< int >(result
));
30199 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30200 PyObject
*resultobj
= 0;
30201 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30205 PyObject
*swig_obj
[1] ;
30207 if (!args
) SWIG_fail
;
30208 swig_obj
[0] = args
;
30209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30210 if (!SWIG_IsOK(res1
)) {
30211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30213 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30216 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
30217 wxPyEndAllowThreads(__tstate
);
30218 if (PyErr_Occurred()) SWIG_fail
;
30220 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
30227 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30228 PyObject
*resultobj
= 0;
30229 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30230 wxColour
*arg2
= 0 ;
30234 PyObject
* obj0
= 0 ;
30235 PyObject
* obj1
= 0 ;
30236 char * kwnames
[] = {
30237 (char *) "self",(char *) "col", NULL
30240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30242 if (!SWIG_IsOK(res1
)) {
30243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30245 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30248 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30252 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
30253 wxPyEndAllowThreads(__tstate
);
30254 if (PyErr_Occurred()) SWIG_fail
;
30256 resultobj
= SWIG_Py_Void();
30263 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30264 PyObject
*resultobj
= 0;
30265 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30269 PyObject
*swig_obj
[1] ;
30271 if (!args
) SWIG_fail
;
30272 swig_obj
[0] = args
;
30273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30274 if (!SWIG_IsOK(res1
)) {
30275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30277 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30280 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
30281 wxPyEndAllowThreads(__tstate
);
30282 if (PyErr_Occurred()) SWIG_fail
;
30284 resultobj
= SWIG_From_long(static_cast< long >(result
));
30291 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30292 PyObject
*resultobj
= 0;
30293 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30295 bool arg3
= (bool) true ;
30302 PyObject
* obj0
= 0 ;
30303 PyObject
* obj1
= 0 ;
30304 PyObject
* obj2
= 0 ;
30305 char * kwnames
[] = {
30306 (char *) "self",(char *) "style",(char *) "add", NULL
30309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30311 if (!SWIG_IsOK(res1
)) {
30312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30314 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30315 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30316 if (!SWIG_IsOK(ecode2
)) {
30317 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30319 arg2
= static_cast< long >(val2
);
30321 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30322 if (!SWIG_IsOK(ecode3
)) {
30323 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30325 arg3
= static_cast< bool >(val3
);
30328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30329 (arg1
)->SetSingleStyle(arg2
,arg3
);
30330 wxPyEndAllowThreads(__tstate
);
30331 if (PyErr_Occurred()) SWIG_fail
;
30333 resultobj
= SWIG_Py_Void();
30340 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30341 PyObject
*resultobj
= 0;
30342 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30344 int arg3
= (int) wxLIST_NEXT_ALL
;
30345 int arg4
= (int) wxLIST_STATE_DONTCARE
;
30355 PyObject
* obj0
= 0 ;
30356 PyObject
* obj1
= 0 ;
30357 PyObject
* obj2
= 0 ;
30358 PyObject
* obj3
= 0 ;
30359 char * kwnames
[] = {
30360 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30365 if (!SWIG_IsOK(res1
)) {
30366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30368 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30369 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30370 if (!SWIG_IsOK(ecode2
)) {
30371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30373 arg2
= static_cast< long >(val2
);
30375 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30376 if (!SWIG_IsOK(ecode3
)) {
30377 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30379 arg3
= static_cast< int >(val3
);
30382 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30383 if (!SWIG_IsOK(ecode4
)) {
30384 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30386 arg4
= static_cast< int >(val4
);
30389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30390 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
30391 wxPyEndAllowThreads(__tstate
);
30392 if (PyErr_Occurred()) SWIG_fail
;
30394 resultobj
= SWIG_From_long(static_cast< long >(result
));
30401 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30402 PyObject
*resultobj
= 0;
30403 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30405 wxImageList
*result
= 0 ;
30410 PyObject
* obj0
= 0 ;
30411 PyObject
* obj1
= 0 ;
30412 char * kwnames
[] = {
30413 (char *) "self",(char *) "which", NULL
30416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30418 if (!SWIG_IsOK(res1
)) {
30419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30421 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30422 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30423 if (!SWIG_IsOK(ecode2
)) {
30424 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30426 arg2
= static_cast< int >(val2
);
30428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30429 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
30430 wxPyEndAllowThreads(__tstate
);
30431 if (PyErr_Occurred()) SWIG_fail
;
30434 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30442 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30443 PyObject
*resultobj
= 0;
30444 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30445 wxImageList
*arg2
= (wxImageList
*) 0 ;
30453 PyObject
* obj0
= 0 ;
30454 PyObject
* obj1
= 0 ;
30455 PyObject
* obj2
= 0 ;
30456 char * kwnames
[] = {
30457 (char *) "self",(char *) "imageList",(char *) "which", NULL
30460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30462 if (!SWIG_IsOK(res1
)) {
30463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30465 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30466 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30467 if (!SWIG_IsOK(res2
)) {
30468 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30470 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
30471 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30472 if (!SWIG_IsOK(ecode3
)) {
30473 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30475 arg3
= static_cast< int >(val3
);
30477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30478 (arg1
)->SetImageList(arg2
,arg3
);
30479 wxPyEndAllowThreads(__tstate
);
30480 if (PyErr_Occurred()) SWIG_fail
;
30482 resultobj
= SWIG_Py_Void();
30489 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30490 PyObject
*resultobj
= 0;
30491 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30492 wxImageList
*arg2
= (wxImageList
*) 0 ;
30499 PyObject
* obj0
= 0 ;
30500 PyObject
* obj1
= 0 ;
30501 PyObject
* obj2
= 0 ;
30502 char * kwnames
[] = {
30503 (char *) "self",(char *) "imageList",(char *) "which", NULL
30506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30508 if (!SWIG_IsOK(res1
)) {
30509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30511 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30512 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30513 if (!SWIG_IsOK(res2
)) {
30514 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30516 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30517 if (!SWIG_IsOK(ecode3
)) {
30518 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30520 arg3
= static_cast< int >(val3
);
30522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30523 (arg1
)->AssignImageList(arg2
,arg3
);
30524 wxPyEndAllowThreads(__tstate
);
30525 if (PyErr_Occurred()) SWIG_fail
;
30527 resultobj
= SWIG_Py_Void();
30534 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30535 PyObject
*resultobj
= 0;
30536 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30540 PyObject
*swig_obj
[1] ;
30542 if (!args
) SWIG_fail
;
30543 swig_obj
[0] = args
;
30544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30545 if (!SWIG_IsOK(res1
)) {
30546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30548 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30551 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30552 wxPyEndAllowThreads(__tstate
);
30553 if (PyErr_Occurred()) SWIG_fail
;
30556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30564 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30565 PyObject
*resultobj
= 0;
30566 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30570 PyObject
*swig_obj
[1] ;
30572 if (!args
) SWIG_fail
;
30573 swig_obj
[0] = args
;
30574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30575 if (!SWIG_IsOK(res1
)) {
30576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30578 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30581 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30582 wxPyEndAllowThreads(__tstate
);
30583 if (PyErr_Occurred()) SWIG_fail
;
30586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30594 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30595 PyObject
*resultobj
= 0;
30596 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30602 PyObject
* obj0
= 0 ;
30603 PyObject
* obj1
= 0 ;
30604 char * kwnames
[] = {
30605 (char *) "self",(char *) "item", NULL
30608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30610 if (!SWIG_IsOK(res1
)) {
30611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30613 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30614 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30615 if (!SWIG_IsOK(ecode2
)) {
30616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30618 arg2
= static_cast< long >(val2
);
30620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30621 (arg1
)->RefreshItem(arg2
);
30622 wxPyEndAllowThreads(__tstate
);
30623 if (PyErr_Occurred()) SWIG_fail
;
30625 resultobj
= SWIG_Py_Void();
30632 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30633 PyObject
*resultobj
= 0;
30634 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30643 PyObject
* obj0
= 0 ;
30644 PyObject
* obj1
= 0 ;
30645 PyObject
* obj2
= 0 ;
30646 char * kwnames
[] = {
30647 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30652 if (!SWIG_IsOK(res1
)) {
30653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30655 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30656 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30657 if (!SWIG_IsOK(ecode2
)) {
30658 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30660 arg2
= static_cast< long >(val2
);
30661 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30662 if (!SWIG_IsOK(ecode3
)) {
30663 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30665 arg3
= static_cast< long >(val3
);
30667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30668 (arg1
)->RefreshItems(arg2
,arg3
);
30669 wxPyEndAllowThreads(__tstate
);
30670 if (PyErr_Occurred()) SWIG_fail
;
30672 resultobj
= SWIG_Py_Void();
30679 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30680 PyObject
*resultobj
= 0;
30681 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30682 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30688 PyObject
* obj0
= 0 ;
30689 PyObject
* obj1
= 0 ;
30690 char * kwnames
[] = {
30691 (char *) "self",(char *) "flag", NULL
30694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30696 if (!SWIG_IsOK(res1
)) {
30697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30699 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30701 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30702 if (!SWIG_IsOK(ecode2
)) {
30703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30705 arg2
= static_cast< int >(val2
);
30708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30709 result
= (bool)(arg1
)->Arrange(arg2
);
30710 wxPyEndAllowThreads(__tstate
);
30711 if (PyErr_Occurred()) SWIG_fail
;
30714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30722 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30723 PyObject
*resultobj
= 0;
30724 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30731 PyObject
* obj0
= 0 ;
30732 PyObject
* obj1
= 0 ;
30733 char * kwnames
[] = {
30734 (char *) "self",(char *) "item", NULL
30737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30739 if (!SWIG_IsOK(res1
)) {
30740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30742 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30743 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30744 if (!SWIG_IsOK(ecode2
)) {
30745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30747 arg2
= static_cast< long >(val2
);
30749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30750 result
= (bool)(arg1
)->DeleteItem(arg2
);
30751 wxPyEndAllowThreads(__tstate
);
30752 if (PyErr_Occurred()) SWIG_fail
;
30755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30763 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30764 PyObject
*resultobj
= 0;
30765 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30769 PyObject
*swig_obj
[1] ;
30771 if (!args
) SWIG_fail
;
30772 swig_obj
[0] = args
;
30773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30774 if (!SWIG_IsOK(res1
)) {
30775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30777 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30780 result
= (bool)(arg1
)->DeleteAllItems();
30781 wxPyEndAllowThreads(__tstate
);
30782 if (PyErr_Occurred()) SWIG_fail
;
30785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30793 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30794 PyObject
*resultobj
= 0;
30795 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30802 PyObject
* obj0
= 0 ;
30803 PyObject
* obj1
= 0 ;
30804 char * kwnames
[] = {
30805 (char *) "self",(char *) "col", NULL
30808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30810 if (!SWIG_IsOK(res1
)) {
30811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30813 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30814 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30815 if (!SWIG_IsOK(ecode2
)) {
30816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30818 arg2
= static_cast< int >(val2
);
30820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30821 result
= (bool)(arg1
)->DeleteColumn(arg2
);
30822 wxPyEndAllowThreads(__tstate
);
30823 if (PyErr_Occurred()) SWIG_fail
;
30826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30834 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30835 PyObject
*resultobj
= 0;
30836 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30840 PyObject
*swig_obj
[1] ;
30842 if (!args
) SWIG_fail
;
30843 swig_obj
[0] = args
;
30844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30845 if (!SWIG_IsOK(res1
)) {
30846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30848 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30851 result
= (bool)(arg1
)->DeleteAllColumns();
30852 wxPyEndAllowThreads(__tstate
);
30853 if (PyErr_Occurred()) SWIG_fail
;
30856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30864 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30865 PyObject
*resultobj
= 0;
30866 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30869 PyObject
*swig_obj
[1] ;
30871 if (!args
) SWIG_fail
;
30872 swig_obj
[0] = args
;
30873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30874 if (!SWIG_IsOK(res1
)) {
30875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30877 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30880 (arg1
)->ClearAll();
30881 wxPyEndAllowThreads(__tstate
);
30882 if (PyErr_Occurred()) SWIG_fail
;
30884 resultobj
= SWIG_Py_Void();
30891 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30892 PyObject
*resultobj
= 0;
30893 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30899 PyObject
* obj0
= 0 ;
30900 PyObject
* obj1
= 0 ;
30901 char * kwnames
[] = {
30902 (char *) "self",(char *) "item", NULL
30905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",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_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30910 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30911 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30912 if (!SWIG_IsOK(ecode2
)) {
30913 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
30915 arg2
= static_cast< long >(val2
);
30917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30918 (arg1
)->EditLabel(arg2
);
30919 wxPyEndAllowThreads(__tstate
);
30920 if (PyErr_Occurred()) SWIG_fail
;
30922 resultobj
= SWIG_Py_Void();
30929 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30930 PyObject
*resultobj
= 0;
30931 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30938 PyObject
* obj0
= 0 ;
30939 PyObject
* obj1
= 0 ;
30940 char * kwnames
[] = {
30941 (char *) "self",(char *) "item", NULL
30944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30946 if (!SWIG_IsOK(res1
)) {
30947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30949 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30950 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30951 if (!SWIG_IsOK(ecode2
)) {
30952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
30954 arg2
= static_cast< long >(val2
);
30956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30957 result
= (bool)(arg1
)->EnsureVisible(arg2
);
30958 wxPyEndAllowThreads(__tstate
);
30959 if (PyErr_Occurred()) SWIG_fail
;
30962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30970 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30971 PyObject
*resultobj
= 0;
30972 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30974 wxString
*arg3
= 0 ;
30975 bool arg4
= (bool) false ;
30981 bool temp3
= false ;
30984 PyObject
* obj0
= 0 ;
30985 PyObject
* obj1
= 0 ;
30986 PyObject
* obj2
= 0 ;
30987 PyObject
* obj3
= 0 ;
30988 char * kwnames
[] = {
30989 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
30992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30994 if (!SWIG_IsOK(res1
)) {
30995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30997 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30998 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30999 if (!SWIG_IsOK(ecode2
)) {
31000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
31002 arg2
= static_cast< long >(val2
);
31004 arg3
= wxString_in_helper(obj2
);
31005 if (arg3
== NULL
) SWIG_fail
;
31009 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
31010 if (!SWIG_IsOK(ecode4
)) {
31011 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
31013 arg4
= static_cast< bool >(val4
);
31016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31017 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
31018 wxPyEndAllowThreads(__tstate
);
31019 if (PyErr_Occurred()) SWIG_fail
;
31021 resultobj
= SWIG_From_long(static_cast< long >(result
));
31036 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31037 PyObject
*resultobj
= 0;
31038 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31048 PyObject
* obj0
= 0 ;
31049 PyObject
* obj1
= 0 ;
31050 PyObject
* obj2
= 0 ;
31051 char * kwnames
[] = {
31052 (char *) "self",(char *) "start",(char *) "data", NULL
31055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) 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_FindItemData" "', 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_FindItemData" "', expected argument " "2"" of type '" "long""'");
31065 arg2
= static_cast< long >(val2
);
31066 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
31067 if (!SWIG_IsOK(ecode3
)) {
31068 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
31070 arg3
= static_cast< long >(val3
);
31072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31073 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
31074 wxPyEndAllowThreads(__tstate
);
31075 if (PyErr_Occurred()) SWIG_fail
;
31077 resultobj
= SWIG_From_long(static_cast< long >(result
));
31084 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31085 PyObject
*resultobj
= 0;
31086 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31088 wxPoint
*arg3
= 0 ;
31098 PyObject
* obj0
= 0 ;
31099 PyObject
* obj1
= 0 ;
31100 PyObject
* obj2
= 0 ;
31101 PyObject
* obj3
= 0 ;
31102 char * kwnames
[] = {
31103 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
31106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31108 if (!SWIG_IsOK(res1
)) {
31109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31111 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31112 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31113 if (!SWIG_IsOK(ecode2
)) {
31114 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
31116 arg2
= static_cast< long >(val2
);
31119 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31121 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31122 if (!SWIG_IsOK(ecode4
)) {
31123 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
31125 arg4
= static_cast< int >(val4
);
31127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31128 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
31129 wxPyEndAllowThreads(__tstate
);
31130 if (PyErr_Occurred()) SWIG_fail
;
31132 resultobj
= SWIG_From_long(static_cast< long >(result
));
31139 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31140 PyObject
*resultobj
= 0;
31141 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31142 wxPoint
*arg2
= 0 ;
31149 int res3
= SWIG_TMPOBJ
;
31150 PyObject
* obj0
= 0 ;
31151 PyObject
* obj1
= 0 ;
31152 char * kwnames
[] = {
31153 (char *) "self",(char *) "point", NULL
31157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31159 if (!SWIG_IsOK(res1
)) {
31160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31162 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31165 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31169 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
31170 wxPyEndAllowThreads(__tstate
);
31171 if (PyErr_Occurred()) SWIG_fail
;
31173 resultobj
= SWIG_From_long(static_cast< long >(result
));
31174 if (SWIG_IsTmpObj(res3
)) {
31175 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31177 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31178 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31186 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTestSubItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31187 PyObject
*resultobj
= 0;
31188 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31189 wxPoint
*arg2
= 0 ;
31191 long *arg4
= (long *) 0 ;
31197 int res3
= SWIG_TMPOBJ
;
31199 int res4
= SWIG_TMPOBJ
;
31200 PyObject
* obj0
= 0 ;
31201 PyObject
* obj1
= 0 ;
31202 char * kwnames
[] = {
31203 (char *) "self",(char *) "point", NULL
31208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTestSubItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31210 if (!SWIG_IsOK(res1
)) {
31211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31213 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31216 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31220 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
,arg4
);
31221 wxPyEndAllowThreads(__tstate
);
31222 if (PyErr_Occurred()) SWIG_fail
;
31224 resultobj
= SWIG_From_long(static_cast< long >(result
));
31225 if (SWIG_IsTmpObj(res3
)) {
31226 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31228 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31229 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31231 if (SWIG_IsTmpObj(res4
)) {
31232 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
31234 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31235 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
31243 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31244 PyObject
*resultobj
= 0;
31245 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31246 wxListItem
*arg2
= 0 ;
31252 PyObject
* obj0
= 0 ;
31253 PyObject
* obj1
= 0 ;
31254 char * kwnames
[] = {
31255 (char *) "self",(char *) "info", NULL
31258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31260 if (!SWIG_IsOK(res1
)) {
31261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31263 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31264 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
31265 if (!SWIG_IsOK(res2
)) {
31266 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31269 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31271 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
31273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31274 result
= (long)(arg1
)->InsertItem(*arg2
);
31275 wxPyEndAllowThreads(__tstate
);
31276 if (PyErr_Occurred()) SWIG_fail
;
31278 resultobj
= SWIG_From_long(static_cast< long >(result
));
31285 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31286 PyObject
*resultobj
= 0;
31287 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31289 wxString
*arg3
= 0 ;
31290 int arg4
= (int) -1 ;
31296 bool temp3
= false ;
31299 PyObject
* obj0
= 0 ;
31300 PyObject
* obj1
= 0 ;
31301 PyObject
* obj2
= 0 ;
31302 PyObject
* obj3
= 0 ;
31303 char * kwnames
[] = {
31304 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31309 if (!SWIG_IsOK(res1
)) {
31310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31312 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31313 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31314 if (!SWIG_IsOK(ecode2
)) {
31315 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31317 arg2
= static_cast< long >(val2
);
31319 arg3
= wxString_in_helper(obj2
);
31320 if (arg3
== NULL
) SWIG_fail
;
31324 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31325 if (!SWIG_IsOK(ecode4
)) {
31326 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31328 arg4
= static_cast< int >(val4
);
31331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31332 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31333 wxPyEndAllowThreads(__tstate
);
31334 if (PyErr_Occurred()) SWIG_fail
;
31336 resultobj
= SWIG_From_long(static_cast< long >(result
));
31351 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31352 PyObject
*resultobj
= 0;
31353 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31363 PyObject
* obj0
= 0 ;
31364 PyObject
* obj1
= 0 ;
31365 PyObject
* obj2
= 0 ;
31366 char * kwnames
[] = {
31367 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31372 if (!SWIG_IsOK(res1
)) {
31373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31375 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31376 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31377 if (!SWIG_IsOK(ecode2
)) {
31378 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31380 arg2
= static_cast< long >(val2
);
31381 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31382 if (!SWIG_IsOK(ecode3
)) {
31383 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31385 arg3
= static_cast< int >(val3
);
31387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31388 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
31389 wxPyEndAllowThreads(__tstate
);
31390 if (PyErr_Occurred()) SWIG_fail
;
31392 resultobj
= SWIG_From_long(static_cast< long >(result
));
31399 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31400 PyObject
*resultobj
= 0;
31401 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31403 wxString
*arg3
= 0 ;
31410 bool temp3
= false ;
31413 PyObject
* obj0
= 0 ;
31414 PyObject
* obj1
= 0 ;
31415 PyObject
* obj2
= 0 ;
31416 PyObject
* obj3
= 0 ;
31417 char * kwnames
[] = {
31418 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31423 if (!SWIG_IsOK(res1
)) {
31424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31426 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31427 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31428 if (!SWIG_IsOK(ecode2
)) {
31429 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31431 arg2
= static_cast< long >(val2
);
31433 arg3
= wxString_in_helper(obj2
);
31434 if (arg3
== NULL
) SWIG_fail
;
31437 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31438 if (!SWIG_IsOK(ecode4
)) {
31439 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31441 arg4
= static_cast< int >(val4
);
31443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31444 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31445 wxPyEndAllowThreads(__tstate
);
31446 if (PyErr_Occurred()) SWIG_fail
;
31448 resultobj
= SWIG_From_long(static_cast< long >(result
));
31463 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31464 PyObject
*resultobj
= 0;
31465 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31467 wxListItem
*arg3
= 0 ;
31475 PyObject
* obj0
= 0 ;
31476 PyObject
* obj1
= 0 ;
31477 PyObject
* obj2
= 0 ;
31478 char * kwnames
[] = {
31479 (char *) "self",(char *) "col",(char *) "info", NULL
31482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31484 if (!SWIG_IsOK(res1
)) {
31485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31487 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31488 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31489 if (!SWIG_IsOK(ecode2
)) {
31490 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31492 arg2
= static_cast< long >(val2
);
31493 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
31494 if (!SWIG_IsOK(res3
)) {
31495 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31498 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31500 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
31502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31503 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
31504 wxPyEndAllowThreads(__tstate
);
31505 if (PyErr_Occurred()) SWIG_fail
;
31507 resultobj
= SWIG_From_long(static_cast< long >(result
));
31514 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31515 PyObject
*resultobj
= 0;
31516 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31518 wxString
*arg3
= 0 ;
31519 int arg4
= (int) wxLIST_FORMAT_LEFT
;
31520 int arg5
= (int) -1 ;
31526 bool temp3
= false ;
31531 PyObject
* obj0
= 0 ;
31532 PyObject
* obj1
= 0 ;
31533 PyObject
* obj2
= 0 ;
31534 PyObject
* obj3
= 0 ;
31535 PyObject
* obj4
= 0 ;
31536 char * kwnames
[] = {
31537 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31542 if (!SWIG_IsOK(res1
)) {
31543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31545 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31546 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31547 if (!SWIG_IsOK(ecode2
)) {
31548 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31550 arg2
= static_cast< long >(val2
);
31552 arg3
= wxString_in_helper(obj2
);
31553 if (arg3
== NULL
) SWIG_fail
;
31557 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31558 if (!SWIG_IsOK(ecode4
)) {
31559 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31561 arg4
= static_cast< int >(val4
);
31564 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31565 if (!SWIG_IsOK(ecode5
)) {
31566 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31568 arg5
= static_cast< int >(val5
);
31571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31572 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31573 wxPyEndAllowThreads(__tstate
);
31574 if (PyErr_Occurred()) SWIG_fail
;
31576 resultobj
= SWIG_From_long(static_cast< long >(result
));
31591 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31592 PyObject
*resultobj
= 0;
31593 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31599 PyObject
* obj0
= 0 ;
31600 PyObject
* obj1
= 0 ;
31601 char * kwnames
[] = {
31602 (char *) "self",(char *) "count", NULL
31605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31607 if (!SWIG_IsOK(res1
)) {
31608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31610 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31611 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31612 if (!SWIG_IsOK(ecode2
)) {
31613 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31615 arg2
= static_cast< long >(val2
);
31617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31618 (arg1
)->SetItemCount(arg2
);
31619 wxPyEndAllowThreads(__tstate
);
31620 if (PyErr_Occurred()) SWIG_fail
;
31622 resultobj
= SWIG_Py_Void();
31629 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31630 PyObject
*resultobj
= 0;
31631 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31641 PyObject
* obj0
= 0 ;
31642 PyObject
* obj1
= 0 ;
31643 PyObject
* obj2
= 0 ;
31644 char * kwnames
[] = {
31645 (char *) "self",(char *) "dx",(char *) "dy", NULL
31648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31650 if (!SWIG_IsOK(res1
)) {
31651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31653 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31654 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31655 if (!SWIG_IsOK(ecode2
)) {
31656 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31658 arg2
= static_cast< int >(val2
);
31659 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31660 if (!SWIG_IsOK(ecode3
)) {
31661 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31663 arg3
= static_cast< int >(val3
);
31665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31666 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
31667 wxPyEndAllowThreads(__tstate
);
31668 if (PyErr_Occurred()) SWIG_fail
;
31671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31679 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31680 PyObject
*resultobj
= 0;
31681 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31683 wxColour
*arg3
= 0 ;
31689 PyObject
* obj0
= 0 ;
31690 PyObject
* obj1
= 0 ;
31691 PyObject
* obj2
= 0 ;
31692 char * kwnames
[] = {
31693 (char *) "self",(char *) "item",(char *) "col", NULL
31696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31698 if (!SWIG_IsOK(res1
)) {
31699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31701 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31702 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31703 if (!SWIG_IsOK(ecode2
)) {
31704 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31706 arg2
= static_cast< long >(val2
);
31709 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31713 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
31714 wxPyEndAllowThreads(__tstate
);
31715 if (PyErr_Occurred()) SWIG_fail
;
31717 resultobj
= SWIG_Py_Void();
31724 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31725 PyObject
*resultobj
= 0;
31726 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31733 PyObject
* obj0
= 0 ;
31734 PyObject
* obj1
= 0 ;
31735 char * kwnames
[] = {
31736 (char *) "self",(char *) "item", NULL
31739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31741 if (!SWIG_IsOK(res1
)) {
31742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31744 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31745 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31746 if (!SWIG_IsOK(ecode2
)) {
31747 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31749 arg2
= static_cast< long >(val2
);
31751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31752 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
31753 wxPyEndAllowThreads(__tstate
);
31754 if (PyErr_Occurred()) SWIG_fail
;
31756 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31763 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31764 PyObject
*resultobj
= 0;
31765 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31767 wxColour
*arg3
= 0 ;
31773 PyObject
* obj0
= 0 ;
31774 PyObject
* obj1
= 0 ;
31775 PyObject
* obj2
= 0 ;
31776 char * kwnames
[] = {
31777 (char *) "self",(char *) "item",(char *) "col", NULL
31780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31782 if (!SWIG_IsOK(res1
)) {
31783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31785 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31786 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31787 if (!SWIG_IsOK(ecode2
)) {
31788 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31790 arg2
= static_cast< long >(val2
);
31793 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31797 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
31798 wxPyEndAllowThreads(__tstate
);
31799 if (PyErr_Occurred()) SWIG_fail
;
31801 resultobj
= SWIG_Py_Void();
31808 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31809 PyObject
*resultobj
= 0;
31810 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31817 PyObject
* obj0
= 0 ;
31818 PyObject
* obj1
= 0 ;
31819 char * kwnames
[] = {
31820 (char *) "self",(char *) "item", NULL
31823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31825 if (!SWIG_IsOK(res1
)) {
31826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31828 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31829 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31830 if (!SWIG_IsOK(ecode2
)) {
31831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31833 arg2
= static_cast< long >(val2
);
31835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31836 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
31837 wxPyEndAllowThreads(__tstate
);
31838 if (PyErr_Occurred()) SWIG_fail
;
31840 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31847 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31848 PyObject
*resultobj
= 0;
31849 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31858 PyObject
* obj0
= 0 ;
31859 PyObject
* obj1
= 0 ;
31860 PyObject
* obj2
= 0 ;
31861 char * kwnames
[] = {
31862 (char *) "self",(char *) "item",(char *) "f", NULL
31865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31867 if (!SWIG_IsOK(res1
)) {
31868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31870 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31871 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31872 if (!SWIG_IsOK(ecode2
)) {
31873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
31875 arg2
= static_cast< long >(val2
);
31876 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
31877 if (!SWIG_IsOK(res3
)) {
31878 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31881 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31883 arg3
= reinterpret_cast< wxFont
* >(argp3
);
31885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31886 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
31887 wxPyEndAllowThreads(__tstate
);
31888 if (PyErr_Occurred()) SWIG_fail
;
31890 resultobj
= SWIG_Py_Void();
31897 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31898 PyObject
*resultobj
= 0;
31899 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31906 PyObject
* obj0
= 0 ;
31907 PyObject
* obj1
= 0 ;
31908 char * kwnames
[] = {
31909 (char *) "self",(char *) "item", NULL
31912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31914 if (!SWIG_IsOK(res1
)) {
31915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31917 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31918 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31919 if (!SWIG_IsOK(ecode2
)) {
31920 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
31922 arg2
= static_cast< long >(val2
);
31924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31925 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
31926 wxPyEndAllowThreads(__tstate
);
31927 if (PyErr_Occurred()) SWIG_fail
;
31929 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
31936 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31937 PyObject
*resultobj
= 0;
31938 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31939 PyObject
*arg2
= (PyObject
*) 0 ;
31943 PyObject
* obj0
= 0 ;
31944 PyObject
* obj1
= 0 ;
31945 char * kwnames
[] = {
31946 (char *) "self",(char *) "func", NULL
31949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31951 if (!SWIG_IsOK(res1
)) {
31952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31954 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31958 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
31959 wxPyEndAllowThreads(__tstate
);
31960 if (PyErr_Occurred()) SWIG_fail
;
31963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31971 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31972 PyObject
*resultobj
= 0;
31973 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31974 wxWindow
*result
= 0 ;
31977 PyObject
*swig_obj
[1] ;
31979 if (!args
) SWIG_fail
;
31980 swig_obj
[0] = args
;
31981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31982 if (!SWIG_IsOK(res1
)) {
31983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31985 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31988 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
31989 wxPyEndAllowThreads(__tstate
);
31990 if (PyErr_Occurred()) SWIG_fail
;
31993 resultobj
= wxPyMake_wxObject(result
, 0);
32001 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32002 PyObject
*resultobj
= 0;
32003 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
32004 SwigValueWrapper
<wxVisualAttributes
> result
;
32007 PyObject
* obj0
= 0 ;
32008 char * kwnames
[] = {
32009 (char *) "variant", NULL
32012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
32014 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32015 if (!SWIG_IsOK(ecode1
)) {
32016 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
32018 arg1
= static_cast< wxWindowVariant
>(val1
);
32021 if (!wxPyCheckForApp()) SWIG_fail
;
32022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32023 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
32024 wxPyEndAllowThreads(__tstate
);
32025 if (PyErr_Occurred()) SWIG_fail
;
32027 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
32034 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32036 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32037 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
32038 return SWIG_Py_Void();
32041 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32042 return SWIG_Python_InitShadowInstance(args
);
32045 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32046 PyObject
*resultobj
= 0;
32047 wxWindow
*arg1
= (wxWindow
*) 0 ;
32048 int arg2
= (int) -1 ;
32049 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32050 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32051 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32052 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32053 long arg5
= (long) wxLC_REPORT
;
32054 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32055 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32056 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
32057 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32058 wxListView
*result
= 0 ;
32069 bool temp7
= false ;
32070 PyObject
* obj0
= 0 ;
32071 PyObject
* obj1
= 0 ;
32072 PyObject
* obj2
= 0 ;
32073 PyObject
* obj3
= 0 ;
32074 PyObject
* obj4
= 0 ;
32075 PyObject
* obj5
= 0 ;
32076 PyObject
* obj6
= 0 ;
32077 char * kwnames
[] = {
32078 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32083 if (!SWIG_IsOK(res1
)) {
32084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
32086 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32088 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32089 if (!SWIG_IsOK(ecode2
)) {
32090 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
32092 arg2
= static_cast< int >(val2
);
32097 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32103 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32107 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
32108 if (!SWIG_IsOK(ecode5
)) {
32109 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
32111 arg5
= static_cast< long >(val5
);
32114 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
32115 if (!SWIG_IsOK(res6
)) {
32116 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32119 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32121 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
32125 arg7
= wxString_in_helper(obj6
);
32126 if (arg7
== NULL
) SWIG_fail
;
32131 if (!wxPyCheckForApp()) SWIG_fail
;
32132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32133 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32134 wxPyEndAllowThreads(__tstate
);
32135 if (PyErr_Occurred()) SWIG_fail
;
32137 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
32152 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32153 PyObject
*resultobj
= 0;
32154 wxListView
*result
= 0 ;
32156 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
32158 if (!wxPyCheckForApp()) SWIG_fail
;
32159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32160 result
= (wxListView
*)new wxListView();
32161 wxPyEndAllowThreads(__tstate
);
32162 if (PyErr_Occurred()) SWIG_fail
;
32164 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
32171 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32172 PyObject
*resultobj
= 0;
32173 wxListView
*arg1
= (wxListView
*) 0 ;
32174 wxWindow
*arg2
= (wxWindow
*) 0 ;
32175 int arg3
= (int) -1 ;
32176 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32177 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32178 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32179 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32180 long arg6
= (long) wxLC_REPORT
;
32181 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
32182 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
32183 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
32184 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
32198 bool temp8
= false ;
32199 PyObject
* obj0
= 0 ;
32200 PyObject
* obj1
= 0 ;
32201 PyObject
* obj2
= 0 ;
32202 PyObject
* obj3
= 0 ;
32203 PyObject
* obj4
= 0 ;
32204 PyObject
* obj5
= 0 ;
32205 PyObject
* obj6
= 0 ;
32206 PyObject
* obj7
= 0 ;
32207 char * kwnames
[] = {
32208 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32213 if (!SWIG_IsOK(res1
)) {
32214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
32216 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32217 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32218 if (!SWIG_IsOK(res2
)) {
32219 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
32221 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32223 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32224 if (!SWIG_IsOK(ecode3
)) {
32225 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
32227 arg3
= static_cast< int >(val3
);
32232 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32238 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32242 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
32243 if (!SWIG_IsOK(ecode6
)) {
32244 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
32246 arg6
= static_cast< long >(val6
);
32249 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
32250 if (!SWIG_IsOK(res7
)) {
32251 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32254 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32256 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
32260 arg8
= wxString_in_helper(obj7
);
32261 if (arg8
== NULL
) SWIG_fail
;
32266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32267 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
32268 wxPyEndAllowThreads(__tstate
);
32269 if (PyErr_Occurred()) SWIG_fail
;
32272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32288 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32289 PyObject
*resultobj
= 0;
32290 wxListView
*arg1
= (wxListView
*) 0 ;
32292 bool arg3
= (bool) true ;
32299 PyObject
* obj0
= 0 ;
32300 PyObject
* obj1
= 0 ;
32301 PyObject
* obj2
= 0 ;
32302 char * kwnames
[] = {
32303 (char *) "self",(char *) "n",(char *) "on", NULL
32306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32308 if (!SWIG_IsOK(res1
)) {
32309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32311 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32312 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32313 if (!SWIG_IsOK(ecode2
)) {
32314 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32316 arg2
= static_cast< long >(val2
);
32318 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32319 if (!SWIG_IsOK(ecode3
)) {
32320 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32322 arg3
= static_cast< bool >(val3
);
32325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32326 (arg1
)->Select(arg2
,arg3
);
32327 wxPyEndAllowThreads(__tstate
);
32328 if (PyErr_Occurred()) SWIG_fail
;
32330 resultobj
= SWIG_Py_Void();
32337 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32338 PyObject
*resultobj
= 0;
32339 wxListView
*arg1
= (wxListView
*) 0 ;
32345 PyObject
* obj0
= 0 ;
32346 PyObject
* obj1
= 0 ;
32347 char * kwnames
[] = {
32348 (char *) "self",(char *) "index", NULL
32351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32353 if (!SWIG_IsOK(res1
)) {
32354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32356 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32357 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32358 if (!SWIG_IsOK(ecode2
)) {
32359 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32361 arg2
= static_cast< long >(val2
);
32363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32364 (arg1
)->Focus(arg2
);
32365 wxPyEndAllowThreads(__tstate
);
32366 if (PyErr_Occurred()) SWIG_fail
;
32368 resultobj
= SWIG_Py_Void();
32375 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32376 PyObject
*resultobj
= 0;
32377 wxListView
*arg1
= (wxListView
*) 0 ;
32381 PyObject
*swig_obj
[1] ;
32383 if (!args
) SWIG_fail
;
32384 swig_obj
[0] = args
;
32385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32386 if (!SWIG_IsOK(res1
)) {
32387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32389 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32392 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
32393 wxPyEndAllowThreads(__tstate
);
32394 if (PyErr_Occurred()) SWIG_fail
;
32396 resultobj
= SWIG_From_long(static_cast< long >(result
));
32403 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32404 PyObject
*resultobj
= 0;
32405 wxListView
*arg1
= (wxListView
*) 0 ;
32412 PyObject
* obj0
= 0 ;
32413 PyObject
* obj1
= 0 ;
32414 char * kwnames
[] = {
32415 (char *) "self",(char *) "item", NULL
32418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32420 if (!SWIG_IsOK(res1
)) {
32421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32423 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32424 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32425 if (!SWIG_IsOK(ecode2
)) {
32426 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32428 arg2
= static_cast< long >(val2
);
32430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32431 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
32432 wxPyEndAllowThreads(__tstate
);
32433 if (PyErr_Occurred()) SWIG_fail
;
32435 resultobj
= SWIG_From_long(static_cast< long >(result
));
32442 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32443 PyObject
*resultobj
= 0;
32444 wxListView
*arg1
= (wxListView
*) 0 ;
32448 PyObject
*swig_obj
[1] ;
32450 if (!args
) SWIG_fail
;
32451 swig_obj
[0] = args
;
32452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32453 if (!SWIG_IsOK(res1
)) {
32454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32456 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32459 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
32460 wxPyEndAllowThreads(__tstate
);
32461 if (PyErr_Occurred()) SWIG_fail
;
32463 resultobj
= SWIG_From_long(static_cast< long >(result
));
32470 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32471 PyObject
*resultobj
= 0;
32472 wxListView
*arg1
= (wxListView
*) 0 ;
32479 PyObject
* obj0
= 0 ;
32480 PyObject
* obj1
= 0 ;
32481 char * kwnames
[] = {
32482 (char *) "self",(char *) "index", NULL
32485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32487 if (!SWIG_IsOK(res1
)) {
32488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32490 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32491 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32492 if (!SWIG_IsOK(ecode2
)) {
32493 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32495 arg2
= static_cast< long >(val2
);
32497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32498 result
= (bool)(arg1
)->IsSelected(arg2
);
32499 wxPyEndAllowThreads(__tstate
);
32500 if (PyErr_Occurred()) SWIG_fail
;
32503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32511 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32512 PyObject
*resultobj
= 0;
32513 wxListView
*arg1
= (wxListView
*) 0 ;
32522 PyObject
* obj0
= 0 ;
32523 PyObject
* obj1
= 0 ;
32524 PyObject
* obj2
= 0 ;
32525 char * kwnames
[] = {
32526 (char *) "self",(char *) "col",(char *) "image", NULL
32529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32531 if (!SWIG_IsOK(res1
)) {
32532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32534 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32535 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32536 if (!SWIG_IsOK(ecode2
)) {
32537 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32539 arg2
= static_cast< int >(val2
);
32540 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32541 if (!SWIG_IsOK(ecode3
)) {
32542 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32544 arg3
= static_cast< int >(val3
);
32546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32547 (arg1
)->SetColumnImage(arg2
,arg3
);
32548 wxPyEndAllowThreads(__tstate
);
32549 if (PyErr_Occurred()) SWIG_fail
;
32551 resultobj
= SWIG_Py_Void();
32558 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32559 PyObject
*resultobj
= 0;
32560 wxListView
*arg1
= (wxListView
*) 0 ;
32566 PyObject
* obj0
= 0 ;
32567 PyObject
* obj1
= 0 ;
32568 char * kwnames
[] = {
32569 (char *) "self",(char *) "col", NULL
32572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32574 if (!SWIG_IsOK(res1
)) {
32575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32577 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32578 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32579 if (!SWIG_IsOK(ecode2
)) {
32580 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32582 arg2
= static_cast< int >(val2
);
32584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32585 (arg1
)->ClearColumnImage(arg2
);
32586 wxPyEndAllowThreads(__tstate
);
32587 if (PyErr_Occurred()) SWIG_fail
;
32589 resultobj
= SWIG_Py_Void();
32596 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32598 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32599 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32600 return SWIG_Py_Void();
32603 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32604 return SWIG_Python_InitShadowInstance(args
);
32607 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32608 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
32613 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
32614 PyObject
*pyobj
= 0;
32618 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32620 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32627 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32628 PyObject
*resultobj
= 0;
32629 wxTreeItemId
*result
= 0 ;
32631 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
32633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32634 result
= (wxTreeItemId
*)new wxTreeItemId();
32635 wxPyEndAllowThreads(__tstate
);
32636 if (PyErr_Occurred()) SWIG_fail
;
32638 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32645 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32646 PyObject
*resultobj
= 0;
32647 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32650 PyObject
*swig_obj
[1] ;
32652 if (!args
) SWIG_fail
;
32653 swig_obj
[0] = args
;
32654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32655 if (!SWIG_IsOK(res1
)) {
32656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32658 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32663 wxPyEndAllowThreads(__tstate
);
32664 if (PyErr_Occurred()) SWIG_fail
;
32666 resultobj
= SWIG_Py_Void();
32673 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32674 PyObject
*resultobj
= 0;
32675 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32679 PyObject
*swig_obj
[1] ;
32681 if (!args
) SWIG_fail
;
32682 swig_obj
[0] = args
;
32683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32684 if (!SWIG_IsOK(res1
)) {
32685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32687 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32690 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
32691 wxPyEndAllowThreads(__tstate
);
32692 if (PyErr_Occurred()) SWIG_fail
;
32695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32703 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32704 PyObject
*resultobj
= 0;
32705 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32706 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32712 PyObject
* obj0
= 0 ;
32713 PyObject
* obj1
= 0 ;
32714 char * kwnames
[] = {
32715 (char *) "self",(char *) "other", NULL
32718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32720 if (!SWIG_IsOK(res1
)) {
32721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32723 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32724 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32725 if (!SWIG_IsOK(res2
)) {
32726 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32728 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32731 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
32732 wxPyEndAllowThreads(__tstate
);
32733 if (PyErr_Occurred()) SWIG_fail
;
32736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32744 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32745 PyObject
*resultobj
= 0;
32746 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32747 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32753 PyObject
* obj0
= 0 ;
32754 PyObject
* obj1
= 0 ;
32755 char * kwnames
[] = {
32756 (char *) "self",(char *) "other", NULL
32759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32761 if (!SWIG_IsOK(res1
)) {
32762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32764 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32765 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32766 if (!SWIG_IsOK(res2
)) {
32767 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32769 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32772 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
32773 wxPyEndAllowThreads(__tstate
);
32774 if (PyErr_Occurred()) SWIG_fail
;
32777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32785 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32786 PyObject
*resultobj
= 0;
32787 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32788 void *arg2
= (void *) 0 ;
32792 PyObject
*swig_obj
[2] ;
32794 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
32795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32796 if (!SWIG_IsOK(res1
)) {
32797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32799 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32800 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
32801 if (!SWIG_IsOK(res2
)) {
32802 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32804 if (arg1
) (arg1
)->m_pItem
= arg2
;
32806 resultobj
= SWIG_Py_Void();
32813 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32814 PyObject
*resultobj
= 0;
32815 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32819 PyObject
*swig_obj
[1] ;
32821 if (!args
) SWIG_fail
;
32822 swig_obj
[0] = args
;
32823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32824 if (!SWIG_IsOK(res1
)) {
32825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32827 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32828 result
= (void *) ((arg1
)->m_pItem
);
32829 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
32836 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32838 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32839 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
32840 return SWIG_Py_Void();
32843 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32844 return SWIG_Python_InitShadowInstance(args
);
32847 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32848 PyObject
*resultobj
= 0;
32849 PyObject
*arg1
= (PyObject
*) NULL
;
32850 wxPyTreeItemData
*result
= 0 ;
32851 PyObject
* obj0
= 0 ;
32852 char * kwnames
[] = {
32853 (char *) "obj", NULL
32856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
32861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32862 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
32863 wxPyEndAllowThreads(__tstate
);
32864 if (PyErr_Occurred()) SWIG_fail
;
32866 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
32873 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32874 PyObject
*resultobj
= 0;
32875 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32878 PyObject
*swig_obj
[1] ;
32880 if (!args
) SWIG_fail
;
32881 swig_obj
[0] = args
;
32882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
32883 if (!SWIG_IsOK(res1
)) {
32884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32886 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32891 wxPyEndAllowThreads(__tstate
);
32892 if (PyErr_Occurred()) SWIG_fail
;
32894 resultobj
= SWIG_Py_Void();
32901 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32902 PyObject
*resultobj
= 0;
32903 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32904 PyObject
*result
= 0 ;
32907 PyObject
*swig_obj
[1] ;
32909 if (!args
) SWIG_fail
;
32910 swig_obj
[0] = args
;
32911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32912 if (!SWIG_IsOK(res1
)) {
32913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32915 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32918 result
= (PyObject
*)(arg1
)->GetData();
32919 wxPyEndAllowThreads(__tstate
);
32920 if (PyErr_Occurred()) SWIG_fail
;
32922 resultobj
= result
;
32929 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32930 PyObject
*resultobj
= 0;
32931 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32932 PyObject
*arg2
= (PyObject
*) 0 ;
32935 PyObject
* obj0
= 0 ;
32936 PyObject
* obj1
= 0 ;
32937 char * kwnames
[] = {
32938 (char *) "self",(char *) "obj", NULL
32941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32943 if (!SWIG_IsOK(res1
)) {
32944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32946 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32950 (arg1
)->SetData(arg2
);
32951 wxPyEndAllowThreads(__tstate
);
32952 if (PyErr_Occurred()) SWIG_fail
;
32954 resultobj
= SWIG_Py_Void();
32961 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32962 PyObject
*resultobj
= 0;
32963 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32964 wxTreeItemId
*result
= 0 ;
32967 PyObject
*swig_obj
[1] ;
32969 if (!args
) SWIG_fail
;
32970 swig_obj
[0] = args
;
32971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32972 if (!SWIG_IsOK(res1
)) {
32973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32975 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32979 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
32980 result
= (wxTreeItemId
*) &_result_ref
;
32982 wxPyEndAllowThreads(__tstate
);
32983 if (PyErr_Occurred()) SWIG_fail
;
32985 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32992 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32993 PyObject
*resultobj
= 0;
32994 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32995 wxTreeItemId
*arg2
= 0 ;
33000 PyObject
* obj0
= 0 ;
33001 PyObject
* obj1
= 0 ;
33002 char * kwnames
[] = {
33003 (char *) "self",(char *) "id", NULL
33006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33008 if (!SWIG_IsOK(res1
)) {
33009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33011 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33012 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33013 if (!SWIG_IsOK(res2
)) {
33014 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33017 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33019 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33022 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
33023 wxPyEndAllowThreads(__tstate
);
33024 if (PyErr_Occurred()) SWIG_fail
;
33026 resultobj
= SWIG_Py_Void();
33033 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33034 PyObject
*resultobj
= 0;
33035 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33038 PyObject
*swig_obj
[1] ;
33040 if (!args
) SWIG_fail
;
33041 swig_obj
[0] = args
;
33042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33043 if (!SWIG_IsOK(res1
)) {
33044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33046 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33049 wxPyTreeItemData_Destroy(arg1
);
33050 wxPyEndAllowThreads(__tstate
);
33051 if (PyErr_Occurred()) SWIG_fail
;
33053 resultobj
= SWIG_Py_Void();
33060 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33062 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33063 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
33064 return SWIG_Py_Void();
33067 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33068 return SWIG_Python_InitShadowInstance(args
);
33071 SWIGINTERN
int NullTreeItemId_set(PyObject
*_val
) {
33074 int res
= SWIG_ConvertPtr(_val
, &argp
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33075 if (!SWIG_IsOK(res
)) {
33076 SWIG_exception_fail(SWIG_ArgError(res
), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33079 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33081 wxTreeItemId
* temp
;
33082 temp
= reinterpret_cast< wxTreeItemId
* >(argp
);
33083 wxNullTreeItemId
= *temp
;
33084 if (SWIG_IsNewObj(res
)) delete temp
;
33093 SWIGINTERN PyObject
*NullTreeItemId_get(void) {
33094 PyObject
*pyobj
= 0;
33096 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId
), SWIGTYPE_p_wxTreeItemId
, 0 );
33101 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33102 PyObject
*resultobj
= 0;
33103 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
33104 int arg2
= (int) 0 ;
33105 wxTreeEvent
*result
= 0 ;
33111 if ((nobjs
< 0) || (nobjs
> 2)) SWIG_fail
;
33113 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33114 if (!SWIG_IsOK(ecode1
)) {
33115 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33117 arg1
= static_cast< wxEventType
>(val1
);
33120 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
33121 if (!SWIG_IsOK(ecode2
)) {
33122 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
33124 arg2
= static_cast< int >(val2
);
33127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33128 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
33129 wxPyEndAllowThreads(__tstate
);
33130 if (PyErr_Occurred()) SWIG_fail
;
33132 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33139 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33140 PyObject
*resultobj
= 0;
33142 wxPyTreeCtrl
*arg2
= (wxPyTreeCtrl
*) 0 ;
33143 wxTreeItemId
&arg3_defvalue
= wxNullTreeItemId
;
33144 wxTreeItemId
*arg3
= (wxTreeItemId
*) &arg3_defvalue
;
33145 wxTreeEvent
*result
= 0 ;
33153 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
33154 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33155 if (!SWIG_IsOK(ecode1
)) {
33156 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33158 arg1
= static_cast< wxEventType
>(val1
);
33159 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33160 if (!SWIG_IsOK(res2
)) {
33161 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'");
33163 arg2
= reinterpret_cast< wxPyTreeCtrl
* >(argp2
);
33165 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 );
33166 if (!SWIG_IsOK(res3
)) {
33167 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33170 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33172 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
33175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33176 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
,*arg3
);
33177 wxPyEndAllowThreads(__tstate
);
33178 if (PyErr_Occurred()) SWIG_fail
;
33180 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33187 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
) {
33191 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TreeEvent",0,3,argv
))) SWIG_fail
;
33193 if ((argc
>= 0) && (argc
<= 2)) {
33198 int res
= SWIG_AsVal_int(argv
[1], NULL
);
33199 _v
= SWIG_CheckState(res
);
33202 if (!_v
) goto check_1
;
33204 return _wrap_new_TreeEvent__SWIG_0(self
, argc
, argv
);
33208 if ((argc
>= 2) && (argc
<= 3)) {
33209 return _wrap_new_TreeEvent__SWIG_1(self
, argc
, argv
);
33213 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TreeEvent'");
33218 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33219 PyObject
*resultobj
= 0;
33220 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33221 wxTreeItemId result
;
33224 PyObject
*swig_obj
[1] ;
33226 if (!args
) SWIG_fail
;
33227 swig_obj
[0] = args
;
33228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33229 if (!SWIG_IsOK(res1
)) {
33230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33232 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33235 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
33236 wxPyEndAllowThreads(__tstate
);
33237 if (PyErr_Occurred()) SWIG_fail
;
33239 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33246 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33247 PyObject
*resultobj
= 0;
33248 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33249 wxTreeItemId
*arg2
= 0 ;
33254 PyObject
* obj0
= 0 ;
33255 PyObject
* obj1
= 0 ;
33256 char * kwnames
[] = {
33257 (char *) "self",(char *) "item", NULL
33260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33262 if (!SWIG_IsOK(res1
)) {
33263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33265 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33266 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33267 if (!SWIG_IsOK(res2
)) {
33268 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33271 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33273 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33276 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
33277 wxPyEndAllowThreads(__tstate
);
33278 if (PyErr_Occurred()) SWIG_fail
;
33280 resultobj
= SWIG_Py_Void();
33287 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33288 PyObject
*resultobj
= 0;
33289 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33290 wxTreeItemId result
;
33293 PyObject
*swig_obj
[1] ;
33295 if (!args
) SWIG_fail
;
33296 swig_obj
[0] = args
;
33297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33298 if (!SWIG_IsOK(res1
)) {
33299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33301 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33304 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
33305 wxPyEndAllowThreads(__tstate
);
33306 if (PyErr_Occurred()) SWIG_fail
;
33308 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33315 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33316 PyObject
*resultobj
= 0;
33317 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33318 wxTreeItemId
*arg2
= 0 ;
33323 PyObject
* obj0
= 0 ;
33324 PyObject
* obj1
= 0 ;
33325 char * kwnames
[] = {
33326 (char *) "self",(char *) "item", NULL
33329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33331 if (!SWIG_IsOK(res1
)) {
33332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33334 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33335 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33336 if (!SWIG_IsOK(res2
)) {
33337 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33340 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33342 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33345 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
33346 wxPyEndAllowThreads(__tstate
);
33347 if (PyErr_Occurred()) SWIG_fail
;
33349 resultobj
= SWIG_Py_Void();
33356 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33357 PyObject
*resultobj
= 0;
33358 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33362 PyObject
*swig_obj
[1] ;
33364 if (!args
) SWIG_fail
;
33365 swig_obj
[0] = args
;
33366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33367 if (!SWIG_IsOK(res1
)) {
33368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33370 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33373 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
33374 wxPyEndAllowThreads(__tstate
);
33375 if (PyErr_Occurred()) SWIG_fail
;
33377 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33384 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33385 PyObject
*resultobj
= 0;
33386 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33387 wxPoint
*arg2
= 0 ;
33391 PyObject
* obj0
= 0 ;
33392 PyObject
* obj1
= 0 ;
33393 char * kwnames
[] = {
33394 (char *) "self",(char *) "pt", NULL
33397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33399 if (!SWIG_IsOK(res1
)) {
33400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33402 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33405 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33409 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
33410 wxPyEndAllowThreads(__tstate
);
33411 if (PyErr_Occurred()) SWIG_fail
;
33413 resultobj
= SWIG_Py_Void();
33420 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33421 PyObject
*resultobj
= 0;
33422 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33423 wxKeyEvent
*result
= 0 ;
33426 PyObject
*swig_obj
[1] ;
33428 if (!args
) SWIG_fail
;
33429 swig_obj
[0] = args
;
33430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33431 if (!SWIG_IsOK(res1
)) {
33432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33434 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33438 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
33439 result
= (wxKeyEvent
*) &_result_ref
;
33441 wxPyEndAllowThreads(__tstate
);
33442 if (PyErr_Occurred()) SWIG_fail
;
33444 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
33451 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33452 PyObject
*resultobj
= 0;
33453 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33457 PyObject
*swig_obj
[1] ;
33459 if (!args
) SWIG_fail
;
33460 swig_obj
[0] = args
;
33461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33462 if (!SWIG_IsOK(res1
)) {
33463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33465 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33468 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
33469 wxPyEndAllowThreads(__tstate
);
33470 if (PyErr_Occurred()) SWIG_fail
;
33472 resultobj
= SWIG_From_int(static_cast< int >(result
));
33479 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33480 PyObject
*resultobj
= 0;
33481 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33482 wxKeyEvent
*arg2
= 0 ;
33487 PyObject
* obj0
= 0 ;
33488 PyObject
* obj1
= 0 ;
33489 char * kwnames
[] = {
33490 (char *) "self",(char *) "evt", NULL
33493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33495 if (!SWIG_IsOK(res1
)) {
33496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33498 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33499 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
33500 if (!SWIG_IsOK(res2
)) {
33501 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33504 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33506 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
33508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33509 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
33510 wxPyEndAllowThreads(__tstate
);
33511 if (PyErr_Occurred()) SWIG_fail
;
33513 resultobj
= SWIG_Py_Void();
33520 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33521 PyObject
*resultobj
= 0;
33522 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33523 wxString
*result
= 0 ;
33526 PyObject
*swig_obj
[1] ;
33528 if (!args
) SWIG_fail
;
33529 swig_obj
[0] = args
;
33530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33531 if (!SWIG_IsOK(res1
)) {
33532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33534 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33538 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
33539 result
= (wxString
*) &_result_ref
;
33541 wxPyEndAllowThreads(__tstate
);
33542 if (PyErr_Occurred()) SWIG_fail
;
33546 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33548 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33557 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33558 PyObject
*resultobj
= 0;
33559 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33560 wxString
*arg2
= 0 ;
33563 bool temp2
= false ;
33564 PyObject
* obj0
= 0 ;
33565 PyObject
* obj1
= 0 ;
33566 char * kwnames
[] = {
33567 (char *) "self",(char *) "label", NULL
33570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33572 if (!SWIG_IsOK(res1
)) {
33573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33575 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33577 arg2
= wxString_in_helper(obj1
);
33578 if (arg2
== NULL
) SWIG_fail
;
33582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33583 (arg1
)->SetLabel((wxString
const &)*arg2
);
33584 wxPyEndAllowThreads(__tstate
);
33585 if (PyErr_Occurred()) SWIG_fail
;
33587 resultobj
= SWIG_Py_Void();
33602 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33603 PyObject
*resultobj
= 0;
33604 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33608 PyObject
*swig_obj
[1] ;
33610 if (!args
) SWIG_fail
;
33611 swig_obj
[0] = args
;
33612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33613 if (!SWIG_IsOK(res1
)) {
33614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33616 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33619 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
33620 wxPyEndAllowThreads(__tstate
);
33621 if (PyErr_Occurred()) SWIG_fail
;
33624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33632 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33633 PyObject
*resultobj
= 0;
33634 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33640 PyObject
* obj0
= 0 ;
33641 PyObject
* obj1
= 0 ;
33642 char * kwnames
[] = {
33643 (char *) "self",(char *) "editCancelled", NULL
33646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33648 if (!SWIG_IsOK(res1
)) {
33649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33651 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33652 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33653 if (!SWIG_IsOK(ecode2
)) {
33654 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33656 arg2
= static_cast< bool >(val2
);
33658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33659 (arg1
)->SetEditCanceled(arg2
);
33660 wxPyEndAllowThreads(__tstate
);
33661 if (PyErr_Occurred()) SWIG_fail
;
33663 resultobj
= SWIG_Py_Void();
33670 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33671 PyObject
*resultobj
= 0;
33672 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33673 wxString
*arg2
= 0 ;
33676 bool temp2
= false ;
33677 PyObject
* obj0
= 0 ;
33678 PyObject
* obj1
= 0 ;
33679 char * kwnames
[] = {
33680 (char *) "self",(char *) "toolTip", NULL
33683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33685 if (!SWIG_IsOK(res1
)) {
33686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33688 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33690 arg2
= wxString_in_helper(obj1
);
33691 if (arg2
== NULL
) SWIG_fail
;
33695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33696 (arg1
)->SetToolTip((wxString
const &)*arg2
);
33697 wxPyEndAllowThreads(__tstate
);
33698 if (PyErr_Occurred()) SWIG_fail
;
33700 resultobj
= SWIG_Py_Void();
33715 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33716 PyObject
*resultobj
= 0;
33717 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33721 PyObject
*swig_obj
[1] ;
33723 if (!args
) SWIG_fail
;
33724 swig_obj
[0] = args
;
33725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33726 if (!SWIG_IsOK(res1
)) {
33727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33729 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33732 result
= (arg1
)->GetToolTip();
33733 wxPyEndAllowThreads(__tstate
);
33734 if (PyErr_Occurred()) SWIG_fail
;
33738 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33740 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33749 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33751 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33752 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
33753 return SWIG_Py_Void();
33756 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33757 return SWIG_Python_InitShadowInstance(args
);
33760 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33761 PyObject
*resultobj
= 0;
33762 wxWindow
*arg1
= (wxWindow
*) 0 ;
33763 int arg2
= (int) -1 ;
33764 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33765 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33766 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33767 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33768 long arg5
= (long) wxTR_DEFAULT_STYLE
;
33769 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33770 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33771 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
33772 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33773 wxPyTreeCtrl
*result
= 0 ;
33784 bool temp7
= false ;
33785 PyObject
* obj0
= 0 ;
33786 PyObject
* obj1
= 0 ;
33787 PyObject
* obj2
= 0 ;
33788 PyObject
* obj3
= 0 ;
33789 PyObject
* obj4
= 0 ;
33790 PyObject
* obj5
= 0 ;
33791 PyObject
* obj6
= 0 ;
33792 char * kwnames
[] = {
33793 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33798 if (!SWIG_IsOK(res1
)) {
33799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33801 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33803 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33804 if (!SWIG_IsOK(ecode2
)) {
33805 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33807 arg2
= static_cast< int >(val2
);
33812 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33818 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33822 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
33823 if (!SWIG_IsOK(ecode5
)) {
33824 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33826 arg5
= static_cast< long >(val5
);
33829 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
33830 if (!SWIG_IsOK(res6
)) {
33831 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33834 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33836 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
33840 arg7
= wxString_in_helper(obj6
);
33841 if (arg7
== NULL
) SWIG_fail
;
33846 if (!wxPyCheckForApp()) SWIG_fail
;
33847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33848 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33849 wxPyEndAllowThreads(__tstate
);
33850 if (PyErr_Occurred()) SWIG_fail
;
33852 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
33867 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33868 PyObject
*resultobj
= 0;
33869 wxPyTreeCtrl
*result
= 0 ;
33871 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
33873 if (!wxPyCheckForApp()) SWIG_fail
;
33874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33875 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
33876 wxPyEndAllowThreads(__tstate
);
33877 if (PyErr_Occurred()) SWIG_fail
;
33879 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
33886 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33887 PyObject
*resultobj
= 0;
33888 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33889 wxWindow
*arg2
= (wxWindow
*) 0 ;
33890 int arg3
= (int) -1 ;
33891 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33892 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33893 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33894 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33895 long arg6
= (long) wxTR_DEFAULT_STYLE
;
33896 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33897 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33898 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
33899 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33913 bool temp8
= false ;
33914 PyObject
* obj0
= 0 ;
33915 PyObject
* obj1
= 0 ;
33916 PyObject
* obj2
= 0 ;
33917 PyObject
* obj3
= 0 ;
33918 PyObject
* obj4
= 0 ;
33919 PyObject
* obj5
= 0 ;
33920 PyObject
* obj6
= 0 ;
33921 PyObject
* obj7
= 0 ;
33922 char * kwnames
[] = {
33923 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
33927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33928 if (!SWIG_IsOK(res1
)) {
33929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33931 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33932 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33933 if (!SWIG_IsOK(res2
)) {
33934 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
33936 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33938 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33939 if (!SWIG_IsOK(ecode3
)) {
33940 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
33942 arg3
= static_cast< int >(val3
);
33947 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33953 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33957 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
33958 if (!SWIG_IsOK(ecode6
)) {
33959 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
33961 arg6
= static_cast< long >(val6
);
33964 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
33965 if (!SWIG_IsOK(res7
)) {
33966 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33969 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33971 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
33975 arg8
= wxString_in_helper(obj7
);
33976 if (arg8
== NULL
) SWIG_fail
;
33981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33982 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33983 wxPyEndAllowThreads(__tstate
);
33984 if (PyErr_Occurred()) SWIG_fail
;
33987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34003 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34004 PyObject
*resultobj
= 0;
34005 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34006 PyObject
*arg2
= (PyObject
*) 0 ;
34007 PyObject
*arg3
= (PyObject
*) 0 ;
34010 PyObject
* obj0
= 0 ;
34011 PyObject
* obj1
= 0 ;
34012 PyObject
* obj2
= 0 ;
34013 char * kwnames
[] = {
34014 (char *) "self",(char *) "self",(char *) "_class", NULL
34017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34019 if (!SWIG_IsOK(res1
)) {
34020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34022 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34027 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34028 wxPyEndAllowThreads(__tstate
);
34029 if (PyErr_Occurred()) SWIG_fail
;
34031 resultobj
= SWIG_Py_Void();
34038 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34039 PyObject
*resultobj
= 0;
34040 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34041 unsigned int result
;
34044 PyObject
*swig_obj
[1] ;
34046 if (!args
) SWIG_fail
;
34047 swig_obj
[0] = args
;
34048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34049 if (!SWIG_IsOK(res1
)) {
34050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34052 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34055 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
34056 wxPyEndAllowThreads(__tstate
);
34057 if (PyErr_Occurred()) SWIG_fail
;
34059 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34066 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34067 PyObject
*resultobj
= 0;
34068 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34069 unsigned int result
;
34072 PyObject
*swig_obj
[1] ;
34074 if (!args
) SWIG_fail
;
34075 swig_obj
[0] = args
;
34076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34077 if (!SWIG_IsOK(res1
)) {
34078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34080 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34083 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
34084 wxPyEndAllowThreads(__tstate
);
34085 if (PyErr_Occurred()) SWIG_fail
;
34087 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34094 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34095 PyObject
*resultobj
= 0;
34096 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34097 unsigned int arg2
;
34100 unsigned int val2
;
34102 PyObject
* obj0
= 0 ;
34103 PyObject
* obj1
= 0 ;
34104 char * kwnames
[] = {
34105 (char *) "self",(char *) "indent", NULL
34108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34110 if (!SWIG_IsOK(res1
)) {
34111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34113 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34114 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34115 if (!SWIG_IsOK(ecode2
)) {
34116 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
34118 arg2
= static_cast< unsigned int >(val2
);
34120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34121 (arg1
)->SetIndent(arg2
);
34122 wxPyEndAllowThreads(__tstate
);
34123 if (PyErr_Occurred()) SWIG_fail
;
34125 resultobj
= SWIG_Py_Void();
34132 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34133 PyObject
*resultobj
= 0;
34134 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34135 unsigned int result
;
34138 PyObject
*swig_obj
[1] ;
34140 if (!args
) SWIG_fail
;
34141 swig_obj
[0] = args
;
34142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34143 if (!SWIG_IsOK(res1
)) {
34144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34146 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34149 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
34150 wxPyEndAllowThreads(__tstate
);
34151 if (PyErr_Occurred()) SWIG_fail
;
34153 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34160 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34161 PyObject
*resultobj
= 0;
34162 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34163 unsigned int arg2
;
34166 unsigned int val2
;
34168 PyObject
* obj0
= 0 ;
34169 PyObject
* obj1
= 0 ;
34170 char * kwnames
[] = {
34171 (char *) "self",(char *) "spacing", NULL
34174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34176 if (!SWIG_IsOK(res1
)) {
34177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34179 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34180 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34181 if (!SWIG_IsOK(ecode2
)) {
34182 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
34184 arg2
= static_cast< unsigned int >(val2
);
34186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34187 (arg1
)->SetSpacing(arg2
);
34188 wxPyEndAllowThreads(__tstate
);
34189 if (PyErr_Occurred()) SWIG_fail
;
34191 resultobj
= SWIG_Py_Void();
34198 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34199 PyObject
*resultobj
= 0;
34200 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34201 wxImageList
*result
= 0 ;
34204 PyObject
*swig_obj
[1] ;
34206 if (!args
) SWIG_fail
;
34207 swig_obj
[0] = args
;
34208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34209 if (!SWIG_IsOK(res1
)) {
34210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34212 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34215 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
34216 wxPyEndAllowThreads(__tstate
);
34217 if (PyErr_Occurred()) SWIG_fail
;
34220 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34228 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34229 PyObject
*resultobj
= 0;
34230 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34231 wxImageList
*result
= 0 ;
34234 PyObject
*swig_obj
[1] ;
34236 if (!args
) SWIG_fail
;
34237 swig_obj
[0] = args
;
34238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34239 if (!SWIG_IsOK(res1
)) {
34240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34242 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34245 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
34246 wxPyEndAllowThreads(__tstate
);
34247 if (PyErr_Occurred()) SWIG_fail
;
34250 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34258 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34259 PyObject
*resultobj
= 0;
34260 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34261 wxImageList
*arg2
= (wxImageList
*) 0 ;
34266 PyObject
* obj0
= 0 ;
34267 PyObject
* obj1
= 0 ;
34268 char * kwnames
[] = {
34269 (char *) "self",(char *) "imageList", NULL
34272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34274 if (!SWIG_IsOK(res1
)) {
34275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34277 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34278 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34279 if (!SWIG_IsOK(res2
)) {
34280 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34282 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34285 (arg1
)->SetImageList(arg2
);
34286 wxPyEndAllowThreads(__tstate
);
34287 if (PyErr_Occurred()) SWIG_fail
;
34289 resultobj
= SWIG_Py_Void();
34296 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34297 PyObject
*resultobj
= 0;
34298 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34299 wxImageList
*arg2
= (wxImageList
*) 0 ;
34304 PyObject
* obj0
= 0 ;
34305 PyObject
* obj1
= 0 ;
34306 char * kwnames
[] = {
34307 (char *) "self",(char *) "imageList", NULL
34310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34312 if (!SWIG_IsOK(res1
)) {
34313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34315 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34316 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34317 if (!SWIG_IsOK(res2
)) {
34318 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34320 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34323 (arg1
)->SetStateImageList(arg2
);
34324 wxPyEndAllowThreads(__tstate
);
34325 if (PyErr_Occurred()) SWIG_fail
;
34327 resultobj
= SWIG_Py_Void();
34334 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34335 PyObject
*resultobj
= 0;
34336 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34337 wxImageList
*arg2
= (wxImageList
*) 0 ;
34341 PyObject
* obj0
= 0 ;
34342 PyObject
* obj1
= 0 ;
34343 char * kwnames
[] = {
34344 (char *) "self",(char *) "imageList", NULL
34347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34349 if (!SWIG_IsOK(res1
)) {
34350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34352 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34353 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34354 if (!SWIG_IsOK(res2
)) {
34355 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34359 (arg1
)->AssignImageList(arg2
);
34360 wxPyEndAllowThreads(__tstate
);
34361 if (PyErr_Occurred()) SWIG_fail
;
34363 resultobj
= SWIG_Py_Void();
34370 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34371 PyObject
*resultobj
= 0;
34372 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34373 wxImageList
*arg2
= (wxImageList
*) 0 ;
34377 PyObject
* obj0
= 0 ;
34378 PyObject
* obj1
= 0 ;
34379 char * kwnames
[] = {
34380 (char *) "self",(char *) "imageList", NULL
34383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34385 if (!SWIG_IsOK(res1
)) {
34386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34388 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34389 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34390 if (!SWIG_IsOK(res2
)) {
34391 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34395 (arg1
)->AssignStateImageList(arg2
);
34396 wxPyEndAllowThreads(__tstate
);
34397 if (PyErr_Occurred()) SWIG_fail
;
34399 resultobj
= SWIG_Py_Void();
34406 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34407 PyObject
*resultobj
= 0;
34408 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34409 wxTreeItemId
*arg2
= 0 ;
34415 PyObject
* obj0
= 0 ;
34416 PyObject
* obj1
= 0 ;
34417 char * kwnames
[] = {
34418 (char *) "self",(char *) "item", NULL
34421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34423 if (!SWIG_IsOK(res1
)) {
34424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34426 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34427 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34428 if (!SWIG_IsOK(res2
)) {
34429 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34432 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34434 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34437 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
34438 wxPyEndAllowThreads(__tstate
);
34439 if (PyErr_Occurred()) SWIG_fail
;
34443 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34445 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34454 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34455 PyObject
*resultobj
= 0;
34456 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34457 wxTreeItemId
*arg2
= 0 ;
34458 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34466 PyObject
* obj0
= 0 ;
34467 PyObject
* obj1
= 0 ;
34468 PyObject
* obj2
= 0 ;
34469 char * kwnames
[] = {
34470 (char *) "self",(char *) "item",(char *) "which", NULL
34473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34475 if (!SWIG_IsOK(res1
)) {
34476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34478 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34479 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34480 if (!SWIG_IsOK(res2
)) {
34481 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34484 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34486 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34488 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34489 if (!SWIG_IsOK(ecode3
)) {
34490 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34492 arg3
= static_cast< wxTreeItemIcon
>(val3
);
34495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34496 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
34497 wxPyEndAllowThreads(__tstate
);
34498 if (PyErr_Occurred()) SWIG_fail
;
34500 resultobj
= SWIG_From_int(static_cast< int >(result
));
34507 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34508 PyObject
*resultobj
= 0;
34509 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34510 wxTreeItemId
*arg2
= 0 ;
34511 wxPyTreeItemData
*result
= 0 ;
34516 PyObject
* obj0
= 0 ;
34517 PyObject
* obj1
= 0 ;
34518 char * kwnames
[] = {
34519 (char *) "self",(char *) "item", NULL
34522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34524 if (!SWIG_IsOK(res1
)) {
34525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34527 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34528 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34529 if (!SWIG_IsOK(res2
)) {
34530 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34533 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34535 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34538 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
34539 wxPyEndAllowThreads(__tstate
);
34540 if (PyErr_Occurred()) SWIG_fail
;
34542 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
34549 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34550 PyObject
*resultobj
= 0;
34551 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34552 wxTreeItemId
*arg2
= 0 ;
34553 PyObject
*result
= 0 ;
34558 PyObject
* obj0
= 0 ;
34559 PyObject
* obj1
= 0 ;
34560 char * kwnames
[] = {
34561 (char *) "self",(char *) "item", NULL
34564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34566 if (!SWIG_IsOK(res1
)) {
34567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34569 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34570 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34571 if (!SWIG_IsOK(res2
)) {
34572 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34575 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34577 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34580 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
34581 wxPyEndAllowThreads(__tstate
);
34582 if (PyErr_Occurred()) SWIG_fail
;
34584 resultobj
= result
;
34591 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34592 PyObject
*resultobj
= 0;
34593 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34594 wxTreeItemId
*arg2
= 0 ;
34600 PyObject
* obj0
= 0 ;
34601 PyObject
* obj1
= 0 ;
34602 char * kwnames
[] = {
34603 (char *) "self",(char *) "item", NULL
34606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34608 if (!SWIG_IsOK(res1
)) {
34609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34611 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34612 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34613 if (!SWIG_IsOK(res2
)) {
34614 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34617 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34619 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34622 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
34623 wxPyEndAllowThreads(__tstate
);
34624 if (PyErr_Occurred()) SWIG_fail
;
34626 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34633 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34634 PyObject
*resultobj
= 0;
34635 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34636 wxTreeItemId
*arg2
= 0 ;
34642 PyObject
* obj0
= 0 ;
34643 PyObject
* obj1
= 0 ;
34644 char * kwnames
[] = {
34645 (char *) "self",(char *) "item", NULL
34648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34650 if (!SWIG_IsOK(res1
)) {
34651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34653 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34654 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34655 if (!SWIG_IsOK(res2
)) {
34656 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34659 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34661 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34664 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
34665 wxPyEndAllowThreads(__tstate
);
34666 if (PyErr_Occurred()) SWIG_fail
;
34668 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34675 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34676 PyObject
*resultobj
= 0;
34677 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34678 wxTreeItemId
*arg2
= 0 ;
34684 PyObject
* obj0
= 0 ;
34685 PyObject
* obj1
= 0 ;
34686 char * kwnames
[] = {
34687 (char *) "self",(char *) "item", NULL
34690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34692 if (!SWIG_IsOK(res1
)) {
34693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34695 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34696 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34697 if (!SWIG_IsOK(res2
)) {
34698 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34701 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34703 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34706 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
34707 wxPyEndAllowThreads(__tstate
);
34708 if (PyErr_Occurred()) SWIG_fail
;
34710 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
34717 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34718 PyObject
*resultobj
= 0;
34719 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34720 wxTreeItemId
*arg2
= 0 ;
34721 wxString
*arg3
= 0 ;
34726 bool temp3
= false ;
34727 PyObject
* obj0
= 0 ;
34728 PyObject
* obj1
= 0 ;
34729 PyObject
* obj2
= 0 ;
34730 char * kwnames
[] = {
34731 (char *) "self",(char *) "item",(char *) "text", NULL
34734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34736 if (!SWIG_IsOK(res1
)) {
34737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34739 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34740 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34741 if (!SWIG_IsOK(res2
)) {
34742 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34745 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34747 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34749 arg3
= wxString_in_helper(obj2
);
34750 if (arg3
== NULL
) SWIG_fail
;
34754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34755 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
34756 wxPyEndAllowThreads(__tstate
);
34757 if (PyErr_Occurred()) SWIG_fail
;
34759 resultobj
= SWIG_Py_Void();
34774 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34775 PyObject
*resultobj
= 0;
34776 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34777 wxTreeItemId
*arg2
= 0 ;
34779 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34788 PyObject
* obj0
= 0 ;
34789 PyObject
* obj1
= 0 ;
34790 PyObject
* obj2
= 0 ;
34791 PyObject
* obj3
= 0 ;
34792 char * kwnames
[] = {
34793 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34798 if (!SWIG_IsOK(res1
)) {
34799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34801 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34802 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34803 if (!SWIG_IsOK(res2
)) {
34804 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34807 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34809 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34810 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34811 if (!SWIG_IsOK(ecode3
)) {
34812 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34814 arg3
= static_cast< int >(val3
);
34816 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34817 if (!SWIG_IsOK(ecode4
)) {
34818 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34820 arg4
= static_cast< wxTreeItemIcon
>(val4
);
34823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34824 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
34825 wxPyEndAllowThreads(__tstate
);
34826 if (PyErr_Occurred()) SWIG_fail
;
34828 resultobj
= SWIG_Py_Void();
34835 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34836 PyObject
*resultobj
= 0;
34837 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34838 wxTreeItemId
*arg2
= 0 ;
34839 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
34845 PyObject
* obj0
= 0 ;
34846 PyObject
* obj1
= 0 ;
34847 PyObject
* obj2
= 0 ;
34848 char * kwnames
[] = {
34849 (char *) "self",(char *) "item",(char *) "data", NULL
34852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34854 if (!SWIG_IsOK(res1
)) {
34855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34857 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34858 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34859 if (!SWIG_IsOK(res2
)) {
34860 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34863 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34865 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34866 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
34867 if (!SWIG_IsOK(res3
)) {
34868 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34872 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34873 wxPyEndAllowThreads(__tstate
);
34874 if (PyErr_Occurred()) SWIG_fail
;
34876 resultobj
= SWIG_Py_Void();
34883 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34884 PyObject
*resultobj
= 0;
34885 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34886 wxTreeItemId
*arg2
= 0 ;
34887 PyObject
*arg3
= (PyObject
*) 0 ;
34892 PyObject
* obj0
= 0 ;
34893 PyObject
* obj1
= 0 ;
34894 PyObject
* obj2
= 0 ;
34895 char * kwnames
[] = {
34896 (char *) "self",(char *) "item",(char *) "obj", NULL
34899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34901 if (!SWIG_IsOK(res1
)) {
34902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34904 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34905 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34906 if (!SWIG_IsOK(res2
)) {
34907 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34910 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34912 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34916 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34917 wxPyEndAllowThreads(__tstate
);
34918 if (PyErr_Occurred()) SWIG_fail
;
34920 resultobj
= SWIG_Py_Void();
34927 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34928 PyObject
*resultobj
= 0;
34929 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34930 wxTreeItemId
*arg2
= 0 ;
34931 bool arg3
= (bool) true ;
34938 PyObject
* obj0
= 0 ;
34939 PyObject
* obj1
= 0 ;
34940 PyObject
* obj2
= 0 ;
34941 char * kwnames
[] = {
34942 (char *) "self",(char *) "item",(char *) "has", NULL
34945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",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_SetItemHasChildren" "', 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_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34956 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34958 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34960 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34961 if (!SWIG_IsOK(ecode3
)) {
34962 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
34964 arg3
= static_cast< bool >(val3
);
34967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34968 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
34969 wxPyEndAllowThreads(__tstate
);
34970 if (PyErr_Occurred()) SWIG_fail
;
34972 resultobj
= SWIG_Py_Void();
34979 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34980 PyObject
*resultobj
= 0;
34981 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34982 wxTreeItemId
*arg2
= 0 ;
34983 bool arg3
= (bool) true ;
34990 PyObject
* obj0
= 0 ;
34991 PyObject
* obj1
= 0 ;
34992 PyObject
* obj2
= 0 ;
34993 char * kwnames
[] = {
34994 (char *) "self",(char *) "item",(char *) "bold", NULL
34997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34999 if (!SWIG_IsOK(res1
)) {
35000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35002 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35003 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35004 if (!SWIG_IsOK(res2
)) {
35005 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35008 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35010 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35012 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35013 if (!SWIG_IsOK(ecode3
)) {
35014 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
35016 arg3
= static_cast< bool >(val3
);
35019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35020 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
35021 wxPyEndAllowThreads(__tstate
);
35022 if (PyErr_Occurred()) SWIG_fail
;
35024 resultobj
= SWIG_Py_Void();
35031 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35032 PyObject
*resultobj
= 0;
35033 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35034 wxTreeItemId
*arg2
= 0 ;
35035 bool arg3
= (bool) true ;
35042 PyObject
* obj0
= 0 ;
35043 PyObject
* obj1
= 0 ;
35044 PyObject
* obj2
= 0 ;
35045 char * kwnames
[] = {
35046 (char *) "self",(char *) "item",(char *) "highlight", NULL
35049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35051 if (!SWIG_IsOK(res1
)) {
35052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35054 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35055 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35056 if (!SWIG_IsOK(res2
)) {
35057 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35060 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35062 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35064 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35065 if (!SWIG_IsOK(ecode3
)) {
35066 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
35068 arg3
= static_cast< bool >(val3
);
35071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35072 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
35073 wxPyEndAllowThreads(__tstate
);
35074 if (PyErr_Occurred()) SWIG_fail
;
35076 resultobj
= SWIG_Py_Void();
35083 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35084 PyObject
*resultobj
= 0;
35085 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35086 wxTreeItemId
*arg2
= 0 ;
35087 wxColour
*arg3
= 0 ;
35093 PyObject
* obj0
= 0 ;
35094 PyObject
* obj1
= 0 ;
35095 PyObject
* obj2
= 0 ;
35096 char * kwnames
[] = {
35097 (char *) "self",(char *) "item",(char *) "col", NULL
35100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35102 if (!SWIG_IsOK(res1
)) {
35103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35105 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35106 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35107 if (!SWIG_IsOK(res2
)) {
35108 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35111 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35113 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35116 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35120 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35121 wxPyEndAllowThreads(__tstate
);
35122 if (PyErr_Occurred()) SWIG_fail
;
35124 resultobj
= SWIG_Py_Void();
35131 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35132 PyObject
*resultobj
= 0;
35133 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35134 wxTreeItemId
*arg2
= 0 ;
35135 wxColour
*arg3
= 0 ;
35141 PyObject
* obj0
= 0 ;
35142 PyObject
* obj1
= 0 ;
35143 PyObject
* obj2
= 0 ;
35144 char * kwnames
[] = {
35145 (char *) "self",(char *) "item",(char *) "col", NULL
35148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35150 if (!SWIG_IsOK(res1
)) {
35151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35153 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35154 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35155 if (!SWIG_IsOK(res2
)) {
35156 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35159 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35161 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35164 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35168 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35169 wxPyEndAllowThreads(__tstate
);
35170 if (PyErr_Occurred()) SWIG_fail
;
35172 resultobj
= SWIG_Py_Void();
35179 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35180 PyObject
*resultobj
= 0;
35181 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35182 wxTreeItemId
*arg2
= 0 ;
35190 PyObject
* obj0
= 0 ;
35191 PyObject
* obj1
= 0 ;
35192 PyObject
* obj2
= 0 ;
35193 char * kwnames
[] = {
35194 (char *) "self",(char *) "item",(char *) "font", NULL
35197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35199 if (!SWIG_IsOK(res1
)) {
35200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35202 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35203 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35204 if (!SWIG_IsOK(res2
)) {
35205 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35208 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35210 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35211 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
35212 if (!SWIG_IsOK(res3
)) {
35213 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35216 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35218 arg3
= reinterpret_cast< wxFont
* >(argp3
);
35220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35221 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
35222 wxPyEndAllowThreads(__tstate
);
35223 if (PyErr_Occurred()) SWIG_fail
;
35225 resultobj
= SWIG_Py_Void();
35232 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35233 PyObject
*resultobj
= 0;
35234 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35235 wxTreeItemId
*arg2
= 0 ;
35241 PyObject
* obj0
= 0 ;
35242 PyObject
* obj1
= 0 ;
35243 char * kwnames
[] = {
35244 (char *) "self",(char *) "item", NULL
35247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35249 if (!SWIG_IsOK(res1
)) {
35250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35252 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35253 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35254 if (!SWIG_IsOK(res2
)) {
35255 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35258 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35260 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35263 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
35264 wxPyEndAllowThreads(__tstate
);
35265 if (PyErr_Occurred()) SWIG_fail
;
35268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35276 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35277 PyObject
*resultobj
= 0;
35278 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35279 wxTreeItemId
*arg2
= 0 ;
35285 PyObject
* obj0
= 0 ;
35286 PyObject
* obj1
= 0 ;
35287 char * kwnames
[] = {
35288 (char *) "self",(char *) "item", NULL
35291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35293 if (!SWIG_IsOK(res1
)) {
35294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35296 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35297 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35298 if (!SWIG_IsOK(res2
)) {
35299 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35302 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35304 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35307 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
35308 wxPyEndAllowThreads(__tstate
);
35309 if (PyErr_Occurred()) SWIG_fail
;
35312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35320 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35321 PyObject
*resultobj
= 0;
35322 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35323 wxTreeItemId
*arg2
= 0 ;
35329 PyObject
* obj0
= 0 ;
35330 PyObject
* obj1
= 0 ;
35331 char * kwnames
[] = {
35332 (char *) "self",(char *) "item", NULL
35335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35337 if (!SWIG_IsOK(res1
)) {
35338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35340 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35341 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35342 if (!SWIG_IsOK(res2
)) {
35343 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35346 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35348 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35351 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
35352 wxPyEndAllowThreads(__tstate
);
35353 if (PyErr_Occurred()) SWIG_fail
;
35356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35364 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35365 PyObject
*resultobj
= 0;
35366 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35367 wxTreeItemId
*arg2
= 0 ;
35373 PyObject
* obj0
= 0 ;
35374 PyObject
* obj1
= 0 ;
35375 char * kwnames
[] = {
35376 (char *) "self",(char *) "item", NULL
35379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35381 if (!SWIG_IsOK(res1
)) {
35382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35384 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35385 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35386 if (!SWIG_IsOK(res2
)) {
35387 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35390 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35392 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35395 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
35396 wxPyEndAllowThreads(__tstate
);
35397 if (PyErr_Occurred()) SWIG_fail
;
35400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35408 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35409 PyObject
*resultobj
= 0;
35410 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35411 wxTreeItemId
*arg2
= 0 ;
35417 PyObject
* obj0
= 0 ;
35418 PyObject
* obj1
= 0 ;
35419 char * kwnames
[] = {
35420 (char *) "self",(char *) "item", NULL
35423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35425 if (!SWIG_IsOK(res1
)) {
35426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35428 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35429 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35430 if (!SWIG_IsOK(res2
)) {
35431 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35434 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35436 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35439 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
35440 wxPyEndAllowThreads(__tstate
);
35441 if (PyErr_Occurred()) SWIG_fail
;
35444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35452 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35453 PyObject
*resultobj
= 0;
35454 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35455 wxTreeItemId
*arg2
= 0 ;
35456 bool arg3
= (bool) true ;
35464 PyObject
* obj0
= 0 ;
35465 PyObject
* obj1
= 0 ;
35466 PyObject
* obj2
= 0 ;
35467 char * kwnames
[] = {
35468 (char *) "self",(char *) "item",(char *) "recursively", NULL
35471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35473 if (!SWIG_IsOK(res1
)) {
35474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35476 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35477 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35478 if (!SWIG_IsOK(res2
)) {
35479 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35482 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35484 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35486 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35487 if (!SWIG_IsOK(ecode3
)) {
35488 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35490 arg3
= static_cast< bool >(val3
);
35493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35494 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
35495 wxPyEndAllowThreads(__tstate
);
35496 if (PyErr_Occurred()) SWIG_fail
;
35498 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35505 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35506 PyObject
*resultobj
= 0;
35507 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35508 wxTreeItemId result
;
35511 PyObject
*swig_obj
[1] ;
35513 if (!args
) SWIG_fail
;
35514 swig_obj
[0] = args
;
35515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35516 if (!SWIG_IsOK(res1
)) {
35517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35519 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35522 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
35523 wxPyEndAllowThreads(__tstate
);
35524 if (PyErr_Occurred()) SWIG_fail
;
35526 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35533 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35534 PyObject
*resultobj
= 0;
35535 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35536 wxTreeItemId result
;
35539 PyObject
*swig_obj
[1] ;
35541 if (!args
) SWIG_fail
;
35542 swig_obj
[0] = args
;
35543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35544 if (!SWIG_IsOK(res1
)) {
35545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35547 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35550 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
35551 wxPyEndAllowThreads(__tstate
);
35552 if (PyErr_Occurred()) SWIG_fail
;
35554 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35561 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35562 PyObject
*resultobj
= 0;
35563 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35564 PyObject
*result
= 0 ;
35567 PyObject
*swig_obj
[1] ;
35569 if (!args
) SWIG_fail
;
35570 swig_obj
[0] = args
;
35571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35572 if (!SWIG_IsOK(res1
)) {
35573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35575 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35578 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
35579 wxPyEndAllowThreads(__tstate
);
35580 if (PyErr_Occurred()) SWIG_fail
;
35582 resultobj
= result
;
35589 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35590 PyObject
*resultobj
= 0;
35591 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35592 wxTreeItemId
*arg2
= 0 ;
35593 wxTreeItemId result
;
35598 PyObject
* obj0
= 0 ;
35599 PyObject
* obj1
= 0 ;
35600 char * kwnames
[] = {
35601 (char *) "self",(char *) "item", NULL
35604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35606 if (!SWIG_IsOK(res1
)) {
35607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35609 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35610 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35611 if (!SWIG_IsOK(res2
)) {
35612 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35615 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35617 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35620 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
35621 wxPyEndAllowThreads(__tstate
);
35622 if (PyErr_Occurred()) SWIG_fail
;
35624 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35631 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35632 PyObject
*resultobj
= 0;
35633 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35634 wxTreeItemId
*arg2
= 0 ;
35635 PyObject
*result
= 0 ;
35640 PyObject
* obj0
= 0 ;
35641 PyObject
* obj1
= 0 ;
35642 char * kwnames
[] = {
35643 (char *) "self",(char *) "item", NULL
35646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35648 if (!SWIG_IsOK(res1
)) {
35649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35651 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35652 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35653 if (!SWIG_IsOK(res2
)) {
35654 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35657 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35659 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35662 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
35663 wxPyEndAllowThreads(__tstate
);
35664 if (PyErr_Occurred()) SWIG_fail
;
35666 resultobj
= result
;
35673 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35674 PyObject
*resultobj
= 0;
35675 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35676 wxTreeItemId
*arg2
= 0 ;
35677 void *arg3
= (void *) 0 ;
35678 PyObject
*result
= 0 ;
35684 PyObject
* obj0
= 0 ;
35685 PyObject
* obj1
= 0 ;
35686 PyObject
* obj2
= 0 ;
35687 char * kwnames
[] = {
35688 (char *) "self",(char *) "item",(char *) "cookie", NULL
35691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35693 if (!SWIG_IsOK(res1
)) {
35694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35696 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35697 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35698 if (!SWIG_IsOK(res2
)) {
35699 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35702 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35704 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35705 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
35706 if (!SWIG_IsOK(res3
)) {
35707 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35711 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35712 wxPyEndAllowThreads(__tstate
);
35713 if (PyErr_Occurred()) SWIG_fail
;
35715 resultobj
= result
;
35722 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35723 PyObject
*resultobj
= 0;
35724 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35725 wxTreeItemId
*arg2
= 0 ;
35726 wxTreeItemId result
;
35731 PyObject
* obj0
= 0 ;
35732 PyObject
* obj1
= 0 ;
35733 char * kwnames
[] = {
35734 (char *) "self",(char *) "item", NULL
35737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35739 if (!SWIG_IsOK(res1
)) {
35740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35742 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35743 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35744 if (!SWIG_IsOK(res2
)) {
35745 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35748 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35750 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35753 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
35754 wxPyEndAllowThreads(__tstate
);
35755 if (PyErr_Occurred()) SWIG_fail
;
35757 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35764 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35765 PyObject
*resultobj
= 0;
35766 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35767 wxTreeItemId
*arg2
= 0 ;
35768 wxTreeItemId result
;
35773 PyObject
* obj0
= 0 ;
35774 PyObject
* obj1
= 0 ;
35775 char * kwnames
[] = {
35776 (char *) "self",(char *) "item", NULL
35779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35781 if (!SWIG_IsOK(res1
)) {
35782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35784 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35785 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35786 if (!SWIG_IsOK(res2
)) {
35787 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35790 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35792 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35795 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
35796 wxPyEndAllowThreads(__tstate
);
35797 if (PyErr_Occurred()) SWIG_fail
;
35799 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35806 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35807 PyObject
*resultobj
= 0;
35808 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35809 wxTreeItemId
*arg2
= 0 ;
35810 wxTreeItemId result
;
35815 PyObject
* obj0
= 0 ;
35816 PyObject
* obj1
= 0 ;
35817 char * kwnames
[] = {
35818 (char *) "self",(char *) "item", NULL
35821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35823 if (!SWIG_IsOK(res1
)) {
35824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35826 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35827 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35828 if (!SWIG_IsOK(res2
)) {
35829 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35832 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35834 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35837 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
35838 wxPyEndAllowThreads(__tstate
);
35839 if (PyErr_Occurred()) SWIG_fail
;
35841 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35848 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35849 PyObject
*resultobj
= 0;
35850 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35851 wxTreeItemId result
;
35854 PyObject
*swig_obj
[1] ;
35856 if (!args
) SWIG_fail
;
35857 swig_obj
[0] = args
;
35858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35859 if (!SWIG_IsOK(res1
)) {
35860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35862 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35865 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
35866 wxPyEndAllowThreads(__tstate
);
35867 if (PyErr_Occurred()) SWIG_fail
;
35869 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35876 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35877 PyObject
*resultobj
= 0;
35878 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35879 wxTreeItemId
*arg2
= 0 ;
35880 wxTreeItemId result
;
35885 PyObject
* obj0
= 0 ;
35886 PyObject
* obj1
= 0 ;
35887 char * kwnames
[] = {
35888 (char *) "self",(char *) "item", NULL
35891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35893 if (!SWIG_IsOK(res1
)) {
35894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35896 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35897 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35898 if (!SWIG_IsOK(res2
)) {
35899 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35902 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35904 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35907 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
35908 wxPyEndAllowThreads(__tstate
);
35909 if (PyErr_Occurred()) SWIG_fail
;
35911 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35918 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35919 PyObject
*resultobj
= 0;
35920 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35921 wxTreeItemId
*arg2
= 0 ;
35922 wxTreeItemId result
;
35927 PyObject
* obj0
= 0 ;
35928 PyObject
* obj1
= 0 ;
35929 char * kwnames
[] = {
35930 (char *) "self",(char *) "item", NULL
35933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35935 if (!SWIG_IsOK(res1
)) {
35936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35938 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35939 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35940 if (!SWIG_IsOK(res2
)) {
35941 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35944 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35946 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35949 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
35950 wxPyEndAllowThreads(__tstate
);
35951 if (PyErr_Occurred()) SWIG_fail
;
35953 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35960 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35961 PyObject
*resultobj
= 0;
35962 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35963 wxString
*arg2
= 0 ;
35964 int arg3
= (int) -1 ;
35965 int arg4
= (int) -1 ;
35966 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
35967 wxTreeItemId result
;
35970 bool temp2
= false ;
35976 PyObject
* obj0
= 0 ;
35977 PyObject
* obj1
= 0 ;
35978 PyObject
* obj2
= 0 ;
35979 PyObject
* obj3
= 0 ;
35980 PyObject
* obj4
= 0 ;
35981 char * kwnames
[] = {
35982 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35987 if (!SWIG_IsOK(res1
)) {
35988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35990 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35992 arg2
= wxString_in_helper(obj1
);
35993 if (arg2
== NULL
) SWIG_fail
;
35997 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35998 if (!SWIG_IsOK(ecode3
)) {
35999 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
36001 arg3
= static_cast< int >(val3
);
36004 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36005 if (!SWIG_IsOK(ecode4
)) {
36006 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
36008 arg4
= static_cast< int >(val4
);
36011 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36012 if (!SWIG_IsOK(res5
)) {
36013 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
36017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36018 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
36019 wxPyEndAllowThreads(__tstate
);
36020 if (PyErr_Occurred()) SWIG_fail
;
36022 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36037 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36038 PyObject
*resultobj
= 0;
36039 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36040 wxTreeItemId
*arg2
= 0 ;
36041 wxString
*arg3
= 0 ;
36042 int arg4
= (int) -1 ;
36043 int arg5
= (int) -1 ;
36044 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36045 wxTreeItemId result
;
36050 bool temp3
= false ;
36056 PyObject
* obj0
= 0 ;
36057 PyObject
* obj1
= 0 ;
36058 PyObject
* obj2
= 0 ;
36059 PyObject
* obj3
= 0 ;
36060 PyObject
* obj4
= 0 ;
36061 PyObject
* obj5
= 0 ;
36062 char * kwnames
[] = {
36063 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36068 if (!SWIG_IsOK(res1
)) {
36069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36071 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36072 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36073 if (!SWIG_IsOK(res2
)) {
36074 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36077 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36079 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36081 arg3
= wxString_in_helper(obj2
);
36082 if (arg3
== NULL
) SWIG_fail
;
36086 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36087 if (!SWIG_IsOK(ecode4
)) {
36088 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
36090 arg4
= static_cast< int >(val4
);
36093 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36094 if (!SWIG_IsOK(ecode5
)) {
36095 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
36097 arg5
= static_cast< int >(val5
);
36100 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36101 if (!SWIG_IsOK(res6
)) {
36102 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36107 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36108 wxPyEndAllowThreads(__tstate
);
36109 if (PyErr_Occurred()) SWIG_fail
;
36111 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36126 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36127 PyObject
*resultobj
= 0;
36128 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36129 wxTreeItemId
*arg2
= 0 ;
36130 wxTreeItemId
*arg3
= 0 ;
36131 wxString
*arg4
= 0 ;
36132 int arg5
= (int) -1 ;
36133 int arg6
= (int) -1 ;
36134 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36135 wxTreeItemId result
;
36142 bool temp4
= false ;
36148 PyObject
* obj0
= 0 ;
36149 PyObject
* obj1
= 0 ;
36150 PyObject
* obj2
= 0 ;
36151 PyObject
* obj3
= 0 ;
36152 PyObject
* obj4
= 0 ;
36153 PyObject
* obj5
= 0 ;
36154 PyObject
* obj6
= 0 ;
36155 char * kwnames
[] = {
36156 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36161 if (!SWIG_IsOK(res1
)) {
36162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36164 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36165 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36166 if (!SWIG_IsOK(res2
)) {
36167 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36170 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36172 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36173 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36174 if (!SWIG_IsOK(res3
)) {
36175 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36178 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36180 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
36182 arg4
= wxString_in_helper(obj3
);
36183 if (arg4
== NULL
) SWIG_fail
;
36187 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36188 if (!SWIG_IsOK(ecode5
)) {
36189 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
36191 arg5
= static_cast< int >(val5
);
36194 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36195 if (!SWIG_IsOK(ecode6
)) {
36196 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
36198 arg6
= static_cast< int >(val6
);
36201 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36202 if (!SWIG_IsOK(res7
)) {
36203 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36208 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36209 wxPyEndAllowThreads(__tstate
);
36210 if (PyErr_Occurred()) SWIG_fail
;
36212 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36227 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36228 PyObject
*resultobj
= 0;
36229 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36230 wxTreeItemId
*arg2
= 0 ;
36232 wxString
*arg4
= 0 ;
36233 int arg5
= (int) -1 ;
36234 int arg6
= (int) -1 ;
36235 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36236 wxTreeItemId result
;
36243 bool temp4
= false ;
36249 PyObject
* obj0
= 0 ;
36250 PyObject
* obj1
= 0 ;
36251 PyObject
* obj2
= 0 ;
36252 PyObject
* obj3
= 0 ;
36253 PyObject
* obj4
= 0 ;
36254 PyObject
* obj5
= 0 ;
36255 PyObject
* obj6
= 0 ;
36256 char * kwnames
[] = {
36257 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36262 if (!SWIG_IsOK(res1
)) {
36263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36265 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36266 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36267 if (!SWIG_IsOK(res2
)) {
36268 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36271 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36273 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36274 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
36275 if (!SWIG_IsOK(ecode3
)) {
36276 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
36278 arg3
= static_cast< size_t >(val3
);
36280 arg4
= wxString_in_helper(obj3
);
36281 if (arg4
== NULL
) SWIG_fail
;
36285 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36286 if (!SWIG_IsOK(ecode5
)) {
36287 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36289 arg5
= static_cast< int >(val5
);
36292 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36293 if (!SWIG_IsOK(ecode6
)) {
36294 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36296 arg6
= static_cast< int >(val6
);
36299 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36300 if (!SWIG_IsOK(res7
)) {
36301 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36306 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36307 wxPyEndAllowThreads(__tstate
);
36308 if (PyErr_Occurred()) SWIG_fail
;
36310 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36325 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36326 PyObject
*resultobj
= 0;
36327 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36328 wxTreeItemId
*arg2
= 0 ;
36329 wxString
*arg3
= 0 ;
36330 int arg4
= (int) -1 ;
36331 int arg5
= (int) -1 ;
36332 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36333 wxTreeItemId result
;
36338 bool temp3
= false ;
36344 PyObject
* obj0
= 0 ;
36345 PyObject
* obj1
= 0 ;
36346 PyObject
* obj2
= 0 ;
36347 PyObject
* obj3
= 0 ;
36348 PyObject
* obj4
= 0 ;
36349 PyObject
* obj5
= 0 ;
36350 char * kwnames
[] = {
36351 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36356 if (!SWIG_IsOK(res1
)) {
36357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36359 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36360 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36361 if (!SWIG_IsOK(res2
)) {
36362 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36365 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36367 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36369 arg3
= wxString_in_helper(obj2
);
36370 if (arg3
== NULL
) SWIG_fail
;
36374 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36375 if (!SWIG_IsOK(ecode4
)) {
36376 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36378 arg4
= static_cast< int >(val4
);
36381 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36382 if (!SWIG_IsOK(ecode5
)) {
36383 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36385 arg5
= static_cast< int >(val5
);
36388 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36389 if (!SWIG_IsOK(res6
)) {
36390 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36395 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36396 wxPyEndAllowThreads(__tstate
);
36397 if (PyErr_Occurred()) SWIG_fail
;
36399 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36414 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36415 PyObject
*resultobj
= 0;
36416 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36417 wxTreeItemId
*arg2
= 0 ;
36422 PyObject
* obj0
= 0 ;
36423 PyObject
* obj1
= 0 ;
36424 char * kwnames
[] = {
36425 (char *) "self",(char *) "item", NULL
36428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36430 if (!SWIG_IsOK(res1
)) {
36431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36433 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36434 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36435 if (!SWIG_IsOK(res2
)) {
36436 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36439 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36441 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36444 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
36445 wxPyEndAllowThreads(__tstate
);
36446 if (PyErr_Occurred()) SWIG_fail
;
36448 resultobj
= SWIG_Py_Void();
36455 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36456 PyObject
*resultobj
= 0;
36457 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36458 wxTreeItemId
*arg2
= 0 ;
36463 PyObject
* obj0
= 0 ;
36464 PyObject
* obj1
= 0 ;
36465 char * kwnames
[] = {
36466 (char *) "self",(char *) "item", NULL
36469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36471 if (!SWIG_IsOK(res1
)) {
36472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36474 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36475 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36476 if (!SWIG_IsOK(res2
)) {
36477 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36480 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36482 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36485 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
36486 wxPyEndAllowThreads(__tstate
);
36487 if (PyErr_Occurred()) SWIG_fail
;
36489 resultobj
= SWIG_Py_Void();
36496 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36497 PyObject
*resultobj
= 0;
36498 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36501 PyObject
*swig_obj
[1] ;
36503 if (!args
) SWIG_fail
;
36504 swig_obj
[0] = args
;
36505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36506 if (!SWIG_IsOK(res1
)) {
36507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36509 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36512 (arg1
)->DeleteAllItems();
36513 wxPyEndAllowThreads(__tstate
);
36514 if (PyErr_Occurred()) SWIG_fail
;
36516 resultobj
= SWIG_Py_Void();
36523 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36524 PyObject
*resultobj
= 0;
36525 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36526 wxTreeItemId
*arg2
= 0 ;
36531 PyObject
* obj0
= 0 ;
36532 PyObject
* obj1
= 0 ;
36533 char * kwnames
[] = {
36534 (char *) "self",(char *) "item", NULL
36537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36539 if (!SWIG_IsOK(res1
)) {
36540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36542 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36543 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36544 if (!SWIG_IsOK(res2
)) {
36545 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36548 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36550 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36553 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
36554 wxPyEndAllowThreads(__tstate
);
36555 if (PyErr_Occurred()) SWIG_fail
;
36557 resultobj
= SWIG_Py_Void();
36564 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAllChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36565 PyObject
*resultobj
= 0;
36566 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36567 wxTreeItemId
*arg2
= 0 ;
36572 PyObject
* obj0
= 0 ;
36573 PyObject
* obj1
= 0 ;
36574 char * kwnames
[] = {
36575 (char *) "self",(char *) "item", NULL
36578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ExpandAllChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36580 if (!SWIG_IsOK(res1
)) {
36581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36583 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36584 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36585 if (!SWIG_IsOK(res2
)) {
36586 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36589 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36591 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36594 (arg1
)->ExpandAllChildren((wxTreeItemId
const &)*arg2
);
36595 wxPyEndAllowThreads(__tstate
);
36596 if (PyErr_Occurred()) SWIG_fail
;
36598 resultobj
= SWIG_Py_Void();
36605 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36606 PyObject
*resultobj
= 0;
36607 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36610 PyObject
*swig_obj
[1] ;
36612 if (!args
) SWIG_fail
;
36613 swig_obj
[0] = args
;
36614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36615 if (!SWIG_IsOK(res1
)) {
36616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36618 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36621 (arg1
)->ExpandAll();
36622 wxPyEndAllowThreads(__tstate
);
36623 if (PyErr_Occurred()) SWIG_fail
;
36625 resultobj
= SWIG_Py_Void();
36632 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36633 PyObject
*resultobj
= 0;
36634 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36635 wxTreeItemId
*arg2
= 0 ;
36640 PyObject
* obj0
= 0 ;
36641 PyObject
* obj1
= 0 ;
36642 char * kwnames
[] = {
36643 (char *) "self",(char *) "item", NULL
36646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36648 if (!SWIG_IsOK(res1
)) {
36649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36651 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36652 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36653 if (!SWIG_IsOK(res2
)) {
36654 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36657 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36659 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36662 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
36663 wxPyEndAllowThreads(__tstate
);
36664 if (PyErr_Occurred()) SWIG_fail
;
36666 resultobj
= SWIG_Py_Void();
36673 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36674 PyObject
*resultobj
= 0;
36675 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36676 wxTreeItemId
*arg2
= 0 ;
36681 PyObject
* obj0
= 0 ;
36682 PyObject
* obj1
= 0 ;
36683 char * kwnames
[] = {
36684 (char *) "self",(char *) "item", NULL
36687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36689 if (!SWIG_IsOK(res1
)) {
36690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36692 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36693 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36694 if (!SWIG_IsOK(res2
)) {
36695 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36698 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36700 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36703 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
36704 wxPyEndAllowThreads(__tstate
);
36705 if (PyErr_Occurred()) SWIG_fail
;
36707 resultobj
= SWIG_Py_Void();
36714 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36715 PyObject
*resultobj
= 0;
36716 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36717 wxTreeItemId
*arg2
= 0 ;
36722 PyObject
* obj0
= 0 ;
36723 PyObject
* obj1
= 0 ;
36724 char * kwnames
[] = {
36725 (char *) "self",(char *) "item", NULL
36728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36730 if (!SWIG_IsOK(res1
)) {
36731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36733 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36734 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36735 if (!SWIG_IsOK(res2
)) {
36736 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36739 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36741 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36744 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
36745 wxPyEndAllowThreads(__tstate
);
36746 if (PyErr_Occurred()) SWIG_fail
;
36748 resultobj
= SWIG_Py_Void();
36755 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36756 PyObject
*resultobj
= 0;
36757 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36760 PyObject
*swig_obj
[1] ;
36762 if (!args
) SWIG_fail
;
36763 swig_obj
[0] = args
;
36764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36765 if (!SWIG_IsOK(res1
)) {
36766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36768 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36771 (arg1
)->Unselect();
36772 wxPyEndAllowThreads(__tstate
);
36773 if (PyErr_Occurred()) SWIG_fail
;
36775 resultobj
= SWIG_Py_Void();
36782 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36783 PyObject
*resultobj
= 0;
36784 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36785 wxTreeItemId
*arg2
= 0 ;
36790 PyObject
* obj0
= 0 ;
36791 PyObject
* obj1
= 0 ;
36792 char * kwnames
[] = {
36793 (char *) "self",(char *) "item", NULL
36796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36798 if (!SWIG_IsOK(res1
)) {
36799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36801 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36802 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36803 if (!SWIG_IsOK(res2
)) {
36804 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36807 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36809 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36812 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
36813 wxPyEndAllowThreads(__tstate
);
36814 if (PyErr_Occurred()) SWIG_fail
;
36816 resultobj
= SWIG_Py_Void();
36823 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36824 PyObject
*resultobj
= 0;
36825 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36828 PyObject
*swig_obj
[1] ;
36830 if (!args
) SWIG_fail
;
36831 swig_obj
[0] = args
;
36832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36833 if (!SWIG_IsOK(res1
)) {
36834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36836 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36839 (arg1
)->UnselectAll();
36840 wxPyEndAllowThreads(__tstate
);
36841 if (PyErr_Occurred()) SWIG_fail
;
36843 resultobj
= SWIG_Py_Void();
36850 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36851 PyObject
*resultobj
= 0;
36852 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36853 wxTreeItemId
*arg2
= 0 ;
36854 bool arg3
= (bool) true ;
36861 PyObject
* obj0
= 0 ;
36862 PyObject
* obj1
= 0 ;
36863 PyObject
* obj2
= 0 ;
36864 char * kwnames
[] = {
36865 (char *) "self",(char *) "item",(char *) "select", NULL
36868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36870 if (!SWIG_IsOK(res1
)) {
36871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36873 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36874 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36875 if (!SWIG_IsOK(res2
)) {
36876 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36879 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36881 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36883 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36884 if (!SWIG_IsOK(ecode3
)) {
36885 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
36887 arg3
= static_cast< bool >(val3
);
36890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36891 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
36892 wxPyEndAllowThreads(__tstate
);
36893 if (PyErr_Occurred()) SWIG_fail
;
36895 resultobj
= SWIG_Py_Void();
36902 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36903 PyObject
*resultobj
= 0;
36904 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36905 wxTreeItemId
*arg2
= 0 ;
36910 PyObject
* obj0
= 0 ;
36911 PyObject
* obj1
= 0 ;
36912 char * kwnames
[] = {
36913 (char *) "self",(char *) "item", NULL
36916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36918 if (!SWIG_IsOK(res1
)) {
36919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36921 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36922 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36923 if (!SWIG_IsOK(res2
)) {
36924 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36927 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36929 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36932 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
36933 wxPyEndAllowThreads(__tstate
);
36934 if (PyErr_Occurred()) SWIG_fail
;
36936 resultobj
= SWIG_Py_Void();
36943 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36944 PyObject
*resultobj
= 0;
36945 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36946 wxTreeItemId
*arg2
= 0 ;
36951 PyObject
* obj0
= 0 ;
36952 PyObject
* obj1
= 0 ;
36953 char * kwnames
[] = {
36954 (char *) "self",(char *) "item", NULL
36957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36959 if (!SWIG_IsOK(res1
)) {
36960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36962 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36963 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36964 if (!SWIG_IsOK(res2
)) {
36965 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36968 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36970 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36973 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
36974 wxPyEndAllowThreads(__tstate
);
36975 if (PyErr_Occurred()) SWIG_fail
;
36977 resultobj
= SWIG_Py_Void();
36984 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36985 PyObject
*resultobj
= 0;
36986 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36987 wxTreeItemId
*arg2
= 0 ;
36992 PyObject
* obj0
= 0 ;
36993 PyObject
* obj1
= 0 ;
36994 char * kwnames
[] = {
36995 (char *) "self",(char *) "item", NULL
36998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37000 if (!SWIG_IsOK(res1
)) {
37001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37003 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37004 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37005 if (!SWIG_IsOK(res2
)) {
37006 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37009 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37011 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37014 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
37015 wxPyEndAllowThreads(__tstate
);
37016 if (PyErr_Occurred()) SWIG_fail
;
37018 resultobj
= SWIG_Py_Void();
37025 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37026 PyObject
*resultobj
= 0;
37027 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37028 wxTreeItemId
*arg2
= 0 ;
37033 PyObject
* obj0
= 0 ;
37034 PyObject
* obj1
= 0 ;
37035 char * kwnames
[] = {
37036 (char *) "self",(char *) "item", NULL
37039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37041 if (!SWIG_IsOK(res1
)) {
37042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37044 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37045 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37046 if (!SWIG_IsOK(res2
)) {
37047 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37050 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37052 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37055 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
37056 wxPyEndAllowThreads(__tstate
);
37057 if (PyErr_Occurred()) SWIG_fail
;
37059 resultobj
= SWIG_Py_Void();
37066 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37067 PyObject
*resultobj
= 0;
37068 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37069 wxTextCtrl
*result
= 0 ;
37072 PyObject
*swig_obj
[1] ;
37074 if (!args
) SWIG_fail
;
37075 swig_obj
[0] = args
;
37076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37077 if (!SWIG_IsOK(res1
)) {
37078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37080 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37083 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
37084 wxPyEndAllowThreads(__tstate
);
37085 if (PyErr_Occurred()) SWIG_fail
;
37088 resultobj
= wxPyMake_wxObject(result
, 0);
37096 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37097 PyObject
*resultobj
= 0;
37098 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37099 wxTreeItemId
*arg2
= 0 ;
37104 PyObject
* obj0
= 0 ;
37105 PyObject
* obj1
= 0 ;
37106 char * kwnames
[] = {
37107 (char *) "self",(char *) "item", NULL
37110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37112 if (!SWIG_IsOK(res1
)) {
37113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37115 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37116 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37117 if (!SWIG_IsOK(res2
)) {
37118 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37121 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37123 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37126 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
37127 wxPyEndAllowThreads(__tstate
);
37128 if (PyErr_Occurred()) SWIG_fail
;
37130 resultobj
= SWIG_Py_Void();
37137 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37138 PyObject
*resultobj
= 0;
37139 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37140 wxPoint
*arg2
= 0 ;
37142 wxTreeItemId result
;
37147 int res3
= SWIG_TMPOBJ
;
37148 PyObject
* obj0
= 0 ;
37149 PyObject
* obj1
= 0 ;
37150 char * kwnames
[] = {
37151 (char *) "self",(char *) "point", NULL
37155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37157 if (!SWIG_IsOK(res1
)) {
37158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37160 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37163 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37167 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
37168 wxPyEndAllowThreads(__tstate
);
37169 if (PyErr_Occurred()) SWIG_fail
;
37171 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37172 if (SWIG_IsTmpObj(res3
)) {
37173 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
37175 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
37176 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
37184 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37185 PyObject
*resultobj
= 0;
37186 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37187 wxTreeItemId
*arg2
= 0 ;
37188 bool arg3
= (bool) false ;
37189 PyObject
*result
= 0 ;
37196 PyObject
* obj0
= 0 ;
37197 PyObject
* obj1
= 0 ;
37198 PyObject
* obj2
= 0 ;
37199 char * kwnames
[] = {
37200 (char *) "self",(char *) "item",(char *) "textOnly", NULL
37203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37205 if (!SWIG_IsOK(res1
)) {
37206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37208 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37209 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37210 if (!SWIG_IsOK(res2
)) {
37211 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37214 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37216 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37218 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37219 if (!SWIG_IsOK(ecode3
)) {
37220 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
37222 arg3
= static_cast< bool >(val3
);
37225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37226 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
37227 wxPyEndAllowThreads(__tstate
);
37228 if (PyErr_Occurred()) SWIG_fail
;
37230 resultobj
= result
;
37237 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37238 PyObject
*resultobj
= 0;
37239 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37240 SwigValueWrapper
<wxVisualAttributes
> result
;
37243 PyObject
* obj0
= 0 ;
37244 char * kwnames
[] = {
37245 (char *) "variant", NULL
37248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
37250 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37251 if (!SWIG_IsOK(ecode1
)) {
37252 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
37254 arg1
= static_cast< wxWindowVariant
>(val1
);
37257 if (!wxPyCheckForApp()) SWIG_fail
;
37258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37259 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
37260 wxPyEndAllowThreads(__tstate
);
37261 if (PyErr_Occurred()) SWIG_fail
;
37263 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
37270 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37271 PyObject
*resultobj
= 0;
37272 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37278 PyObject
* obj0
= 0 ;
37279 PyObject
* obj1
= 0 ;
37280 char * kwnames
[] = {
37281 (char *) "self",(char *) "q", NULL
37284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37286 if (!SWIG_IsOK(res1
)) {
37287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37289 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37290 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37291 if (!SWIG_IsOK(ecode2
)) {
37292 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37294 arg2
= static_cast< bool >(val2
);
37296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37297 (arg1
)->SetQuickBestSize(arg2
);
37298 wxPyEndAllowThreads(__tstate
);
37299 if (PyErr_Occurred()) SWIG_fail
;
37301 resultobj
= SWIG_Py_Void();
37308 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37309 PyObject
*resultobj
= 0;
37310 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37314 PyObject
*swig_obj
[1] ;
37316 if (!args
) SWIG_fail
;
37317 swig_obj
[0] = args
;
37318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37319 if (!SWIG_IsOK(res1
)) {
37320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37322 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37325 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->GetQuickBestSize();
37326 wxPyEndAllowThreads(__tstate
);
37327 if (PyErr_Occurred()) SWIG_fail
;
37330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37338 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37340 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37341 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
37342 return SWIG_Py_Void();
37345 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37346 return SWIG_Python_InitShadowInstance(args
);
37349 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
37350 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
37355 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
37356 PyObject
*pyobj
= 0;
37360 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37362 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37369 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37370 PyObject
*resultobj
= 0;
37371 wxWindow
*arg1
= (wxWindow
*) 0 ;
37372 int arg2
= (int) (int)-1 ;
37373 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
37374 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
37375 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37376 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37377 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37378 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37379 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37380 wxString
const &arg7_defvalue
= wxPyEmptyString
;
37381 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37382 int arg8
= (int) 0 ;
37383 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
37384 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
37385 wxGenericDirCtrl
*result
= 0 ;
37390 bool temp3
= false ;
37395 bool temp7
= false ;
37398 bool temp9
= false ;
37399 PyObject
* obj0
= 0 ;
37400 PyObject
* obj1
= 0 ;
37401 PyObject
* obj2
= 0 ;
37402 PyObject
* obj3
= 0 ;
37403 PyObject
* obj4
= 0 ;
37404 PyObject
* obj5
= 0 ;
37405 PyObject
* obj6
= 0 ;
37406 PyObject
* obj7
= 0 ;
37407 PyObject
* obj8
= 0 ;
37408 char * kwnames
[] = {
37409 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
37413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37414 if (!SWIG_IsOK(res1
)) {
37415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37417 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37419 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37420 if (!SWIG_IsOK(ecode2
)) {
37421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37423 arg2
= static_cast< int >(val2
);
37427 arg3
= wxString_in_helper(obj2
);
37428 if (arg3
== NULL
) SWIG_fail
;
37435 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37441 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37445 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37446 if (!SWIG_IsOK(ecode6
)) {
37447 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37449 arg6
= static_cast< long >(val6
);
37453 arg7
= wxString_in_helper(obj6
);
37454 if (arg7
== NULL
) SWIG_fail
;
37459 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
37460 if (!SWIG_IsOK(ecode8
)) {
37461 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37463 arg8
= static_cast< int >(val8
);
37467 arg9
= wxString_in_helper(obj8
);
37468 if (arg9
== NULL
) SWIG_fail
;
37473 if (!wxPyCheckForApp()) SWIG_fail
;
37474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37475 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
37476 wxPyEndAllowThreads(__tstate
);
37477 if (PyErr_Occurred()) SWIG_fail
;
37479 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
37510 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37511 PyObject
*resultobj
= 0;
37512 wxGenericDirCtrl
*result
= 0 ;
37514 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
37516 if (!wxPyCheckForApp()) SWIG_fail
;
37517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37518 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
37519 wxPyEndAllowThreads(__tstate
);
37520 if (PyErr_Occurred()) SWIG_fail
;
37522 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
37529 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37530 PyObject
*resultobj
= 0;
37531 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37532 wxWindow
*arg2
= (wxWindow
*) 0 ;
37533 int arg3
= (int) (int)-1 ;
37534 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
37535 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
37536 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
37537 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
37538 wxSize
const &arg6_defvalue
= wxDefaultSize
;
37539 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
37540 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37541 wxString
const &arg8_defvalue
= wxPyEmptyString
;
37542 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37543 int arg9
= (int) 0 ;
37544 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
37545 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
37553 bool temp4
= false ;
37558 bool temp8
= false ;
37561 bool temp10
= false ;
37562 PyObject
* obj0
= 0 ;
37563 PyObject
* obj1
= 0 ;
37564 PyObject
* obj2
= 0 ;
37565 PyObject
* obj3
= 0 ;
37566 PyObject
* obj4
= 0 ;
37567 PyObject
* obj5
= 0 ;
37568 PyObject
* obj6
= 0 ;
37569 PyObject
* obj7
= 0 ;
37570 PyObject
* obj8
= 0 ;
37571 PyObject
* obj9
= 0 ;
37572 char * kwnames
[] = {
37573 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
37577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37578 if (!SWIG_IsOK(res1
)) {
37579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37581 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37582 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37583 if (!SWIG_IsOK(res2
)) {
37584 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37586 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37588 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37589 if (!SWIG_IsOK(ecode3
)) {
37590 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37592 arg3
= static_cast< int >(val3
);
37596 arg4
= wxString_in_helper(obj3
);
37597 if (arg4
== NULL
) SWIG_fail
;
37604 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
37610 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
37614 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
37615 if (!SWIG_IsOK(ecode7
)) {
37616 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37618 arg7
= static_cast< long >(val7
);
37622 arg8
= wxString_in_helper(obj7
);
37623 if (arg8
== NULL
) SWIG_fail
;
37628 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
37629 if (!SWIG_IsOK(ecode9
)) {
37630 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37632 arg9
= static_cast< int >(val9
);
37636 arg10
= wxString_in_helper(obj9
);
37637 if (arg10
== NULL
) SWIG_fail
;
37642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37643 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
37644 wxPyEndAllowThreads(__tstate
);
37645 if (PyErr_Occurred()) SWIG_fail
;
37648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37680 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37681 PyObject
*resultobj
= 0;
37682 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37683 wxString
*arg2
= 0 ;
37687 bool temp2
= false ;
37688 PyObject
* obj0
= 0 ;
37689 PyObject
* obj1
= 0 ;
37690 char * kwnames
[] = {
37691 (char *) "self",(char *) "path", NULL
37694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37696 if (!SWIG_IsOK(res1
)) {
37697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37699 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37701 arg2
= wxString_in_helper(obj1
);
37702 if (arg2
== NULL
) SWIG_fail
;
37706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37707 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
37708 wxPyEndAllowThreads(__tstate
);
37709 if (PyErr_Occurred()) SWIG_fail
;
37712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37728 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_CollapsePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37729 PyObject
*resultobj
= 0;
37730 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37731 wxString
*arg2
= 0 ;
37735 bool temp2
= false ;
37736 PyObject
* obj0
= 0 ;
37737 PyObject
* obj1
= 0 ;
37738 char * kwnames
[] = {
37739 (char *) "self",(char *) "path", NULL
37742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37744 if (!SWIG_IsOK(res1
)) {
37745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37747 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37749 arg2
= wxString_in_helper(obj1
);
37750 if (arg2
== NULL
) SWIG_fail
;
37754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37755 result
= (bool)(arg1
)->CollapsePath((wxString
const &)*arg2
);
37756 wxPyEndAllowThreads(__tstate
);
37757 if (PyErr_Occurred()) SWIG_fail
;
37760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37776 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37777 PyObject
*resultobj
= 0;
37778 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37782 PyObject
*swig_obj
[1] ;
37784 if (!args
) SWIG_fail
;
37785 swig_obj
[0] = args
;
37786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37787 if (!SWIG_IsOK(res1
)) {
37788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37790 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37793 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
37794 wxPyEndAllowThreads(__tstate
);
37795 if (PyErr_Occurred()) SWIG_fail
;
37799 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37801 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37810 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37811 PyObject
*resultobj
= 0;
37812 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37813 wxString
*arg2
= 0 ;
37816 bool temp2
= false ;
37817 PyObject
* obj0
= 0 ;
37818 PyObject
* obj1
= 0 ;
37819 char * kwnames
[] = {
37820 (char *) "self",(char *) "path", NULL
37823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37825 if (!SWIG_IsOK(res1
)) {
37826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37828 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37830 arg2
= wxString_in_helper(obj1
);
37831 if (arg2
== NULL
) SWIG_fail
;
37835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37836 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
37837 wxPyEndAllowThreads(__tstate
);
37838 if (PyErr_Occurred()) SWIG_fail
;
37840 resultobj
= SWIG_Py_Void();
37855 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37856 PyObject
*resultobj
= 0;
37857 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37861 PyObject
*swig_obj
[1] ;
37863 if (!args
) SWIG_fail
;
37864 swig_obj
[0] = args
;
37865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37866 if (!SWIG_IsOK(res1
)) {
37867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37869 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37872 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
37873 wxPyEndAllowThreads(__tstate
);
37874 if (PyErr_Occurred()) SWIG_fail
;
37878 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37880 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37889 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37890 PyObject
*resultobj
= 0;
37891 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37895 PyObject
*swig_obj
[1] ;
37897 if (!args
) SWIG_fail
;
37898 swig_obj
[0] = args
;
37899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37900 if (!SWIG_IsOK(res1
)) {
37901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37903 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37906 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
37907 wxPyEndAllowThreads(__tstate
);
37908 if (PyErr_Occurred()) SWIG_fail
;
37912 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37914 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37923 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37924 PyObject
*resultobj
= 0;
37925 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37926 wxString
*arg2
= 0 ;
37929 bool temp2
= false ;
37930 PyObject
* obj0
= 0 ;
37931 PyObject
* obj1
= 0 ;
37932 char * kwnames
[] = {
37933 (char *) "self",(char *) "path", NULL
37936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37938 if (!SWIG_IsOK(res1
)) {
37939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37941 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37943 arg2
= wxString_in_helper(obj1
);
37944 if (arg2
== NULL
) SWIG_fail
;
37948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37949 (arg1
)->SetPath((wxString
const &)*arg2
);
37950 wxPyEndAllowThreads(__tstate
);
37951 if (PyErr_Occurred()) SWIG_fail
;
37953 resultobj
= SWIG_Py_Void();
37968 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37969 PyObject
*resultobj
= 0;
37970 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37976 PyObject
* obj0
= 0 ;
37977 PyObject
* obj1
= 0 ;
37978 char * kwnames
[] = {
37979 (char *) "self",(char *) "show", NULL
37982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37984 if (!SWIG_IsOK(res1
)) {
37985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37987 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37988 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37989 if (!SWIG_IsOK(ecode2
)) {
37990 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
37992 arg2
= static_cast< bool >(val2
);
37994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37995 (arg1
)->ShowHidden(arg2
);
37996 wxPyEndAllowThreads(__tstate
);
37997 if (PyErr_Occurred()) SWIG_fail
;
37999 resultobj
= SWIG_Py_Void();
38006 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38007 PyObject
*resultobj
= 0;
38008 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38012 PyObject
*swig_obj
[1] ;
38014 if (!args
) SWIG_fail
;
38015 swig_obj
[0] = args
;
38016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38017 if (!SWIG_IsOK(res1
)) {
38018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38020 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38023 result
= (bool)(arg1
)->GetShowHidden();
38024 wxPyEndAllowThreads(__tstate
);
38025 if (PyErr_Occurred()) SWIG_fail
;
38028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38036 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38037 PyObject
*resultobj
= 0;
38038 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38042 PyObject
*swig_obj
[1] ;
38044 if (!args
) SWIG_fail
;
38045 swig_obj
[0] = args
;
38046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38047 if (!SWIG_IsOK(res1
)) {
38048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38050 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38053 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
38054 wxPyEndAllowThreads(__tstate
);
38055 if (PyErr_Occurred()) SWIG_fail
;
38059 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38061 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38070 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38071 PyObject
*resultobj
= 0;
38072 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38073 wxString
*arg2
= 0 ;
38076 bool temp2
= false ;
38077 PyObject
* obj0
= 0 ;
38078 PyObject
* obj1
= 0 ;
38079 char * kwnames
[] = {
38080 (char *) "self",(char *) "filter", NULL
38083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38085 if (!SWIG_IsOK(res1
)) {
38086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38088 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38090 arg2
= wxString_in_helper(obj1
);
38091 if (arg2
== NULL
) SWIG_fail
;
38095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38096 (arg1
)->SetFilter((wxString
const &)*arg2
);
38097 wxPyEndAllowThreads(__tstate
);
38098 if (PyErr_Occurred()) SWIG_fail
;
38100 resultobj
= SWIG_Py_Void();
38115 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38116 PyObject
*resultobj
= 0;
38117 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38121 PyObject
*swig_obj
[1] ;
38123 if (!args
) SWIG_fail
;
38124 swig_obj
[0] = args
;
38125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38126 if (!SWIG_IsOK(res1
)) {
38127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38129 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38132 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
38133 wxPyEndAllowThreads(__tstate
);
38134 if (PyErr_Occurred()) SWIG_fail
;
38136 resultobj
= SWIG_From_int(static_cast< int >(result
));
38143 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38144 PyObject
*resultobj
= 0;
38145 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38151 PyObject
* obj0
= 0 ;
38152 PyObject
* obj1
= 0 ;
38153 char * kwnames
[] = {
38154 (char *) "self",(char *) "n", NULL
38157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38159 if (!SWIG_IsOK(res1
)) {
38160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38162 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38163 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38164 if (!SWIG_IsOK(ecode2
)) {
38165 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
38167 arg2
= static_cast< int >(val2
);
38169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38170 (arg1
)->SetFilterIndex(arg2
);
38171 wxPyEndAllowThreads(__tstate
);
38172 if (PyErr_Occurred()) SWIG_fail
;
38174 resultobj
= SWIG_Py_Void();
38181 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38182 PyObject
*resultobj
= 0;
38183 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38184 wxTreeItemId result
;
38187 PyObject
*swig_obj
[1] ;
38189 if (!args
) SWIG_fail
;
38190 swig_obj
[0] = args
;
38191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38192 if (!SWIG_IsOK(res1
)) {
38193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38195 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38198 result
= (arg1
)->GetRootId();
38199 wxPyEndAllowThreads(__tstate
);
38200 if (PyErr_Occurred()) SWIG_fail
;
38202 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38209 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38210 PyObject
*resultobj
= 0;
38211 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38212 wxPyTreeCtrl
*result
= 0 ;
38215 PyObject
*swig_obj
[1] ;
38217 if (!args
) SWIG_fail
;
38218 swig_obj
[0] = args
;
38219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38220 if (!SWIG_IsOK(res1
)) {
38221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38223 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38226 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
38227 wxPyEndAllowThreads(__tstate
);
38228 if (PyErr_Occurred()) SWIG_fail
;
38231 resultobj
= wxPyMake_wxObject(result
, 0);
38239 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38240 PyObject
*resultobj
= 0;
38241 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38242 wxDirFilterListCtrl
*result
= 0 ;
38245 PyObject
*swig_obj
[1] ;
38247 if (!args
) SWIG_fail
;
38248 swig_obj
[0] = args
;
38249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38250 if (!SWIG_IsOK(res1
)) {
38251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38253 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38256 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
38257 wxPyEndAllowThreads(__tstate
);
38258 if (PyErr_Occurred()) SWIG_fail
;
38260 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38267 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38268 PyObject
*resultobj
= 0;
38269 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38270 wxTreeItemId arg2
;
38271 wxString
*arg3
= 0 ;
38273 wxTreeItemId result
;
38278 bool temp3
= false ;
38280 int res4
= SWIG_TMPOBJ
;
38281 PyObject
* obj0
= 0 ;
38282 PyObject
* obj1
= 0 ;
38283 PyObject
* obj2
= 0 ;
38284 char * kwnames
[] = {
38285 (char *) "self",(char *) "parentId",(char *) "path", NULL
38289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38291 if (!SWIG_IsOK(res1
)) {
38292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38294 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38296 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
38297 if (!SWIG_IsOK(res2
)) {
38298 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38301 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38303 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
38305 if (SWIG_IsNewObj(res2
)) delete temp
;
38309 arg3
= wxString_in_helper(obj2
);
38310 if (arg3
== NULL
) SWIG_fail
;
38314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38315 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
38316 wxPyEndAllowThreads(__tstate
);
38317 if (PyErr_Occurred()) SWIG_fail
;
38319 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38320 if (SWIG_IsTmpObj(res4
)) {
38321 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
38323 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38324 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
38340 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38341 PyObject
*resultobj
= 0;
38342 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38345 PyObject
*swig_obj
[1] ;
38347 if (!args
) SWIG_fail
;
38348 swig_obj
[0] = args
;
38349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38350 if (!SWIG_IsOK(res1
)) {
38351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38353 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38356 (arg1
)->DoResize();
38357 wxPyEndAllowThreads(__tstate
);
38358 if (PyErr_Occurred()) SWIG_fail
;
38360 resultobj
= SWIG_Py_Void();
38367 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38368 PyObject
*resultobj
= 0;
38369 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38372 PyObject
*swig_obj
[1] ;
38374 if (!args
) SWIG_fail
;
38375 swig_obj
[0] = args
;
38376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38377 if (!SWIG_IsOK(res1
)) {
38378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38380 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38383 (arg1
)->ReCreateTree();
38384 wxPyEndAllowThreads(__tstate
);
38385 if (PyErr_Occurred()) SWIG_fail
;
38387 resultobj
= SWIG_Py_Void();
38394 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38396 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38397 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
38398 return SWIG_Py_Void();
38401 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38402 return SWIG_Python_InitShadowInstance(args
);
38405 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38406 PyObject
*resultobj
= 0;
38407 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38408 int arg2
= (int) (int)-1 ;
38409 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38410 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38411 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38412 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38413 long arg5
= (long) 0 ;
38414 wxDirFilterListCtrl
*result
= 0 ;
38423 PyObject
* obj0
= 0 ;
38424 PyObject
* obj1
= 0 ;
38425 PyObject
* obj2
= 0 ;
38426 PyObject
* obj3
= 0 ;
38427 PyObject
* obj4
= 0 ;
38428 char * kwnames
[] = {
38429 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38434 if (!SWIG_IsOK(res1
)) {
38435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38437 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38439 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38440 if (!SWIG_IsOK(ecode2
)) {
38441 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38443 arg2
= static_cast< int >(val2
);
38448 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38454 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38458 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38459 if (!SWIG_IsOK(ecode5
)) {
38460 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38462 arg5
= static_cast< long >(val5
);
38465 if (!wxPyCheckForApp()) SWIG_fail
;
38466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38467 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
38468 wxPyEndAllowThreads(__tstate
);
38469 if (PyErr_Occurred()) SWIG_fail
;
38471 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
38478 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38479 PyObject
*resultobj
= 0;
38480 wxDirFilterListCtrl
*result
= 0 ;
38482 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
38484 if (!wxPyCheckForApp()) SWIG_fail
;
38485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38486 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
38487 wxPyEndAllowThreads(__tstate
);
38488 if (PyErr_Occurred()) SWIG_fail
;
38490 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
38497 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38498 PyObject
*resultobj
= 0;
38499 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38500 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
38501 int arg3
= (int) (int)-1 ;
38502 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
38503 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
38504 wxSize
const &arg5_defvalue
= wxDefaultSize
;
38505 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
38506 long arg6
= (long) 0 ;
38518 PyObject
* obj0
= 0 ;
38519 PyObject
* obj1
= 0 ;
38520 PyObject
* obj2
= 0 ;
38521 PyObject
* obj3
= 0 ;
38522 PyObject
* obj4
= 0 ;
38523 PyObject
* obj5
= 0 ;
38524 char * kwnames
[] = {
38525 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38530 if (!SWIG_IsOK(res1
)) {
38531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38533 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38534 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38535 if (!SWIG_IsOK(res2
)) {
38536 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38538 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
38540 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38541 if (!SWIG_IsOK(ecode3
)) {
38542 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38544 arg3
= static_cast< int >(val3
);
38549 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
38555 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
38559 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
38560 if (!SWIG_IsOK(ecode6
)) {
38561 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38563 arg6
= static_cast< long >(val6
);
38566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38567 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
38568 wxPyEndAllowThreads(__tstate
);
38569 if (PyErr_Occurred()) SWIG_fail
;
38572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38580 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38581 PyObject
*resultobj
= 0;
38582 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38583 wxString
*arg2
= 0 ;
38587 bool temp2
= false ;
38590 PyObject
* obj0
= 0 ;
38591 PyObject
* obj1
= 0 ;
38592 PyObject
* obj2
= 0 ;
38593 char * kwnames
[] = {
38594 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38599 if (!SWIG_IsOK(res1
)) {
38600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38602 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38604 arg2
= wxString_in_helper(obj1
);
38605 if (arg2
== NULL
) SWIG_fail
;
38608 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38609 if (!SWIG_IsOK(ecode3
)) {
38610 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38612 arg3
= static_cast< int >(val3
);
38614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38615 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
38616 wxPyEndAllowThreads(__tstate
);
38617 if (PyErr_Occurred()) SWIG_fail
;
38619 resultobj
= SWIG_Py_Void();
38634 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38636 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38637 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
38638 return SWIG_Py_Void();
38641 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38642 return SWIG_Python_InitShadowInstance(args
);
38645 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38646 PyObject
*resultobj
= 0;
38647 wxWindow
*arg1
= (wxWindow
*) 0 ;
38648 int arg2
= (int) (int)-1 ;
38649 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38650 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38651 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38652 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38653 long arg5
= (long) 0 ;
38654 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
38655 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
38656 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
38657 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
38658 wxPyControl
*result
= 0 ;
38669 bool temp7
= false ;
38670 PyObject
* obj0
= 0 ;
38671 PyObject
* obj1
= 0 ;
38672 PyObject
* obj2
= 0 ;
38673 PyObject
* obj3
= 0 ;
38674 PyObject
* obj4
= 0 ;
38675 PyObject
* obj5
= 0 ;
38676 PyObject
* obj6
= 0 ;
38677 char * kwnames
[] = {
38678 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
38682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38683 if (!SWIG_IsOK(res1
)) {
38684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38686 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38688 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38689 if (!SWIG_IsOK(ecode2
)) {
38690 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38692 arg2
= static_cast< int >(val2
);
38697 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38703 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38707 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38708 if (!SWIG_IsOK(ecode5
)) {
38709 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38711 arg5
= static_cast< long >(val5
);
38714 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
38715 if (!SWIG_IsOK(res6
)) {
38716 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38719 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38721 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
38725 arg7
= wxString_in_helper(obj6
);
38726 if (arg7
== NULL
) SWIG_fail
;
38731 if (!wxPyCheckForApp()) SWIG_fail
;
38732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38733 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
38734 wxPyEndAllowThreads(__tstate
);
38735 if (PyErr_Occurred()) SWIG_fail
;
38737 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
38752 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38753 PyObject
*resultobj
= 0;
38754 wxPyControl
*result
= 0 ;
38756 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
38758 if (!wxPyCheckForApp()) SWIG_fail
;
38759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38760 result
= (wxPyControl
*)new wxPyControl();
38761 wxPyEndAllowThreads(__tstate
);
38762 if (PyErr_Occurred()) SWIG_fail
;
38764 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
38771 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38772 PyObject
*resultobj
= 0;
38773 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38774 PyObject
*arg2
= (PyObject
*) 0 ;
38775 PyObject
*arg3
= (PyObject
*) 0 ;
38778 PyObject
* obj0
= 0 ;
38779 PyObject
* obj1
= 0 ;
38780 PyObject
* obj2
= 0 ;
38781 char * kwnames
[] = {
38782 (char *) "self",(char *) "self",(char *) "_class", NULL
38785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38787 if (!SWIG_IsOK(res1
)) {
38788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
38790 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38795 (arg1
)->_setCallbackInfo(arg2
,arg3
);
38796 wxPyEndAllowThreads(__tstate
);
38797 if (PyErr_Occurred()) SWIG_fail
;
38799 resultobj
= SWIG_Py_Void();
38806 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38807 PyObject
*resultobj
= 0;
38808 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38809 wxDC
*arg2
= (wxDC
*) 0 ;
38815 PyObject
* obj0
= 0 ;
38816 PyObject
* obj1
= 0 ;
38817 char * kwnames
[] = {
38818 (char *) "self",(char *) "dc", NULL
38821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38823 if (!SWIG_IsOK(res1
)) {
38824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
38826 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38827 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
38828 if (!SWIG_IsOK(res2
)) {
38829 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
38831 arg2
= reinterpret_cast< wxDC
* >(argp2
);
38833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38834 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
38835 wxPyEndAllowThreads(__tstate
);
38836 if (PyErr_Occurred()) SWIG_fail
;
38839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38847 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38848 PyObject
*resultobj
= 0;
38849 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38864 PyObject
* obj0
= 0 ;
38865 PyObject
* obj1
= 0 ;
38866 PyObject
* obj2
= 0 ;
38867 PyObject
* obj3
= 0 ;
38868 PyObject
* obj4
= 0 ;
38869 char * kwnames
[] = {
38870 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38875 if (!SWIG_IsOK(res1
)) {
38876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
38878 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38879 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38880 if (!SWIG_IsOK(ecode2
)) {
38881 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
38883 arg2
= static_cast< int >(val2
);
38884 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38885 if (!SWIG_IsOK(ecode3
)) {
38886 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
38888 arg3
= static_cast< int >(val3
);
38889 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38890 if (!SWIG_IsOK(ecode4
)) {
38891 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
38893 arg4
= static_cast< int >(val4
);
38894 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38895 if (!SWIG_IsOK(ecode5
)) {
38896 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
38898 arg5
= static_cast< int >(val5
);
38900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38901 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
38902 wxPyEndAllowThreads(__tstate
);
38903 if (PyErr_Occurred()) SWIG_fail
;
38905 resultobj
= SWIG_Py_Void();
38912 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38913 PyObject
*resultobj
= 0;
38914 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38919 int arg6
= (int) wxSIZE_AUTO
;
38932 PyObject
* obj0
= 0 ;
38933 PyObject
* obj1
= 0 ;
38934 PyObject
* obj2
= 0 ;
38935 PyObject
* obj3
= 0 ;
38936 PyObject
* obj4
= 0 ;
38937 PyObject
* obj5
= 0 ;
38938 char * kwnames
[] = {
38939 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
38942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38944 if (!SWIG_IsOK(res1
)) {
38945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38947 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38948 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38949 if (!SWIG_IsOK(ecode2
)) {
38950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
38952 arg2
= static_cast< int >(val2
);
38953 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38954 if (!SWIG_IsOK(ecode3
)) {
38955 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
38957 arg3
= static_cast< int >(val3
);
38958 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38959 if (!SWIG_IsOK(ecode4
)) {
38960 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
38962 arg4
= static_cast< int >(val4
);
38963 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38964 if (!SWIG_IsOK(ecode5
)) {
38965 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
38967 arg5
= static_cast< int >(val5
);
38969 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38970 if (!SWIG_IsOK(ecode6
)) {
38971 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
38973 arg6
= static_cast< int >(val6
);
38976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38977 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
38978 wxPyEndAllowThreads(__tstate
);
38979 if (PyErr_Occurred()) SWIG_fail
;
38981 resultobj
= SWIG_Py_Void();
38988 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38989 PyObject
*resultobj
= 0;
38990 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38999 PyObject
* obj0
= 0 ;
39000 PyObject
* obj1
= 0 ;
39001 PyObject
* obj2
= 0 ;
39002 char * kwnames
[] = {
39003 (char *) "self",(char *) "width",(char *) "height", NULL
39006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39008 if (!SWIG_IsOK(res1
)) {
39009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39011 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39012 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39013 if (!SWIG_IsOK(ecode2
)) {
39014 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
39016 arg2
= static_cast< int >(val2
);
39017 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39018 if (!SWIG_IsOK(ecode3
)) {
39019 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
39021 arg3
= static_cast< int >(val3
);
39023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39024 (arg1
)->DoSetClientSize(arg2
,arg3
);
39025 wxPyEndAllowThreads(__tstate
);
39026 if (PyErr_Occurred()) SWIG_fail
;
39028 resultobj
= SWIG_Py_Void();
39035 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39036 PyObject
*resultobj
= 0;
39037 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39046 PyObject
* obj0
= 0 ;
39047 PyObject
* obj1
= 0 ;
39048 PyObject
* obj2
= 0 ;
39049 char * kwnames
[] = {
39050 (char *) "self",(char *) "x",(char *) "y", NULL
39053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39055 if (!SWIG_IsOK(res1
)) {
39056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39058 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39059 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39060 if (!SWIG_IsOK(ecode2
)) {
39061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
39063 arg2
= static_cast< int >(val2
);
39064 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39065 if (!SWIG_IsOK(ecode3
)) {
39066 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
39068 arg3
= static_cast< int >(val3
);
39070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39071 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
39072 wxPyEndAllowThreads(__tstate
);
39073 if (PyErr_Occurred()) SWIG_fail
;
39075 resultobj
= SWIG_Py_Void();
39082 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39083 PyObject
*resultobj
= 0;
39084 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39085 int *arg2
= (int *) 0 ;
39086 int *arg3
= (int *) 0 ;
39090 int res2
= SWIG_TMPOBJ
;
39092 int res3
= SWIG_TMPOBJ
;
39093 PyObject
*swig_obj
[1] ;
39097 if (!args
) SWIG_fail
;
39098 swig_obj
[0] = args
;
39099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39100 if (!SWIG_IsOK(res1
)) {
39101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39103 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39106 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
39107 wxPyEndAllowThreads(__tstate
);
39108 if (PyErr_Occurred()) SWIG_fail
;
39110 resultobj
= SWIG_Py_Void();
39111 if (SWIG_IsTmpObj(res2
)) {
39112 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39114 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39115 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39117 if (SWIG_IsTmpObj(res3
)) {
39118 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39120 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39121 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39129 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39130 PyObject
*resultobj
= 0;
39131 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39132 int *arg2
= (int *) 0 ;
39133 int *arg3
= (int *) 0 ;
39137 int res2
= SWIG_TMPOBJ
;
39139 int res3
= SWIG_TMPOBJ
;
39140 PyObject
*swig_obj
[1] ;
39144 if (!args
) SWIG_fail
;
39145 swig_obj
[0] = args
;
39146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39147 if (!SWIG_IsOK(res1
)) {
39148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39150 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39153 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
39154 wxPyEndAllowThreads(__tstate
);
39155 if (PyErr_Occurred()) SWIG_fail
;
39157 resultobj
= SWIG_Py_Void();
39158 if (SWIG_IsTmpObj(res2
)) {
39159 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39161 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39162 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39164 if (SWIG_IsTmpObj(res3
)) {
39165 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39167 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39168 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39176 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39177 PyObject
*resultobj
= 0;
39178 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39179 int *arg2
= (int *) 0 ;
39180 int *arg3
= (int *) 0 ;
39184 int res2
= SWIG_TMPOBJ
;
39186 int res3
= SWIG_TMPOBJ
;
39187 PyObject
*swig_obj
[1] ;
39191 if (!args
) SWIG_fail
;
39192 swig_obj
[0] = args
;
39193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39194 if (!SWIG_IsOK(res1
)) {
39195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39197 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39200 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
39201 wxPyEndAllowThreads(__tstate
);
39202 if (PyErr_Occurred()) SWIG_fail
;
39204 resultobj
= SWIG_Py_Void();
39205 if (SWIG_IsTmpObj(res2
)) {
39206 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39208 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39209 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39211 if (SWIG_IsTmpObj(res3
)) {
39212 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39214 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39215 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39223 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39224 PyObject
*resultobj
= 0;
39225 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39229 PyObject
*swig_obj
[1] ;
39231 if (!args
) SWIG_fail
;
39232 swig_obj
[0] = args
;
39233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39234 if (!SWIG_IsOK(res1
)) {
39235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39237 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39240 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
39241 wxPyEndAllowThreads(__tstate
);
39242 if (PyErr_Occurred()) SWIG_fail
;
39244 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39251 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39252 PyObject
*resultobj
= 0;
39253 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39257 PyObject
*swig_obj
[1] ;
39259 if (!args
) SWIG_fail
;
39260 swig_obj
[0] = args
;
39261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39262 if (!SWIG_IsOK(res1
)) {
39263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39265 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39268 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
39269 wxPyEndAllowThreads(__tstate
);
39270 if (PyErr_Occurred()) SWIG_fail
;
39272 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39279 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39280 PyObject
*resultobj
= 0;
39281 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39282 SwigValueWrapper
<wxVisualAttributes
> result
;
39285 PyObject
*swig_obj
[1] ;
39287 if (!args
) SWIG_fail
;
39288 swig_obj
[0] = args
;
39289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39290 if (!SWIG_IsOK(res1
)) {
39291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39293 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39296 result
= (arg1
)->GetDefaultAttributes();
39297 wxPyEndAllowThreads(__tstate
);
39298 if (PyErr_Occurred()) SWIG_fail
;
39300 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
39307 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39308 PyObject
*resultobj
= 0;
39309 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39312 PyObject
*swig_obj
[1] ;
39314 if (!args
) SWIG_fail
;
39315 swig_obj
[0] = args
;
39316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39317 if (!SWIG_IsOK(res1
)) {
39318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39320 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39323 (arg1
)->OnInternalIdle();
39324 wxPyEndAllowThreads(__tstate
);
39325 if (PyErr_Occurred()) SWIG_fail
;
39327 resultobj
= SWIG_Py_Void();
39334 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39336 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39337 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
39338 return SWIG_Py_Void();
39341 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39342 return SWIG_Python_InitShadowInstance(args
);
39345 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39346 PyObject
*resultobj
= 0;
39347 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
39348 int arg2
= (int) 0 ;
39349 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39350 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39351 wxHelpEvent::Origin arg4
= (wxHelpEvent::Origin
) wxHelpEvent::Origin_Unknown
;
39352 wxHelpEvent
*result
= 0 ;
39360 PyObject
* obj0
= 0 ;
39361 PyObject
* obj1
= 0 ;
39362 PyObject
* obj2
= 0 ;
39363 PyObject
* obj3
= 0 ;
39364 char * kwnames
[] = {
39365 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
39368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39370 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
39371 if (!SWIG_IsOK(ecode1
)) {
39372 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39374 arg1
= static_cast< wxEventType
>(val1
);
39377 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39378 if (!SWIG_IsOK(ecode2
)) {
39379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39381 arg2
= static_cast< int >(val2
);
39386 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39390 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39391 if (!SWIG_IsOK(ecode4
)) {
39392 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39394 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39398 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
,arg4
);
39399 wxPyEndAllowThreads(__tstate
);
39400 if (PyErr_Occurred()) SWIG_fail
;
39402 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
39409 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39410 PyObject
*resultobj
= 0;
39411 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39415 PyObject
*swig_obj
[1] ;
39417 if (!args
) SWIG_fail
;
39418 swig_obj
[0] = args
;
39419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39420 if (!SWIG_IsOK(res1
)) {
39421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39423 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39426 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
39427 wxPyEndAllowThreads(__tstate
);
39428 if (PyErr_Occurred()) SWIG_fail
;
39430 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
39437 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39438 PyObject
*resultobj
= 0;
39439 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39440 wxPoint
*arg2
= 0 ;
39444 PyObject
* obj0
= 0 ;
39445 PyObject
* obj1
= 0 ;
39446 char * kwnames
[] = {
39447 (char *) "self",(char *) "pos", NULL
39450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39452 if (!SWIG_IsOK(res1
)) {
39453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39455 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39458 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39462 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
39463 wxPyEndAllowThreads(__tstate
);
39464 if (PyErr_Occurred()) SWIG_fail
;
39466 resultobj
= SWIG_Py_Void();
39473 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39474 PyObject
*resultobj
= 0;
39475 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39476 wxString
*result
= 0 ;
39479 PyObject
*swig_obj
[1] ;
39481 if (!args
) SWIG_fail
;
39482 swig_obj
[0] = args
;
39483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39484 if (!SWIG_IsOK(res1
)) {
39485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39487 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39491 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
39492 result
= (wxString
*) &_result_ref
;
39494 wxPyEndAllowThreads(__tstate
);
39495 if (PyErr_Occurred()) SWIG_fail
;
39499 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39501 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39510 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39511 PyObject
*resultobj
= 0;
39512 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39513 wxString
*arg2
= 0 ;
39516 bool temp2
= false ;
39517 PyObject
* obj0
= 0 ;
39518 PyObject
* obj1
= 0 ;
39519 char * kwnames
[] = {
39520 (char *) "self",(char *) "link", NULL
39523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39525 if (!SWIG_IsOK(res1
)) {
39526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39528 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39530 arg2
= wxString_in_helper(obj1
);
39531 if (arg2
== NULL
) SWIG_fail
;
39535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39536 (arg1
)->SetLink((wxString
const &)*arg2
);
39537 wxPyEndAllowThreads(__tstate
);
39538 if (PyErr_Occurred()) SWIG_fail
;
39540 resultobj
= SWIG_Py_Void();
39555 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39556 PyObject
*resultobj
= 0;
39557 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39558 wxString
*result
= 0 ;
39561 PyObject
*swig_obj
[1] ;
39563 if (!args
) SWIG_fail
;
39564 swig_obj
[0] = args
;
39565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39566 if (!SWIG_IsOK(res1
)) {
39567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39569 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39573 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
39574 result
= (wxString
*) &_result_ref
;
39576 wxPyEndAllowThreads(__tstate
);
39577 if (PyErr_Occurred()) SWIG_fail
;
39581 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39583 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39592 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39593 PyObject
*resultobj
= 0;
39594 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39595 wxString
*arg2
= 0 ;
39598 bool temp2
= false ;
39599 PyObject
* obj0
= 0 ;
39600 PyObject
* obj1
= 0 ;
39601 char * kwnames
[] = {
39602 (char *) "self",(char *) "target", NULL
39605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39607 if (!SWIG_IsOK(res1
)) {
39608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39610 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39612 arg2
= wxString_in_helper(obj1
);
39613 if (arg2
== NULL
) SWIG_fail
;
39617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39618 (arg1
)->SetTarget((wxString
const &)*arg2
);
39619 wxPyEndAllowThreads(__tstate
);
39620 if (PyErr_Occurred()) SWIG_fail
;
39622 resultobj
= SWIG_Py_Void();
39637 SWIGINTERN PyObject
*_wrap_HelpEvent_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39638 PyObject
*resultobj
= 0;
39639 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39640 wxHelpEvent::Origin result
;
39643 PyObject
*swig_obj
[1] ;
39645 if (!args
) SWIG_fail
;
39646 swig_obj
[0] = args
;
39647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39648 if (!SWIG_IsOK(res1
)) {
39649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39651 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39654 result
= (wxHelpEvent::Origin
)((wxHelpEvent
const *)arg1
)->GetOrigin();
39655 wxPyEndAllowThreads(__tstate
);
39656 if (PyErr_Occurred()) SWIG_fail
;
39658 resultobj
= SWIG_From_int(static_cast< int >(result
));
39665 SWIGINTERN PyObject
*_wrap_HelpEvent_SetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39666 PyObject
*resultobj
= 0;
39667 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39668 wxHelpEvent::Origin arg2
;
39673 PyObject
* obj0
= 0 ;
39674 PyObject
* obj1
= 0 ;
39675 char * kwnames
[] = {
39676 (char *) "self",(char *) "origin", NULL
39679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetOrigin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39681 if (!SWIG_IsOK(res1
)) {
39682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39684 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39685 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39686 if (!SWIG_IsOK(ecode2
)) {
39687 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
39689 arg2
= static_cast< wxHelpEvent::Origin
>(val2
);
39691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39692 (arg1
)->SetOrigin(arg2
);
39693 wxPyEndAllowThreads(__tstate
);
39694 if (PyErr_Occurred()) SWIG_fail
;
39696 resultobj
= SWIG_Py_Void();
39703 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39705 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39706 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
39707 return SWIG_Py_Void();
39710 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39711 return SWIG_Python_InitShadowInstance(args
);
39714 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39715 PyObject
*resultobj
= 0;
39716 wxWindow
*arg1
= (wxWindow
*) NULL
;
39717 bool arg2
= (bool) true ;
39718 wxContextHelp
*result
= 0 ;
39723 PyObject
* obj0
= 0 ;
39724 PyObject
* obj1
= 0 ;
39725 char * kwnames
[] = {
39726 (char *) "window",(char *) "doNow", NULL
39729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39732 if (!SWIG_IsOK(res1
)) {
39733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
39735 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39738 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
39739 if (!SWIG_IsOK(ecode2
)) {
39740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
39742 arg2
= static_cast< bool >(val2
);
39745 if (!wxPyCheckForApp()) SWIG_fail
;
39746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39747 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
39748 wxPyEndAllowThreads(__tstate
);
39749 if (PyErr_Occurred()) SWIG_fail
;
39751 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
39758 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39759 PyObject
*resultobj
= 0;
39760 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39763 PyObject
*swig_obj
[1] ;
39765 if (!args
) SWIG_fail
;
39766 swig_obj
[0] = args
;
39767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
39768 if (!SWIG_IsOK(res1
)) {
39769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39771 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39776 wxPyEndAllowThreads(__tstate
);
39777 if (PyErr_Occurred()) SWIG_fail
;
39779 resultobj
= SWIG_Py_Void();
39786 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39787 PyObject
*resultobj
= 0;
39788 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39789 wxWindow
*arg2
= (wxWindow
*) NULL
;
39795 PyObject
* obj0
= 0 ;
39796 PyObject
* obj1
= 0 ;
39797 char * kwnames
[] = {
39798 (char *) "self",(char *) "window", NULL
39801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39803 if (!SWIG_IsOK(res1
)) {
39804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39806 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39808 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39809 if (!SWIG_IsOK(res2
)) {
39810 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39812 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39816 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
39817 wxPyEndAllowThreads(__tstate
);
39818 if (PyErr_Occurred()) SWIG_fail
;
39821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39829 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39830 PyObject
*resultobj
= 0;
39831 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39835 PyObject
*swig_obj
[1] ;
39837 if (!args
) SWIG_fail
;
39838 swig_obj
[0] = args
;
39839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39840 if (!SWIG_IsOK(res1
)) {
39841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39843 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39846 result
= (bool)(arg1
)->EndContextHelp();
39847 wxPyEndAllowThreads(__tstate
);
39848 if (PyErr_Occurred()) SWIG_fail
;
39851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39859 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39861 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39862 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
39863 return SWIG_Py_Void();
39866 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39867 return SWIG_Python_InitShadowInstance(args
);
39870 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39871 PyObject
*resultobj
= 0;
39872 wxWindow
*arg1
= (wxWindow
*) 0 ;
39873 int arg2
= (int) wxID_CONTEXT_HELP
;
39874 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39875 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39876 wxSize
const &arg4_defvalue
= wxDefaultSize
;
39877 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
39878 long arg5
= (long) wxBU_AUTODRAW
;
39879 wxContextHelpButton
*result
= 0 ;
39888 PyObject
* obj0
= 0 ;
39889 PyObject
* obj1
= 0 ;
39890 PyObject
* obj2
= 0 ;
39891 PyObject
* obj3
= 0 ;
39892 PyObject
* obj4
= 0 ;
39893 char * kwnames
[] = {
39894 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
39897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39899 if (!SWIG_IsOK(res1
)) {
39900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
39902 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39904 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39905 if (!SWIG_IsOK(ecode2
)) {
39906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
39908 arg2
= static_cast< int >(val2
);
39913 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39919 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
39923 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
39924 if (!SWIG_IsOK(ecode5
)) {
39925 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
39927 arg5
= static_cast< long >(val5
);
39930 if (!wxPyCheckForApp()) SWIG_fail
;
39931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39932 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
39933 wxPyEndAllowThreads(__tstate
);
39934 if (PyErr_Occurred()) SWIG_fail
;
39936 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
39943 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39945 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39946 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
39947 return SWIG_Py_Void();
39950 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39951 return SWIG_Python_InitShadowInstance(args
);
39954 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39955 PyObject
*resultobj
= 0;
39956 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39959 PyObject
*swig_obj
[1] ;
39961 if (!args
) SWIG_fail
;
39962 swig_obj
[0] = args
;
39963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39964 if (!SWIG_IsOK(res1
)) {
39965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39967 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39972 wxPyEndAllowThreads(__tstate
);
39973 if (PyErr_Occurred()) SWIG_fail
;
39975 resultobj
= SWIG_Py_Void();
39982 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39983 PyObject
*resultobj
= 0;
39984 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39985 wxHelpProvider
*result
= 0 ;
39987 PyObject
* obj0
= 0 ;
39988 char * kwnames
[] = {
39989 (char *) "helpProvider", NULL
39992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
39993 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39994 if (!SWIG_IsOK(res1
)) {
39995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39999 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
40000 wxPyEndAllowThreads(__tstate
);
40001 if (PyErr_Occurred()) SWIG_fail
;
40003 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
40010 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40011 PyObject
*resultobj
= 0;
40012 wxHelpProvider
*result
= 0 ;
40014 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
40016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40017 result
= (wxHelpProvider
*)wxHelpProvider::Get();
40018 wxPyEndAllowThreads(__tstate
);
40019 if (PyErr_Occurred()) SWIG_fail
;
40021 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40028 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40029 PyObject
*resultobj
= 0;
40030 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40031 wxWindow
*arg2
= (wxWindow
*) 0 ;
40037 PyObject
* obj0
= 0 ;
40038 PyObject
* obj1
= 0 ;
40039 char * kwnames
[] = {
40040 (char *) "self",(char *) "window", NULL
40043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40045 if (!SWIG_IsOK(res1
)) {
40046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40048 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40049 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40050 if (!SWIG_IsOK(res2
)) {
40051 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
40053 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40056 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
40057 wxPyEndAllowThreads(__tstate
);
40058 if (PyErr_Occurred()) SWIG_fail
;
40062 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
40064 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
40073 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40074 PyObject
*resultobj
= 0;
40075 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40076 wxWindow
*arg2
= (wxWindow
*) 0 ;
40082 PyObject
* obj0
= 0 ;
40083 PyObject
* obj1
= 0 ;
40084 char * kwnames
[] = {
40085 (char *) "self",(char *) "window", NULL
40088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40090 if (!SWIG_IsOK(res1
)) {
40091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40093 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40094 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40095 if (!SWIG_IsOK(res2
)) {
40096 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40098 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40101 result
= (bool)(arg1
)->ShowHelp(arg2
);
40102 wxPyEndAllowThreads(__tstate
);
40103 if (PyErr_Occurred()) SWIG_fail
;
40106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40114 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelpAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40115 PyObject
*resultobj
= 0;
40116 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40117 wxWindowBase
*arg2
= (wxWindowBase
*) 0 ;
40118 wxPoint
*arg3
= 0 ;
40119 wxHelpEvent::Origin arg4
;
40128 PyObject
* obj0
= 0 ;
40129 PyObject
* obj1
= 0 ;
40130 PyObject
* obj2
= 0 ;
40131 PyObject
* obj3
= 0 ;
40132 char * kwnames
[] = {
40133 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
40136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40138 if (!SWIG_IsOK(res1
)) {
40139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40141 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40142 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindowBase
, 0 | 0 );
40143 if (!SWIG_IsOK(res2
)) {
40144 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
40146 arg2
= reinterpret_cast< wxWindowBase
* >(argp2
);
40149 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40151 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
40152 if (!SWIG_IsOK(ecode4
)) {
40153 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
40155 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
40157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40158 result
= (bool)(arg1
)->ShowHelpAtPoint(arg2
,(wxPoint
const &)*arg3
,arg4
);
40159 wxPyEndAllowThreads(__tstate
);
40160 if (PyErr_Occurred()) SWIG_fail
;
40163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40171 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40172 PyObject
*resultobj
= 0;
40173 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40174 wxWindow
*arg2
= (wxWindow
*) 0 ;
40175 wxString
*arg3
= 0 ;
40180 bool temp3
= false ;
40181 PyObject
* obj0
= 0 ;
40182 PyObject
* obj1
= 0 ;
40183 PyObject
* obj2
= 0 ;
40184 char * kwnames
[] = {
40185 (char *) "self",(char *) "window",(char *) "text", NULL
40188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40190 if (!SWIG_IsOK(res1
)) {
40191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40193 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40194 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40195 if (!SWIG_IsOK(res2
)) {
40196 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40198 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40200 arg3
= wxString_in_helper(obj2
);
40201 if (arg3
== NULL
) SWIG_fail
;
40205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40206 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40207 wxPyEndAllowThreads(__tstate
);
40208 if (PyErr_Occurred()) SWIG_fail
;
40210 resultobj
= SWIG_Py_Void();
40225 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40226 PyObject
*resultobj
= 0;
40227 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40229 wxString
*arg3
= 0 ;
40234 bool temp3
= false ;
40235 PyObject
* obj0
= 0 ;
40236 PyObject
* obj1
= 0 ;
40237 PyObject
* obj2
= 0 ;
40238 char * kwnames
[] = {
40239 (char *) "self",(char *) "id",(char *) "text", NULL
40242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40244 if (!SWIG_IsOK(res1
)) {
40245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40247 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40248 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40249 if (!SWIG_IsOK(ecode2
)) {
40250 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40252 arg2
= static_cast< int >(val2
);
40254 arg3
= wxString_in_helper(obj2
);
40255 if (arg3
== NULL
) SWIG_fail
;
40259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40260 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40261 wxPyEndAllowThreads(__tstate
);
40262 if (PyErr_Occurred()) SWIG_fail
;
40264 resultobj
= SWIG_Py_Void();
40279 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40280 PyObject
*resultobj
= 0;
40281 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40282 wxWindow
*arg2
= (wxWindow
*) 0 ;
40287 PyObject
* obj0
= 0 ;
40288 PyObject
* obj1
= 0 ;
40289 char * kwnames
[] = {
40290 (char *) "self",(char *) "window", NULL
40293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40295 if (!SWIG_IsOK(res1
)) {
40296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40298 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40299 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40300 if (!SWIG_IsOK(res2
)) {
40301 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40303 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40306 (arg1
)->RemoveHelp(arg2
);
40307 wxPyEndAllowThreads(__tstate
);
40308 if (PyErr_Occurred()) SWIG_fail
;
40310 resultobj
= SWIG_Py_Void();
40317 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40318 PyObject
*resultobj
= 0;
40319 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40322 PyObject
*swig_obj
[1] ;
40324 if (!args
) SWIG_fail
;
40325 swig_obj
[0] = args
;
40326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40327 if (!SWIG_IsOK(res1
)) {
40328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40330 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40333 wxHelpProvider_Destroy(arg1
);
40334 wxPyEndAllowThreads(__tstate
);
40335 if (PyErr_Occurred()) SWIG_fail
;
40337 resultobj
= SWIG_Py_Void();
40344 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40346 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40347 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
40348 return SWIG_Py_Void();
40351 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40352 PyObject
*resultobj
= 0;
40353 wxSimpleHelpProvider
*result
= 0 ;
40355 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
40357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40358 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
40359 wxPyEndAllowThreads(__tstate
);
40360 if (PyErr_Occurred()) SWIG_fail
;
40362 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
40369 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40371 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40372 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
40373 return SWIG_Py_Void();
40376 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40377 return SWIG_Python_InitShadowInstance(args
);
40380 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40381 PyObject
*resultobj
= 0;
40382 wxBitmap
*arg1
= 0 ;
40383 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40384 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40385 wxGenericDragImage
*result
= 0 ;
40390 PyObject
* obj0
= 0 ;
40391 PyObject
* obj1
= 0 ;
40392 char * kwnames
[] = {
40393 (char *) "image",(char *) "cursor", NULL
40396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40397 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
40398 if (!SWIG_IsOK(res1
)) {
40399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40402 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40404 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
40406 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40407 if (!SWIG_IsOK(res2
)) {
40408 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40411 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40413 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40416 if (!wxPyCheckForApp()) SWIG_fail
;
40417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40418 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
40419 wxPyEndAllowThreads(__tstate
);
40420 if (PyErr_Occurred()) SWIG_fail
;
40422 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
40429 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40430 PyObject
*resultobj
= 0;
40432 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40433 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40434 wxGenericDragImage
*result
= 0 ;
40439 PyObject
* obj0
= 0 ;
40440 PyObject
* obj1
= 0 ;
40441 char * kwnames
[] = {
40442 (char *) "image",(char *) "cursor", NULL
40445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40446 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
40447 if (!SWIG_IsOK(res1
)) {
40448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40451 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40453 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
40455 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40456 if (!SWIG_IsOK(res2
)) {
40457 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40460 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40462 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40465 if (!wxPyCheckForApp()) SWIG_fail
;
40466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40467 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
40468 wxPyEndAllowThreads(__tstate
);
40469 if (PyErr_Occurred()) SWIG_fail
;
40471 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40478 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40479 PyObject
*resultobj
= 0;
40480 wxString
*arg1
= 0 ;
40481 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40482 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40483 wxGenericDragImage
*result
= 0 ;
40484 bool temp1
= false ;
40487 PyObject
* obj0
= 0 ;
40488 PyObject
* obj1
= 0 ;
40489 char * kwnames
[] = {
40490 (char *) "str",(char *) "cursor", NULL
40493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40495 arg1
= wxString_in_helper(obj0
);
40496 if (arg1
== NULL
) SWIG_fail
;
40500 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40501 if (!SWIG_IsOK(res2
)) {
40502 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40505 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40507 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40510 if (!wxPyCheckForApp()) SWIG_fail
;
40511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40512 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
40513 wxPyEndAllowThreads(__tstate
);
40514 if (PyErr_Occurred()) SWIG_fail
;
40516 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40531 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40532 PyObject
*resultobj
= 0;
40533 wxPyTreeCtrl
*arg1
= 0 ;
40534 wxTreeItemId
*arg2
= 0 ;
40535 wxGenericDragImage
*result
= 0 ;
40540 PyObject
* obj0
= 0 ;
40541 PyObject
* obj1
= 0 ;
40542 char * kwnames
[] = {
40543 (char *) "treeCtrl",(char *) "id", NULL
40546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40547 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
40548 if (!SWIG_IsOK(res1
)) {
40549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40552 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40554 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
40555 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
40556 if (!SWIG_IsOK(res2
)) {
40557 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40560 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40562 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
40564 if (!wxPyCheckForApp()) SWIG_fail
;
40565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40566 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
40567 wxPyEndAllowThreads(__tstate
);
40568 if (PyErr_Occurred()) SWIG_fail
;
40570 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40577 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40578 PyObject
*resultobj
= 0;
40579 wxPyListCtrl
*arg1
= 0 ;
40581 wxGenericDragImage
*result
= 0 ;
40586 PyObject
* obj0
= 0 ;
40587 PyObject
* obj1
= 0 ;
40588 char * kwnames
[] = {
40589 (char *) "listCtrl",(char *) "id", NULL
40592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40593 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
40594 if (!SWIG_IsOK(res1
)) {
40595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40598 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40600 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
40601 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
40602 if (!SWIG_IsOK(ecode2
)) {
40603 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40605 arg2
= static_cast< long >(val2
);
40607 if (!wxPyCheckForApp()) SWIG_fail
;
40608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40609 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
40610 wxPyEndAllowThreads(__tstate
);
40611 if (PyErr_Occurred()) SWIG_fail
;
40613 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40620 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40621 PyObject
*resultobj
= 0;
40622 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40625 PyObject
*swig_obj
[1] ;
40627 if (!args
) SWIG_fail
;
40628 swig_obj
[0] = args
;
40629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
40630 if (!SWIG_IsOK(res1
)) {
40631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40633 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40638 wxPyEndAllowThreads(__tstate
);
40639 if (PyErr_Occurred()) SWIG_fail
;
40641 resultobj
= SWIG_Py_Void();
40648 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40649 PyObject
*resultobj
= 0;
40650 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40651 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
40656 PyObject
* obj0
= 0 ;
40657 PyObject
* obj1
= 0 ;
40658 char * kwnames
[] = {
40659 (char *) "self",(char *) "bitmap", NULL
40662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40664 if (!SWIG_IsOK(res1
)) {
40665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40667 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40668 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
40669 if (!SWIG_IsOK(res2
)) {
40670 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40672 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
40674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40675 (arg1
)->SetBackingBitmap(arg2
);
40676 wxPyEndAllowThreads(__tstate
);
40677 if (PyErr_Occurred()) SWIG_fail
;
40679 resultobj
= SWIG_Py_Void();
40686 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40687 PyObject
*resultobj
= 0;
40688 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40689 wxPoint
*arg2
= 0 ;
40690 wxWindow
*arg3
= (wxWindow
*) 0 ;
40691 bool arg4
= (bool) false ;
40692 wxRect
*arg5
= (wxRect
*) NULL
;
40703 PyObject
* obj0
= 0 ;
40704 PyObject
* obj1
= 0 ;
40705 PyObject
* obj2
= 0 ;
40706 PyObject
* obj3
= 0 ;
40707 PyObject
* obj4
= 0 ;
40708 char * kwnames
[] = {
40709 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
40712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40714 if (!SWIG_IsOK(res1
)) {
40715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40717 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40720 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40722 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40723 if (!SWIG_IsOK(res3
)) {
40724 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
40726 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40728 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40729 if (!SWIG_IsOK(ecode4
)) {
40730 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
40732 arg4
= static_cast< bool >(val4
);
40735 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
40736 if (!SWIG_IsOK(res5
)) {
40737 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
40739 arg5
= reinterpret_cast< wxRect
* >(argp5
);
40742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40743 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
40744 wxPyEndAllowThreads(__tstate
);
40745 if (PyErr_Occurred()) SWIG_fail
;
40748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40756 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40757 PyObject
*resultobj
= 0;
40758 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40759 wxPoint
*arg2
= 0 ;
40760 wxWindow
*arg3
= (wxWindow
*) 0 ;
40761 wxWindow
*arg4
= (wxWindow
*) 0 ;
40770 PyObject
* obj0
= 0 ;
40771 PyObject
* obj1
= 0 ;
40772 PyObject
* obj2
= 0 ;
40773 PyObject
* obj3
= 0 ;
40774 char * kwnames
[] = {
40775 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
40778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40780 if (!SWIG_IsOK(res1
)) {
40781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40783 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40786 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40788 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40789 if (!SWIG_IsOK(res3
)) {
40790 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
40792 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40793 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40794 if (!SWIG_IsOK(res4
)) {
40795 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
40797 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
40799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40800 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
40801 wxPyEndAllowThreads(__tstate
);
40802 if (PyErr_Occurred()) SWIG_fail
;
40805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40813 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40814 PyObject
*resultobj
= 0;
40815 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40819 PyObject
*swig_obj
[1] ;
40821 if (!args
) SWIG_fail
;
40822 swig_obj
[0] = args
;
40823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40824 if (!SWIG_IsOK(res1
)) {
40825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40827 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40830 result
= (bool)(arg1
)->EndDrag();
40831 wxPyEndAllowThreads(__tstate
);
40832 if (PyErr_Occurred()) SWIG_fail
;
40835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40843 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40844 PyObject
*resultobj
= 0;
40845 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40846 wxPoint
*arg2
= 0 ;
40851 PyObject
* obj0
= 0 ;
40852 PyObject
* obj1
= 0 ;
40853 char * kwnames
[] = {
40854 (char *) "self",(char *) "pt", NULL
40857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40859 if (!SWIG_IsOK(res1
)) {
40860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40862 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40865 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40869 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
40870 wxPyEndAllowThreads(__tstate
);
40871 if (PyErr_Occurred()) SWIG_fail
;
40874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40882 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40883 PyObject
*resultobj
= 0;
40884 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40888 PyObject
*swig_obj
[1] ;
40890 if (!args
) SWIG_fail
;
40891 swig_obj
[0] = args
;
40892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40893 if (!SWIG_IsOK(res1
)) {
40894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40896 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40899 result
= (bool)(arg1
)->Show();
40900 wxPyEndAllowThreads(__tstate
);
40901 if (PyErr_Occurred()) SWIG_fail
;
40904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40912 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40913 PyObject
*resultobj
= 0;
40914 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40918 PyObject
*swig_obj
[1] ;
40920 if (!args
) SWIG_fail
;
40921 swig_obj
[0] = args
;
40922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40923 if (!SWIG_IsOK(res1
)) {
40924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40926 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40929 result
= (bool)(arg1
)->Hide();
40930 wxPyEndAllowThreads(__tstate
);
40931 if (PyErr_Occurred()) SWIG_fail
;
40934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40942 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40943 PyObject
*resultobj
= 0;
40944 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40945 wxPoint
*arg2
= 0 ;
40950 PyObject
* obj0
= 0 ;
40951 PyObject
* obj1
= 0 ;
40952 char * kwnames
[] = {
40953 (char *) "self",(char *) "pos", NULL
40956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40958 if (!SWIG_IsOK(res1
)) {
40959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40961 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40964 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40968 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
40969 wxPyEndAllowThreads(__tstate
);
40970 if (PyErr_Occurred()) SWIG_fail
;
40972 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
40979 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40980 PyObject
*resultobj
= 0;
40981 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40983 wxPoint
*arg3
= 0 ;
40990 PyObject
* obj0
= 0 ;
40991 PyObject
* obj1
= 0 ;
40992 PyObject
* obj2
= 0 ;
40993 char * kwnames
[] = {
40994 (char *) "self",(char *) "dc",(char *) "pos", NULL
40997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40999 if (!SWIG_IsOK(res1
)) {
41000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41002 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41003 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41004 if (!SWIG_IsOK(res2
)) {
41005 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41008 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41010 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41013 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41017 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
41018 wxPyEndAllowThreads(__tstate
);
41019 if (PyErr_Occurred()) SWIG_fail
;
41022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41030 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41031 PyObject
*resultobj
= 0;
41032 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41034 wxMemoryDC
*arg3
= 0 ;
41046 PyObject
* obj0
= 0 ;
41047 PyObject
* obj1
= 0 ;
41048 PyObject
* obj2
= 0 ;
41049 PyObject
* obj3
= 0 ;
41050 PyObject
* obj4
= 0 ;
41051 char * kwnames
[] = {
41052 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
41055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41057 if (!SWIG_IsOK(res1
)) {
41058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41060 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41061 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41062 if (!SWIG_IsOK(res2
)) {
41063 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41066 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41068 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41069 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
41070 if (!SWIG_IsOK(res3
)) {
41071 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41074 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41076 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
41079 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
41083 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
41086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41087 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
41088 wxPyEndAllowThreads(__tstate
);
41089 if (PyErr_Occurred()) SWIG_fail
;
41092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41100 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41101 PyObject
*resultobj
= 0;
41102 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41103 wxPoint
*arg2
= 0 ;
41104 wxPoint
*arg3
= 0 ;
41116 PyObject
* obj0
= 0 ;
41117 PyObject
* obj1
= 0 ;
41118 PyObject
* obj2
= 0 ;
41119 PyObject
* obj3
= 0 ;
41120 PyObject
* obj4
= 0 ;
41121 char * kwnames
[] = {
41122 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
41125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41127 if (!SWIG_IsOK(res1
)) {
41128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41130 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41133 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41137 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41139 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
41140 if (!SWIG_IsOK(ecode4
)) {
41141 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
41143 arg4
= static_cast< bool >(val4
);
41144 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
41145 if (!SWIG_IsOK(ecode5
)) {
41146 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
41148 arg5
= static_cast< bool >(val5
);
41150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41151 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
41152 wxPyEndAllowThreads(__tstate
);
41153 if (PyErr_Occurred()) SWIG_fail
;
41156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41164 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41166 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41167 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
41168 return SWIG_Py_Void();
41171 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41172 return SWIG_Python_InitShadowInstance(args
);
41175 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
41176 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
41181 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
41182 PyObject
*pyobj
= 0;
41186 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41188 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41195 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41196 PyObject
*resultobj
= 0;
41197 wxWindow
*arg1
= (wxWindow
*) 0 ;
41198 int arg2
= (int) -1 ;
41199 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
41200 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
41201 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
41202 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
41203 wxSize
const &arg5_defvalue
= wxDefaultSize
;
41204 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
41205 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41206 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
41207 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
41208 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
41209 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41210 wxDatePickerCtrl
*result
= 0 ;
41223 bool temp8
= false ;
41224 PyObject
* obj0
= 0 ;
41225 PyObject
* obj1
= 0 ;
41226 PyObject
* obj2
= 0 ;
41227 PyObject
* obj3
= 0 ;
41228 PyObject
* obj4
= 0 ;
41229 PyObject
* obj5
= 0 ;
41230 PyObject
* obj6
= 0 ;
41231 PyObject
* obj7
= 0 ;
41232 char * kwnames
[] = {
41233 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41238 if (!SWIG_IsOK(res1
)) {
41239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41241 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41243 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41244 if (!SWIG_IsOK(ecode2
)) {
41245 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41247 arg2
= static_cast< int >(val2
);
41250 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41251 if (!SWIG_IsOK(res3
)) {
41252 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41255 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41257 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41262 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
41268 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
41272 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
41273 if (!SWIG_IsOK(ecode6
)) {
41274 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41276 arg6
= static_cast< long >(val6
);
41279 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
41280 if (!SWIG_IsOK(res7
)) {
41281 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41284 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41286 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
41290 arg8
= wxString_in_helper(obj7
);
41291 if (arg8
== NULL
) SWIG_fail
;
41296 if (!wxPyCheckForApp()) SWIG_fail
;
41297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41298 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
41299 wxPyEndAllowThreads(__tstate
);
41300 if (PyErr_Occurred()) SWIG_fail
;
41302 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
41317 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41318 PyObject
*resultobj
= 0;
41319 wxDatePickerCtrl
*result
= 0 ;
41321 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
41323 if (!wxPyCheckForApp()) SWIG_fail
;
41324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41325 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
41326 wxPyEndAllowThreads(__tstate
);
41327 if (PyErr_Occurred()) SWIG_fail
;
41329 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
41336 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41337 PyObject
*resultobj
= 0;
41338 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41339 wxWindow
*arg2
= (wxWindow
*) 0 ;
41340 int arg3
= (int) -1 ;
41341 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
41342 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
41343 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41344 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41345 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41346 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41347 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41348 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
41349 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
41350 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
41351 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41367 bool temp9
= false ;
41368 PyObject
* obj0
= 0 ;
41369 PyObject
* obj1
= 0 ;
41370 PyObject
* obj2
= 0 ;
41371 PyObject
* obj3
= 0 ;
41372 PyObject
* obj4
= 0 ;
41373 PyObject
* obj5
= 0 ;
41374 PyObject
* obj6
= 0 ;
41375 PyObject
* obj7
= 0 ;
41376 PyObject
* obj8
= 0 ;
41377 char * kwnames
[] = {
41378 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41383 if (!SWIG_IsOK(res1
)) {
41384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41386 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41387 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41388 if (!SWIG_IsOK(res2
)) {
41389 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41391 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41393 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41394 if (!SWIG_IsOK(ecode3
)) {
41395 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41397 arg3
= static_cast< int >(val3
);
41400 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41401 if (!SWIG_IsOK(res4
)) {
41402 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41405 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41407 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
41412 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41418 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41422 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41423 if (!SWIG_IsOK(ecode7
)) {
41424 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41426 arg7
= static_cast< long >(val7
);
41429 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
41430 if (!SWIG_IsOK(res8
)) {
41431 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41434 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41436 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
41440 arg9
= wxString_in_helper(obj8
);
41441 if (arg9
== NULL
) SWIG_fail
;
41446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41447 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
41448 wxPyEndAllowThreads(__tstate
);
41449 if (PyErr_Occurred()) SWIG_fail
;
41452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41468 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41469 PyObject
*resultobj
= 0;
41470 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41471 wxDateTime
*arg2
= 0 ;
41476 PyObject
* obj0
= 0 ;
41477 PyObject
* obj1
= 0 ;
41478 char * kwnames
[] = {
41479 (char *) "self",(char *) "dt", NULL
41482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41484 if (!SWIG_IsOK(res1
)) {
41485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41487 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41488 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41489 if (!SWIG_IsOK(res2
)) {
41490 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41493 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41495 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41498 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
41499 wxPyEndAllowThreads(__tstate
);
41500 if (PyErr_Occurred()) SWIG_fail
;
41502 resultobj
= SWIG_Py_Void();
41509 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41510 PyObject
*resultobj
= 0;
41511 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41515 PyObject
*swig_obj
[1] ;
41517 if (!args
) SWIG_fail
;
41518 swig_obj
[0] = args
;
41519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41520 if (!SWIG_IsOK(res1
)) {
41521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41523 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41526 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
41527 wxPyEndAllowThreads(__tstate
);
41528 if (PyErr_Occurred()) SWIG_fail
;
41530 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41537 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41538 PyObject
*resultobj
= 0;
41539 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41540 wxDateTime
*arg2
= 0 ;
41541 wxDateTime
*arg3
= 0 ;
41548 PyObject
* obj0
= 0 ;
41549 PyObject
* obj1
= 0 ;
41550 PyObject
* obj2
= 0 ;
41551 char * kwnames
[] = {
41552 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41557 if (!SWIG_IsOK(res1
)) {
41558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41560 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41561 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41562 if (!SWIG_IsOK(res2
)) {
41563 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41566 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41568 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41569 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41570 if (!SWIG_IsOK(res3
)) {
41571 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41574 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41576 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41579 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
41580 wxPyEndAllowThreads(__tstate
);
41581 if (PyErr_Occurred()) SWIG_fail
;
41583 resultobj
= SWIG_Py_Void();
41590 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41591 PyObject
*resultobj
= 0;
41592 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41596 PyObject
*swig_obj
[1] ;
41598 if (!args
) SWIG_fail
;
41599 swig_obj
[0] = args
;
41600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41601 if (!SWIG_IsOK(res1
)) {
41602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41604 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41607 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
41608 wxPyEndAllowThreads(__tstate
);
41609 if (PyErr_Occurred()) SWIG_fail
;
41611 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41618 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41619 PyObject
*resultobj
= 0;
41620 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41624 PyObject
*swig_obj
[1] ;
41626 if (!args
) SWIG_fail
;
41627 swig_obj
[0] = args
;
41628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41629 if (!SWIG_IsOK(res1
)) {
41630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41632 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41635 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
41636 wxPyEndAllowThreads(__tstate
);
41637 if (PyErr_Occurred()) SWIG_fail
;
41639 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41646 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41648 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41649 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
41650 return SWIG_Py_Void();
41653 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41654 return SWIG_Python_InitShadowInstance(args
);
41657 SWIGINTERN
int HyperlinkCtrlNameStr_set(PyObject
*) {
41658 SWIG_Error(SWIG_AttributeError
,"Variable HyperlinkCtrlNameStr is read-only.");
41663 SWIGINTERN PyObject
*HyperlinkCtrlNameStr_get(void) {
41664 PyObject
*pyobj
= 0;
41668 pyobj
= PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41670 pyobj
= PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41677 SWIGINTERN PyObject
*_wrap_new_HyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41678 PyObject
*resultobj
= 0;
41679 wxWindow
*arg1
= (wxWindow
*) 0 ;
41681 wxString
*arg3
= 0 ;
41682 wxString
*arg4
= 0 ;
41683 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41684 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41685 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41686 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41687 long arg7
= (long) wxHL_DEFAULT_STYLE
;
41688 wxString
const &arg8_defvalue
= wxPyHyperlinkCtrlNameStr
;
41689 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41690 wxHyperlinkCtrl
*result
= 0 ;
41695 bool temp3
= false ;
41696 bool temp4
= false ;
41701 bool temp8
= false ;
41702 PyObject
* obj0
= 0 ;
41703 PyObject
* obj1
= 0 ;
41704 PyObject
* obj2
= 0 ;
41705 PyObject
* obj3
= 0 ;
41706 PyObject
* obj4
= 0 ;
41707 PyObject
* obj5
= 0 ;
41708 PyObject
* obj6
= 0 ;
41709 PyObject
* obj7
= 0 ;
41710 char * kwnames
[] = {
41711 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41716 if (!SWIG_IsOK(res1
)) {
41717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41719 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41720 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41721 if (!SWIG_IsOK(ecode2
)) {
41722 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
41724 arg2
= static_cast< int >(val2
);
41726 arg3
= wxString_in_helper(obj2
);
41727 if (arg3
== NULL
) SWIG_fail
;
41731 arg4
= wxString_in_helper(obj3
);
41732 if (arg4
== NULL
) SWIG_fail
;
41738 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41744 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41748 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41749 if (!SWIG_IsOK(ecode7
)) {
41750 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
41752 arg7
= static_cast< long >(val7
);
41756 arg8
= wxString_in_helper(obj7
);
41757 if (arg8
== NULL
) SWIG_fail
;
41762 if (!wxPyCheckForApp()) SWIG_fail
;
41763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41764 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
41765 wxPyEndAllowThreads(__tstate
);
41766 if (PyErr_Occurred()) SWIG_fail
;
41768 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_NEW
| 0 );
41799 SWIGINTERN PyObject
*_wrap_new_PreHyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41800 PyObject
*resultobj
= 0;
41801 wxHyperlinkCtrl
*result
= 0 ;
41803 if (!SWIG_Python_UnpackTuple(args
,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail
;
41805 if (!wxPyCheckForApp()) SWIG_fail
;
41806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41807 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl();
41808 wxPyEndAllowThreads(__tstate
);
41809 if (PyErr_Occurred()) SWIG_fail
;
41811 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_OWN
| 0 );
41818 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41819 PyObject
*resultobj
= 0;
41820 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41821 wxWindow
*arg2
= (wxWindow
*) 0 ;
41823 wxString
*arg4
= 0 ;
41824 wxString
*arg5
= 0 ;
41825 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
41826 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
41827 wxSize
const &arg7_defvalue
= wxDefaultSize
;
41828 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
41829 long arg8
= (long) wxHL_DEFAULT_STYLE
;
41830 wxString
const &arg9_defvalue
= wxPyHyperlinkCtrlNameStr
;
41831 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41839 bool temp4
= false ;
41840 bool temp5
= false ;
41845 bool temp9
= false ;
41846 PyObject
* obj0
= 0 ;
41847 PyObject
* obj1
= 0 ;
41848 PyObject
* obj2
= 0 ;
41849 PyObject
* obj3
= 0 ;
41850 PyObject
* obj4
= 0 ;
41851 PyObject
* obj5
= 0 ;
41852 PyObject
* obj6
= 0 ;
41853 PyObject
* obj7
= 0 ;
41854 PyObject
* obj8
= 0 ;
41855 char * kwnames
[] = {
41856 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41861 if (!SWIG_IsOK(res1
)) {
41862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41864 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41865 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41866 if (!SWIG_IsOK(res2
)) {
41867 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41869 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41870 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41871 if (!SWIG_IsOK(ecode3
)) {
41872 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41874 arg3
= static_cast< int >(val3
);
41876 arg4
= wxString_in_helper(obj3
);
41877 if (arg4
== NULL
) SWIG_fail
;
41881 arg5
= wxString_in_helper(obj4
);
41882 if (arg5
== NULL
) SWIG_fail
;
41888 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
41894 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
41898 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
41899 if (!SWIG_IsOK(ecode8
)) {
41900 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
41902 arg8
= static_cast< long >(val8
);
41906 arg9
= wxString_in_helper(obj8
);
41907 if (arg9
== NULL
) SWIG_fail
;
41912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41913 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
41914 wxPyEndAllowThreads(__tstate
);
41915 if (PyErr_Occurred()) SWIG_fail
;
41918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41950 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41951 PyObject
*resultobj
= 0;
41952 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41956 PyObject
*swig_obj
[1] ;
41958 if (!args
) SWIG_fail
;
41959 swig_obj
[0] = args
;
41960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41961 if (!SWIG_IsOK(res1
)) {
41962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41964 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41967 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetHoverColour();
41968 wxPyEndAllowThreads(__tstate
);
41969 if (PyErr_Occurred()) SWIG_fail
;
41971 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
41978 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41979 PyObject
*resultobj
= 0;
41980 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41981 wxColour
*arg2
= 0 ;
41985 PyObject
* obj0
= 0 ;
41986 PyObject
* obj1
= 0 ;
41987 char * kwnames
[] = {
41988 (char *) "self",(char *) "colour", NULL
41991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41993 if (!SWIG_IsOK(res1
)) {
41994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41996 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41999 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42003 (arg1
)->SetHoverColour((wxColour
const &)*arg2
);
42004 wxPyEndAllowThreads(__tstate
);
42005 if (PyErr_Occurred()) SWIG_fail
;
42007 resultobj
= SWIG_Py_Void();
42014 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42015 PyObject
*resultobj
= 0;
42016 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42020 PyObject
*swig_obj
[1] ;
42022 if (!args
) SWIG_fail
;
42023 swig_obj
[0] = args
;
42024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42025 if (!SWIG_IsOK(res1
)) {
42026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42028 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42031 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetNormalColour();
42032 wxPyEndAllowThreads(__tstate
);
42033 if (PyErr_Occurred()) SWIG_fail
;
42035 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42042 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42043 PyObject
*resultobj
= 0;
42044 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42045 wxColour
*arg2
= 0 ;
42049 PyObject
* obj0
= 0 ;
42050 PyObject
* obj1
= 0 ;
42051 char * kwnames
[] = {
42052 (char *) "self",(char *) "colour", NULL
42055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42057 if (!SWIG_IsOK(res1
)) {
42058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42060 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42063 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42067 (arg1
)->SetNormalColour((wxColour
const &)*arg2
);
42068 wxPyEndAllowThreads(__tstate
);
42069 if (PyErr_Occurred()) SWIG_fail
;
42071 resultobj
= SWIG_Py_Void();
42078 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42079 PyObject
*resultobj
= 0;
42080 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42084 PyObject
*swig_obj
[1] ;
42086 if (!args
) SWIG_fail
;
42087 swig_obj
[0] = args
;
42088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42089 if (!SWIG_IsOK(res1
)) {
42090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42092 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42095 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetVisitedColour();
42096 wxPyEndAllowThreads(__tstate
);
42097 if (PyErr_Occurred()) SWIG_fail
;
42099 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42106 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42107 PyObject
*resultobj
= 0;
42108 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42109 wxColour
*arg2
= 0 ;
42113 PyObject
* obj0
= 0 ;
42114 PyObject
* obj1
= 0 ;
42115 char * kwnames
[] = {
42116 (char *) "self",(char *) "colour", NULL
42119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42121 if (!SWIG_IsOK(res1
)) {
42122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42124 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42127 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42131 (arg1
)->SetVisitedColour((wxColour
const &)*arg2
);
42132 wxPyEndAllowThreads(__tstate
);
42133 if (PyErr_Occurred()) SWIG_fail
;
42135 resultobj
= SWIG_Py_Void();
42142 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42143 PyObject
*resultobj
= 0;
42144 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42148 PyObject
*swig_obj
[1] ;
42150 if (!args
) SWIG_fail
;
42151 swig_obj
[0] = args
;
42152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42153 if (!SWIG_IsOK(res1
)) {
42154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42156 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42159 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetURL();
42160 wxPyEndAllowThreads(__tstate
);
42161 if (PyErr_Occurred()) SWIG_fail
;
42165 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42167 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42176 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42177 PyObject
*resultobj
= 0;
42178 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42179 wxString
*arg2
= 0 ;
42182 bool temp2
= false ;
42183 PyObject
* obj0
= 0 ;
42184 PyObject
* obj1
= 0 ;
42185 char * kwnames
[] = {
42186 (char *) "self",(char *) "url", NULL
42189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42191 if (!SWIG_IsOK(res1
)) {
42192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42194 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42196 arg2
= wxString_in_helper(obj1
);
42197 if (arg2
== NULL
) SWIG_fail
;
42201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42202 (arg1
)->SetURL((wxString
const &)*arg2
);
42203 wxPyEndAllowThreads(__tstate
);
42204 if (PyErr_Occurred()) SWIG_fail
;
42206 resultobj
= SWIG_Py_Void();
42221 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42222 PyObject
*resultobj
= 0;
42223 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42224 bool arg2
= (bool) true ;
42229 PyObject
* obj0
= 0 ;
42230 PyObject
* obj1
= 0 ;
42231 char * kwnames
[] = {
42232 (char *) "self",(char *) "visited", NULL
42235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42237 if (!SWIG_IsOK(res1
)) {
42238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42240 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42242 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42243 if (!SWIG_IsOK(ecode2
)) {
42244 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42246 arg2
= static_cast< bool >(val2
);
42249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42250 (arg1
)->SetVisited(arg2
);
42251 wxPyEndAllowThreads(__tstate
);
42252 if (PyErr_Occurred()) SWIG_fail
;
42254 resultobj
= SWIG_Py_Void();
42261 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42262 PyObject
*resultobj
= 0;
42263 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42267 PyObject
*swig_obj
[1] ;
42269 if (!args
) SWIG_fail
;
42270 swig_obj
[0] = args
;
42271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42272 if (!SWIG_IsOK(res1
)) {
42273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42275 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42278 result
= (bool)((wxHyperlinkCtrl
const *)arg1
)->GetVisited();
42279 wxPyEndAllowThreads(__tstate
);
42280 if (PyErr_Occurred()) SWIG_fail
;
42283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42291 SWIGINTERN PyObject
*HyperlinkCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42293 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42294 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_NewClientData(obj
));
42295 return SWIG_Py_Void();
42298 SWIGINTERN PyObject
*HyperlinkCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42299 return SWIG_Python_InitShadowInstance(args
);
42302 SWIGINTERN PyObject
*_wrap_new_HyperlinkEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42303 PyObject
*resultobj
= 0;
42304 wxObject
*arg1
= (wxObject
*) 0 ;
42306 wxString
*arg3
= 0 ;
42307 wxHyperlinkEvent
*result
= 0 ;
42312 bool temp3
= false ;
42313 PyObject
* obj0
= 0 ;
42314 PyObject
* obj1
= 0 ;
42315 PyObject
* obj2
= 0 ;
42316 char * kwnames
[] = {
42317 (char *) "generator",(char *) "id",(char *) "url", NULL
42320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_HyperlinkEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
42322 if (!SWIG_IsOK(res1
)) {
42323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42325 arg1
= reinterpret_cast< wxObject
* >(argp1
);
42326 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42327 if (!SWIG_IsOK(ecode2
)) {
42328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
42330 arg2
= static_cast< int >(val2
);
42332 arg3
= wxString_in_helper(obj2
);
42333 if (arg3
== NULL
) SWIG_fail
;
42337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42338 result
= (wxHyperlinkEvent
*)new wxHyperlinkEvent(arg1
,arg2
,(wxString
const &)*arg3
);
42339 wxPyEndAllowThreads(__tstate
);
42340 if (PyErr_Occurred()) SWIG_fail
;
42342 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkEvent
, SWIG_POINTER_NEW
| 0 );
42357 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42358 PyObject
*resultobj
= 0;
42359 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42363 PyObject
*swig_obj
[1] ;
42365 if (!args
) SWIG_fail
;
42366 swig_obj
[0] = args
;
42367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42368 if (!SWIG_IsOK(res1
)) {
42369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42371 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42374 result
= ((wxHyperlinkEvent
const *)arg1
)->GetURL();
42375 wxPyEndAllowThreads(__tstate
);
42376 if (PyErr_Occurred()) SWIG_fail
;
42380 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42382 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42391 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42392 PyObject
*resultobj
= 0;
42393 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42394 wxString
*arg2
= 0 ;
42397 bool temp2
= false ;
42398 PyObject
* obj0
= 0 ;
42399 PyObject
* obj1
= 0 ;
42400 char * kwnames
[] = {
42401 (char *) "self",(char *) "url", NULL
42404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42406 if (!SWIG_IsOK(res1
)) {
42407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42409 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42411 arg2
= wxString_in_helper(obj1
);
42412 if (arg2
== NULL
) SWIG_fail
;
42416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42417 (arg1
)->SetURL((wxString
const &)*arg2
);
42418 wxPyEndAllowThreads(__tstate
);
42419 if (PyErr_Occurred()) SWIG_fail
;
42421 resultobj
= SWIG_Py_Void();
42436 SWIGINTERN PyObject
*HyperlinkEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42438 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42439 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent
, SWIG_NewClientData(obj
));
42440 return SWIG_Py_Void();
42443 SWIGINTERN PyObject
*HyperlinkEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42444 return SWIG_Python_InitShadowInstance(args
);
42447 SWIGINTERN PyObject
*_wrap_PickerBase_CreateBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42448 PyObject
*resultobj
= 0;
42449 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42450 wxWindow
*arg2
= (wxWindow
*) 0 ;
42452 wxString
const &arg4_defvalue
= wxEmptyString
;
42453 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42454 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42455 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42456 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42457 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42458 long arg7
= (long) 0 ;
42459 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
42460 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
42461 wxString
const &arg9_defvalue
= wxButtonNameStr
;
42462 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42470 bool temp4
= false ;
42477 bool temp9
= false ;
42478 PyObject
* obj0
= 0 ;
42479 PyObject
* obj1
= 0 ;
42480 PyObject
* obj2
= 0 ;
42481 PyObject
* obj3
= 0 ;
42482 PyObject
* obj4
= 0 ;
42483 PyObject
* obj5
= 0 ;
42484 PyObject
* obj6
= 0 ;
42485 PyObject
* obj7
= 0 ;
42486 PyObject
* obj8
= 0 ;
42487 char * kwnames
[] = {
42488 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42493 if (!SWIG_IsOK(res1
)) {
42494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42496 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42497 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42498 if (!SWIG_IsOK(res2
)) {
42499 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42501 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42502 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42503 if (!SWIG_IsOK(ecode3
)) {
42504 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42506 arg3
= static_cast< int >(val3
);
42509 arg4
= wxString_in_helper(obj3
);
42510 if (arg4
== NULL
) SWIG_fail
;
42517 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42523 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42527 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42528 if (!SWIG_IsOK(ecode7
)) {
42529 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42531 arg7
= static_cast< long >(val7
);
42534 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
42535 if (!SWIG_IsOK(res8
)) {
42536 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42539 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42541 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
42545 arg9
= wxString_in_helper(obj8
);
42546 if (arg9
== NULL
) SWIG_fail
;
42551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42552 result
= (bool)(arg1
)->CreateBase(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
42553 wxPyEndAllowThreads(__tstate
);
42554 if (PyErr_Occurred()) SWIG_fail
;
42557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42581 SWIGINTERN PyObject
*_wrap_PickerBase_SetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42582 PyObject
*resultobj
= 0;
42583 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42589 PyObject
* obj0
= 0 ;
42590 PyObject
* obj1
= 0 ;
42591 char * kwnames
[] = {
42592 (char *) "self",(char *) "newmargin", NULL
42595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetInternalMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42597 if (!SWIG_IsOK(res1
)) {
42598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42600 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42601 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42602 if (!SWIG_IsOK(ecode2
)) {
42603 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
42605 arg2
= static_cast< int >(val2
);
42607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42608 (arg1
)->SetInternalMargin(arg2
);
42609 wxPyEndAllowThreads(__tstate
);
42610 if (PyErr_Occurred()) SWIG_fail
;
42612 resultobj
= SWIG_Py_Void();
42619 SWIGINTERN PyObject
*_wrap_PickerBase_GetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42620 PyObject
*resultobj
= 0;
42621 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42625 PyObject
*swig_obj
[1] ;
42627 if (!args
) SWIG_fail
;
42628 swig_obj
[0] = args
;
42629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42630 if (!SWIG_IsOK(res1
)) {
42631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42633 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42636 result
= (int)((wxPickerBase
const *)arg1
)->GetInternalMargin();
42637 wxPyEndAllowThreads(__tstate
);
42638 if (PyErr_Occurred()) SWIG_fail
;
42640 resultobj
= SWIG_From_int(static_cast< int >(result
));
42647 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42648 PyObject
*resultobj
= 0;
42649 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42655 PyObject
* obj0
= 0 ;
42656 PyObject
* obj1
= 0 ;
42657 char * kwnames
[] = {
42658 (char *) "self",(char *) "prop", NULL
42661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42663 if (!SWIG_IsOK(res1
)) {
42664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42666 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42667 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42668 if (!SWIG_IsOK(ecode2
)) {
42669 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42671 arg2
= static_cast< int >(val2
);
42673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42674 (arg1
)->SetTextCtrlProportion(arg2
);
42675 wxPyEndAllowThreads(__tstate
);
42676 if (PyErr_Occurred()) SWIG_fail
;
42678 resultobj
= SWIG_Py_Void();
42685 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42686 PyObject
*resultobj
= 0;
42687 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42691 PyObject
*swig_obj
[1] ;
42693 if (!args
) SWIG_fail
;
42694 swig_obj
[0] = args
;
42695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42696 if (!SWIG_IsOK(res1
)) {
42697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42699 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42702 result
= (int)((wxPickerBase
const *)arg1
)->GetTextCtrlProportion();
42703 wxPyEndAllowThreads(__tstate
);
42704 if (PyErr_Occurred()) SWIG_fail
;
42706 resultobj
= SWIG_From_int(static_cast< int >(result
));
42713 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42714 PyObject
*resultobj
= 0;
42715 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42721 PyObject
* obj0
= 0 ;
42722 PyObject
* obj1
= 0 ;
42723 char * kwnames
[] = {
42724 (char *) "self",(char *) "prop", NULL
42727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetPickerCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42729 if (!SWIG_IsOK(res1
)) {
42730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42732 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42733 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42734 if (!SWIG_IsOK(ecode2
)) {
42735 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42737 arg2
= static_cast< int >(val2
);
42739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42740 (arg1
)->SetPickerCtrlProportion(arg2
);
42741 wxPyEndAllowThreads(__tstate
);
42742 if (PyErr_Occurred()) SWIG_fail
;
42744 resultobj
= SWIG_Py_Void();
42751 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42752 PyObject
*resultobj
= 0;
42753 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42757 PyObject
*swig_obj
[1] ;
42759 if (!args
) SWIG_fail
;
42760 swig_obj
[0] = args
;
42761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42762 if (!SWIG_IsOK(res1
)) {
42763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42765 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42768 result
= (int)((wxPickerBase
const *)arg1
)->GetPickerCtrlProportion();
42769 wxPyEndAllowThreads(__tstate
);
42770 if (PyErr_Occurred()) SWIG_fail
;
42772 resultobj
= SWIG_From_int(static_cast< int >(result
));
42779 SWIGINTERN PyObject
*_wrap_PickerBase_IsTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42780 PyObject
*resultobj
= 0;
42781 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42785 PyObject
*swig_obj
[1] ;
42787 if (!args
) SWIG_fail
;
42788 swig_obj
[0] = args
;
42789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42790 if (!SWIG_IsOK(res1
)) {
42791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42793 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42796 result
= (bool)((wxPickerBase
const *)arg1
)->IsTextCtrlGrowable();
42797 wxPyEndAllowThreads(__tstate
);
42798 if (PyErr_Occurred()) SWIG_fail
;
42801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42809 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42810 PyObject
*resultobj
= 0;
42811 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42812 bool arg2
= (bool) true ;
42817 PyObject
* obj0
= 0 ;
42818 PyObject
* obj1
= 0 ;
42819 char * kwnames
[] = {
42820 (char *) "self",(char *) "grow", NULL
42823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42825 if (!SWIG_IsOK(res1
)) {
42826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42828 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42830 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42831 if (!SWIG_IsOK(ecode2
)) {
42832 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42834 arg2
= static_cast< bool >(val2
);
42837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42838 (arg1
)->SetTextCtrlGrowable(arg2
);
42839 wxPyEndAllowThreads(__tstate
);
42840 if (PyErr_Occurred()) SWIG_fail
;
42842 resultobj
= SWIG_Py_Void();
42849 SWIGINTERN PyObject
*_wrap_PickerBase_IsPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42850 PyObject
*resultobj
= 0;
42851 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42855 PyObject
*swig_obj
[1] ;
42857 if (!args
) SWIG_fail
;
42858 swig_obj
[0] = args
;
42859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42860 if (!SWIG_IsOK(res1
)) {
42861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42863 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42866 result
= (bool)((wxPickerBase
const *)arg1
)->IsPickerCtrlGrowable();
42867 wxPyEndAllowThreads(__tstate
);
42868 if (PyErr_Occurred()) SWIG_fail
;
42871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42879 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42880 PyObject
*resultobj
= 0;
42881 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42882 bool arg2
= (bool) true ;
42887 PyObject
* obj0
= 0 ;
42888 PyObject
* obj1
= 0 ;
42889 char * kwnames
[] = {
42890 (char *) "self",(char *) "grow", NULL
42893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42895 if (!SWIG_IsOK(res1
)) {
42896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42898 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42900 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42901 if (!SWIG_IsOK(ecode2
)) {
42902 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42904 arg2
= static_cast< bool >(val2
);
42907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42908 (arg1
)->SetPickerCtrlGrowable(arg2
);
42909 wxPyEndAllowThreads(__tstate
);
42910 if (PyErr_Occurred()) SWIG_fail
;
42912 resultobj
= SWIG_Py_Void();
42919 SWIGINTERN PyObject
*_wrap_PickerBase_HasTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42920 PyObject
*resultobj
= 0;
42921 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42925 PyObject
*swig_obj
[1] ;
42927 if (!args
) SWIG_fail
;
42928 swig_obj
[0] = args
;
42929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42930 if (!SWIG_IsOK(res1
)) {
42931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42933 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42936 result
= (bool)((wxPickerBase
const *)arg1
)->HasTextCtrl();
42937 wxPyEndAllowThreads(__tstate
);
42938 if (PyErr_Occurred()) SWIG_fail
;
42941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42949 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42950 PyObject
*resultobj
= 0;
42951 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42952 wxTextCtrl
*result
= 0 ;
42955 PyObject
*swig_obj
[1] ;
42957 if (!args
) SWIG_fail
;
42958 swig_obj
[0] = args
;
42959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42960 if (!SWIG_IsOK(res1
)) {
42961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42963 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42966 result
= (wxTextCtrl
*)(arg1
)->GetTextCtrl();
42967 wxPyEndAllowThreads(__tstate
);
42968 if (PyErr_Occurred()) SWIG_fail
;
42971 resultobj
= wxPyMake_wxObject(result
, 0);
42979 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42980 PyObject
*resultobj
= 0;
42981 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42982 wxControl
*result
= 0 ;
42985 PyObject
*swig_obj
[1] ;
42987 if (!args
) SWIG_fail
;
42988 swig_obj
[0] = args
;
42989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42990 if (!SWIG_IsOK(res1
)) {
42991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42993 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42996 result
= (wxControl
*)(arg1
)->GetPickerCtrl();
42997 wxPyEndAllowThreads(__tstate
);
42998 if (PyErr_Occurred()) SWIG_fail
;
43001 resultobj
= wxPyMake_wxObject(result
, 0);
43009 SWIGINTERN PyObject
*PickerBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43011 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43012 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase
, SWIG_NewClientData(obj
));
43013 return SWIG_Py_Void();
43016 SWIGINTERN
int ColourPickerCtrlNameStr_set(PyObject
*) {
43017 SWIG_Error(SWIG_AttributeError
,"Variable ColourPickerCtrlNameStr is read-only.");
43022 SWIGINTERN PyObject
*ColourPickerCtrlNameStr_get(void) {
43023 PyObject
*pyobj
= 0;
43027 pyobj
= PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43029 pyobj
= PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43036 SWIGINTERN PyObject
*_wrap_new_ColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43037 PyObject
*resultobj
= 0;
43038 wxWindow
*arg1
= (wxWindow
*) 0 ;
43039 int arg2
= (int) -1 ;
43040 wxColour
const &arg3_defvalue
= *wxBLACK
;
43041 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
43042 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
43043 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
43044 wxSize
const &arg5_defvalue
= wxDefaultSize
;
43045 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
43046 long arg6
= (long) wxCLRP_DEFAULT_STYLE
;
43047 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
43048 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
43049 wxString
const &arg8_defvalue
= wxPyColourPickerCtrlNameStr
;
43050 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
43051 wxColourPickerCtrl
*result
= 0 ;
43063 bool temp8
= false ;
43064 PyObject
* obj0
= 0 ;
43065 PyObject
* obj1
= 0 ;
43066 PyObject
* obj2
= 0 ;
43067 PyObject
* obj3
= 0 ;
43068 PyObject
* obj4
= 0 ;
43069 PyObject
* obj5
= 0 ;
43070 PyObject
* obj6
= 0 ;
43071 PyObject
* obj7
= 0 ;
43072 char * kwnames
[] = {
43073 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
43077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43078 if (!SWIG_IsOK(res1
)) {
43079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43081 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43083 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43084 if (!SWIG_IsOK(ecode2
)) {
43085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43087 arg2
= static_cast< int >(val2
);
43092 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43098 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
43104 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
43108 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
43109 if (!SWIG_IsOK(ecode6
)) {
43110 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
43112 arg6
= static_cast< long >(val6
);
43115 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
43116 if (!SWIG_IsOK(res7
)) {
43117 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43120 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43122 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
43126 arg8
= wxString_in_helper(obj7
);
43127 if (arg8
== NULL
) SWIG_fail
;
43132 if (!wxPyCheckForApp()) SWIG_fail
;
43133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43134 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl(arg1
,arg2
,(wxColour
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
43135 wxPyEndAllowThreads(__tstate
);
43136 if (PyErr_Occurred()) SWIG_fail
;
43138 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_NEW
| 0 );
43153 SWIGINTERN PyObject
*_wrap_new_PreColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43154 PyObject
*resultobj
= 0;
43155 wxColourPickerCtrl
*result
= 0 ;
43157 if (!SWIG_Python_UnpackTuple(args
,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail
;
43159 if (!wxPyCheckForApp()) SWIG_fail
;
43160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43161 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl();
43162 wxPyEndAllowThreads(__tstate
);
43163 if (PyErr_Occurred()) SWIG_fail
;
43165 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_OWN
| 0 );
43172 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43173 PyObject
*resultobj
= 0;
43174 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43175 wxWindow
*arg2
= (wxWindow
*) 0 ;
43177 wxColour
const &arg4_defvalue
= *wxBLACK
;
43178 wxColour
*arg4
= (wxColour
*) &arg4_defvalue
;
43179 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
43180 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
43181 wxSize
const &arg6_defvalue
= wxDefaultSize
;
43182 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
43183 long arg7
= (long) wxCLRP_DEFAULT_STYLE
;
43184 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
43185 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
43186 wxString
const &arg9_defvalue
= wxPyColourPickerCtrlNameStr
;
43187 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
43202 bool temp9
= false ;
43203 PyObject
* obj0
= 0 ;
43204 PyObject
* obj1
= 0 ;
43205 PyObject
* obj2
= 0 ;
43206 PyObject
* obj3
= 0 ;
43207 PyObject
* obj4
= 0 ;
43208 PyObject
* obj5
= 0 ;
43209 PyObject
* obj6
= 0 ;
43210 PyObject
* obj7
= 0 ;
43211 PyObject
* obj8
= 0 ;
43212 char * kwnames
[] = {
43213 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
43217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43218 if (!SWIG_IsOK(res1
)) {
43219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43221 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43222 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43223 if (!SWIG_IsOK(res2
)) {
43224 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43226 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43227 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43228 if (!SWIG_IsOK(ecode3
)) {
43229 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43231 arg3
= static_cast< int >(val3
);
43235 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
43241 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
43247 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
43251 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
43252 if (!SWIG_IsOK(ecode7
)) {
43253 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
43255 arg7
= static_cast< long >(val7
);
43258 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
43259 if (!SWIG_IsOK(res8
)) {
43260 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43263 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43265 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
43269 arg9
= wxString_in_helper(obj8
);
43270 if (arg9
== NULL
) SWIG_fail
;
43275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43276 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
43277 wxPyEndAllowThreads(__tstate
);
43278 if (PyErr_Occurred()) SWIG_fail
;
43281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43297 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43298 PyObject
*resultobj
= 0;
43299 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43303 PyObject
*swig_obj
[1] ;
43305 if (!args
) SWIG_fail
;
43306 swig_obj
[0] = args
;
43307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43308 if (!SWIG_IsOK(res1
)) {
43309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
43311 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43314 result
= ((wxColourPickerCtrl
const *)arg1
)->GetColour();
43315 wxPyEndAllowThreads(__tstate
);
43316 if (PyErr_Occurred()) SWIG_fail
;
43318 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43325 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43326 PyObject
*resultobj
= 0;
43327 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43328 wxColour
*arg2
= 0 ;
43332 PyObject
* obj0
= 0 ;
43333 PyObject
* obj1
= 0 ;
43334 char * kwnames
[] = {
43335 (char *) "self",(char *) "col", NULL
43338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerCtrl_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43340 if (!SWIG_IsOK(res1
)) {
43341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43343 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43346 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43350 (arg1
)->SetColour((wxColour
const &)*arg2
);
43351 wxPyEndAllowThreads(__tstate
);
43352 if (PyErr_Occurred()) SWIG_fail
;
43354 resultobj
= SWIG_Py_Void();
43361 SWIGINTERN PyObject
*ColourPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43363 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43364 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl
, SWIG_NewClientData(obj
));
43365 return SWIG_Py_Void();
43368 SWIGINTERN PyObject
*ColourPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43369 return SWIG_Python_InitShadowInstance(args
);
43372 SWIGINTERN PyObject
*_wrap_new_ColourPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43373 PyObject
*resultobj
= 0;
43374 wxObject
*arg1
= (wxObject
*) 0 ;
43376 wxColour
*arg3
= 0 ;
43377 wxColourPickerEvent
*result
= 0 ;
43383 PyObject
* obj0
= 0 ;
43384 PyObject
* obj1
= 0 ;
43385 PyObject
* obj2
= 0 ;
43386 char * kwnames
[] = {
43387 (char *) "generator",(char *) "id",(char *) "col", NULL
43390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ColourPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
43392 if (!SWIG_IsOK(res1
)) {
43393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43395 arg1
= reinterpret_cast< wxObject
* >(argp1
);
43396 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43397 if (!SWIG_IsOK(ecode2
)) {
43398 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
43400 arg2
= static_cast< int >(val2
);
43403 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43407 result
= (wxColourPickerEvent
*)new wxColourPickerEvent(arg1
,arg2
,(wxColour
const &)*arg3
);
43408 wxPyEndAllowThreads(__tstate
);
43409 if (PyErr_Occurred()) SWIG_fail
;
43411 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerEvent
, SWIG_POINTER_NEW
| 0 );
43418 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43419 PyObject
*resultobj
= 0;
43420 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43424 PyObject
*swig_obj
[1] ;
43426 if (!args
) SWIG_fail
;
43427 swig_obj
[0] = args
;
43428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43429 if (!SWIG_IsOK(res1
)) {
43430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
43432 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43435 result
= ((wxColourPickerEvent
const *)arg1
)->GetColour();
43436 wxPyEndAllowThreads(__tstate
);
43437 if (PyErr_Occurred()) SWIG_fail
;
43439 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43446 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43447 PyObject
*resultobj
= 0;
43448 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43449 wxColour
*arg2
= 0 ;
43453 PyObject
* obj0
= 0 ;
43454 PyObject
* obj1
= 0 ;
43455 char * kwnames
[] = {
43456 (char *) "self",(char *) "c", NULL
43459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerEvent_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43461 if (!SWIG_IsOK(res1
)) {
43462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
43464 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43467 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43471 (arg1
)->SetColour((wxColour
const &)*arg2
);
43472 wxPyEndAllowThreads(__tstate
);
43473 if (PyErr_Occurred()) SWIG_fail
;
43475 resultobj
= SWIG_Py_Void();
43482 SWIGINTERN PyObject
*ColourPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43484 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43485 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent
, SWIG_NewClientData(obj
));
43486 return SWIG_Py_Void();
43489 SWIGINTERN PyObject
*ColourPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43490 return SWIG_Python_InitShadowInstance(args
);
43493 SWIGINTERN
int FilePickerCtrlNameStr_set(PyObject
*) {
43494 SWIG_Error(SWIG_AttributeError
,"Variable FilePickerCtrlNameStr is read-only.");
43499 SWIGINTERN PyObject
*FilePickerCtrlNameStr_get(void) {
43500 PyObject
*pyobj
= 0;
43504 pyobj
= PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43506 pyobj
= PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43513 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
43514 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
43519 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
43520 PyObject
*pyobj
= 0;
43524 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43526 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43533 SWIGINTERN
int DirPickerCtrlNameStr_set(PyObject
*) {
43534 SWIG_Error(SWIG_AttributeError
,"Variable DirPickerCtrlNameStr is read-only.");
43539 SWIGINTERN PyObject
*DirPickerCtrlNameStr_get(void) {
43540 PyObject
*pyobj
= 0;
43544 pyobj
= PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43546 pyobj
= PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43553 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
43554 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
43559 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
43560 PyObject
*pyobj
= 0;
43564 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43566 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43573 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
43574 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
43579 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
43580 PyObject
*pyobj
= 0;
43584 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43586 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43593 SWIGINTERN PyObject
*_wrap_new_FilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43594 PyObject
*resultobj
= 0;
43595 wxWindow
*arg1
= (wxWindow
*) 0 ;
43596 int arg2
= (int) -1 ;
43597 wxString
const &arg3_defvalue
= wxPyEmptyString
;
43598 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
43599 wxString
const &arg4_defvalue
= wxPyFileSelectorPromptStr
;
43600 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43601 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43602 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43603 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
43604 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
43605 wxSize
const &arg7_defvalue
= wxDefaultSize
;
43606 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
43607 long arg8
= (long) wxFLP_DEFAULT_STYLE
;
43608 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
43609 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
43610 wxString
const &arg10_defvalue
= wxPyFilePickerCtrlNameStr
;
43611 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
43612 wxFilePickerCtrl
*result
= 0 ;
43617 bool temp3
= false ;
43618 bool temp4
= false ;
43619 bool temp5
= false ;
43626 bool temp10
= false ;
43627 PyObject
* obj0
= 0 ;
43628 PyObject
* obj1
= 0 ;
43629 PyObject
* obj2
= 0 ;
43630 PyObject
* obj3
= 0 ;
43631 PyObject
* obj4
= 0 ;
43632 PyObject
* obj5
= 0 ;
43633 PyObject
* obj6
= 0 ;
43634 PyObject
* obj7
= 0 ;
43635 PyObject
* obj8
= 0 ;
43636 PyObject
* obj9
= 0 ;
43637 char * kwnames
[] = {
43638 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
43642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43643 if (!SWIG_IsOK(res1
)) {
43644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43646 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43648 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43649 if (!SWIG_IsOK(ecode2
)) {
43650 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
43652 arg2
= static_cast< int >(val2
);
43656 arg3
= wxString_in_helper(obj2
);
43657 if (arg3
== NULL
) SWIG_fail
;
43663 arg4
= wxString_in_helper(obj3
);
43664 if (arg4
== NULL
) SWIG_fail
;
43670 arg5
= wxString_in_helper(obj4
);
43671 if (arg5
== NULL
) SWIG_fail
;
43678 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
43684 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
43688 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
43689 if (!SWIG_IsOK(ecode8
)) {
43690 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
43692 arg8
= static_cast< long >(val8
);
43695 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
43696 if (!SWIG_IsOK(res9
)) {
43697 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43700 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43702 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
43706 arg10
= wxString_in_helper(obj9
);
43707 if (arg10
== NULL
) SWIG_fail
;
43712 if (!wxPyCheckForApp()) SWIG_fail
;
43713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43714 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
);
43715 wxPyEndAllowThreads(__tstate
);
43716 if (PyErr_Occurred()) SWIG_fail
;
43718 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_NEW
| 0 );
43757 SWIGINTERN PyObject
*_wrap_new_PreFilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43758 PyObject
*resultobj
= 0;
43759 wxFilePickerCtrl
*result
= 0 ;
43761 if (!SWIG_Python_UnpackTuple(args
,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail
;
43763 if (!wxPyCheckForApp()) SWIG_fail
;
43764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43765 result
= (wxFilePickerCtrl
*)new wxFilePickerCtrl();
43766 wxPyEndAllowThreads(__tstate
);
43767 if (PyErr_Occurred()) SWIG_fail
;
43769 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_OWN
| 0 );
43776 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43777 PyObject
*resultobj
= 0;
43778 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43779 wxWindow
*arg2
= (wxWindow
*) 0 ;
43780 int arg3
= (int) -1 ;
43781 wxString
const &arg4_defvalue
= wxPyEmptyString
;
43782 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43783 wxString
const &arg5_defvalue
= wxPyFileSelectorPromptStr
;
43784 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43785 wxString
const &arg6_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43786 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
43787 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
43788 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
43789 wxSize
const &arg8_defvalue
= wxDefaultSize
;
43790 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
43791 long arg9
= (long) wxFLP_DEFAULT_STYLE
;
43792 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
43793 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
43794 wxString
const &arg11_defvalue
= wxPyFilePickerCtrlNameStr
;
43795 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
43803 bool temp4
= false ;
43804 bool temp5
= false ;
43805 bool temp6
= false ;
43812 bool temp11
= false ;
43813 PyObject
* obj0
= 0 ;
43814 PyObject
* obj1
= 0 ;
43815 PyObject
* obj2
= 0 ;
43816 PyObject
* obj3
= 0 ;
43817 PyObject
* obj4
= 0 ;
43818 PyObject
* obj5
= 0 ;
43819 PyObject
* obj6
= 0 ;
43820 PyObject
* obj7
= 0 ;
43821 PyObject
* obj8
= 0 ;
43822 PyObject
* obj9
= 0 ;
43823 PyObject
* obj10
= 0 ;
43824 char * kwnames
[] = {
43825 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
43829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43830 if (!SWIG_IsOK(res1
)) {
43831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
43833 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43834 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43835 if (!SWIG_IsOK(res2
)) {
43836 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43838 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43840 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43841 if (!SWIG_IsOK(ecode3
)) {
43842 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43844 arg3
= static_cast< int >(val3
);
43848 arg4
= wxString_in_helper(obj3
);
43849 if (arg4
== NULL
) SWIG_fail
;
43855 arg5
= wxString_in_helper(obj4
);
43856 if (arg5
== NULL
) SWIG_fail
;
43862 arg6
= wxString_in_helper(obj5
);
43863 if (arg6
== NULL
) SWIG_fail
;
43870 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
43876 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
43880 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
43881 if (!SWIG_IsOK(ecode9
)) {
43882 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
43884 arg9
= static_cast< long >(val9
);
43887 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
43888 if (!SWIG_IsOK(res10
)) {
43889 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43892 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43894 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
43898 arg11
= wxString_in_helper(obj10
);
43899 if (arg11
== NULL
) SWIG_fail
;
43904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43905 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
);
43906 wxPyEndAllowThreads(__tstate
);
43907 if (PyErr_Occurred()) SWIG_fail
;
43910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43950 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43951 PyObject
*resultobj
= 0;
43952 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43956 PyObject
*swig_obj
[1] ;
43958 if (!args
) SWIG_fail
;
43959 swig_obj
[0] = args
;
43960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43961 if (!SWIG_IsOK(res1
)) {
43962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
43964 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43967 result
= ((wxFilePickerCtrl
const *)arg1
)->GetPath();
43968 wxPyEndAllowThreads(__tstate
);
43969 if (PyErr_Occurred()) SWIG_fail
;
43973 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
43975 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
43984 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43985 PyObject
*resultobj
= 0;
43986 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43987 wxString
*arg2
= 0 ;
43990 bool temp2
= false ;
43991 PyObject
* obj0
= 0 ;
43992 PyObject
* obj1
= 0 ;
43993 char * kwnames
[] = {
43994 (char *) "self",(char *) "str", NULL
43997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43999 if (!SWIG_IsOK(res1
)) {
44000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44002 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44004 arg2
= wxString_in_helper(obj1
);
44005 if (arg2
== NULL
) SWIG_fail
;
44009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44010 (arg1
)->SetPath((wxString
const &)*arg2
);
44011 wxPyEndAllowThreads(__tstate
);
44012 if (PyErr_Occurred()) SWIG_fail
;
44014 resultobj
= SWIG_Py_Void();
44029 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44030 PyObject
*resultobj
= 0;
44031 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44032 wxString
*arg2
= 0 ;
44036 bool temp2
= false ;
44037 PyObject
* obj0
= 0 ;
44038 PyObject
* obj1
= 0 ;
44039 char * kwnames
[] = {
44040 (char *) "self",(char *) "path", NULL
44043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44045 if (!SWIG_IsOK(res1
)) {
44046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44048 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44050 arg2
= wxString_in_helper(obj1
);
44051 if (arg2
== NULL
) SWIG_fail
;
44055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44056 result
= (bool)((wxFilePickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44057 wxPyEndAllowThreads(__tstate
);
44058 if (PyErr_Occurred()) SWIG_fail
;
44061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44077 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44078 PyObject
*resultobj
= 0;
44079 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44083 PyObject
*swig_obj
[1] ;
44085 if (!args
) SWIG_fail
;
44086 swig_obj
[0] = args
;
44087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44088 if (!SWIG_IsOK(res1
)) {
44089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44091 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44094 result
= ((wxFilePickerCtrl
const *)arg1
)->GetTextCtrlValue();
44095 wxPyEndAllowThreads(__tstate
);
44096 if (PyErr_Occurred()) SWIG_fail
;
44100 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44102 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44111 SWIGINTERN PyObject
*FilePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44113 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44114 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl
, SWIG_NewClientData(obj
));
44115 return SWIG_Py_Void();
44118 SWIGINTERN PyObject
*FilePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44119 return SWIG_Python_InitShadowInstance(args
);
44122 SWIGINTERN PyObject
*_wrap_new_DirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44123 PyObject
*resultobj
= 0;
44124 wxWindow
*arg1
= (wxWindow
*) 0 ;
44125 int arg2
= (int) -1 ;
44126 wxString
const &arg3_defvalue
= wxPyEmptyString
;
44127 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
44128 wxString
const &arg4_defvalue
= wxPyDirSelectorPromptStr
;
44129 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44130 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44131 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44132 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44133 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44134 long arg7
= (long) wxDIRP_DEFAULT_STYLE
;
44135 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
44136 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
44137 wxString
const &arg9_defvalue
= wxPyDirPickerCtrlNameStr
;
44138 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
44139 wxDirPickerCtrl
*result
= 0 ;
44144 bool temp3
= false ;
44145 bool temp4
= false ;
44152 bool temp9
= false ;
44153 PyObject
* obj0
= 0 ;
44154 PyObject
* obj1
= 0 ;
44155 PyObject
* obj2
= 0 ;
44156 PyObject
* obj3
= 0 ;
44157 PyObject
* obj4
= 0 ;
44158 PyObject
* obj5
= 0 ;
44159 PyObject
* obj6
= 0 ;
44160 PyObject
* obj7
= 0 ;
44161 PyObject
* obj8
= 0 ;
44162 char * kwnames
[] = {
44163 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
44167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44168 if (!SWIG_IsOK(res1
)) {
44169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44171 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44173 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44174 if (!SWIG_IsOK(ecode2
)) {
44175 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44177 arg2
= static_cast< int >(val2
);
44181 arg3
= wxString_in_helper(obj2
);
44182 if (arg3
== NULL
) SWIG_fail
;
44188 arg4
= wxString_in_helper(obj3
);
44189 if (arg4
== NULL
) SWIG_fail
;
44196 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
44202 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
44206 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
44207 if (!SWIG_IsOK(ecode7
)) {
44208 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
44210 arg7
= static_cast< long >(val7
);
44213 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
44214 if (!SWIG_IsOK(res8
)) {
44215 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44218 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44220 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
44224 arg9
= wxString_in_helper(obj8
);
44225 if (arg9
== NULL
) SWIG_fail
;
44230 if (!wxPyCheckForApp()) SWIG_fail
;
44231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44232 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
);
44233 wxPyEndAllowThreads(__tstate
);
44234 if (PyErr_Occurred()) SWIG_fail
;
44236 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44267 SWIGINTERN PyObject
*_wrap_new_PreDirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44268 PyObject
*resultobj
= 0;
44269 wxDirPickerCtrl
*result
= 0 ;
44271 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail
;
44273 if (!wxPyCheckForApp()) SWIG_fail
;
44274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44275 result
= (wxDirPickerCtrl
*)new wxDirPickerCtrl();
44276 wxPyEndAllowThreads(__tstate
);
44277 if (PyErr_Occurred()) SWIG_fail
;
44279 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44286 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44287 PyObject
*resultobj
= 0;
44288 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44289 wxWindow
*arg2
= (wxWindow
*) 0 ;
44290 int arg3
= (int) -1 ;
44291 wxString
const &arg4_defvalue
= wxPyEmptyString
;
44292 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44293 wxString
const &arg5_defvalue
= wxPyDirSelectorPromptStr
;
44294 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44295 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
44296 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
44297 wxSize
const &arg7_defvalue
= wxDefaultSize
;
44298 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
44299 long arg8
= (long) wxDIRP_DEFAULT_STYLE
;
44300 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
44301 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
44302 wxString
const &arg10_defvalue
= wxPyDirPickerCtrlNameStr
;
44303 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
44311 bool temp4
= false ;
44312 bool temp5
= false ;
44319 bool temp10
= false ;
44320 PyObject
* obj0
= 0 ;
44321 PyObject
* obj1
= 0 ;
44322 PyObject
* obj2
= 0 ;
44323 PyObject
* obj3
= 0 ;
44324 PyObject
* obj4
= 0 ;
44325 PyObject
* obj5
= 0 ;
44326 PyObject
* obj6
= 0 ;
44327 PyObject
* obj7
= 0 ;
44328 PyObject
* obj8
= 0 ;
44329 PyObject
* obj9
= 0 ;
44330 char * kwnames
[] = {
44331 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
44335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44336 if (!SWIG_IsOK(res1
)) {
44337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44339 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44340 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44341 if (!SWIG_IsOK(res2
)) {
44342 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44344 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44346 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44347 if (!SWIG_IsOK(ecode3
)) {
44348 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44350 arg3
= static_cast< int >(val3
);
44354 arg4
= wxString_in_helper(obj3
);
44355 if (arg4
== NULL
) SWIG_fail
;
44361 arg5
= wxString_in_helper(obj4
);
44362 if (arg5
== NULL
) SWIG_fail
;
44369 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
44375 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
44379 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
44380 if (!SWIG_IsOK(ecode8
)) {
44381 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
44383 arg8
= static_cast< long >(val8
);
44386 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
44387 if (!SWIG_IsOK(res9
)) {
44388 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44391 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44393 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
44397 arg10
= wxString_in_helper(obj9
);
44398 if (arg10
== NULL
) SWIG_fail
;
44403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44404 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
);
44405 wxPyEndAllowThreads(__tstate
);
44406 if (PyErr_Occurred()) SWIG_fail
;
44409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44441 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44442 PyObject
*resultobj
= 0;
44443 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44447 PyObject
*swig_obj
[1] ;
44449 if (!args
) SWIG_fail
;
44450 swig_obj
[0] = args
;
44451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44452 if (!SWIG_IsOK(res1
)) {
44453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44455 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44458 result
= ((wxDirPickerCtrl
const *)arg1
)->GetPath();
44459 wxPyEndAllowThreads(__tstate
);
44460 if (PyErr_Occurred()) SWIG_fail
;
44464 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44466 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44475 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44476 PyObject
*resultobj
= 0;
44477 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44478 wxString
*arg2
= 0 ;
44481 bool temp2
= false ;
44482 PyObject
* obj0
= 0 ;
44483 PyObject
* obj1
= 0 ;
44484 char * kwnames
[] = {
44485 (char *) "self",(char *) "str", NULL
44488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44490 if (!SWIG_IsOK(res1
)) {
44491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44493 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44495 arg2
= wxString_in_helper(obj1
);
44496 if (arg2
== NULL
) SWIG_fail
;
44500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44501 (arg1
)->SetPath((wxString
const &)*arg2
);
44502 wxPyEndAllowThreads(__tstate
);
44503 if (PyErr_Occurred()) SWIG_fail
;
44505 resultobj
= SWIG_Py_Void();
44520 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44521 PyObject
*resultobj
= 0;
44522 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44523 wxString
*arg2
= 0 ;
44527 bool temp2
= false ;
44528 PyObject
* obj0
= 0 ;
44529 PyObject
* obj1
= 0 ;
44530 char * kwnames
[] = {
44531 (char *) "self",(char *) "path", NULL
44534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44536 if (!SWIG_IsOK(res1
)) {
44537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44539 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44541 arg2
= wxString_in_helper(obj1
);
44542 if (arg2
== NULL
) SWIG_fail
;
44546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44547 result
= (bool)((wxDirPickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44548 wxPyEndAllowThreads(__tstate
);
44549 if (PyErr_Occurred()) SWIG_fail
;
44552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44568 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44569 PyObject
*resultobj
= 0;
44570 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44574 PyObject
*swig_obj
[1] ;
44576 if (!args
) SWIG_fail
;
44577 swig_obj
[0] = args
;
44578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44579 if (!SWIG_IsOK(res1
)) {
44580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44582 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44585 result
= ((wxDirPickerCtrl
const *)arg1
)->GetTextCtrlValue();
44586 wxPyEndAllowThreads(__tstate
);
44587 if (PyErr_Occurred()) SWIG_fail
;
44591 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44593 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44602 SWIGINTERN PyObject
*DirPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44604 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44605 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl
, SWIG_NewClientData(obj
));
44606 return SWIG_Py_Void();
44609 SWIGINTERN PyObject
*DirPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44610 return SWIG_Python_InitShadowInstance(args
);
44613 SWIGINTERN PyObject
*_wrap_new_FileDirPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44614 PyObject
*resultobj
= 0;
44616 wxObject
*arg2
= (wxObject
*) 0 ;
44618 wxString
*arg4
= 0 ;
44619 wxFileDirPickerEvent
*result
= 0 ;
44626 bool temp4
= false ;
44627 PyObject
* obj0
= 0 ;
44628 PyObject
* obj1
= 0 ;
44629 PyObject
* obj2
= 0 ;
44630 PyObject
* obj3
= 0 ;
44631 char * kwnames
[] = {
44632 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
44635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileDirPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
44636 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
44637 if (!SWIG_IsOK(ecode1
)) {
44638 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
44640 arg1
= static_cast< wxEventType
>(val1
);
44641 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxObject
, 0 | 0 );
44642 if (!SWIG_IsOK(res2
)) {
44643 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
44645 arg2
= reinterpret_cast< wxObject
* >(argp2
);
44646 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44647 if (!SWIG_IsOK(ecode3
)) {
44648 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
44650 arg3
= static_cast< int >(val3
);
44652 arg4
= wxString_in_helper(obj3
);
44653 if (arg4
== NULL
) SWIG_fail
;
44657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44658 result
= (wxFileDirPickerEvent
*)new wxFileDirPickerEvent(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
44659 wxPyEndAllowThreads(__tstate
);
44660 if (PyErr_Occurred()) SWIG_fail
;
44662 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_POINTER_NEW
| 0 );
44677 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44678 PyObject
*resultobj
= 0;
44679 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44683 PyObject
*swig_obj
[1] ;
44685 if (!args
) SWIG_fail
;
44686 swig_obj
[0] = args
;
44687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44688 if (!SWIG_IsOK(res1
)) {
44689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
44691 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44694 result
= ((wxFileDirPickerEvent
const *)arg1
)->GetPath();
44695 wxPyEndAllowThreads(__tstate
);
44696 if (PyErr_Occurred()) SWIG_fail
;
44700 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44702 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44711 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44712 PyObject
*resultobj
= 0;
44713 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44714 wxString
*arg2
= 0 ;
44717 bool temp2
= false ;
44718 PyObject
* obj0
= 0 ;
44719 PyObject
* obj1
= 0 ;
44720 char * kwnames
[] = {
44721 (char *) "self",(char *) "p", NULL
44724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDirPickerEvent_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44726 if (!SWIG_IsOK(res1
)) {
44727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
44729 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44731 arg2
= wxString_in_helper(obj1
);
44732 if (arg2
== NULL
) SWIG_fail
;
44736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44737 (arg1
)->SetPath((wxString
const &)*arg2
);
44738 wxPyEndAllowThreads(__tstate
);
44739 if (PyErr_Occurred()) SWIG_fail
;
44741 resultobj
= SWIG_Py_Void();
44756 SWIGINTERN PyObject
*FileDirPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44758 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44759 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_NewClientData(obj
));
44760 return SWIG_Py_Void();
44763 SWIGINTERN PyObject
*FileDirPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44764 return SWIG_Python_InitShadowInstance(args
);
44767 SWIGINTERN
int FontPickerCtrlNameStr_set(PyObject
*) {
44768 SWIG_Error(SWIG_AttributeError
,"Variable FontPickerCtrlNameStr is read-only.");
44773 SWIGINTERN PyObject
*FontPickerCtrlNameStr_get(void) {
44774 PyObject
*pyobj
= 0;
44778 pyobj
= PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44780 pyobj
= PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44787 SWIGINTERN PyObject
*_wrap_new_FontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44788 PyObject
*resultobj
= 0;
44789 wxWindow
*arg1
= (wxWindow
*) 0 ;
44790 int arg2
= (int) -1 ;
44791 wxFont
const &arg3_defvalue
= wxNullFont
;
44792 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
44793 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
44794 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
44795 wxSize
const &arg5_defvalue
= wxDefaultSize
;
44796 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
44797 long arg6
= (long) wxFNTP_DEFAULT_STYLE
;
44798 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
44799 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
44800 wxString
const &arg8_defvalue
= wxPyFontPickerCtrlNameStr
;
44801 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
44802 wxFontPickerCtrl
*result
= 0 ;
44815 bool temp8
= false ;
44816 PyObject
* obj0
= 0 ;
44817 PyObject
* obj1
= 0 ;
44818 PyObject
* obj2
= 0 ;
44819 PyObject
* obj3
= 0 ;
44820 PyObject
* obj4
= 0 ;
44821 PyObject
* obj5
= 0 ;
44822 PyObject
* obj6
= 0 ;
44823 PyObject
* obj7
= 0 ;
44824 char * kwnames
[] = {
44825 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
44829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44830 if (!SWIG_IsOK(res1
)) {
44831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44833 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44835 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44836 if (!SWIG_IsOK(ecode2
)) {
44837 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44839 arg2
= static_cast< int >(val2
);
44842 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
44843 if (!SWIG_IsOK(res3
)) {
44844 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44847 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44849 arg3
= reinterpret_cast< wxFont
* >(argp3
);
44854 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
44860 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
44864 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
44865 if (!SWIG_IsOK(ecode6
)) {
44866 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
44868 arg6
= static_cast< long >(val6
);
44871 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
44872 if (!SWIG_IsOK(res7
)) {
44873 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44876 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44878 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
44882 arg8
= wxString_in_helper(obj7
);
44883 if (arg8
== NULL
) SWIG_fail
;
44888 if (!wxPyCheckForApp()) SWIG_fail
;
44889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44890 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl(arg1
,arg2
,(wxFont
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
44891 wxPyEndAllowThreads(__tstate
);
44892 if (PyErr_Occurred()) SWIG_fail
;
44894 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44909 SWIGINTERN PyObject
*_wrap_new_PreFontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44910 PyObject
*resultobj
= 0;
44911 wxFontPickerCtrl
*result
= 0 ;
44913 if (!SWIG_Python_UnpackTuple(args
,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail
;
44915 if (!wxPyCheckForApp()) SWIG_fail
;
44916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44917 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl();
44918 wxPyEndAllowThreads(__tstate
);
44919 if (PyErr_Occurred()) SWIG_fail
;
44921 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44928 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44929 PyObject
*resultobj
= 0;
44930 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44931 wxWindow
*arg2
= (wxWindow
*) 0 ;
44932 int arg3
= (int) -1 ;
44933 wxFont
const &arg4_defvalue
= wxNullFont
;
44934 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
44935 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44936 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44937 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44938 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44939 long arg7
= (long) wxFNTP_DEFAULT_STYLE
;
44940 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
44941 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
44942 wxString
const &arg9_defvalue
= wxPyFontPickerCtrlNameStr
;
44943 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
44959 bool temp9
= false ;
44960 PyObject
* obj0
= 0 ;
44961 PyObject
* obj1
= 0 ;
44962 PyObject
* obj2
= 0 ;
44963 PyObject
* obj3
= 0 ;
44964 PyObject
* obj4
= 0 ;
44965 PyObject
* obj5
= 0 ;
44966 PyObject
* obj6
= 0 ;
44967 PyObject
* obj7
= 0 ;
44968 PyObject
* obj8
= 0 ;
44969 char * kwnames
[] = {
44970 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
44974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44975 if (!SWIG_IsOK(res1
)) {
44976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
44978 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44979 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44980 if (!SWIG_IsOK(res2
)) {
44981 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44983 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44985 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44986 if (!SWIG_IsOK(ecode3
)) {
44987 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44989 arg3
= static_cast< int >(val3
);
44992 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxFont
, 0 | 0);
44993 if (!SWIG_IsOK(res4
)) {
44994 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
44997 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
44999 arg4
= reinterpret_cast< wxFont
* >(argp4
);
45004 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
45010 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
45014 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
45015 if (!SWIG_IsOK(ecode7
)) {
45016 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
45018 arg7
= static_cast< long >(val7
);
45021 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
45022 if (!SWIG_IsOK(res8
)) {
45023 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45026 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45028 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
45032 arg9
= wxString_in_helper(obj8
);
45033 if (arg9
== NULL
) SWIG_fail
;
45038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45039 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxFont
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
45040 wxPyEndAllowThreads(__tstate
);
45041 if (PyErr_Occurred()) SWIG_fail
;
45044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45060 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45061 PyObject
*resultobj
= 0;
45062 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45066 PyObject
*swig_obj
[1] ;
45068 if (!args
) SWIG_fail
;
45069 swig_obj
[0] = args
;
45070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45071 if (!SWIG_IsOK(res1
)) {
45072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45074 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45077 result
= ((wxFontPickerCtrl
const *)arg1
)->GetSelectedFont();
45078 wxPyEndAllowThreads(__tstate
);
45079 if (PyErr_Occurred()) SWIG_fail
;
45081 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45088 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45089 PyObject
*resultobj
= 0;
45090 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45096 PyObject
* obj0
= 0 ;
45097 PyObject
* obj1
= 0 ;
45098 char * kwnames
[] = {
45099 (char *) "self",(char *) "f", NULL
45102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45104 if (!SWIG_IsOK(res1
)) {
45105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45107 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45108 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45109 if (!SWIG_IsOK(res2
)) {
45110 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45113 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45115 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45118 (arg1
)->SetSelectedFont((wxFont
const &)*arg2
);
45119 wxPyEndAllowThreads(__tstate
);
45120 if (PyErr_Occurred()) SWIG_fail
;
45122 resultobj
= SWIG_Py_Void();
45129 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45130 PyObject
*resultobj
= 0;
45131 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45132 unsigned int arg2
;
45135 unsigned int val2
;
45137 PyObject
* obj0
= 0 ;
45138 PyObject
* obj1
= 0 ;
45139 char * kwnames
[] = {
45140 (char *) "self",(char *) "max", NULL
45143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45145 if (!SWIG_IsOK(res1
)) {
45146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45148 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45149 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
45150 if (!SWIG_IsOK(ecode2
)) {
45151 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
45153 arg2
= static_cast< unsigned int >(val2
);
45155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45156 (arg1
)->SetMaxPointSize(arg2
);
45157 wxPyEndAllowThreads(__tstate
);
45158 if (PyErr_Occurred()) SWIG_fail
;
45160 resultobj
= SWIG_Py_Void();
45167 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45168 PyObject
*resultobj
= 0;
45169 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45170 unsigned int result
;
45173 PyObject
*swig_obj
[1] ;
45175 if (!args
) SWIG_fail
;
45176 swig_obj
[0] = args
;
45177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45178 if (!SWIG_IsOK(res1
)) {
45179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45181 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45184 result
= (unsigned int)((wxFontPickerCtrl
const *)arg1
)->GetMaxPointSize();
45185 wxPyEndAllowThreads(__tstate
);
45186 if (PyErr_Occurred()) SWIG_fail
;
45188 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
45195 SWIGINTERN PyObject
*FontPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45197 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45198 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl
, SWIG_NewClientData(obj
));
45199 return SWIG_Py_Void();
45202 SWIGINTERN PyObject
*FontPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45203 return SWIG_Python_InitShadowInstance(args
);
45206 SWIGINTERN PyObject
*_wrap_new_FontPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45207 PyObject
*resultobj
= 0;
45208 wxObject
*arg1
= (wxObject
*) 0 ;
45211 wxFontPickerEvent
*result
= 0 ;
45218 PyObject
* obj0
= 0 ;
45219 PyObject
* obj1
= 0 ;
45220 PyObject
* obj2
= 0 ;
45221 char * kwnames
[] = {
45222 (char *) "generator",(char *) "id",(char *) "f", NULL
45225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_FontPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
45227 if (!SWIG_IsOK(res1
)) {
45228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45230 arg1
= reinterpret_cast< wxObject
* >(argp1
);
45231 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45232 if (!SWIG_IsOK(ecode2
)) {
45233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
45235 arg2
= static_cast< int >(val2
);
45236 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
45237 if (!SWIG_IsOK(res3
)) {
45238 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45241 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45243 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45246 result
= (wxFontPickerEvent
*)new wxFontPickerEvent(arg1
,arg2
,(wxFont
const &)*arg3
);
45247 wxPyEndAllowThreads(__tstate
);
45248 if (PyErr_Occurred()) SWIG_fail
;
45250 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerEvent
, SWIG_POINTER_NEW
| 0 );
45257 SWIGINTERN PyObject
*_wrap_FontPickerEvent_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45258 PyObject
*resultobj
= 0;
45259 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45263 PyObject
*swig_obj
[1] ;
45265 if (!args
) SWIG_fail
;
45266 swig_obj
[0] = args
;
45267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45268 if (!SWIG_IsOK(res1
)) {
45269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
45271 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45274 result
= ((wxFontPickerEvent
const *)arg1
)->GetFont();
45275 wxPyEndAllowThreads(__tstate
);
45276 if (PyErr_Occurred()) SWIG_fail
;
45278 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45285 SWIGINTERN PyObject
*_wrap_FontPickerEvent_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45286 PyObject
*resultobj
= 0;
45287 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45293 PyObject
* obj0
= 0 ;
45294 PyObject
* obj1
= 0 ;
45295 char * kwnames
[] = {
45296 (char *) "self",(char *) "c", NULL
45299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerEvent_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45301 if (!SWIG_IsOK(res1
)) {
45302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
45304 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45305 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45306 if (!SWIG_IsOK(res2
)) {
45307 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45310 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45312 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45315 (arg1
)->SetFont((wxFont
const &)*arg2
);
45316 wxPyEndAllowThreads(__tstate
);
45317 if (PyErr_Occurred()) SWIG_fail
;
45319 resultobj
= SWIG_Py_Void();
45326 SWIGINTERN PyObject
*FontPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45328 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45329 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent
, SWIG_NewClientData(obj
));
45330 return SWIG_Py_Void();
45333 SWIGINTERN PyObject
*FontPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45334 return SWIG_Python_InitShadowInstance(args
);
45337 SWIGINTERN
int CollapsiblePaneNameStr_set(PyObject
*) {
45338 SWIG_Error(SWIG_AttributeError
,"Variable CollapsiblePaneNameStr is read-only.");
45343 SWIGINTERN PyObject
*CollapsiblePaneNameStr_get(void) {
45344 PyObject
*pyobj
= 0;
45348 pyobj
= PyUnicode_FromWideChar((&wxPyCollapsiblePaneNameStr
)->c_str(), (&wxPyCollapsiblePaneNameStr
)->Len());
45350 pyobj
= PyString_FromStringAndSize((&wxPyCollapsiblePaneNameStr
)->c_str(), (&wxPyCollapsiblePaneNameStr
)->Len());
45357 SWIGINTERN PyObject
*_wrap_new_CollapsiblePane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45358 PyObject
*resultobj
= 0;
45359 wxWindow
*arg1
= (wxWindow
*) 0 ;
45360 int arg2
= (int) -1 ;
45361 wxString
const &arg3_defvalue
= wxPyEmptyString
;
45362 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
45363 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
45364 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
45365 wxSize
const &arg5_defvalue
= wxDefaultSize
;
45366 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
45367 long arg6
= (long) wxCP_DEFAULT_STYLE
;
45368 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
45369 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
45370 wxString
const &arg8_defvalue
= wxPyCollapsiblePaneNameStr
;
45371 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
45372 wxCollapsiblePane
*result
= 0 ;
45377 bool temp3
= false ;
45384 bool temp8
= false ;
45385 PyObject
* obj0
= 0 ;
45386 PyObject
* obj1
= 0 ;
45387 PyObject
* obj2
= 0 ;
45388 PyObject
* obj3
= 0 ;
45389 PyObject
* obj4
= 0 ;
45390 PyObject
* obj5
= 0 ;
45391 PyObject
* obj6
= 0 ;
45392 PyObject
* obj7
= 0 ;
45393 char * kwnames
[] = {
45394 (char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CollapsiblePane",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
45398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45399 if (!SWIG_IsOK(res1
)) {
45400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CollapsiblePane" "', expected argument " "1"" of type '" "wxWindow *""'");
45402 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
45404 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45405 if (!SWIG_IsOK(ecode2
)) {
45406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CollapsiblePane" "', expected argument " "2"" of type '" "int""'");
45408 arg2
= static_cast< int >(val2
);
45412 arg3
= wxString_in_helper(obj2
);
45413 if (arg3
== NULL
) SWIG_fail
;
45420 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
45426 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
45430 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
45431 if (!SWIG_IsOK(ecode6
)) {
45432 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CollapsiblePane" "', expected argument " "6"" of type '" "long""'");
45434 arg6
= static_cast< long >(val6
);
45437 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
45438 if (!SWIG_IsOK(res7
)) {
45439 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45442 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45444 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
45448 arg8
= wxString_in_helper(obj7
);
45449 if (arg8
== NULL
) SWIG_fail
;
45454 if (!wxPyCheckForApp()) SWIG_fail
;
45455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45456 result
= (wxCollapsiblePane
*)new wxCollapsiblePane(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
45457 wxPyEndAllowThreads(__tstate
);
45458 if (PyErr_Occurred()) SWIG_fail
;
45460 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePane
, SWIG_POINTER_NEW
| 0 );
45483 SWIGINTERN PyObject
*_wrap_new_PreCollapsiblePane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45484 PyObject
*resultobj
= 0;
45485 wxCollapsiblePane
*result
= 0 ;
45487 if (!SWIG_Python_UnpackTuple(args
,"new_PreCollapsiblePane",0,0,0)) SWIG_fail
;
45489 if (!wxPyCheckForApp()) SWIG_fail
;
45490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45491 result
= (wxCollapsiblePane
*)new wxCollapsiblePane();
45492 wxPyEndAllowThreads(__tstate
);
45493 if (PyErr_Occurred()) SWIG_fail
;
45495 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePane
, SWIG_POINTER_OWN
| 0 );
45502 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45503 PyObject
*resultobj
= 0;
45504 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45505 wxWindow
*arg2
= (wxWindow
*) 0 ;
45506 int arg3
= (int) -1 ;
45507 wxString
const &arg4_defvalue
= wxPyEmptyString
;
45508 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
45509 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
45510 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
45511 wxSize
const &arg6_defvalue
= wxDefaultSize
;
45512 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
45513 long arg7
= (long) wxCP_DEFAULT_STYLE
;
45514 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
45515 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
45516 wxString
const &arg9_defvalue
= wxPyCollapsiblePaneNameStr
;
45517 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
45525 bool temp4
= false ;
45532 bool temp9
= false ;
45533 PyObject
* obj0
= 0 ;
45534 PyObject
* obj1
= 0 ;
45535 PyObject
* obj2
= 0 ;
45536 PyObject
* obj3
= 0 ;
45537 PyObject
* obj4
= 0 ;
45538 PyObject
* obj5
= 0 ;
45539 PyObject
* obj6
= 0 ;
45540 PyObject
* obj7
= 0 ;
45541 PyObject
* obj8
= 0 ;
45542 char * kwnames
[] = {
45543 (char *) "self",(char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CollapsiblePane_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
45547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45548 if (!SWIG_IsOK(res1
)) {
45549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Create" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45551 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45552 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45553 if (!SWIG_IsOK(res2
)) {
45554 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CollapsiblePane_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45556 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45558 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45559 if (!SWIG_IsOK(ecode3
)) {
45560 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CollapsiblePane_Create" "', expected argument " "3"" of type '" "int""'");
45562 arg3
= static_cast< int >(val3
);
45566 arg4
= wxString_in_helper(obj3
);
45567 if (arg4
== NULL
) SWIG_fail
;
45574 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
45580 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
45584 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
45585 if (!SWIG_IsOK(ecode7
)) {
45586 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CollapsiblePane_Create" "', expected argument " "7"" of type '" "long""'");
45588 arg7
= static_cast< long >(val7
);
45591 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
45592 if (!SWIG_IsOK(res8
)) {
45593 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45596 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45598 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
45602 arg9
= wxString_in_helper(obj8
);
45603 if (arg9
== NULL
) SWIG_fail
;
45608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45609 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
45610 wxPyEndAllowThreads(__tstate
);
45611 if (PyErr_Occurred()) SWIG_fail
;
45614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45638 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45639 PyObject
*resultobj
= 0;
45640 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45641 bool arg2
= (bool) true ;
45646 PyObject
* obj0
= 0 ;
45647 PyObject
* obj1
= 0 ;
45648 char * kwnames
[] = {
45649 (char *) "self",(char *) "collapse", NULL
45652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CollapsiblePane_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45654 if (!SWIG_IsOK(res1
)) {
45655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Collapse" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45657 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45659 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
45660 if (!SWIG_IsOK(ecode2
)) {
45661 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CollapsiblePane_Collapse" "', expected argument " "2"" of type '" "bool""'");
45663 arg2
= static_cast< bool >(val2
);
45666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45667 (arg1
)->Collapse(arg2
);
45668 wxPyEndAllowThreads(__tstate
);
45669 if (PyErr_Occurred()) SWIG_fail
;
45671 resultobj
= SWIG_Py_Void();
45678 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45679 PyObject
*resultobj
= 0;
45680 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45683 PyObject
*swig_obj
[1] ;
45685 if (!args
) SWIG_fail
;
45686 swig_obj
[0] = args
;
45687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45688 if (!SWIG_IsOK(res1
)) {
45689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Expand" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45691 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45695 wxPyEndAllowThreads(__tstate
);
45696 if (PyErr_Occurred()) SWIG_fail
;
45698 resultobj
= SWIG_Py_Void();
45705 SWIGINTERN PyObject
*_wrap_CollapsiblePane_IsCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45706 PyObject
*resultobj
= 0;
45707 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45711 PyObject
*swig_obj
[1] ;
45713 if (!args
) SWIG_fail
;
45714 swig_obj
[0] = args
;
45715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45716 if (!SWIG_IsOK(res1
)) {
45717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_IsCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
45719 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45722 result
= (bool)((wxCollapsiblePane
const *)arg1
)->IsCollapsed();
45723 wxPyEndAllowThreads(__tstate
);
45724 if (PyErr_Occurred()) SWIG_fail
;
45727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45735 SWIGINTERN PyObject
*_wrap_CollapsiblePane_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45736 PyObject
*resultobj
= 0;
45737 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45741 PyObject
*swig_obj
[1] ;
45743 if (!args
) SWIG_fail
;
45744 swig_obj
[0] = args
;
45745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45746 if (!SWIG_IsOK(res1
)) {
45747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_IsExpanded" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
45749 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45752 result
= (bool)((wxCollapsiblePane
const *)arg1
)->IsExpanded();
45753 wxPyEndAllowThreads(__tstate
);
45754 if (PyErr_Occurred()) SWIG_fail
;
45757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45765 SWIGINTERN PyObject
*_wrap_CollapsiblePane_GetPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45766 PyObject
*resultobj
= 0;
45767 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45768 wxWindow
*result
= 0 ;
45771 PyObject
*swig_obj
[1] ;
45773 if (!args
) SWIG_fail
;
45774 swig_obj
[0] = args
;
45775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45776 if (!SWIG_IsOK(res1
)) {
45777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_GetPane" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
45779 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45782 result
= (wxWindow
*)((wxCollapsiblePane
const *)arg1
)->GetPane();
45783 wxPyEndAllowThreads(__tstate
);
45784 if (PyErr_Occurred()) SWIG_fail
;
45787 resultobj
= wxPyMake_wxObject(result
, 0);
45795 SWIGINTERN PyObject
*CollapsiblePane_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45797 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45798 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePane
, SWIG_NewClientData(obj
));
45799 return SWIG_Py_Void();
45802 SWIGINTERN PyObject
*CollapsiblePane_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45803 return SWIG_Python_InitShadowInstance(args
);
45806 SWIGINTERN PyObject
*_wrap_new_CollapsiblePaneEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45807 PyObject
*resultobj
= 0;
45808 wxObject
*arg1
= (wxObject
*) 0 ;
45811 wxCollapsiblePaneEvent
*result
= 0 ;
45818 PyObject
* obj0
= 0 ;
45819 PyObject
* obj1
= 0 ;
45820 PyObject
* obj2
= 0 ;
45821 char * kwnames
[] = {
45822 (char *) "generator",(char *) "id",(char *) "collapsed", NULL
45825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_CollapsiblePaneEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
45827 if (!SWIG_IsOK(res1
)) {
45828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45830 arg1
= reinterpret_cast< wxObject
* >(argp1
);
45831 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45832 if (!SWIG_IsOK(ecode2
)) {
45833 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "2"" of type '" "int""'");
45835 arg2
= static_cast< int >(val2
);
45836 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
45837 if (!SWIG_IsOK(ecode3
)) {
45838 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "3"" of type '" "bool""'");
45840 arg3
= static_cast< bool >(val3
);
45842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45843 result
= (wxCollapsiblePaneEvent
*)new wxCollapsiblePaneEvent(arg1
,arg2
,arg3
);
45844 wxPyEndAllowThreads(__tstate
);
45845 if (PyErr_Occurred()) SWIG_fail
;
45847 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePaneEvent
, SWIG_POINTER_NEW
| 0 );
45854 SWIGINTERN PyObject
*_wrap_CollapsiblePaneEvent_GetCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45855 PyObject
*resultobj
= 0;
45856 wxCollapsiblePaneEvent
*arg1
= (wxCollapsiblePaneEvent
*) 0 ;
45860 PyObject
*swig_obj
[1] ;
45862 if (!args
) SWIG_fail
;
45863 swig_obj
[0] = args
;
45864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePaneEvent
, 0 | 0 );
45865 if (!SWIG_IsOK(res1
)) {
45866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePaneEvent_GetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent const *""'");
45868 arg1
= reinterpret_cast< wxCollapsiblePaneEvent
* >(argp1
);
45870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45871 result
= (bool)((wxCollapsiblePaneEvent
const *)arg1
)->GetCollapsed();
45872 wxPyEndAllowThreads(__tstate
);
45873 if (PyErr_Occurred()) SWIG_fail
;
45876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45884 SWIGINTERN PyObject
*_wrap_CollapsiblePaneEvent_SetCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45885 PyObject
*resultobj
= 0;
45886 wxCollapsiblePaneEvent
*arg1
= (wxCollapsiblePaneEvent
*) 0 ;
45892 PyObject
* obj0
= 0 ;
45893 PyObject
* obj1
= 0 ;
45894 char * kwnames
[] = {
45895 (char *) "self",(char *) "c", NULL
45898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CollapsiblePaneEvent_SetCollapsed",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePaneEvent
, 0 | 0 );
45900 if (!SWIG_IsOK(res1
)) {
45901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent *""'");
45903 arg1
= reinterpret_cast< wxCollapsiblePaneEvent
* >(argp1
);
45904 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
45905 if (!SWIG_IsOK(ecode2
)) {
45906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "2"" of type '" "bool""'");
45908 arg2
= static_cast< bool >(val2
);
45910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45911 (arg1
)->SetCollapsed(arg2
);
45912 wxPyEndAllowThreads(__tstate
);
45913 if (PyErr_Occurred()) SWIG_fail
;
45915 resultobj
= SWIG_Py_Void();
45922 SWIGINTERN PyObject
*CollapsiblePaneEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45924 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45925 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePaneEvent
, SWIG_NewClientData(obj
));
45926 return SWIG_Py_Void();
45929 SWIGINTERN PyObject
*CollapsiblePaneEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45930 return SWIG_Python_InitShadowInstance(args
);
45933 static PyMethodDef SwigMethods
[] = {
45934 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45935 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
45936 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45937 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
45938 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
45939 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45940 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
45941 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
45942 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45943 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
45944 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45945 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
45946 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
45947 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
45948 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
45949 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
45950 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45951 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45952 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45953 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45954 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45955 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45956 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
45957 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
45958 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
45959 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
45960 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45961 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
45962 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45963 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
45964 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
45965 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45966 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
45967 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45968 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
45969 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
45970 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45971 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
45972 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
45973 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45974 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
45975 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45976 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
45977 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45978 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
45979 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
45980 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45981 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
45982 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45983 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
45984 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45985 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
45986 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
45987 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
45988 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45989 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
45990 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
45991 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45992 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45993 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
45994 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45995 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45996 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45997 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
45998 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45999 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
46000 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
46001 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
46002 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
46003 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
46004 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
46005 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
46006 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
46007 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
46008 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46009 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
46010 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
46011 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46012 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
46013 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46014 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46015 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
46016 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46017 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
46018 { (char *)"Gauge_Pulse", (PyCFunction
)_wrap_Gauge_Pulse
, METH_O
, NULL
},
46019 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
46020 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46021 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
46022 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46023 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
46024 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46025 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
46026 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
46027 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46028 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
46029 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46030 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46031 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
46032 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
46033 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46034 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
46035 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46036 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
46037 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
46038 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46039 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
46040 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
46041 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46042 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
46043 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46044 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46045 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46046 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
46047 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
46048 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46049 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
46050 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46051 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
46052 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46053 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46054 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46055 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
46056 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
46057 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46058 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
46059 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46060 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46061 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46062 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46063 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46064 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46065 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46066 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46067 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46068 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46069 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
46070 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46071 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46072 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46073 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46074 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
46075 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46076 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46077 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46078 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46079 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46080 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
46081 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
46082 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46083 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
46084 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46085 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46086 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46087 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
46088 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
46089 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46090 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
46091 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
46092 { (char *)"TextAttr_Merge", (PyCFunction
) _wrap_TextAttr_Merge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46093 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46094 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46095 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46096 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46097 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46098 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46099 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46100 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46101 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
46102 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
46103 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
46104 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
46105 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
46106 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
46107 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
46108 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46109 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
46110 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
46111 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
46112 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
46113 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
46114 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
46115 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
46116 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
46117 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
46118 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
46119 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46120 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
46121 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
46122 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46123 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
46124 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46125 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
46126 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46127 { (char *)"TextCtrl_IsEmpty", (PyCFunction
)_wrap_TextCtrl_IsEmpty
, METH_O
, NULL
},
46128 { (char *)"TextCtrl_ChangeValue", (PyCFunction
) _wrap_TextCtrl_ChangeValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46129 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46130 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46131 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46132 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
46133 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
46134 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
46135 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
46136 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
46137 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
46138 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
46139 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
46140 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46141 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46142 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46143 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46144 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
46145 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
46146 { (char *)"TextCtrl_SetModified", (PyCFunction
) _wrap_TextCtrl_SetModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46147 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46148 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46149 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46150 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46151 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46152 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46153 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46154 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
46155 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46156 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46157 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46158 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46159 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46160 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
46161 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
46162 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
46163 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
46164 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
46165 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
46166 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
46167 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
46168 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
46169 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
46170 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46171 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
46172 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
46173 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
46174 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46175 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
46176 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46177 { (char *)"TextCtrl_SendTextUpdatedEvent", (PyCFunction
)_wrap_TextCtrl_SendTextUpdatedEvent
, METH_O
, NULL
},
46178 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46179 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46180 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46181 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
46182 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
46183 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46184 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
46185 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
46186 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
46187 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
46188 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
46189 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46190 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
46191 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46192 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
46193 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
46194 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
46195 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
46196 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
46197 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46198 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46199 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
46200 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
46201 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46202 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
46203 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46204 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
46205 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
46206 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
46207 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46208 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46209 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46210 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46211 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
46212 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46213 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
46214 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
46215 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46216 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
46217 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46218 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
46219 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46220 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46221 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46222 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
46223 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
46224 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46225 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46226 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
46227 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
46228 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46229 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
46230 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46231 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
46232 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
46233 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46234 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
46235 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46236 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46237 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
46238 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
46239 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46240 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
46241 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46242 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46243 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46244 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46245 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46246 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46247 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46248 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
46249 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
46250 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46251 { (char *)"RadioBox_SetItemToolTip", (PyCFunction
) _wrap_RadioBox_SetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46252 { (char *)"RadioBox_GetItemToolTip", (PyCFunction
) _wrap_RadioBox_GetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46253 { (char *)"RadioBox_SetItemHelpText", (PyCFunction
) _wrap_RadioBox_SetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46254 { (char *)"RadioBox_GetItemHelpText", (PyCFunction
) _wrap_RadioBox_GetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46255 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46256 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
46257 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
46258 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46259 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
46260 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46261 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
46262 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46263 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46264 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
46265 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
46266 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46267 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
46268 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46269 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
46270 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46271 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46272 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
46273 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
46274 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46275 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46276 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46277 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46278 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
46279 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
46280 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46281 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
46282 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46283 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
46284 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
46285 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46286 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
46287 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
46288 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
46289 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46290 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46291 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
46292 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
46293 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46294 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
46295 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46296 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46297 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
46298 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46299 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
46300 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
46301 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
46302 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46303 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
46304 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
46305 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46306 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46307 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46308 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46309 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
46310 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46311 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46312 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46313 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46314 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
46315 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46316 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
46317 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46318 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
46319 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46320 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
46321 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
46322 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46323 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46324 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
46325 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46326 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46327 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46328 { (char *)"BookCtrlBase_ChangeSelection", (PyCFunction
) _wrap_BookCtrlBase_ChangeSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46329 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46330 { (char *)"BookCtrlBase_HitTest", (PyCFunction
) _wrap_BookCtrlBase_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46331 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46332 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
46333 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46334 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
46335 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46336 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
46337 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46338 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
46339 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
46340 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46341 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
46342 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46343 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
46344 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46345 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46346 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
46347 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46348 { (char *)"Notebook_SendPageChangingEvent", (PyCFunction
) _wrap_Notebook_SendPageChangingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46349 { (char *)"Notebook_SendPageChangedEvent", (PyCFunction
) _wrap_Notebook_SendPageChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46350 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
46351 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
46352 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46353 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
46354 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
46355 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46356 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
46357 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46358 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
46359 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
46360 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
46361 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46362 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
46363 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
46364 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46365 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
46366 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46367 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
46368 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
46369 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
46370 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46371 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
46372 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
46373 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46374 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
46375 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46376 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46377 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46378 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46379 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46380 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46381 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46382 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
46383 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
46384 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
46385 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46386 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
46387 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
46388 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46389 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
46390 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46391 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
46392 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
46393 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
46394 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
46395 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46396 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
46397 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
46398 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
46399 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
46400 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
46401 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
46402 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
46403 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
46404 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
46405 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
46406 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
46407 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
46408 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
46409 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
46410 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
46411 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
46412 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
46413 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
46414 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
46415 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46416 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
46417 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46418 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46419 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46420 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46421 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46422 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46423 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
46424 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46425 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
46426 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46427 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
46428 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46429 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46430 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46431 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46432 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46433 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46434 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46435 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
46436 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46437 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46438 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46439 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46440 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
46441 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
46442 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46443 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46444 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46445 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46446 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46447 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46448 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46449 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46450 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46451 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46452 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46453 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46454 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46455 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46456 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46457 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46458 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
46459 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
46460 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
46461 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
46462 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46463 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46464 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
46465 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
46466 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46467 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
46468 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
46469 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46470 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46471 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
46472 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
46473 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
46474 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46475 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
46476 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46477 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46478 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
46479 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
46480 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46481 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
46482 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46483 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46484 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46485 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
46486 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
46487 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
46488 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
46489 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
46490 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
46491 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46492 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
46493 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
46494 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
46495 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
46496 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
46497 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
46498 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
46499 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46500 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46501 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46502 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46503 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46504 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46505 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46506 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46507 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46508 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46509 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46510 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46511 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46512 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
46513 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
46514 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
46515 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
46516 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
46517 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
46518 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
46519 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
46520 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
46521 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
46522 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
46523 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
46524 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
46525 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
46526 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
46527 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
46528 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
46529 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
46530 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
46531 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
46532 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
46533 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
46534 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
46535 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
46536 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
46537 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
46538 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
46539 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
46540 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
46541 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
46542 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
46543 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
46544 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
46545 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
46546 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
46547 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
46548 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46549 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
46550 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
46551 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
46552 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
46553 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
46554 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
46555 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
46556 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
46557 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
46558 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
46559 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
46560 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
46561 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
46562 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
46563 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
46564 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
46565 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
46566 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
46567 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
46568 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
46569 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
46570 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
46571 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
46572 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
46573 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46574 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
46575 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
46576 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46577 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
46578 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46579 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46580 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46581 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46582 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46583 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46584 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
46585 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
46586 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
46587 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46588 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46589 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46590 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46591 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46592 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46593 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46594 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46595 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46596 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46597 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46598 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46599 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46600 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46601 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
46602 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
46603 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
46604 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46605 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
46606 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
46607 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46608 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
46609 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46610 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46611 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46612 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46613 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46614 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
46615 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
46616 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46617 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46618 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46619 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46620 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
46621 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46622 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
46623 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
46624 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46625 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46626 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46627 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46628 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46629 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46630 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction
) _wrap_ListCtrl_HitTestSubItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46631 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46632 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46633 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46634 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46635 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46636 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46637 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46638 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46639 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46640 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46641 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46642 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46643 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46644 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46645 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46646 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
46647 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46648 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
46649 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
46650 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46651 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
46652 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46653 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46654 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46655 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
46656 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46657 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
46658 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46659 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46660 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46661 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
46662 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
46663 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
46664 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
46665 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
46666 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46667 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46668 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
46669 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
46670 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
46671 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
46672 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46673 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
46674 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
46675 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46676 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
46677 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46678 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
46679 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
46680 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
46681 { (char *)"new_TreeEvent", _wrap_new_TreeEvent
, METH_VARARGS
, NULL
},
46682 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
46683 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46684 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
46685 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46686 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
46687 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46688 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
46689 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
46690 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46691 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
46692 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46693 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
46694 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46695 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46696 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
46697 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
46698 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
46699 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46700 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
46701 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46702 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46703 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
46704 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
46705 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46706 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
46707 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46708 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
46709 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
46710 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46711 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46712 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46713 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46714 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46715 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46716 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46717 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46718 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46719 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46720 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46721 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46722 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46723 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46724 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46725 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46726 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46727 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46728 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46729 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46730 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46731 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46732 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46733 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46734 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46735 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46736 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46737 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
46738 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
46739 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
46740 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46741 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46742 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46743 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46744 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46745 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46746 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
46747 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46748 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46749 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46750 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46751 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46752 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46753 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46754 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46755 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46756 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
46757 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46758 { (char *)"TreeCtrl_ExpandAllChildren", (PyCFunction
) _wrap_TreeCtrl_ExpandAllChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46759 { (char *)"TreeCtrl_ExpandAll", (PyCFunction
)_wrap_TreeCtrl_ExpandAll
, METH_O
, NULL
},
46760 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46761 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46762 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46763 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
46764 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46765 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
46766 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46767 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46768 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46769 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46770 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46771 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
46772 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46773 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46774 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46775 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46776 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction
) _wrap_TreeCtrl_SetQuickBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46777 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction
)_wrap_TreeCtrl_GetQuickBestSize
, METH_O
, NULL
},
46778 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
46779 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
46780 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46781 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
46782 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46783 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46784 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction
) _wrap_GenericDirCtrl_CollapsePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46785 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
46786 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46787 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
46788 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
46789 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46790 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46791 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
46792 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
46793 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46794 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
46795 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46796 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
46797 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
46798 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
46799 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46800 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
46801 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
46802 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
46803 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
46804 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46805 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
46806 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46807 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46808 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
46809 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
46810 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46811 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
46812 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46813 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46814 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46815 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46816 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46817 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46818 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
46819 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
46820 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
46821 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
46822 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
46823 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
46824 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
46825 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
46826 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
46827 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46828 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
46829 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46830 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
46831 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46832 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
46833 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46834 { (char *)"HelpEvent_GetOrigin", (PyCFunction
)_wrap_HelpEvent_GetOrigin
, METH_O
, NULL
},
46835 { (char *)"HelpEvent_SetOrigin", (PyCFunction
) _wrap_HelpEvent_SetOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46836 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
46837 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
46838 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46839 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
46840 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46841 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
46842 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
46843 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
46844 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46845 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
46846 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
46847 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
46848 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46849 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
46850 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46851 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46852 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction
) _wrap_HelpProvider_ShowHelpAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46853 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46854 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46855 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46856 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
46857 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
46858 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
46859 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
46860 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
46861 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46862 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46863 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46864 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46865 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46866 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
46867 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46868 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46869 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46870 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
46871 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46872 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
46873 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
46874 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46875 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46876 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46877 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46878 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
46879 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
46880 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46881 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
46882 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46883 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46884 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
46885 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46886 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
46887 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
46888 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46889 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46890 { (char *)"new_HyperlinkCtrl", (PyCFunction
) _wrap_new_HyperlinkCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46891 { (char *)"new_PreHyperlinkCtrl", (PyCFunction
)_wrap_new_PreHyperlinkCtrl
, METH_NOARGS
, NULL
},
46892 { (char *)"HyperlinkCtrl_Create", (PyCFunction
) _wrap_HyperlinkCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46893 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetHoverColour
, METH_O
, NULL
},
46894 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetHoverColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46895 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetNormalColour
, METH_O
, NULL
},
46896 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetNormalColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46897 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisitedColour
, METH_O
, NULL
},
46898 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisitedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46899 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction
)_wrap_HyperlinkCtrl_GetURL
, METH_O
, NULL
},
46900 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction
) _wrap_HyperlinkCtrl_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46901 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisited
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46902 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisited
, METH_O
, NULL
},
46903 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister
, METH_VARARGS
, NULL
},
46904 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit
, METH_VARARGS
, NULL
},
46905 { (char *)"new_HyperlinkEvent", (PyCFunction
) _wrap_new_HyperlinkEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46906 { (char *)"HyperlinkEvent_GetURL", (PyCFunction
)_wrap_HyperlinkEvent_GetURL
, METH_O
, NULL
},
46907 { (char *)"HyperlinkEvent_SetURL", (PyCFunction
) _wrap_HyperlinkEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46908 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister
, METH_VARARGS
, NULL
},
46909 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit
, METH_VARARGS
, NULL
},
46910 { (char *)"PickerBase_CreateBase", (PyCFunction
) _wrap_PickerBase_CreateBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46911 { (char *)"PickerBase_SetInternalMargin", (PyCFunction
) _wrap_PickerBase_SetInternalMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46912 { (char *)"PickerBase_GetInternalMargin", (PyCFunction
)_wrap_PickerBase_GetInternalMargin
, METH_O
, NULL
},
46913 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetTextCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46914 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetTextCtrlProportion
, METH_O
, NULL
},
46915 { (char *)"PickerBase_SetPickerCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46916 { (char *)"PickerBase_GetPickerCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetPickerCtrlProportion
, METH_O
, NULL
},
46917 { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsTextCtrlGrowable
, METH_O
, NULL
},
46918 { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetTextCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46919 { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsPickerCtrlGrowable
, METH_O
, NULL
},
46920 { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46921 { (char *)"PickerBase_HasTextCtrl", (PyCFunction
)_wrap_PickerBase_HasTextCtrl
, METH_O
, NULL
},
46922 { (char *)"PickerBase_GetTextCtrl", (PyCFunction
)_wrap_PickerBase_GetTextCtrl
, METH_O
, NULL
},
46923 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction
)_wrap_PickerBase_GetPickerCtrl
, METH_O
, NULL
},
46924 { (char *)"PickerBase_swigregister", PickerBase_swigregister
, METH_VARARGS
, NULL
},
46925 { (char *)"new_ColourPickerCtrl", (PyCFunction
) _wrap_new_ColourPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46926 { (char *)"new_PreColourPickerCtrl", (PyCFunction
)_wrap_new_PreColourPickerCtrl
, METH_NOARGS
, NULL
},
46927 { (char *)"ColourPickerCtrl_Create", (PyCFunction
) _wrap_ColourPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46928 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction
)_wrap_ColourPickerCtrl_GetColour
, METH_O
, NULL
},
46929 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction
) _wrap_ColourPickerCtrl_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46930 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46931 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46932 { (char *)"new_ColourPickerEvent", (PyCFunction
) _wrap_new_ColourPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46933 { (char *)"ColourPickerEvent_GetColour", (PyCFunction
)_wrap_ColourPickerEvent_GetColour
, METH_O
, NULL
},
46934 { (char *)"ColourPickerEvent_SetColour", (PyCFunction
) _wrap_ColourPickerEvent_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46935 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46936 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46937 { (char *)"new_FilePickerCtrl", (PyCFunction
) _wrap_new_FilePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46938 { (char *)"new_PreFilePickerCtrl", (PyCFunction
)_wrap_new_PreFilePickerCtrl
, METH_NOARGS
, NULL
},
46939 { (char *)"FilePickerCtrl_Create", (PyCFunction
) _wrap_FilePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46940 { (char *)"FilePickerCtrl_GetPath", (PyCFunction
)_wrap_FilePickerCtrl_GetPath
, METH_O
, NULL
},
46941 { (char *)"FilePickerCtrl_SetPath", (PyCFunction
) _wrap_FilePickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46942 { (char *)"FilePickerCtrl_CheckPath", (PyCFunction
) _wrap_FilePickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46943 { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_FilePickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
46944 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46945 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46946 { (char *)"new_DirPickerCtrl", (PyCFunction
) _wrap_new_DirPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46947 { (char *)"new_PreDirPickerCtrl", (PyCFunction
)_wrap_new_PreDirPickerCtrl
, METH_NOARGS
, NULL
},
46948 { (char *)"DirPickerCtrl_Create", (PyCFunction
) _wrap_DirPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46949 { (char *)"DirPickerCtrl_GetPath", (PyCFunction
)_wrap_DirPickerCtrl_GetPath
, METH_O
, NULL
},
46950 { (char *)"DirPickerCtrl_SetPath", (PyCFunction
) _wrap_DirPickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46951 { (char *)"DirPickerCtrl_CheckPath", (PyCFunction
) _wrap_DirPickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46952 { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_DirPickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
46953 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46954 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46955 { (char *)"new_FileDirPickerEvent", (PyCFunction
) _wrap_new_FileDirPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46956 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction
)_wrap_FileDirPickerEvent_GetPath
, METH_O
, NULL
},
46957 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction
) _wrap_FileDirPickerEvent_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46958 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46959 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46960 { (char *)"new_FontPickerCtrl", (PyCFunction
) _wrap_new_FontPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46961 { (char *)"new_PreFontPickerCtrl", (PyCFunction
)_wrap_new_PreFontPickerCtrl
, METH_NOARGS
, NULL
},
46962 { (char *)"FontPickerCtrl_Create", (PyCFunction
) _wrap_FontPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46963 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction
)_wrap_FontPickerCtrl_GetSelectedFont
, METH_O
, NULL
},
46964 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction
) _wrap_FontPickerCtrl_SetSelectedFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46965 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction
) _wrap_FontPickerCtrl_SetMaxPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46966 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction
)_wrap_FontPickerCtrl_GetMaxPointSize
, METH_O
, NULL
},
46967 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
46968 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
46969 { (char *)"new_FontPickerEvent", (PyCFunction
) _wrap_new_FontPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46970 { (char *)"FontPickerEvent_GetFont", (PyCFunction
)_wrap_FontPickerEvent_GetFont
, METH_O
, NULL
},
46971 { (char *)"FontPickerEvent_SetFont", (PyCFunction
) _wrap_FontPickerEvent_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46972 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister
, METH_VARARGS
, NULL
},
46973 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit
, METH_VARARGS
, NULL
},
46974 { (char *)"new_CollapsiblePane", (PyCFunction
) _wrap_new_CollapsiblePane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46975 { (char *)"new_PreCollapsiblePane", (PyCFunction
)_wrap_new_PreCollapsiblePane
, METH_NOARGS
, NULL
},
46976 { (char *)"CollapsiblePane_Create", (PyCFunction
) _wrap_CollapsiblePane_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46977 { (char *)"CollapsiblePane_Collapse", (PyCFunction
) _wrap_CollapsiblePane_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46978 { (char *)"CollapsiblePane_Expand", (PyCFunction
)_wrap_CollapsiblePane_Expand
, METH_O
, NULL
},
46979 { (char *)"CollapsiblePane_IsCollapsed", (PyCFunction
)_wrap_CollapsiblePane_IsCollapsed
, METH_O
, NULL
},
46980 { (char *)"CollapsiblePane_IsExpanded", (PyCFunction
)_wrap_CollapsiblePane_IsExpanded
, METH_O
, NULL
},
46981 { (char *)"CollapsiblePane_GetPane", (PyCFunction
)_wrap_CollapsiblePane_GetPane
, METH_O
, NULL
},
46982 { (char *)"CollapsiblePane_swigregister", CollapsiblePane_swigregister
, METH_VARARGS
, NULL
},
46983 { (char *)"CollapsiblePane_swiginit", CollapsiblePane_swiginit
, METH_VARARGS
, NULL
},
46984 { (char *)"new_CollapsiblePaneEvent", (PyCFunction
) _wrap_new_CollapsiblePaneEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46985 { (char *)"CollapsiblePaneEvent_GetCollapsed", (PyCFunction
)_wrap_CollapsiblePaneEvent_GetCollapsed
, METH_O
, NULL
},
46986 { (char *)"CollapsiblePaneEvent_SetCollapsed", (PyCFunction
) _wrap_CollapsiblePaneEvent_SetCollapsed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46987 { (char *)"CollapsiblePaneEvent_swigregister", CollapsiblePaneEvent_swigregister
, METH_VARARGS
, NULL
},
46988 { (char *)"CollapsiblePaneEvent_swiginit", CollapsiblePaneEvent_swiginit
, METH_VARARGS
, NULL
},
46989 { NULL
, NULL
, 0, NULL
}
46993 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
46995 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
46996 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46998 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
46999 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
47001 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
47002 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
47004 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
47005 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
47007 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
47008 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
47010 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
47011 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47013 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
47014 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47016 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
47017 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
47019 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x
) {
47020 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
47022 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x
) {
47023 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
47025 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x
) {
47026 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
47028 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
47029 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
47031 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
47032 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
47034 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
47035 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
47037 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
47038 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47040 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
47041 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
47043 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
47044 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
47046 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
47047 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
47049 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
47050 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47052 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
47053 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47055 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
47056 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47058 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
47059 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47061 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
47062 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47064 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
47065 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
47067 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
47068 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
47070 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
47071 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47073 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
47074 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
47076 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
47077 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
47079 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
47080 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
47082 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
47083 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
47085 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
47086 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
47088 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
47089 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
47091 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
47092 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
47094 static void *_p_wxCollapsiblePaneEventTo_p_wxEvent(void *x
) {
47095 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
47097 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
47098 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
47100 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
47101 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
47103 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
47104 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
47106 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
47107 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47109 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
47110 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
47112 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
47113 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
47115 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
47116 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
47118 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
47119 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
47121 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x
) {
47122 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
47124 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
47125 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
47127 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
47128 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
47130 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
47131 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47133 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
47134 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
47136 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
47137 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
47139 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
47140 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47142 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
47143 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47145 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
47146 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
47148 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
47149 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
47151 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
47152 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
47154 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
47155 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
47157 static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x
) {
47158 return (void *)((wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47160 static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x
) {
47161 return (void *)((wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47163 static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x
) {
47164 return (void *)((wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47166 static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x
) {
47167 return (void *)((wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47169 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
47170 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
47172 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
47173 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47175 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
47176 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
47178 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
47179 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
47181 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
47182 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
47184 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
47185 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47187 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
47188 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
47190 static void *_p_wxCollapsiblePaneTo_p_wxControl(void *x
) {
47191 return (void *)((wxControl
*) ((wxCollapsiblePane
*) x
));
47193 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
47194 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
47196 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
47197 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
47199 static void *_p_wxPickerBaseTo_p_wxControl(void *x
) {
47200 return (void *)((wxControl
*) ((wxPickerBase
*) x
));
47202 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
47203 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
47205 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
47206 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
47208 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
47209 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
47211 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
47212 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
47214 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
47215 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47217 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
47218 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
47220 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
47221 return (void *)((wxControl
*) ((wxComboBox
*) x
));
47223 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
47224 return (void *)((wxControl
*) ((wxPyControl
*) x
));
47226 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
47227 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
47229 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
47230 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
47232 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
47233 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
47235 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
47236 return (void *)((wxControl
*) ((wxGauge
*) x
));
47238 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
47239 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
47241 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
47242 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47244 static void *_p_wxListbookTo_p_wxControl(void *x
) {
47245 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
47247 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x
) {
47248 return (void *)((wxControl
*) ((wxHyperlinkCtrl
*) x
));
47250 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
47251 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
47253 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
47254 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
47256 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
47257 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
47259 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
47260 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
47262 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
47263 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
47265 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
47266 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47268 static void *_p_wxListViewTo_p_wxControl(void *x
) {
47269 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
47271 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
47272 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
47274 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
47275 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
47277 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
47278 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
47280 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
47281 return (void *)((wxControl
*) ((wxStaticText
*) x
));
47283 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
47284 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
47286 static void *_p_wxSliderTo_p_wxControl(void *x
) {
47287 return (void *)((wxControl
*) ((wxSlider
*) x
));
47289 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
47290 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
47292 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
47293 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
47295 static void *_p_wxButtonTo_p_wxControl(void *x
) {
47296 return (void *)((wxControl
*) ((wxButton
*) x
));
47298 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
47299 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
47301 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
47302 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47304 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
47305 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
47307 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x
) {
47308 return (void *)((wxControl
*) (wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47310 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x
) {
47311 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47313 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x
) {
47314 return (void *)((wxControl
*) (wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47316 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x
) {
47317 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47319 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
47320 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
47322 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
47323 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
47325 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
47326 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47328 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
47329 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47331 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
47332 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47334 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
47335 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
47337 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
47338 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
47340 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
47341 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47343 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
47344 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47346 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
47347 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47349 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
47350 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47352 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
47353 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47355 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
47356 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47358 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
47359 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
47361 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
47362 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
47364 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
47365 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
47367 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
47368 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
47370 static void *_p_wxCollapsiblePaneTo_p_wxEvtHandler(void *x
) {
47371 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCollapsiblePane
*) x
));
47373 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
47374 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
47376 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
47377 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
47379 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
47380 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
47382 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
47383 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
47385 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
47386 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
47388 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x
) {
47389 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
47391 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
47392 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
47394 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
47395 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
47397 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
47398 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
47400 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
47401 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
47403 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
47404 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
47406 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
47407 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
47409 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
47410 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
47412 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
47413 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
47415 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
47416 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
47418 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
47419 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47421 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
47422 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
47424 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
47425 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
47427 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
47428 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
47430 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
47431 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
47433 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
47434 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
47436 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
47437 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
47439 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
47440 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
47442 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
47443 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47445 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
47446 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
47448 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x
) {
47449 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
47451 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
47452 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
47454 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
47455 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
47457 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
47458 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
47460 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
47461 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47463 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
47464 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
47466 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
47467 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
47469 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
47470 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
47472 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
47473 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
47475 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
47476 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
47478 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
47479 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
47481 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
47482 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
47484 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
47485 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
47487 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
47488 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
47490 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
47491 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
47493 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
47494 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
47496 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
47497 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
47499 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
47500 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
47502 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
47503 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47505 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
47506 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
47508 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x
) {
47509 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47511 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x
) {
47512 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47514 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x
) {
47515 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47517 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x
) {
47518 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47520 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
47521 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
47523 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
47524 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
47526 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
47527 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
47529 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
47530 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47532 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
47533 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47535 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
47536 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
47538 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
47539 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
47541 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
47542 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
47544 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
47545 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
47547 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
47548 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
47550 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
47551 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
47553 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
47554 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
47556 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
47557 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
47559 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
47560 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
47562 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
47563 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
47565 static void *_p_wxSizerTo_p_wxObject(void *x
) {
47566 return (void *)((wxObject
*) ((wxSizer
*) x
));
47568 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
47569 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
47571 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
47572 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
47574 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
47575 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
47577 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
47578 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47580 static void *_p_wxEventTo_p_wxObject(void *x
) {
47581 return (void *)((wxObject
*) ((wxEvent
*) x
));
47583 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
47584 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
47586 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
47587 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
47589 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
47590 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
47592 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
47593 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
47595 static void *_p_wxPickerBaseTo_p_wxObject(void *x
) {
47596 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
47598 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
47599 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
47601 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
47602 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47604 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
47605 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
47607 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
47608 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
47610 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
47611 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
47613 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
47614 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
47616 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
47617 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
47619 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
47620 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
47622 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
47623 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
47625 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
47626 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
47628 static void *_p_wxControlTo_p_wxObject(void *x
) {
47629 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
47631 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
47632 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
47634 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
47635 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
47637 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
47638 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
47640 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
47641 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
47643 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
47644 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
47646 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
47647 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
47649 static void *_p_wxColourPickerEventTo_p_wxObject(void *x
) {
47650 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
47652 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x
) {
47653 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
47655 static void *_p_wxFontPickerEventTo_p_wxObject(void *x
) {
47656 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
47658 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
47659 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
47661 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
47662 return (void *)((wxObject
*) ((wxFSFile
*) x
));
47664 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
47665 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
47667 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
47668 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
47670 static void *_p_wxListViewTo_p_wxObject(void *x
) {
47671 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
47673 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x
) {
47674 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
47676 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
47677 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
47679 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
47680 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
47682 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
47683 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
47685 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
47686 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47688 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
47689 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47691 static void *_p_wxListbookTo_p_wxObject(void *x
) {
47692 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
47694 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
47695 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
47697 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
47698 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
47700 static void *_p_wxSliderTo_p_wxObject(void *x
) {
47701 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
47703 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
47704 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
47706 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
47707 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
47709 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
47710 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
47712 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
47713 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47715 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
47716 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
47718 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
47719 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
47721 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
47722 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
47724 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
47725 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
47727 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
47728 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
47730 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
47731 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
47733 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
47734 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
47736 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
47737 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
47739 static void *_p_wxCollapsiblePaneEventTo_p_wxObject(void *x
) {
47740 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
47742 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
47743 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
47745 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
47746 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
47748 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
47749 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
47751 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
47752 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
47754 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
47755 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
47757 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
47758 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
47760 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
47761 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
47763 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
47764 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
47766 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
47767 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
47769 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
47770 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
47772 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
47773 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
47775 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
47776 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
47778 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
47779 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
47781 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
47782 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
47784 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
47785 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
47787 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
47788 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
47790 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
47791 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
47793 static void *_p_wxListEventTo_p_wxObject(void *x
) {
47794 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
47796 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
47797 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
47799 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
47800 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47802 static void *_p_wxButtonTo_p_wxObject(void *x
) {
47803 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
47805 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
47806 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
47808 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
47809 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
47811 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
47812 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47814 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
47815 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
47817 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
47818 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
47820 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
47821 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
47823 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
47824 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
47826 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
47827 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
47829 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
47830 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
47832 static void *_p_wxListItemTo_p_wxObject(void *x
) {
47833 return (void *)((wxObject
*) ((wxListItem
*) x
));
47835 static void *_p_wxImageTo_p_wxObject(void *x
) {
47836 return (void *)((wxObject
*) ((wxImage
*) x
));
47838 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
47839 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
47841 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
47842 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
47844 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
47845 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
47847 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
47848 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
47850 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
47851 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47853 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
47854 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47856 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
47857 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47859 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
47860 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47862 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
47863 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47865 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
47866 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47868 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
47869 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
47871 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
47872 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
47874 static void *_p_wxWindowTo_p_wxObject(void *x
) {
47875 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
47877 static void *_p_wxMenuTo_p_wxObject(void *x
) {
47878 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
47880 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
47881 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
47883 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
47884 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
47886 static void *_p_wxCollapsiblePaneTo_p_wxObject(void *x
) {
47887 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCollapsiblePane
*) x
));
47889 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
47890 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47892 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
47893 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
47895 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
47896 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
47898 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
47899 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
47901 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
47902 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
47904 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
47905 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
47907 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
47908 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47910 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
47911 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47913 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
47914 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47916 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
47917 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
47919 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
47920 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
47922 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
47923 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
47925 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
47926 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
47928 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
47929 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47931 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
47932 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
47934 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x
) {
47935 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47937 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x
) {
47938 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47940 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x
) {
47941 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47943 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x
) {
47944 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47946 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
47947 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
47949 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x
) {
47950 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
47952 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
47953 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
47955 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
47956 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
47958 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
47959 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
47961 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
47962 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
47964 static void *_p_wxCollapsiblePaneTo_p_wxWindow(void *x
) {
47965 return (void *)((wxWindow
*) (wxControl
*) ((wxCollapsiblePane
*) x
));
47967 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
47968 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
47970 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
47971 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
47973 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
47974 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
47976 static void *_p_wxPickerBaseTo_p_wxWindow(void *x
) {
47977 return (void *)((wxWindow
*) (wxControl
*) ((wxPickerBase
*) x
));
47979 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
47980 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
47982 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
47983 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
47985 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
47986 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
47988 static void *_p_wxControlTo_p_wxWindow(void *x
) {
47989 return (void *)((wxWindow
*) ((wxControl
*) x
));
47991 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
47992 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
47994 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
47995 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
47997 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
47998 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
48000 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
48001 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48003 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
48004 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
48006 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
48007 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
48009 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
48010 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
48012 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
48013 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
48015 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
48016 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
48018 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
48019 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
48021 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
48022 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48024 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
48025 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
48027 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x
) {
48028 return (void *)((wxWindow
*) (wxControl
*) ((wxHyperlinkCtrl
*) x
));
48030 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
48031 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
48033 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
48034 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
48036 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
48037 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
48039 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
48040 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48042 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
48043 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
48045 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
48046 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
48048 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
48049 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
48051 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
48052 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
48054 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
48055 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
48057 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
48058 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
48060 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
48061 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
48063 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
48064 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
48066 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
48067 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
48069 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
48070 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
48072 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
48073 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
48075 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
48076 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
48078 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
48079 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
48081 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
48082 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48084 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
48085 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
48087 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x
) {
48088 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48090 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x
) {
48091 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48093 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x
) {
48094 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48096 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x
) {
48097 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48099 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
48100 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
48102 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48103 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48105 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48106 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48108 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48109 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48111 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48112 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48114 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48115 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48117 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
48118 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
48120 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x
) {
48121 return (void *)((wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
48123 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
48124 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
48126 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x
) {
48127 return (void *)((wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
48129 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x
) {
48130 return (void *)((wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
48132 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x
) {
48133 return (void *)((wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
48135 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
48136 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
48138 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
48139 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
48141 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
48142 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
48144 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
48145 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
48147 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
48148 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
48150 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
48151 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48153 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
48154 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48156 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
48157 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48159 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
48160 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48162 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
48163 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48165 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
48166 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
48168 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
48169 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
48171 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
48172 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
48174 static void *_p_wxCollapsiblePaneEventTo_p_wxCommandEvent(void *x
) {
48175 return (void *)((wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
48177 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
48178 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
48180 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
48181 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
48183 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
48184 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48186 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
48187 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
48189 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
48190 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
48192 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
48193 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
48195 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
48196 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48198 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
48199 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
48201 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
48202 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
48204 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
48205 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
48207 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
48208 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
48210 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
48211 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
48212 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};
48213 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
48214 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
48215 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
48216 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
48217 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
48218 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
48219 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
48220 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
48221 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
48222 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
48223 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
48224 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
48225 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
48226 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
48227 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
48228 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
48229 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
48230 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
48231 static swig_type_info _swigt__p_wxCollapsiblePane
= {"_p_wxCollapsiblePane", "wxCollapsiblePane *", 0, 0, (void*)0, 0};
48232 static swig_type_info _swigt__p_wxCollapsiblePaneEvent
= {"_p_wxCollapsiblePaneEvent", "wxCollapsiblePaneEvent *", 0, 0, (void*)0, 0};
48233 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
48234 static swig_type_info _swigt__p_wxColourPickerCtrl
= {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
48235 static swig_type_info _swigt__p_wxColourPickerEvent
= {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
48236 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
48237 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
48238 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
48239 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
48240 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
48241 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
48242 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
48243 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
48244 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
48245 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
48246 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
48247 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
48248 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
48249 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
48250 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
48251 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
48252 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
48253 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
48254 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
48255 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
48256 static swig_type_info _swigt__p_wxDirPickerCtrl
= {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
48257 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
48258 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
48259 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
48260 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
48261 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
48262 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
48263 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
48264 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
48265 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
48266 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
48267 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
48268 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
48269 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
48270 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
48271 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
48272 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
48273 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
48274 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
48275 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
48276 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
48277 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
48278 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
48279 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
48280 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
48281 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
48282 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
48283 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
48284 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
48285 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
48286 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
48287 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
48288 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
48289 static swig_type_info _swigt__p_wxFileDirPickerEvent
= {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
48290 static swig_type_info _swigt__p_wxFilePickerCtrl
= {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
48291 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
48292 static swig_type_info _swigt__p_wxFontPickerCtrl
= {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
48293 static swig_type_info _swigt__p_wxFontPickerEvent
= {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
48294 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
48295 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
48296 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
48297 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
48298 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
48299 static swig_type_info _swigt__p_wxHyperlinkCtrl
= {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
48300 static swig_type_info _swigt__p_wxHyperlinkEvent
= {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
48301 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
48302 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
48303 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
48304 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
48305 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
48306 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
48307 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
48308 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
48309 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
48310 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
48311 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
48312 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
48313 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
48314 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
48315 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
48316 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
48317 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
48318 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
48319 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
48320 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
48321 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
48322 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
48323 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
48324 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
48325 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
48326 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
48327 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
48328 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
48329 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
48330 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
48331 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
48332 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
48333 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
48334 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
48335 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
48336 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
48337 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
48338 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
48339 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
48340 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
48341 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
48342 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
48343 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
48344 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
48345 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
48346 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
48347 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
48348 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
48349 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
48350 static swig_type_info _swigt__p_wxPickerBase
= {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
48351 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
48352 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
48353 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
48354 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
48355 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
48356 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
48357 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
48358 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
48359 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
48360 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
48361 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
48362 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
48363 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
48364 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
48365 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
48366 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
48367 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
48368 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
48369 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
48370 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
48371 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
48372 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
48373 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
48374 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
48375 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
48376 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
48377 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
48378 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
48379 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
48380 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
48381 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
48382 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
48383 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
48384 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
48385 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
48386 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
48387 static swig_type_info _swigt__p_wxWindowBase
= {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
48389 static swig_type_info
*swig_type_initial
[] = {
48392 &_swigt__p_form_ops_t
,
48395 &_swigt__p_unsigned_char
,
48396 &_swigt__p_unsigned_int
,
48397 &_swigt__p_unsigned_long
,
48399 &_swigt__p_wxANIHandler
,
48400 &_swigt__p_wxAcceleratorTable
,
48401 &_swigt__p_wxActivateEvent
,
48402 &_swigt__p_wxArrayInt
,
48403 &_swigt__p_wxArrayString
,
48404 &_swigt__p_wxBMPHandler
,
48405 &_swigt__p_wxBitmap
,
48406 &_swigt__p_wxBitmapButton
,
48407 &_swigt__p_wxBookCtrlBase
,
48408 &_swigt__p_wxBookCtrlBaseEvent
,
48409 &_swigt__p_wxBoxSizer
,
48410 &_swigt__p_wxButton
,
48411 &_swigt__p_wxCURHandler
,
48412 &_swigt__p_wxCheckBox
,
48413 &_swigt__p_wxCheckListBox
,
48414 &_swigt__p_wxChildFocusEvent
,
48415 &_swigt__p_wxChoice
,
48416 &_swigt__p_wxChoicebook
,
48417 &_swigt__p_wxChoicebookEvent
,
48418 &_swigt__p_wxClipboardTextEvent
,
48419 &_swigt__p_wxCloseEvent
,
48420 &_swigt__p_wxCollapsiblePane
,
48421 &_swigt__p_wxCollapsiblePaneEvent
,
48422 &_swigt__p_wxColour
,
48423 &_swigt__p_wxColourPickerCtrl
,
48424 &_swigt__p_wxColourPickerEvent
,
48425 &_swigt__p_wxComboBox
,
48426 &_swigt__p_wxCommandEvent
,
48427 &_swigt__p_wxContextHelp
,
48428 &_swigt__p_wxContextHelpButton
,
48429 &_swigt__p_wxContextMenuEvent
,
48430 &_swigt__p_wxControl
,
48431 &_swigt__p_wxControlWithItems
,
48432 &_swigt__p_wxCursor
,
48434 &_swigt__p_wxDateEvent
,
48435 &_swigt__p_wxDatePickerCtrl
,
48436 &_swigt__p_wxDateTime
,
48437 &_swigt__p_wxDirFilterListCtrl
,
48438 &_swigt__p_wxDirPickerCtrl
,
48439 &_swigt__p_wxDisplayChangedEvent
,
48440 &_swigt__p_wxDropFilesEvent
,
48441 &_swigt__p_wxDuplexMode
,
48442 &_swigt__p_wxEraseEvent
,
48443 &_swigt__p_wxEvent
,
48444 &_swigt__p_wxEvtHandler
,
48445 &_swigt__p_wxFSFile
,
48446 &_swigt__p_wxFileDirPickerEvent
,
48447 &_swigt__p_wxFilePickerCtrl
,
48448 &_swigt__p_wxFileSystem
,
48449 &_swigt__p_wxFlexGridSizer
,
48450 &_swigt__p_wxFocusEvent
,
48452 &_swigt__p_wxFontPickerCtrl
,
48453 &_swigt__p_wxFontPickerEvent
,
48454 &_swigt__p_wxGBSizerItem
,
48455 &_swigt__p_wxGIFHandler
,
48456 &_swigt__p_wxGauge
,
48457 &_swigt__p_wxGenericDirCtrl
,
48458 &_swigt__p_wxGenericDragImage
,
48459 &_swigt__p_wxGridBagSizer
,
48460 &_swigt__p_wxGridSizer
,
48461 &_swigt__p_wxHelpEvent
,
48462 &_swigt__p_wxHelpProvider
,
48463 &_swigt__p_wxHyperlinkCtrl
,
48464 &_swigt__p_wxHyperlinkEvent
,
48465 &_swigt__p_wxICOHandler
,
48467 &_swigt__p_wxIconizeEvent
,
48468 &_swigt__p_wxIdleEvent
,
48469 &_swigt__p_wxImage
,
48470 &_swigt__p_wxImageHandler
,
48471 &_swigt__p_wxImageList
,
48472 &_swigt__p_wxIndividualLayoutConstraint
,
48473 &_swigt__p_wxInitDialogEvent
,
48474 &_swigt__p_wxItemContainer
,
48475 &_swigt__p_wxJPEGHandler
,
48476 &_swigt__p_wxKeyEvent
,
48477 &_swigt__p_wxLayoutConstraints
,
48478 &_swigt__p_wxListBox
,
48479 &_swigt__p_wxListEvent
,
48480 &_swigt__p_wxListItem
,
48481 &_swigt__p_wxListItemAttr
,
48482 &_swigt__p_wxListView
,
48483 &_swigt__p_wxListbook
,
48484 &_swigt__p_wxListbookEvent
,
48485 &_swigt__p_wxMaximizeEvent
,
48486 &_swigt__p_wxMemoryDC
,
48488 &_swigt__p_wxMenuBar
,
48489 &_swigt__p_wxMenuEvent
,
48490 &_swigt__p_wxMenuItem
,
48491 &_swigt__p_wxMouseCaptureChangedEvent
,
48492 &_swigt__p_wxMouseCaptureLostEvent
,
48493 &_swigt__p_wxMouseEvent
,
48494 &_swigt__p_wxMoveEvent
,
48495 &_swigt__p_wxNavigationKeyEvent
,
48496 &_swigt__p_wxNcPaintEvent
,
48497 &_swigt__p_wxNotebook
,
48498 &_swigt__p_wxNotebookEvent
,
48499 &_swigt__p_wxNotifyEvent
,
48500 &_swigt__p_wxObject
,
48501 &_swigt__p_wxPCXHandler
,
48502 &_swigt__p_wxPNGHandler
,
48503 &_swigt__p_wxPNMHandler
,
48504 &_swigt__p_wxPaintEvent
,
48505 &_swigt__p_wxPaletteChangedEvent
,
48506 &_swigt__p_wxPaperSize
,
48507 &_swigt__p_wxPickerBase
,
48508 &_swigt__p_wxPoint
,
48509 &_swigt__p_wxPyApp
,
48510 &_swigt__p_wxPyCommandEvent
,
48511 &_swigt__p_wxPyControl
,
48512 &_swigt__p_wxPyEvent
,
48513 &_swigt__p_wxPyImageHandler
,
48514 &_swigt__p_wxPyListCtrl
,
48515 &_swigt__p_wxPySizer
,
48516 &_swigt__p_wxPyTreeCtrl
,
48517 &_swigt__p_wxPyTreeItemData
,
48518 &_swigt__p_wxPyValidator
,
48519 &_swigt__p_wxQueryNewPaletteEvent
,
48520 &_swigt__p_wxRadioBox
,
48521 &_swigt__p_wxRadioButton
,
48523 &_swigt__p_wxScrollBar
,
48524 &_swigt__p_wxScrollEvent
,
48525 &_swigt__p_wxScrollWinEvent
,
48526 &_swigt__p_wxSetCursorEvent
,
48527 &_swigt__p_wxShowEvent
,
48528 &_swigt__p_wxSimpleHelpProvider
,
48530 &_swigt__p_wxSizeEvent
,
48531 &_swigt__p_wxSizer
,
48532 &_swigt__p_wxSizerItem
,
48533 &_swigt__p_wxSlider
,
48534 &_swigt__p_wxSpinButton
,
48535 &_swigt__p_wxSpinCtrl
,
48536 &_swigt__p_wxSpinEvent
,
48537 &_swigt__p_wxStaticBitmap
,
48538 &_swigt__p_wxStaticBox
,
48539 &_swigt__p_wxStaticBoxSizer
,
48540 &_swigt__p_wxStaticLine
,
48541 &_swigt__p_wxStaticText
,
48542 &_swigt__p_wxStdDialogButtonSizer
,
48543 &_swigt__p_wxString
,
48544 &_swigt__p_wxSysColourChangedEvent
,
48545 &_swigt__p_wxTGAHandler
,
48546 &_swigt__p_wxTIFFHandler
,
48547 &_swigt__p_wxTextAttr
,
48548 &_swigt__p_wxTextCtrl
,
48549 &_swigt__p_wxTextUrlEvent
,
48550 &_swigt__p_wxToggleButton
,
48551 &_swigt__p_wxToolBar
,
48552 &_swigt__p_wxToolBarBase
,
48553 &_swigt__p_wxToolBarToolBase
,
48554 &_swigt__p_wxToolbook
,
48555 &_swigt__p_wxToolbookEvent
,
48556 &_swigt__p_wxTreeEvent
,
48557 &_swigt__p_wxTreeItemId
,
48558 &_swigt__p_wxTreebook
,
48559 &_swigt__p_wxTreebookEvent
,
48560 &_swigt__p_wxUpdateUIEvent
,
48561 &_swigt__p_wxValidator
,
48562 &_swigt__p_wxVisualAttributes
,
48563 &_swigt__p_wxWindow
,
48564 &_swigt__p_wxWindowBase
,
48565 &_swigt__p_wxWindowCreateEvent
,
48566 &_swigt__p_wxWindowDestroyEvent
,
48567 &_swigt__p_wxXPMHandler
,
48570 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
48571 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
48572 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
48573 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
48574 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
48575 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
48576 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
48577 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
48578 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
48579 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
48580 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
48581 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
48582 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}};
48583 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}};
48584 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}};
48585 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}};
48586 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
48587 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
48588 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}};
48589 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
48590 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48591 static swig_cast_info _swigc__p_wxCollapsiblePane
[] = { {&_swigt__p_wxCollapsiblePane
, 0, 0, 0},{0, 0, 0, 0}};
48592 static swig_cast_info _swigc__p_wxCollapsiblePaneEvent
[] = { {&_swigt__p_wxCollapsiblePaneEvent
, 0, 0, 0},{0, 0, 0, 0}};
48593 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
48594 static swig_cast_info _swigc__p_wxColourPickerCtrl
[] = { {&_swigt__p_wxColourPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48595 static swig_cast_info _swigc__p_wxColourPickerEvent
[] = { {&_swigt__p_wxColourPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
48596 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
48597 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
48598 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
48599 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
48600 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
48601 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
48602 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
48603 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
48604 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
48605 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
48606 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCollapsiblePaneEvent
, _p_wxCollapsiblePaneEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0},{0, 0, 0, 0}};
48607 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
48608 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
48609 static swig_cast_info _swigc__p_wxControl
[] = { {&_swigt__p_wxCollapsiblePane
, _p_wxCollapsiblePaneTo_p_wxControl
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_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}};
48610 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}};
48611 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
48612 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
48613 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48614 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
48615 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48616 static swig_cast_info _swigc__p_wxDirPickerCtrl
[] = { {&_swigt__p_wxDirPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48617 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
48618 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
48619 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
48620 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
48621 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
48622 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
48623 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
48624 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
48625 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
48626 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
48627 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
48628 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
48629 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
48630 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
48631 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
48632 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
48633 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
48634 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
48635 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
48636 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
48637 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
48638 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
48639 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
48640 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
48641 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
48642 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
48643 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCollapsiblePaneEvent
, _p_wxCollapsiblePaneEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
48644 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
48645 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
48646 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
48647 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
48648 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxCollapsiblePane
, _p_wxCollapsiblePaneTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_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_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
48649 static swig_cast_info _swigc__p_wxFileDirPickerEvent
[] = { {&_swigt__p_wxFileDirPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
48650 static swig_cast_info _swigc__p_wxFilePickerCtrl
[] = { {&_swigt__p_wxFilePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48651 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
48652 static swig_cast_info _swigc__p_wxFontPickerCtrl
[] = { {&_swigt__p_wxFontPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48653 static swig_cast_info _swigc__p_wxFontPickerEvent
[] = { {&_swigt__p_wxFontPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
48654 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
48655 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48656 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
48657 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
48658 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}};
48659 static swig_cast_info _swigc__p_wxHyperlinkCtrl
[] = { {&_swigt__p_wxHyperlinkCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48660 static swig_cast_info _swigc__p_wxHyperlinkEvent
[] = { {&_swigt__p_wxHyperlinkEvent
, 0, 0, 0},{0, 0, 0, 0}};
48661 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
48662 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
48663 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}};
48664 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
48665 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}};
48666 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
48667 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
48668 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
48669 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
48670 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
48671 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48672 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
48673 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
48674 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
48675 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48676 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}};
48677 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
48678 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
48679 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
48680 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
48681 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
48682 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
48683 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
48684 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
48685 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
48686 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
48687 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
48688 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
48689 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
48690 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
48691 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
48692 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
48693 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
48694 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
48695 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
48696 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
48697 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
48698 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
48699 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
48700 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
48701 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
48702 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
48703 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
48704 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
48705 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
48706 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
48707 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
48708 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_wxCollapsiblePaneEvent
, _p_wxCollapsiblePaneEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelp
, _p_wxContextHelpTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxObject
, 0, 0}, {&_swigt__p_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_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTGAHandler
, _p_wxTGAHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListItem
, _p_wxListItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDragImage
, _p_wxGenericDragImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCollapsiblePane
, _p_wxCollapsiblePaneTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarToolBase
, _p_wxToolBarToolBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
48709 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
48710 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}};
48711 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
48712 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
48713 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}};
48714 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48715 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
48716 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
48717 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
48718 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
48719 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
48720 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
48721 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
48722 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
48723 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
48724 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48725 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
48726 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
48727 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
48728 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
48729 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
48730 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
48731 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
48732 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48733 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
48734 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
48735 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
48736 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}};
48737 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
48738 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
48739 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48740 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
48741 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
48742 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
48743 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48744 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}};
48745 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
48746 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxCollapsiblePane
, _p_wxCollapsiblePaneTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
48747 static swig_cast_info _swigc__p_wxWindowBase
[] = { {&_swigt__p_wxWindowBase
, 0, 0, 0},{0, 0, 0, 0}};
48749 static swig_cast_info
*swig_cast_initial
[] = {
48752 _swigc__p_form_ops_t
,
48755 _swigc__p_unsigned_char
,
48756 _swigc__p_unsigned_int
,
48757 _swigc__p_unsigned_long
,
48759 _swigc__p_wxANIHandler
,
48760 _swigc__p_wxAcceleratorTable
,
48761 _swigc__p_wxActivateEvent
,
48762 _swigc__p_wxArrayInt
,
48763 _swigc__p_wxArrayString
,
48764 _swigc__p_wxBMPHandler
,
48765 _swigc__p_wxBitmap
,
48766 _swigc__p_wxBitmapButton
,
48767 _swigc__p_wxBookCtrlBase
,
48768 _swigc__p_wxBookCtrlBaseEvent
,
48769 _swigc__p_wxBoxSizer
,
48770 _swigc__p_wxButton
,
48771 _swigc__p_wxCURHandler
,
48772 _swigc__p_wxCheckBox
,
48773 _swigc__p_wxCheckListBox
,
48774 _swigc__p_wxChildFocusEvent
,
48775 _swigc__p_wxChoice
,
48776 _swigc__p_wxChoicebook
,
48777 _swigc__p_wxChoicebookEvent
,
48778 _swigc__p_wxClipboardTextEvent
,
48779 _swigc__p_wxCloseEvent
,
48780 _swigc__p_wxCollapsiblePane
,
48781 _swigc__p_wxCollapsiblePaneEvent
,
48782 _swigc__p_wxColour
,
48783 _swigc__p_wxColourPickerCtrl
,
48784 _swigc__p_wxColourPickerEvent
,
48785 _swigc__p_wxComboBox
,
48786 _swigc__p_wxCommandEvent
,
48787 _swigc__p_wxContextHelp
,
48788 _swigc__p_wxContextHelpButton
,
48789 _swigc__p_wxContextMenuEvent
,
48790 _swigc__p_wxControl
,
48791 _swigc__p_wxControlWithItems
,
48792 _swigc__p_wxCursor
,
48794 _swigc__p_wxDateEvent
,
48795 _swigc__p_wxDatePickerCtrl
,
48796 _swigc__p_wxDateTime
,
48797 _swigc__p_wxDirFilterListCtrl
,
48798 _swigc__p_wxDirPickerCtrl
,
48799 _swigc__p_wxDisplayChangedEvent
,
48800 _swigc__p_wxDropFilesEvent
,
48801 _swigc__p_wxDuplexMode
,
48802 _swigc__p_wxEraseEvent
,
48804 _swigc__p_wxEvtHandler
,
48805 _swigc__p_wxFSFile
,
48806 _swigc__p_wxFileDirPickerEvent
,
48807 _swigc__p_wxFilePickerCtrl
,
48808 _swigc__p_wxFileSystem
,
48809 _swigc__p_wxFlexGridSizer
,
48810 _swigc__p_wxFocusEvent
,
48812 _swigc__p_wxFontPickerCtrl
,
48813 _swigc__p_wxFontPickerEvent
,
48814 _swigc__p_wxGBSizerItem
,
48815 _swigc__p_wxGIFHandler
,
48817 _swigc__p_wxGenericDirCtrl
,
48818 _swigc__p_wxGenericDragImage
,
48819 _swigc__p_wxGridBagSizer
,
48820 _swigc__p_wxGridSizer
,
48821 _swigc__p_wxHelpEvent
,
48822 _swigc__p_wxHelpProvider
,
48823 _swigc__p_wxHyperlinkCtrl
,
48824 _swigc__p_wxHyperlinkEvent
,
48825 _swigc__p_wxICOHandler
,
48827 _swigc__p_wxIconizeEvent
,
48828 _swigc__p_wxIdleEvent
,
48830 _swigc__p_wxImageHandler
,
48831 _swigc__p_wxImageList
,
48832 _swigc__p_wxIndividualLayoutConstraint
,
48833 _swigc__p_wxInitDialogEvent
,
48834 _swigc__p_wxItemContainer
,
48835 _swigc__p_wxJPEGHandler
,
48836 _swigc__p_wxKeyEvent
,
48837 _swigc__p_wxLayoutConstraints
,
48838 _swigc__p_wxListBox
,
48839 _swigc__p_wxListEvent
,
48840 _swigc__p_wxListItem
,
48841 _swigc__p_wxListItemAttr
,
48842 _swigc__p_wxListView
,
48843 _swigc__p_wxListbook
,
48844 _swigc__p_wxListbookEvent
,
48845 _swigc__p_wxMaximizeEvent
,
48846 _swigc__p_wxMemoryDC
,
48848 _swigc__p_wxMenuBar
,
48849 _swigc__p_wxMenuEvent
,
48850 _swigc__p_wxMenuItem
,
48851 _swigc__p_wxMouseCaptureChangedEvent
,
48852 _swigc__p_wxMouseCaptureLostEvent
,
48853 _swigc__p_wxMouseEvent
,
48854 _swigc__p_wxMoveEvent
,
48855 _swigc__p_wxNavigationKeyEvent
,
48856 _swigc__p_wxNcPaintEvent
,
48857 _swigc__p_wxNotebook
,
48858 _swigc__p_wxNotebookEvent
,
48859 _swigc__p_wxNotifyEvent
,
48860 _swigc__p_wxObject
,
48861 _swigc__p_wxPCXHandler
,
48862 _swigc__p_wxPNGHandler
,
48863 _swigc__p_wxPNMHandler
,
48864 _swigc__p_wxPaintEvent
,
48865 _swigc__p_wxPaletteChangedEvent
,
48866 _swigc__p_wxPaperSize
,
48867 _swigc__p_wxPickerBase
,
48870 _swigc__p_wxPyCommandEvent
,
48871 _swigc__p_wxPyControl
,
48872 _swigc__p_wxPyEvent
,
48873 _swigc__p_wxPyImageHandler
,
48874 _swigc__p_wxPyListCtrl
,
48875 _swigc__p_wxPySizer
,
48876 _swigc__p_wxPyTreeCtrl
,
48877 _swigc__p_wxPyTreeItemData
,
48878 _swigc__p_wxPyValidator
,
48879 _swigc__p_wxQueryNewPaletteEvent
,
48880 _swigc__p_wxRadioBox
,
48881 _swigc__p_wxRadioButton
,
48883 _swigc__p_wxScrollBar
,
48884 _swigc__p_wxScrollEvent
,
48885 _swigc__p_wxScrollWinEvent
,
48886 _swigc__p_wxSetCursorEvent
,
48887 _swigc__p_wxShowEvent
,
48888 _swigc__p_wxSimpleHelpProvider
,
48890 _swigc__p_wxSizeEvent
,
48892 _swigc__p_wxSizerItem
,
48893 _swigc__p_wxSlider
,
48894 _swigc__p_wxSpinButton
,
48895 _swigc__p_wxSpinCtrl
,
48896 _swigc__p_wxSpinEvent
,
48897 _swigc__p_wxStaticBitmap
,
48898 _swigc__p_wxStaticBox
,
48899 _swigc__p_wxStaticBoxSizer
,
48900 _swigc__p_wxStaticLine
,
48901 _swigc__p_wxStaticText
,
48902 _swigc__p_wxStdDialogButtonSizer
,
48903 _swigc__p_wxString
,
48904 _swigc__p_wxSysColourChangedEvent
,
48905 _swigc__p_wxTGAHandler
,
48906 _swigc__p_wxTIFFHandler
,
48907 _swigc__p_wxTextAttr
,
48908 _swigc__p_wxTextCtrl
,
48909 _swigc__p_wxTextUrlEvent
,
48910 _swigc__p_wxToggleButton
,
48911 _swigc__p_wxToolBar
,
48912 _swigc__p_wxToolBarBase
,
48913 _swigc__p_wxToolBarToolBase
,
48914 _swigc__p_wxToolbook
,
48915 _swigc__p_wxToolbookEvent
,
48916 _swigc__p_wxTreeEvent
,
48917 _swigc__p_wxTreeItemId
,
48918 _swigc__p_wxTreebook
,
48919 _swigc__p_wxTreebookEvent
,
48920 _swigc__p_wxUpdateUIEvent
,
48921 _swigc__p_wxValidator
,
48922 _swigc__p_wxVisualAttributes
,
48923 _swigc__p_wxWindow
,
48924 _swigc__p_wxWindowBase
,
48925 _swigc__p_wxWindowCreateEvent
,
48926 _swigc__p_wxWindowDestroyEvent
,
48927 _swigc__p_wxXPMHandler
,
48931 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
48933 static swig_const_info swig_const_table
[] = {
48934 {0, 0, 0, 0.0, 0, 0}};
48939 /* -----------------------------------------------------------------------------
48940 * Type initialization:
48941 * This problem is tough by the requirement that no dynamic
48942 * memory is used. Also, since swig_type_info structures store pointers to
48943 * swig_cast_info structures and swig_cast_info structures store pointers back
48944 * to swig_type_info structures, we need some lookup code at initialization.
48945 * The idea is that swig generates all the structures that are needed.
48946 * The runtime then collects these partially filled structures.
48947 * The SWIG_InitializeModule function takes these initial arrays out of
48948 * swig_module, and does all the lookup, filling in the swig_module.types
48949 * array with the correct data and linking the correct swig_cast_info
48950 * structures together.
48952 * The generated swig_type_info structures are assigned staticly to an initial
48953 * array. We just loop though that array, and handle each type individually.
48954 * First we lookup if this type has been already loaded, and if so, use the
48955 * loaded structure instead of the generated one. Then we have to fill in the
48956 * cast linked list. The cast data is initially stored in something like a
48957 * two-dimensional array. Each row corresponds to a type (there are the same
48958 * number of rows as there are in the swig_type_initial array). Each entry in
48959 * a column is one of the swig_cast_info structures for that type.
48960 * The cast_initial array is actually an array of arrays, because each row has
48961 * a variable number of columns. So to actually build the cast linked list,
48962 * we find the array of casts associated with the type, and loop through it
48963 * adding the casts to the list. The one last trick we need to do is making
48964 * sure the type pointer in the swig_cast_info struct is correct.
48966 * First off, we lookup the cast->type name to see if it is already loaded.
48967 * There are three cases to handle:
48968 * 1) If the cast->type has already been loaded AND the type we are adding
48969 * casting info to has not been loaded (it is in this module), THEN we
48970 * replace the cast->type pointer with the type pointer that has already
48972 * 2) If BOTH types (the one we are adding casting info to, and the
48973 * cast->type) are loaded, THEN the cast info has already been loaded by
48974 * the previous module so we just ignore it.
48975 * 3) Finally, if cast->type has not already been loaded, then we add that
48976 * swig_cast_info to the linked list (because the cast->type) pointer will
48978 * ----------------------------------------------------------------------------- */
48988 #define SWIGRUNTIME_DEBUG
48992 SWIG_InitializeModule(void *clientdata
) {
48994 swig_module_info
*module_head
;
48995 static int init_run
= 0;
48997 clientdata
= clientdata
;
48999 if (init_run
) return;
49002 /* Initialize the swig_module */
49003 swig_module
.type_initial
= swig_type_initial
;
49004 swig_module
.cast_initial
= swig_cast_initial
;
49006 /* Try and load any already created modules */
49007 module_head
= SWIG_GetModule(clientdata
);
49009 swig_module
.next
= module_head
->next
;
49010 module_head
->next
= &swig_module
;
49012 /* This is the first module loaded */
49013 swig_module
.next
= &swig_module
;
49014 SWIG_SetModule(clientdata
, &swig_module
);
49017 /* Now work on filling in swig_module.types */
49018 #ifdef SWIGRUNTIME_DEBUG
49019 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
49021 for (i
= 0; i
< swig_module
.size
; ++i
) {
49022 swig_type_info
*type
= 0;
49023 swig_type_info
*ret
;
49024 swig_cast_info
*cast
;
49026 #ifdef SWIGRUNTIME_DEBUG
49027 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
49030 /* if there is another module already loaded */
49031 if (swig_module
.next
!= &swig_module
) {
49032 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
49035 /* Overwrite clientdata field */
49036 #ifdef SWIGRUNTIME_DEBUG
49037 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
49039 if (swig_module
.type_initial
[i
]->clientdata
) {
49040 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
49041 #ifdef SWIGRUNTIME_DEBUG
49042 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
49046 type
= swig_module
.type_initial
[i
];
49049 /* Insert casting types */
49050 cast
= swig_module
.cast_initial
[i
];
49051 while (cast
->type
) {
49052 /* Don't need to add information already in the list */
49054 #ifdef SWIGRUNTIME_DEBUG
49055 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
49057 if (swig_module
.next
!= &swig_module
) {
49058 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
49059 #ifdef SWIGRUNTIME_DEBUG
49060 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
49064 if (type
== swig_module
.type_initial
[i
]) {
49065 #ifdef SWIGRUNTIME_DEBUG
49066 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
49071 /* Check for casting already in the list */
49072 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
49073 #ifdef SWIGRUNTIME_DEBUG
49074 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
49076 if (!ocast
) ret
= 0;
49081 #ifdef SWIGRUNTIME_DEBUG
49082 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
49085 type
->cast
->prev
= cast
;
49086 cast
->next
= type
->cast
;
49092 /* Set entry in modules->types array equal to the type */
49093 swig_module
.types
[i
] = type
;
49095 swig_module
.types
[i
] = 0;
49097 #ifdef SWIGRUNTIME_DEBUG
49098 printf("**** SWIG_InitializeModule: Cast List ******\n");
49099 for (i
= 0; i
< swig_module
.size
; ++i
) {
49101 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
49102 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
49103 while (cast
->type
) {
49104 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
49108 printf("---- Total casts: %d\n",j
);
49110 printf("**** SWIG_InitializeModule: Cast List ******\n");
49114 /* This function will propagate the clientdata field of type to
49115 * any new swig_type_info structures that have been added into the list
49116 * of equivalent types. It is like calling
49117 * SWIG_TypeClientData(type, clientdata) a second time.
49120 SWIG_PropagateClientData(void) {
49122 swig_cast_info
*equiv
;
49123 static int init_run
= 0;
49125 if (init_run
) return;
49128 for (i
= 0; i
< swig_module
.size
; i
++) {
49129 if (swig_module
.types
[i
]->clientdata
) {
49130 equiv
= swig_module
.types
[i
]->cast
;
49132 if (!equiv
->converter
) {
49133 if (equiv
->type
&& !equiv
->type
->clientdata
)
49134 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
49136 equiv
= equiv
->next
;
49156 /* Python-specific SWIG API */
49157 #define SWIG_newvarlink() SWIG_Python_newvarlink()
49158 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
49159 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
49161 /* -----------------------------------------------------------------------------
49162 * global variable support code.
49163 * ----------------------------------------------------------------------------- */
49165 typedef struct swig_globalvar
{
49166 char *name
; /* Name of global variable */
49167 PyObject
*(*get_attr
)(void); /* Return the current value */
49168 int (*set_attr
)(PyObject
*); /* Set the value */
49169 struct swig_globalvar
*next
;
49172 typedef struct swig_varlinkobject
{
49174 swig_globalvar
*vars
;
49175 } swig_varlinkobject
;
49177 SWIGINTERN PyObject
*
49178 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
49179 return PyString_FromString("<Swig global variables>");
49182 SWIGINTERN PyObject
*
49183 swig_varlink_str(swig_varlinkobject
*v
) {
49184 PyObject
*str
= PyString_FromString("(");
49185 swig_globalvar
*var
;
49186 for (var
= v
->vars
; var
; var
=var
->next
) {
49187 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
49188 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
49190 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
49195 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
49196 PyObject
*str
= swig_varlink_str(v
);
49197 fprintf(fp
,"Swig global variables ");
49198 fprintf(fp
,"%s\n", PyString_AsString(str
));
49204 swig_varlink_dealloc(swig_varlinkobject
*v
) {
49205 swig_globalvar
*var
= v
->vars
;
49207 swig_globalvar
*n
= var
->next
;
49214 SWIGINTERN PyObject
*
49215 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
49216 PyObject
*res
= NULL
;
49217 swig_globalvar
*var
= v
->vars
;
49219 if (strcmp(var
->name
,n
) == 0) {
49220 res
= (*var
->get_attr
)();
49225 if (res
== NULL
&& !PyErr_Occurred()) {
49226 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
49232 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
49234 swig_globalvar
*var
= v
->vars
;
49236 if (strcmp(var
->name
,n
) == 0) {
49237 res
= (*var
->set_attr
)(p
);
49242 if (res
== 1 && !PyErr_Occurred()) {
49243 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
49248 SWIGINTERN PyTypeObject
*
49249 swig_varlink_type(void) {
49250 static char varlink__doc__
[] = "Swig var link object";
49251 static PyTypeObject varlink_type
;
49252 static int type_init
= 0;
49254 const PyTypeObject tmp
49256 PyObject_HEAD_INIT(NULL
)
49257 0, /* Number of items in variable part (ob_size) */
49258 (char *)"swigvarlink", /* Type name (tp_name) */
49259 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
49260 0, /* Itemsize (tp_itemsize) */
49261 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
49262 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
49263 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
49264 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
49265 0, /* tp_compare */
49266 (reprfunc
) swig_varlink_repr
, /* tp_repr */
49267 0, /* tp_as_number */
49268 0, /* tp_as_sequence */
49269 0, /* tp_as_mapping */
49272 (reprfunc
)swig_varlink_str
, /* tp_str */
49273 0, /* tp_getattro */
49274 0, /* tp_setattro */
49275 0, /* tp_as_buffer */
49277 varlink__doc__
, /* tp_doc */
49278 0, /* tp_traverse */
49280 0, /* tp_richcompare */
49281 0, /* tp_weaklistoffset */
49282 #if PY_VERSION_HEX >= 0x02020000
49283 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
49285 #if PY_VERSION_HEX >= 0x02030000
49288 #ifdef COUNT_ALLOCS
49289 0,0,0,0 /* tp_alloc -> tp_next */
49292 varlink_type
= tmp
;
49293 varlink_type
.ob_type
= &PyType_Type
;
49296 return &varlink_type
;
49299 /* Create a variable linking object for use later */
49300 SWIGINTERN PyObject
*
49301 SWIG_Python_newvarlink(void) {
49302 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
49306 return ((PyObject
*) result
);
49310 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
49311 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
49312 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
49314 size_t size
= strlen(name
)+1;
49315 gv
->name
= (char *)malloc(size
);
49317 strncpy(gv
->name
,name
,size
);
49318 gv
->get_attr
= get_attr
;
49319 gv
->set_attr
= set_attr
;
49320 gv
->next
= v
->vars
;
49326 SWIGINTERN PyObject
*
49328 static PyObject
*_SWIG_globals
= 0;
49329 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
49330 return _SWIG_globals
;
49333 /* -----------------------------------------------------------------------------
49334 * constants/methods manipulation
49335 * ----------------------------------------------------------------------------- */
49337 /* Install Constants */
49339 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
49342 for (i
= 0; constants
[i
].type
; ++i
) {
49343 switch(constants
[i
].type
) {
49344 case SWIG_PY_POINTER
:
49345 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
49347 case SWIG_PY_BINARY
:
49348 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
49355 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
49361 /* -----------------------------------------------------------------------------*/
49362 /* Fix SwigMethods to carry the callback ptrs when needed */
49363 /* -----------------------------------------------------------------------------*/
49366 SWIG_Python_FixMethods(PyMethodDef
*methods
,
49367 swig_const_info
*const_table
,
49368 swig_type_info
**types
,
49369 swig_type_info
**types_initial
) {
49371 for (i
= 0; methods
[i
].ml_name
; ++i
) {
49372 const char *c
= methods
[i
].ml_doc
;
49373 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
49375 swig_const_info
*ci
= 0;
49376 const char *name
= c
+ 10;
49377 for (j
= 0; const_table
[j
].type
; ++j
) {
49378 if (strncmp(const_table
[j
].name
, name
,
49379 strlen(const_table
[j
].name
)) == 0) {
49380 ci
= &(const_table
[j
]);
49385 size_t shift
= (ci
->ptype
) - types
;
49386 swig_type_info
*ty
= types_initial
[shift
];
49387 size_t ldoc
= (c
- methods
[i
].ml_doc
);
49388 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
49389 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
49392 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
49394 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
49396 strncpy(buff
, "swig_ptr: ", 10);
49398 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
49399 methods
[i
].ml_doc
= ndoc
;
49411 /* -----------------------------------------------------------------------------*
49412 * Partial Init method
49413 * -----------------------------------------------------------------------------*/
49418 SWIGEXPORT
void SWIG_init(void) {
49421 /* Fix SwigMethods to carry the callback ptrs when needed */
49422 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
49424 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
49425 d
= PyModule_GetDict(m
);
49427 SWIG_InitializeModule(0);
49428 SWIG_InstallConstants(d
,swig_const_table
);
49431 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
49432 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
49433 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
49434 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
49435 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
49436 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
49437 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
49438 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
49439 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
49440 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
49441 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
49442 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
49443 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
49444 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
49445 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
49446 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
49447 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
49448 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
49449 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
49450 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
49451 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
49452 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
49453 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
49454 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
49455 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
49456 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
49457 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
49458 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
49459 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
49460 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
49461 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
49462 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
49463 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
49464 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
49465 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
49466 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
49467 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
49468 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
49469 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
49470 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
49471 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
49472 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
49473 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
49474 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
49475 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
49476 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
49477 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
49478 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
49479 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
49480 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
49481 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
49482 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
49483 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
49484 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
49485 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
49486 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
49487 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
49488 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
49489 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
49490 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
49491 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
49492 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
49493 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
49494 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
49495 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
49496 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
49497 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
49498 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
49499 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
49500 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
49501 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
49502 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
49503 SWIG_Python_SetConstant(d
, "TEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxTEXT_TYPE_ANY
)));
49504 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
49505 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
49506 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
49507 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
49508 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
49509 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
49510 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
49511 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
49512 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
49513 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
49514 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
49515 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
49516 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
49517 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
49518 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
49519 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
49520 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
49521 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
49522 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
49523 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
49524 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
49525 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
49526 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
49527 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
49528 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
49529 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
49530 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
49531 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
49532 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
49533 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
49534 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
49535 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
49536 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
49537 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
49538 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
49539 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
49540 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
49541 SWIG_Python_SetConstant(d
, "BK_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_NOWHERE
)));
49542 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONICON
)));
49543 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONLABEL
)));
49544 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONITEM
)));
49545 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONPAGE
)));
49546 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
49547 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
49548 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
49549 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
49550 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
49551 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
49552 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
49553 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
49554 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
49555 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
49556 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
49557 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE
)));
49558 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
49559 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
49560 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
49561 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
49562 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
49563 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
49564 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
49565 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
49566 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
49567 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
49568 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
49569 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
49570 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
49571 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
49572 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
49573 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
49574 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
49575 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
49576 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
49577 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
49578 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
49579 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
49580 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
49581 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
49582 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
49583 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
49584 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
49585 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
49586 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
49587 SWIG_Python_SetConstant(d
, "TB_TOP",SWIG_From_int(static_cast< int >(wxTB_TOP
)));
49588 SWIG_Python_SetConstant(d
, "TB_LEFT",SWIG_From_int(static_cast< int >(wxTB_LEFT
)));
49589 SWIG_Python_SetConstant(d
, "TB_BOTTOM",SWIG_From_int(static_cast< int >(wxTB_BOTTOM
)));
49590 SWIG_Python_SetConstant(d
, "TB_RIGHT",SWIG_From_int(static_cast< int >(wxTB_RIGHT
)));
49591 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
49592 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
49593 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
49594 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
49595 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
49596 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
49597 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
49598 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
49599 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
49600 SWIG_Python_SetConstant(d
, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS
)));
49601 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
49602 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
49603 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
49604 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
49605 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
49606 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
49607 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
49608 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
49609 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
49610 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
49611 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
49612 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
49613 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
49614 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
49615 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
49616 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
49617 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
49618 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
49619 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
49620 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
49621 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
49622 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
49623 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
49624 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
49625 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
49626 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
49627 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
49628 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
49629 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
49630 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
49631 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
49632 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
49633 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
49634 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
49635 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
49636 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
49637 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
49638 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
49639 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
49640 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
49641 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
49642 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
49643 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
49644 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
49645 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
49646 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
49647 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
49648 SWIG_Python_SetConstant(d
, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM
)));
49649 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
49650 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
49651 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
49652 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
49653 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
49654 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
49655 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
49656 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
49657 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
49658 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
49659 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
49660 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
49661 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
49662 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
49663 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
49664 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
49665 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
49666 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
49667 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
49668 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
49669 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
49670 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
49671 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
49672 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
49673 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
49674 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
49675 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
49676 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
49677 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
49678 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
49679 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
49680 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
49681 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
49682 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
49683 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
49684 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
49685 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
49686 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
49687 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
49688 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
49689 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
49690 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
49692 // Map renamed classes back to their common name for OOR
49693 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
49695 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
49696 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
49697 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
49698 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
49699 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
49700 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
49701 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
49702 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
49703 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
49704 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
49705 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
49706 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
49707 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
49708 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
49709 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
49710 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
49711 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
49712 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
49713 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
49714 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
49715 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
49716 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
49717 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
49718 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
49719 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
49720 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
49721 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
49722 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
49723 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
49724 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
49725 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
49726 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
49727 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
49728 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
49729 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
49730 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
49731 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
49732 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
49733 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
49734 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
49735 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
49736 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
49737 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
49738 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
49739 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
49740 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
49741 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
49742 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
49743 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
49744 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
49745 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
49746 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
49747 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
49748 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
49749 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
49750 SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get
, NullTreeItemId_set
);
49752 // Map renamed classes back to their common name for OOR
49753 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
49754 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
49756 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
49757 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
49758 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
49759 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
49760 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
49761 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
49762 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
49763 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
49764 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown
)));
49765 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard
)));
49766 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton
)));
49768 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
49770 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
49771 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
49772 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
49773 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
49774 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
49775 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));
49776 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get
, HyperlinkCtrlNameStr_set
);
49777 SWIG_Python_SetConstant(d
, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU
)));
49778 SWIG_Python_SetConstant(d
, "HL_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_LEFT
)));
49779 SWIG_Python_SetConstant(d
, "HL_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_RIGHT
)));
49780 SWIG_Python_SetConstant(d
, "HL_ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxHL_ALIGN_CENTRE
)));
49781 SWIG_Python_SetConstant(d
, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE
)));
49782 PyDict_SetItemString(d
, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK
));
49783 SWIG_Python_SetConstant(d
, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL
)));
49784 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get
, ColourPickerCtrlNameStr_set
);
49785 SWIG_Python_SetConstant(d
, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL
)));
49786 SWIG_Python_SetConstant(d
, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL
)));
49787 SWIG_Python_SetConstant(d
, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE
)));
49788 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED
));
49789 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get
, FilePickerCtrlNameStr_set
);
49790 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
49791 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get
, DirPickerCtrlNameStr_set
);
49792 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
49793 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
49794 SWIG_Python_SetConstant(d
, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN
)));
49795 SWIG_Python_SetConstant(d
, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE
)));
49796 SWIG_Python_SetConstant(d
, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT
)));
49797 SWIG_Python_SetConstant(d
, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST
)));
49798 SWIG_Python_SetConstant(d
, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR
)));
49799 SWIG_Python_SetConstant(d
, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST
)));
49800 SWIG_Python_SetConstant(d
, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR
)));
49801 SWIG_Python_SetConstant(d
, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL
)));
49802 SWIG_Python_SetConstant(d
, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE
)));
49803 SWIG_Python_SetConstant(d
, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL
)));
49804 SWIG_Python_SetConstant(d
, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE
)));
49805 PyDict_SetItemString(d
, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED
));
49806 PyDict_SetItemString(d
, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED
));
49807 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get
, FontPickerCtrlNameStr_set
);
49808 SWIG_Python_SetConstant(d
, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL
)));
49809 SWIG_Python_SetConstant(d
, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL
)));
49810 SWIG_Python_SetConstant(d
, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL
)));
49811 SWIG_Python_SetConstant(d
, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE
)));
49812 PyDict_SetItemString(d
, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED
));
49813 SWIG_addvarlink(SWIG_globals(),(char*)"CollapsiblePaneNameStr",CollapsiblePaneNameStr_get
, CollapsiblePaneNameStr_set
);
49814 SWIG_Python_SetConstant(d
, "CP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCP_DEFAULT_STYLE
)));
49815 SWIG_Python_SetConstant(d
, "CP_NO_TLW_RESIZE",SWIG_From_int(static_cast< int >(wxCP_NO_TLW_RESIZE
)));
49816 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLLPANE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLLPANE_CHANGED
));