1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1027 /* Runtime API implementation */
1029 /* Error manipulation */
1032 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1034 PyErr_SetObject(errtype
, obj
);
1036 SWIG_PYTHON_THREAD_END_BLOCK
;
1040 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1042 PyErr_SetString(errtype
, (char *) msg
);
1043 SWIG_PYTHON_THREAD_END_BLOCK
;
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1048 /* Set a constant value */
1051 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1052 PyDict_SetItemString(d
, (char*) name
, obj
);
1056 /* Append a value to the result obj */
1058 SWIGINTERN PyObject
*
1059 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1063 } else if (result
== Py_None
) {
1067 if (!PyList_Check(result
)) {
1068 PyObject
*o2
= result
;
1069 result
= PyList_New(1);
1070 PyList_SetItem(result
, 0, o2
);
1072 PyList_Append(result
,obj
);
1081 } else if (result
== Py_None
) {
1085 if (!PyTuple_Check(result
)) {
1087 result
= PyTuple_New(1);
1088 PyTuple_SET_ITEM(result
, 0, o2
);
1090 o3
= PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3
, 0, obj
);
1093 result
= PySequence_Concat(o2
, o3
);
1101 /* Unpack the argument tuple */
1104 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1110 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1111 name
, (min
== max
? "" : "at least "), min
);
1115 if (!PyTuple_Check(args
)) {
1116 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1119 register int l
= PyTuple_GET_SIZE(args
);
1121 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1122 name
, (min
== max
? "" : "at least "), min
, l
);
1124 } else if (l
> max
) {
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at most "), max
, l
);
1130 for (i
= 0; i
< l
; ++i
) {
1131 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1133 for (; l
< max
; ++l
) {
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1153 #define SWIG_STATIC_POINTER(var) var
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1187 # define Py_None SWIG_Py_None()
1189 SWIGRUNTIMEINLINE PyObject
*
1192 PyObject
*none
= Py_BuildValue("");
1196 SWIGRUNTIME PyObject
*
1199 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1204 /* The python void return value */
1206 SWIGRUNTIMEINLINE PyObject
*
1209 PyObject
*none
= Py_None
;
1214 /* PySwigClientData */
1225 SWIGRUNTIMEINLINE
int
1226 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1228 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1229 return data
? data
->implicitconv
: 0;
1232 SWIGRUNTIMEINLINE PyObject
*
1233 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1234 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1235 PyObject
*klass
= data
? data
->klass
: 0;
1236 return (klass
? klass
: PyExc_RuntimeError
);
1240 SWIGRUNTIME PySwigClientData
*
1241 PySwigClientData_New(PyObject
* obj
)
1246 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1247 /* the klass element */
1249 Py_INCREF(data
->klass
);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj
)) {
1253 data
->newargs
= obj
;
1256 #if (PY_VERSION_HEX < 0x02020000)
1259 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1262 Py_INCREF(data
->newraw
);
1263 data
->newargs
= PyTuple_New(1);
1264 PyTuple_SetItem(data
->newargs
, 0, obj
);
1266 data
->newargs
= obj
;
1268 Py_INCREF(data
->newargs
);
1270 /* the destroy method, aka as the C++ delete method */
1271 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1276 if (data
->destroy
) {
1278 Py_INCREF(data
->destroy
);
1279 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1281 data
->delargs
= !(flags
& (METH_O
));
1288 data
->implicitconv
= 0;
1294 PySwigClientData_Del(PySwigClientData
* data
)
1296 Py_XDECREF(data
->newraw
);
1297 Py_XDECREF(data
->newargs
);
1298 Py_XDECREF(data
->destroy
);
1301 /* =============== PySwigObject =====================*/
1311 SWIGRUNTIME PyObject
*
1312 PySwigObject_long(PySwigObject
*v
)
1314 return PyLong_FromVoidPtr(v
->ptr
);
1317 SWIGRUNTIME PyObject
*
1318 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1320 PyObject
*res
= NULL
;
1321 PyObject
*args
= PyTuple_New(1);
1323 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1324 PyObject
*ofmt
= PyString_FromString(fmt
);
1326 res
= PyString_Format(ofmt
,args
);
1335 SWIGRUNTIME PyObject
*
1336 PySwigObject_oct(PySwigObject
*v
)
1338 return PySwigObject_format("%o",v
);
1341 SWIGRUNTIME PyObject
*
1342 PySwigObject_hex(PySwigObject
*v
)
1344 return PySwigObject_format("%x",v
);
1347 SWIGRUNTIME PyObject
*
1349 PySwigObject_repr(PySwigObject
*v
)
1351 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1354 const char *name
= SWIG_TypePrettyName(v
->ty
);
1355 PyObject
*hex
= PySwigObject_hex(v
);
1356 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1360 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1362 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1364 PyString_ConcatAndDel(&repr
,nrep
);
1370 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1373 PyObject
*repr
= PySwigObject_repr(v
);
1375 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1378 fputs(PyString_AsString(repr
), fp
);
1386 SWIGRUNTIME PyObject
*
1387 PySwigObject_str(PySwigObject
*v
)
1389 char result
[SWIG_BUFFER_SIZE
];
1390 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1391 PyString_FromString(result
) : 0;
1395 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1399 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1402 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1404 SWIGRUNTIME PyTypeObject
*
1405 PySwigObject_type(void) {
1406 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1410 SWIGRUNTIMEINLINE
int
1411 PySwigObject_Check(PyObject
*op
) {
1412 return ((op
)->ob_type
== PySwigObject_type())
1413 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1416 SWIGRUNTIME PyObject
*
1417 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1420 PySwigObject_dealloc(PyObject
*v
)
1422 PySwigObject
*sobj
= (PySwigObject
*) v
;
1423 PyObject
*next
= sobj
->next
;
1425 swig_type_info
*ty
= sobj
->ty
;
1426 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1427 PyObject
*destroy
= data
? data
->destroy
: 0;
1429 /* destroy is always a VARARGS method */
1431 if (data
->delargs
) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1434 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1437 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1438 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1439 res
= ((*meth
)(mself
, v
));
1443 const char *name
= SWIG_TypePrettyName(ty
);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1453 SWIGRUNTIME PyObject
*
1454 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1456 PySwigObject
*sobj
= (PySwigObject
*) v
;
1459 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1462 if (!PySwigObject_Check(next
)) {
1467 return SWIG_Py_Void();
1470 SWIGRUNTIME PyObject
*
1472 PySwigObject_next(PyObject
* v
)
1474 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1477 PySwigObject
*sobj
= (PySwigObject
*) v
;
1479 Py_INCREF(sobj
->next
);
1482 return SWIG_Py_Void();
1486 SWIGINTERN PyObject
*
1488 PySwigObject_disown(PyObject
*v
)
1490 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1493 PySwigObject
*sobj
= (PySwigObject
*)v
;
1495 return SWIG_Py_Void();
1498 SWIGINTERN PyObject
*
1500 PySwigObject_acquire(PyObject
*v
)
1502 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1505 PySwigObject
*sobj
= (PySwigObject
*)v
;
1506 sobj
->own
= SWIG_POINTER_OWN
;
1507 return SWIG_Py_Void();
1510 SWIGINTERN PyObject
*
1511 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1517 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1524 PySwigObject
*sobj
= (PySwigObject
*)v
;
1525 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1528 if (PyObject_IsTrue(val
)) {
1529 PySwigObject_acquire(v
);
1531 PySwigObject_disown(v
);
1534 if (PyObject_IsTrue(val
)) {
1535 PySwigObject_acquire(v
,args
);
1537 PySwigObject_disown(v
,args
);
1547 swigobject_methods
[] = {
1548 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1558 swigobject_methods
[] = {
1559 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject
*
1571 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1573 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1577 SWIGRUNTIME PyTypeObject
*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1581 static PyNumberMethods PySwigObject_as_number
= {
1582 (binaryfunc
)0, /*nb_add*/
1583 (binaryfunc
)0, /*nb_subtract*/
1584 (binaryfunc
)0, /*nb_multiply*/
1585 (binaryfunc
)0, /*nb_divide*/
1586 (binaryfunc
)0, /*nb_remainder*/
1587 (binaryfunc
)0, /*nb_divmod*/
1588 (ternaryfunc
)0,/*nb_power*/
1589 (unaryfunc
)0, /*nb_negative*/
1590 (unaryfunc
)0, /*nb_positive*/
1591 (unaryfunc
)0, /*nb_absolute*/
1592 (inquiry
)0, /*nb_nonzero*/
1599 (coercion
)0, /*nb_coerce*/
1600 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1601 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1602 (unaryfunc
)0, /*nb_float*/
1603 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1604 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1612 static PyTypeObject pyswigobject_type
;
1613 static int type_init
= 0;
1615 const PyTypeObject tmp
1617 PyObject_HEAD_INIT(NULL
)
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject
), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1623 (printfunc
)PySwigObject_print
, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1627 (getattrfunc
)0, /* tp_getattr */
1629 (setattrfunc
)0, /* tp_setattr */
1630 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1631 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1632 &PySwigObject_as_number
, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc
)0, /* tp_hash */
1636 (ternaryfunc
)0, /* tp_call */
1637 (reprfunc
)PySwigObject_str
, /* tp_str */
1638 PyObject_GenericGetAttr
, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1642 swigobject_doc
, /* tp_doc */
1643 0, /* tp_traverse */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1649 0, /* tp_iternext */
1650 swigobject_methods
, /* tp_methods */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1669 #if PY_VERSION_HEX >= 0x02030000
1673 0,0,0,0 /* tp_alloc -> tp_next */
1676 pyswigobject_type
= tmp
;
1677 pyswigobject_type
.ob_type
= &PyType_Type
;
1680 return &pyswigobject_type
;
1683 SWIGRUNTIME PyObject
*
1684 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1686 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1693 return (PyObject
*)sobj
;
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1708 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1710 char result
[SWIG_BUFFER_SIZE
];
1711 fputs("<Swig Packed ", fp
);
1712 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1716 fputs(v
->ty
->name
,fp
);
1721 SWIGRUNTIME PyObject
*
1722 PySwigPacked_repr(PySwigPacked
*v
)
1724 char result
[SWIG_BUFFER_SIZE
];
1725 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1728 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1732 SWIGRUNTIME PyObject
*
1733 PySwigPacked_str(PySwigPacked
*v
)
1735 char result
[SWIG_BUFFER_SIZE
];
1736 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1737 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1739 return PyString_FromString(v
->ty
->name
);
1744 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1748 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1749 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1752 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1754 SWIGRUNTIME PyTypeObject
*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1760 SWIGRUNTIMEINLINE
int
1761 PySwigPacked_Check(PyObject
*op
) {
1762 return ((op
)->ob_type
== _PySwigPacked_type())
1763 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1767 PySwigPacked_dealloc(PyObject
*v
)
1769 if (PySwigPacked_Check(v
)) {
1770 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1776 SWIGRUNTIME PyTypeObject
*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type
;
1780 static int type_init
= 0;
1782 const PyTypeObject tmp
1784 PyObject_HEAD_INIT(NULL
)
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked
), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1790 (printfunc
)PySwigPacked_print
, /* tp_print */
1791 (getattrfunc
)0, /* tp_getattr */
1792 (setattrfunc
)0, /* tp_setattr */
1793 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1794 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc
)0, /* tp_hash */
1799 (ternaryfunc
)0, /* tp_call */
1800 (reprfunc
)PySwigPacked_str
, /* tp_str */
1801 PyObject_GenericGetAttr
, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1805 swigpacked_doc
, /* tp_doc */
1806 0, /* tp_traverse */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1812 0, /* tp_iternext */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1832 #if PY_VERSION_HEX >= 0x02030000
1836 0,0,0,0 /* tp_alloc -> tp_next */
1839 pyswigpacked_type
= tmp
;
1840 pyswigpacked_type
.ob_type
= &PyType_Type
;
1843 return &pyswigpacked_type
;
1846 SWIGRUNTIME PyObject
*
1847 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1849 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1851 void *pack
= malloc(size
);
1853 memcpy(pack
, ptr
, size
);
1858 PyObject_DEL((PyObject
*) sobj
);
1862 return (PyObject
*) sobj
;
1865 SWIGRUNTIME swig_type_info
*
1866 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1868 if (PySwigPacked_Check(obj
)) {
1869 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1870 if (sobj
->size
!= size
) return 0;
1871 memcpy(ptr
, sobj
->pack
, size
);
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1882 SWIGRUNTIMEINLINE PyObject
*
1885 return PyString_FromString("this");
1888 SWIGRUNTIME PyObject
*
1891 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1897 SWIGRUNTIME PySwigObject
*
1898 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1900 if (PySwigObject_Check(pyobj
)) {
1901 return (PySwigObject
*) pyobj
;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj
)) {
1906 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1908 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1909 if (dictptr
!= NULL
) {
1910 PyObject
*dict
= *dictptr
;
1911 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj
)) {
1915 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1916 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1919 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1923 if (PyErr_Occurred()) PyErr_Clear();
1929 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1933 if (PyErr_Occurred()) PyErr_Clear();
1937 if (obj
&& !PySwigObject_Check(obj
)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj
);
1942 return (PySwigObject
*)obj
;
1946 /* Acquire a pointer value */
1949 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1951 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1953 int oldown
= sobj
->own
;
1961 /* Convert a pointer value */
1964 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1965 if (!obj
) return SWIG_ERROR
;
1966 if (obj
== Py_None
) {
1970 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1972 void *vptr
= sobj
->ptr
;
1974 swig_type_info
*to
= sobj
->ty
;
1976 /* no type cast needed */
1977 if (ptr
) *ptr
= vptr
;
1980 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1982 sobj
= (PySwigObject
*)sobj
->next
;
1984 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1989 if (ptr
) *ptr
= vptr
;
1994 if (own
) *own
= sobj
->own
;
1995 if (flags
& SWIG_POINTER_DISOWN
) {
2000 int res
= SWIG_ERROR
;
2001 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2002 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2003 if (data
&& !data
->implicitconv
) {
2004 PyObject
*klass
= data
->klass
;
2007 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2009 data
->implicitconv
= 0;
2010 if (PyErr_Occurred()) {
2015 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2018 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2019 if (SWIG_IsOK(res
)) {
2022 /* transfer the ownership to 'ptr' */
2024 res
= SWIG_AddCast(res
);
2025 res
= SWIG_AddNewMask(res
);
2027 res
= SWIG_AddCast(res
);
2041 /* Convert a function ptr value */
2044 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2045 if (!PyCFunction_Check(obj
)) {
2046 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2050 /* here we get the method pointer for callbacks */
2051 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2052 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2054 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2055 if (!desc
) return SWIG_ERROR
;
2058 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2059 if (!tc
) return SWIG_ERROR
;
2060 *ptr
= SWIG_TypeCast(tc
,vptr
);
2068 /* Convert a packed value value */
2071 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2072 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2073 if (!to
) return SWIG_ERROR
;
2076 /* check type cast? */
2077 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2078 if (!tc
) return SWIG_ERROR
;
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2089 Create a new instance object, whitout calling __init__, and set the
2093 SWIGRUNTIME PyObject
*
2094 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2096 #if (PY_VERSION_HEX >= 0x02020000)
2098 PyObject
*newraw
= data
->newraw
;
2100 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2104 if (dictptr
!= NULL
) {
2105 PyObject
*dict
= *dictptr
;
2107 dict
= PyDict_New();
2109 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2113 PyObject
*key
= SWIG_This();
2114 PyObject_SetAttr(inst
, key
, swig_this
);
2118 PyObject
*dict
= PyDict_New();
2119 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2120 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2125 #if (PY_VERSION_HEX >= 0x02010000)
2127 PyObject
*dict
= PyDict_New();
2128 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2129 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2131 return (PyObject
*) inst
;
2133 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2137 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2138 Py_INCREF(inst
->in_class
);
2139 inst
->in_dict
= PyDict_New();
2140 if (inst
->in_dict
== NULL
) {
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst
->in_weakreflist
= NULL
;
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst
);
2150 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2151 return (PyObject
*) inst
;
2157 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2162 if (dictptr
!= NULL
) {
2165 dict
= PyDict_New();
2168 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2172 dict
= PyObject_GetAttrString(inst
, "__dict__");
2173 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2178 SWIGINTERN PyObject
*
2179 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2184 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2186 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2188 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2190 return SWIG_Py_Void();
2194 /* Create a new pointer object */
2196 SWIGRUNTIME PyObject
*
2197 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2199 return SWIG_Py_Void();
2201 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2202 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2203 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2204 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2205 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2215 /* Create a new packed object */
2217 SWIGRUNTIMEINLINE PyObject
*
2218 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2219 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2222 /* -----------------------------------------------------------------------------*
2224 * -----------------------------------------------------------------------------*/
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2230 SWIGRUNTIME swig_module_info
*
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer
= (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer
) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2238 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2240 if (PyErr_Occurred()) {
2242 type_pointer
= (void *)0;
2246 return (swig_module_info
*) type_pointer
;
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2253 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2256 if (!PyModule_Check(m
)) {
2257 PyErr_SetString(PyExc_TypeError
,
2258 "PyModule_AddObject() needs module as first arg");
2262 PyErr_SetString(PyExc_TypeError
,
2263 "PyModule_AddObject() needs non-NULL value");
2267 dict
= PyModule_GetDict(m
);
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2271 PyModule_GetName(m
));
2274 if (PyDict_SetItemString(dict
, name
, o
))
2282 SWIG_Python_DestroyModule(void *vptr
)
2284 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2285 swig_type_info
**types
= swig_module
->types
;
2287 for (i
=0; i
< swig_module
->size
; ++i
) {
2288 swig_type_info
*ty
= types
[i
];
2290 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2291 if (data
) PySwigClientData_Del(data
);
2294 Py_DECREF(SWIG_This());
2298 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2299 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2301 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2302 swig_empty_runtime_method_table
);
2303 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2304 if (pointer
&& module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2307 Py_XDECREF(pointer
);
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject
*
2313 SWIG_Python_TypeCache() {
2314 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2318 SWIGRUNTIME swig_type_info
*
2319 SWIG_Python_TypeQuery(const char *type
)
2321 PyObject
*cache
= SWIG_Python_TypeCache();
2322 PyObject
*key
= PyString_FromString(type
);
2323 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2324 swig_type_info
*descriptor
;
2326 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2328 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2329 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2331 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2332 PyDict_SetItem(cache
, key
, obj
);
2341 For backward compatibility only
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2348 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2350 if (PyErr_Occurred()) {
2352 PyObject
*value
= 0;
2353 PyObject
*traceback
= 0;
2354 PyErr_Fetch(&type
, &value
, &traceback
);
2356 PyObject
*old_str
= PyObject_Str(value
);
2360 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2362 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2373 SWIG_Python_ArgFail(int argnum
)
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2378 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2379 return SWIG_Python_AddErrMesg(mesg
, 1);
2385 SWIGRUNTIMEINLINE
const char *
2386 PySwigObject_GetDesc(PyObject
*self
)
2388 PySwigObject
*v
= (PySwigObject
*)self
;
2389 swig_type_info
*ty
= v
? v
->ty
: 0;
2390 return ty
? ty
->str
: (char*)"";
2394 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj
&& PySwigObject_Check(obj
)) {
2399 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2401 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2408 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2410 PyObject
*str
= PyObject_Str(obj
);
2411 const char *cstr
= str
? PyString_AsString(str
) : 0;
2413 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2416 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2423 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2425 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2432 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2434 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2436 if (flags
& SWIG_POINTER_EXCEPTION
) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2438 SWIG_Python_ArgFail(argnum
);
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2462 #define SWIGTYPE_p_bool swig_types[0]
2463 #define SWIGTYPE_p_char swig_types[1]
2464 #define SWIGTYPE_p_form_ops_t swig_types[2]
2465 #define SWIGTYPE_p_int swig_types[3]
2466 #define SWIGTYPE_p_long swig_types[4]
2467 #define SWIGTYPE_p_unsigned_char swig_types[5]
2468 #define SWIGTYPE_p_unsigned_int swig_types[6]
2469 #define SWIGTYPE_p_unsigned_long swig_types[7]
2470 #define SWIGTYPE_p_void swig_types[8]
2471 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2472 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2473 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2474 #define SWIGTYPE_p_wxArrayInt swig_types[12]
2475 #define SWIGTYPE_p_wxArrayString swig_types[13]
2476 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2477 #define SWIGTYPE_p_wxBitmap swig_types[15]
2478 #define SWIGTYPE_p_wxBitmapButton swig_types[16]
2479 #define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
2480 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
2481 #define SWIGTYPE_p_wxBoxSizer swig_types[19]
2482 #define SWIGTYPE_p_wxButton swig_types[20]
2483 #define SWIGTYPE_p_wxCURHandler swig_types[21]
2484 #define SWIGTYPE_p_wxCheckBox swig_types[22]
2485 #define SWIGTYPE_p_wxCheckListBox swig_types[23]
2486 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2487 #define SWIGTYPE_p_wxChoice swig_types[25]
2488 #define SWIGTYPE_p_wxChoicebook swig_types[26]
2489 #define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
2490 #define SWIGTYPE_p_wxCloseEvent swig_types[28]
2491 #define SWIGTYPE_p_wxColour swig_types[29]
2492 #define SWIGTYPE_p_wxComboBox swig_types[30]
2493 #define SWIGTYPE_p_wxCommandEvent swig_types[31]
2494 #define SWIGTYPE_p_wxContextHelp swig_types[32]
2495 #define SWIGTYPE_p_wxContextHelpButton swig_types[33]
2496 #define SWIGTYPE_p_wxContextMenuEvent swig_types[34]
2497 #define SWIGTYPE_p_wxControl swig_types[35]
2498 #define SWIGTYPE_p_wxControlWithItems swig_types[36]
2499 #define SWIGTYPE_p_wxCursor swig_types[37]
2500 #define SWIGTYPE_p_wxDC swig_types[38]
2501 #define SWIGTYPE_p_wxDateEvent swig_types[39]
2502 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[40]
2503 #define SWIGTYPE_p_wxDateTime swig_types[41]
2504 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[42]
2505 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[43]
2506 #define SWIGTYPE_p_wxDropFilesEvent swig_types[44]
2507 #define SWIGTYPE_p_wxDuplexMode swig_types[45]
2508 #define SWIGTYPE_p_wxEraseEvent swig_types[46]
2509 #define SWIGTYPE_p_wxEvent swig_types[47]
2510 #define SWIGTYPE_p_wxEvtHandler swig_types[48]
2511 #define SWIGTYPE_p_wxFSFile swig_types[49]
2512 #define SWIGTYPE_p_wxFileSystem swig_types[50]
2513 #define SWIGTYPE_p_wxFlexGridSizer swig_types[51]
2514 #define SWIGTYPE_p_wxFocusEvent swig_types[52]
2515 #define SWIGTYPE_p_wxFont swig_types[53]
2516 #define SWIGTYPE_p_wxGBSizerItem swig_types[54]
2517 #define SWIGTYPE_p_wxGIFHandler swig_types[55]
2518 #define SWIGTYPE_p_wxGauge swig_types[56]
2519 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[57]
2520 #define SWIGTYPE_p_wxGenericDragImage swig_types[58]
2521 #define SWIGTYPE_p_wxGridBagSizer swig_types[59]
2522 #define SWIGTYPE_p_wxGridSizer swig_types[60]
2523 #define SWIGTYPE_p_wxHelpEvent swig_types[61]
2524 #define SWIGTYPE_p_wxHelpProvider swig_types[62]
2525 #define SWIGTYPE_p_wxICOHandler swig_types[63]
2526 #define SWIGTYPE_p_wxIcon swig_types[64]
2527 #define SWIGTYPE_p_wxIconizeEvent swig_types[65]
2528 #define SWIGTYPE_p_wxIdleEvent swig_types[66]
2529 #define SWIGTYPE_p_wxImage swig_types[67]
2530 #define SWIGTYPE_p_wxImageHandler swig_types[68]
2531 #define SWIGTYPE_p_wxImageList swig_types[69]
2532 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[70]
2533 #define SWIGTYPE_p_wxInitDialogEvent swig_types[71]
2534 #define SWIGTYPE_p_wxItemContainer swig_types[72]
2535 #define SWIGTYPE_p_wxJPEGHandler swig_types[73]
2536 #define SWIGTYPE_p_wxKeyEvent swig_types[74]
2537 #define SWIGTYPE_p_wxLayoutConstraints swig_types[75]
2538 #define SWIGTYPE_p_wxListBox swig_types[76]
2539 #define SWIGTYPE_p_wxListEvent swig_types[77]
2540 #define SWIGTYPE_p_wxListItem swig_types[78]
2541 #define SWIGTYPE_p_wxListItemAttr swig_types[79]
2542 #define SWIGTYPE_p_wxListView swig_types[80]
2543 #define SWIGTYPE_p_wxListbook swig_types[81]
2544 #define SWIGTYPE_p_wxListbookEvent swig_types[82]
2545 #define SWIGTYPE_p_wxMaximizeEvent swig_types[83]
2546 #define SWIGTYPE_p_wxMemoryDC swig_types[84]
2547 #define SWIGTYPE_p_wxMenu swig_types[85]
2548 #define SWIGTYPE_p_wxMenuBar swig_types[86]
2549 #define SWIGTYPE_p_wxMenuEvent swig_types[87]
2550 #define SWIGTYPE_p_wxMenuItem swig_types[88]
2551 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[89]
2552 #define SWIGTYPE_p_wxMouseEvent swig_types[90]
2553 #define SWIGTYPE_p_wxMoveEvent swig_types[91]
2554 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[92]
2555 #define SWIGTYPE_p_wxNcPaintEvent swig_types[93]
2556 #define SWIGTYPE_p_wxNotebook swig_types[94]
2557 #define SWIGTYPE_p_wxNotebookEvent swig_types[95]
2558 #define SWIGTYPE_p_wxNotifyEvent swig_types[96]
2559 #define SWIGTYPE_p_wxObject swig_types[97]
2560 #define SWIGTYPE_p_wxPCXHandler swig_types[98]
2561 #define SWIGTYPE_p_wxPNGHandler swig_types[99]
2562 #define SWIGTYPE_p_wxPNMHandler swig_types[100]
2563 #define SWIGTYPE_p_wxPaintEvent swig_types[101]
2564 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[102]
2565 #define SWIGTYPE_p_wxPaperSize swig_types[103]
2566 #define SWIGTYPE_p_wxPoint swig_types[104]
2567 #define SWIGTYPE_p_wxPyApp swig_types[105]
2568 #define SWIGTYPE_p_wxPyCommandEvent swig_types[106]
2569 #define SWIGTYPE_p_wxPyControl swig_types[107]
2570 #define SWIGTYPE_p_wxPyEvent swig_types[108]
2571 #define SWIGTYPE_p_wxPyImageHandler swig_types[109]
2572 #define SWIGTYPE_p_wxPyListCtrl swig_types[110]
2573 #define SWIGTYPE_p_wxPySizer swig_types[111]
2574 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[112]
2575 #define SWIGTYPE_p_wxPyTreeItemData swig_types[113]
2576 #define SWIGTYPE_p_wxPyValidator swig_types[114]
2577 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[115]
2578 #define SWIGTYPE_p_wxRadioBox swig_types[116]
2579 #define SWIGTYPE_p_wxRadioButton swig_types[117]
2580 #define SWIGTYPE_p_wxRect swig_types[118]
2581 #define SWIGTYPE_p_wxScrollBar swig_types[119]
2582 #define SWIGTYPE_p_wxScrollEvent swig_types[120]
2583 #define SWIGTYPE_p_wxScrollWinEvent swig_types[121]
2584 #define SWIGTYPE_p_wxSetCursorEvent swig_types[122]
2585 #define SWIGTYPE_p_wxShowEvent swig_types[123]
2586 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[124]
2587 #define SWIGTYPE_p_wxSize swig_types[125]
2588 #define SWIGTYPE_p_wxSizeEvent swig_types[126]
2589 #define SWIGTYPE_p_wxSizer swig_types[127]
2590 #define SWIGTYPE_p_wxSizerItem swig_types[128]
2591 #define SWIGTYPE_p_wxSlider swig_types[129]
2592 #define SWIGTYPE_p_wxSpinButton swig_types[130]
2593 #define SWIGTYPE_p_wxSpinCtrl swig_types[131]
2594 #define SWIGTYPE_p_wxSpinEvent swig_types[132]
2595 #define SWIGTYPE_p_wxStaticBitmap swig_types[133]
2596 #define SWIGTYPE_p_wxStaticBox swig_types[134]
2597 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[135]
2598 #define SWIGTYPE_p_wxStaticLine swig_types[136]
2599 #define SWIGTYPE_p_wxStaticText swig_types[137]
2600 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[138]
2601 #define SWIGTYPE_p_wxString swig_types[139]
2602 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[140]
2603 #define SWIGTYPE_p_wxTIFFHandler swig_types[141]
2604 #define SWIGTYPE_p_wxTextAttr swig_types[142]
2605 #define SWIGTYPE_p_wxTextCtrl swig_types[143]
2606 #define SWIGTYPE_p_wxTextUrlEvent swig_types[144]
2607 #define SWIGTYPE_p_wxToggleButton swig_types[145]
2608 #define SWIGTYPE_p_wxToolBar swig_types[146]
2609 #define SWIGTYPE_p_wxToolBarBase swig_types[147]
2610 #define SWIGTYPE_p_wxToolBarToolBase swig_types[148]
2611 #define SWIGTYPE_p_wxToolbook swig_types[149]
2612 #define SWIGTYPE_p_wxToolbookEvent swig_types[150]
2613 #define SWIGTYPE_p_wxTreeCtrl swig_types[151]
2614 #define SWIGTYPE_p_wxTreeEvent swig_types[152]
2615 #define SWIGTYPE_p_wxTreeItemId swig_types[153]
2616 #define SWIGTYPE_p_wxTreebook swig_types[154]
2617 #define SWIGTYPE_p_wxTreebookEvent swig_types[155]
2618 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[156]
2619 #define SWIGTYPE_p_wxValidator swig_types[157]
2620 #define SWIGTYPE_p_wxVisualAttributes swig_types[158]
2621 #define SWIGTYPE_p_wxWindow swig_types[159]
2622 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[160]
2623 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[161]
2624 #define SWIGTYPE_p_wxXPMHandler swig_types[162]
2625 static swig_type_info
*swig_types
[164];
2626 static swig_module_info swig_module
= {swig_types
, 163, 0, 0, 0, 0};
2627 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2628 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2630 /* -------- TYPES TABLE (END) -------- */
2632 #if (PY_VERSION_HEX <= 0x02000000)
2633 # if !defined(SWIG_PYTHON_CLASSIC)
2634 # error "This python version requires to use swig with the '-classic' option"
2637 #if (PY_VERSION_HEX <= 0x02020000)
2638 # error "This python version requires to use swig with the '-nomodern' option"
2640 #if (PY_VERSION_HEX <= 0x02020000)
2641 # error "This python version requires to use swig with the '-nomodernargs' option"
2644 # error "This python version requires to use swig with the '-nofastunpack' option"
2647 /*-----------------------------------------------
2648 @(target):= _controls_.so
2649 ------------------------------------------------*/
2650 #define SWIG_init init_controls_
2652 #define SWIG_name "_controls_"
2654 #define SWIGVERSION 0x010329
2657 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2658 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2661 #include <stdexcept>
2665 class PyObject_ptr
{
2670 PyObject_ptr() :_obj(0)
2674 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2679 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2681 if (initial_ref
) Py_XINCREF(_obj
);
2684 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2686 Py_XINCREF(item
._obj
);
2697 operator PyObject
*() const
2702 PyObject
*operator->() const
2711 struct PyObject_var
: PyObject_ptr
{
2712 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2714 PyObject_var
& operator = (PyObject
* obj
)
2724 #include "wx/wxPython/wxPython.h"
2725 #include "wx/wxPython/pyclasses.h"
2727 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2728 static const wxString
wxPyEmptyString(wxEmptyString
);
2729 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2731 const wxArrayString wxPyEmptyStringArray
;
2733 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
2735 #define SWIG_From_long PyInt_FromLong
2738 SWIGINTERNINLINE PyObject
*
2739 SWIG_From_int (int value
)
2741 return SWIG_From_long (value
);
2747 # define LLONG_MIN LONG_LONG_MIN
2750 # define LLONG_MAX LONG_LONG_MAX
2753 # define ULLONG_MAX ULONG_LONG_MAX
2758 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2760 if (PyNumber_Check(obj
)) {
2761 if (val
) *val
= PyInt_AsLong(obj
);
2764 return SWIG_TypeError
;
2769 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2772 int res
= SWIG_AsVal_long (obj
, &v
);
2773 if (SWIG_IsOK(res
)) {
2774 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2775 return SWIG_OverflowError
;
2777 if (val
) *val
= static_cast< int >(v
);
2783 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
2786 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2788 if (obj
== Py_True
) {
2789 if (val
) *val
= true;
2791 } else if (obj
== Py_False
) {
2792 if (val
) *val
= false;
2796 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2797 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2802 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
2803 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
2804 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
2805 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
2806 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
2807 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
2809 #include <wx/checklst.h>
2812 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
2813 SWIGINTERN
void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2815 wxPyClientData
* data
= new wxPyClientData(clientData
);
2816 self
->Insert(item
, pos
, data
);
2818 self
->Insert(item
, pos
);
2820 SWIGINTERN PyObject
*wxListBox_GetSelections(wxListBox
*self
){
2822 self
->GetSelections(lst
);
2823 PyObject
*tup
= PyTuple_New(lst
.GetCount());
2824 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
2825 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
2829 SWIGINTERN
void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2831 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2832 self
->GetItem(item
)->SetTextColour(c
);
2835 SWIGINTERN
void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2837 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2838 self
->GetItem(item
)->SetBackgroundColour(c
);
2841 SWIGINTERN
void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
2843 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2844 self
->GetItem(item
)->SetFont(f
);
2847 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
2850 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2853 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2854 return SWIG_TypeError
;
2857 *val
= (unsigned long)v
;
2861 SWIGINTERN
void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
2862 self
->AppendText(text
);
2864 SWIGINTERN wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
2865 return self
->GetValue().Mid(from
, to
- from
);
2867 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
2868 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
2869 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2870 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
2871 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
2873 SWIGINTERNINLINE PyObject
*
2874 SWIG_From_unsigned_SS_long (unsigned long value
)
2876 return (value
> LONG_MAX
) ?
2877 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2881 SWIGINTERNINLINE PyObject
*
2882 SWIG_From_size_t (size_t value
)
2884 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2888 #include <wx/slider.h>
2891 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
2892 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
2894 #if !wxUSE_TOGGLEBTN
2895 // implement dummy items for platforms that don't have this class
2897 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2899 class wxToggleButton
: public wxControl
2902 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
2903 const wxPoint
&, const wxSize
&, long,
2904 const wxValidator
&, const wxString
&)
2905 { wxPyRaiseNotImplemented(); }
2908 { wxPyRaiseNotImplemented(); }
2912 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
2914 SWIGINTERNINLINE
int
2915 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2918 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2919 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2923 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2924 SWIGINTERN PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2925 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2927 Py_INCREF(udata
->m_obj
);
2928 return udata
->m_obj
;
2934 SWIGINTERN
void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2935 self
->SetClientData(new wxPyUserData(clientData
));
2937 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
){
2938 wxPyUserData
* udata
= NULL
;
2939 if (clientData
&& clientData
!= Py_None
)
2940 udata
= new wxPyUserData(clientData
);
2941 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2942 shortHelp
, longHelp
, udata
);
2944 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
){
2945 wxPyUserData
* udata
= NULL
;
2946 if (clientData
&& clientData
!= Py_None
)
2947 udata
= new wxPyUserData(clientData
);
2948 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2949 shortHelp
, longHelp
, udata
);
2951 SWIGINTERN PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
2952 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
2954 Py_INCREF(udata
->m_obj
);
2955 return udata
->m_obj
;
2961 SWIGINTERN
void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
2962 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
2965 #include <wx/listctrl.h>
2967 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
2968 SWIGINTERN
void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
2969 // Python aware sorting function for wxPyListCtrl
2970 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
2972 PyObject
* func
= (PyObject
*)funcPtr
;
2973 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2975 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
2976 PyObject
* result
= PyEval_CallObject(func
, args
);
2979 retval
= PyInt_AsLong(result
);
2983 wxPyEndBlockThreads(blocked
);
2987 // C++ Version of a Python aware class
2988 class wxPyListCtrl
: public wxListCtrl
{
2989 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
2991 wxPyListCtrl() : wxListCtrl() {}
2992 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
2996 const wxValidator
& validator
,
2997 const wxString
& name
) :
2998 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3000 bool Create(wxWindow
* parent
, wxWindowID id
,
3004 const wxValidator
& validator
,
3005 const wxString
& name
) {
3006 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3009 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
3010 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
3012 // use the virtual version to avoid a confusing assert in the base class
3013 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
3014 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
3019 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
3021 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
3022 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
3023 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
3024 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
3027 SWIGINTERN wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
3029 item
.SetMask( wxLIST_MASK_STATE
|
3037 if (self
->GetColumn(col
, item
))
3038 return new wxListItem(item
);
3042 SWIGINTERN wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
3043 wxListItem
* info
= new wxListItem
;
3044 info
->m_itemId
= itemId
;
3046 info
->m_mask
= 0xFFFF;
3047 self
->GetItem(*info
);
3050 SWIGINTERN wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
3052 self
->GetItemPosition(item
, pos
);
3055 SWIGINTERN wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
3057 self
->GetItemRect(item
, rect
, code
);
3060 SWIGINTERN
bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
3061 if (!PyCallable_Check(func
))
3063 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
3065 SWIGINTERN wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
3069 return (wxWindow
*)self
->m_mainWin
;
3073 #include <wx/treectrl.h>
3074 #include "wx/wxPython/pytree.h"
3076 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3077 SWIGINTERN
bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
3078 SWIGINTERN
bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
3079 SWIGINTERN
void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
3080 // C++ version of Python aware wxTreeCtrl
3081 class wxPyTreeCtrl
: public wxTreeCtrl
{
3082 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3084 wxPyTreeCtrl() : wxTreeCtrl() {}
3085 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3089 const wxValidator
& validator
,
3090 const wxString
& name
) :
3091 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3093 bool Create(wxWindow
*parent
, wxWindowID id
,
3097 const wxValidator
& validator
,
3098 const wxString
& name
) {
3099 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3103 int OnCompareItems(const wxTreeItemId
& item1
,
3104 const wxTreeItemId
& item2
) {
3107 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3108 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3109 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3110 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3111 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3115 wxPyEndBlockThreads(blocked
);
3117 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3123 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
3127 SWIGINTERNINLINE PyObject
*
3128 SWIG_From_unsigned_SS_int (unsigned int value
)
3130 return SWIG_From_unsigned_SS_long (value
);
3135 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
3138 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
3139 if (SWIG_IsOK(res
)) {
3140 if ((v
> UINT_MAX
)) {
3141 return SWIG_OverflowError
;
3143 if (val
) *val
= static_cast< unsigned int >(v
);
3149 SWIGINTERN wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3150 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3152 data
= new wxPyTreeItemData();
3153 data
->SetId(item
); // set the id
3154 self
->SetItemData(item
, data
);
3158 SWIGINTERN PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3159 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3161 data
= new wxPyTreeItemData();
3162 data
->SetId(item
); // set the id
3163 self
->SetItemData(item
, data
);
3165 return data
->GetData();
3167 SWIGINTERN
void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3168 data
->SetId(item
); // set the id
3169 self
->SetItemData(item
, data
);
3171 SWIGINTERN
void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3172 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3174 data
= new wxPyTreeItemData(obj
);
3175 data
->SetId(item
); // set the id
3176 self
->SetItemData(item
, data
);
3180 SWIGINTERN PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
3181 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3182 PyObject
* rval
= PyList_New(0);
3183 wxArrayTreeItemIds array
;
3185 num
= self
->GetSelections(array
);
3186 for (x
=0; x
< num
; x
++) {
3187 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3188 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3189 PyList_Append(rval
, item
);
3192 wxPyEndBlockThreads(blocked
);
3195 SWIGINTERN PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3197 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3198 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3199 PyObject
* tup
= PyTuple_New(2);
3200 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3201 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3202 wxPyEndBlockThreads(blocked
);
3205 SWIGINTERN PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3206 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3207 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3208 PyObject
* tup
= PyTuple_New(2);
3209 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3210 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3211 wxPyEndBlockThreads(blocked
);
3214 SWIGINTERN PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3216 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3217 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3218 wxRect
* r
= new wxRect(rect
);
3219 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
3220 wxPyEndBlockThreads(blocked
);
3226 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
3228 SWIGINTERNINLINE PyObject
*
3229 SWIG_From_bool (bool value
)
3231 return PyBool_FromLong(value
? 1 : 0);
3234 // C++ version of Python aware wxControl
3235 class wxPyControl
: public wxControl
3237 DECLARE_DYNAMIC_CLASS(wxPyControl
)
3239 wxPyControl() : wxControl() {}
3240 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
3241 const wxPoint
& pos
= wxDefaultPosition
,
3242 const wxSize
& size
= wxDefaultSize
,
3244 const wxValidator
& validator
=wxDefaultValidator
,
3245 const wxString
& name
= wxPyControlNameStr
)
3246 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3248 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
3250 bool DoEraseBackground(wxDC
* dc
) {
3252 return wxWindow::DoEraseBackground(dc
->GetHDC());
3254 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3260 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3261 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3262 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3263 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3265 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3266 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3267 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3269 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3270 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3272 DEC_PYCALLBACK__(InitDialog
);
3273 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3274 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3275 DEC_PYCALLBACK_BOOL_(Validate
);
3277 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3278 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3279 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3281 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3282 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3284 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3285 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3287 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3289 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3294 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
3296 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
3297 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
3298 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
3299 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
3301 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
3302 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
3303 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
3305 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
3306 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
3308 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
3309 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
3310 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
3311 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
3313 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
3314 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
3315 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
3317 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
3318 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
3320 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
3321 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
3323 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
3325 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
3329 SWIGINTERN
void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
3331 #include <wx/generic/dragimgg.h>
3333 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
3334 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
3336 self
->GetRange(&rv
, NULL
);
3339 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
3341 self
->GetRange(NULL
, &rv
);
3347 SWIGINTERN
int ButtonNameStr_set(PyObject
*) {
3348 SWIG_Error(SWIG_AttributeError
,"Variable ButtonNameStr is read-only.");
3353 SWIGINTERN PyObject
*ButtonNameStr_get(void) {
3354 PyObject
*pyobj
= 0;
3358 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3360 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3367 SWIGINTERN PyObject
*_wrap_new_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3368 PyObject
*resultobj
= 0;
3369 wxWindow
*arg1
= (wxWindow
*) 0 ;
3370 int arg2
= (int) -1 ;
3371 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3372 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3373 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3374 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3375 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3376 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3377 long arg6
= (long) 0 ;
3378 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3379 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3380 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3381 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3382 wxButton
*result
= 0 ;
3387 bool temp3
= false ;
3394 bool temp8
= false ;
3395 PyObject
* obj0
= 0 ;
3396 PyObject
* obj1
= 0 ;
3397 PyObject
* obj2
= 0 ;
3398 PyObject
* obj3
= 0 ;
3399 PyObject
* obj4
= 0 ;
3400 PyObject
* obj5
= 0 ;
3401 PyObject
* obj6
= 0 ;
3402 PyObject
* obj7
= 0 ;
3403 char * kwnames
[] = {
3404 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3409 if (!SWIG_IsOK(res1
)) {
3410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3412 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3414 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3415 if (!SWIG_IsOK(ecode2
)) {
3416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3418 arg2
= static_cast< int >(val2
);
3422 arg3
= wxString_in_helper(obj2
);
3423 if (arg3
== NULL
) SWIG_fail
;
3430 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3436 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3440 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3441 if (!SWIG_IsOK(ecode6
)) {
3442 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3444 arg6
= static_cast< long >(val6
);
3447 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3448 if (!SWIG_IsOK(res7
)) {
3449 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3452 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3454 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3458 arg8
= wxString_in_helper(obj7
);
3459 if (arg8
== NULL
) SWIG_fail
;
3464 if (!wxPyCheckForApp()) SWIG_fail
;
3465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3466 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3467 wxPyEndAllowThreads(__tstate
);
3468 if (PyErr_Occurred()) SWIG_fail
;
3470 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_NEW
| 0 );
3493 SWIGINTERN PyObject
*_wrap_new_PreButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3494 PyObject
*resultobj
= 0;
3495 wxButton
*result
= 0 ;
3497 if (!SWIG_Python_UnpackTuple(args
,"new_PreButton",0,0,0)) SWIG_fail
;
3499 if (!wxPyCheckForApp()) SWIG_fail
;
3500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3501 result
= (wxButton
*)new wxButton();
3502 wxPyEndAllowThreads(__tstate
);
3503 if (PyErr_Occurred()) SWIG_fail
;
3505 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_OWN
| 0 );
3512 SWIGINTERN PyObject
*_wrap_Button_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3513 PyObject
*resultobj
= 0;
3514 wxButton
*arg1
= (wxButton
*) 0 ;
3515 wxWindow
*arg2
= (wxWindow
*) 0 ;
3516 int arg3
= (int) -1 ;
3517 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3518 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3519 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3520 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3521 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3522 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3523 long arg7
= (long) 0 ;
3524 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3525 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3526 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3527 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3535 bool temp4
= false ;
3542 bool temp9
= false ;
3543 PyObject
* obj0
= 0 ;
3544 PyObject
* obj1
= 0 ;
3545 PyObject
* obj2
= 0 ;
3546 PyObject
* obj3
= 0 ;
3547 PyObject
* obj4
= 0 ;
3548 PyObject
* obj5
= 0 ;
3549 PyObject
* obj6
= 0 ;
3550 PyObject
* obj7
= 0 ;
3551 PyObject
* obj8
= 0 ;
3552 char * kwnames
[] = {
3553 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3558 if (!SWIG_IsOK(res1
)) {
3559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3561 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3562 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3563 if (!SWIG_IsOK(res2
)) {
3564 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3566 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3568 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3569 if (!SWIG_IsOK(ecode3
)) {
3570 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3572 arg3
= static_cast< int >(val3
);
3576 arg4
= wxString_in_helper(obj3
);
3577 if (arg4
== NULL
) SWIG_fail
;
3584 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3590 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3594 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3595 if (!SWIG_IsOK(ecode7
)) {
3596 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3598 arg7
= static_cast< long >(val7
);
3601 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3602 if (!SWIG_IsOK(res8
)) {
3603 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3606 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3608 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3612 arg9
= wxString_in_helper(obj8
);
3613 if (arg9
== NULL
) SWIG_fail
;
3618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3619 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3620 wxPyEndAllowThreads(__tstate
);
3621 if (PyErr_Occurred()) SWIG_fail
;
3624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3648 SWIGINTERN PyObject
*_wrap_Button_SetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3649 PyObject
*resultobj
= 0;
3650 wxButton
*arg1
= (wxButton
*) 0 ;
3653 PyObject
*swig_obj
[1] ;
3655 if (!args
) SWIG_fail
;
3657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3658 if (!SWIG_IsOK(res1
)) {
3659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3661 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3664 (arg1
)->SetDefault();
3665 wxPyEndAllowThreads(__tstate
);
3666 if (PyErr_Occurred()) SWIG_fail
;
3668 resultobj
= SWIG_Py_Void();
3675 SWIGINTERN PyObject
*_wrap_Button_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3676 PyObject
*resultobj
= 0;
3679 if (!SWIG_Python_UnpackTuple(args
,"Button_GetDefaultSize",0,0,0)) SWIG_fail
;
3681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3682 result
= wxButton::GetDefaultSize();
3683 wxPyEndAllowThreads(__tstate
);
3684 if (PyErr_Occurred()) SWIG_fail
;
3686 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
3693 SWIGINTERN PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3694 PyObject
*resultobj
= 0;
3695 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3696 SwigValueWrapper
<wxVisualAttributes
> result
;
3699 PyObject
* obj0
= 0 ;
3700 char * kwnames
[] = {
3701 (char *) "variant", NULL
3704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3706 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3707 if (!SWIG_IsOK(ecode1
)) {
3708 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3710 arg1
= static_cast< wxWindowVariant
>(val1
);
3713 if (!wxPyCheckForApp()) SWIG_fail
;
3714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3715 result
= wxButton::GetClassDefaultAttributes(arg1
);
3716 wxPyEndAllowThreads(__tstate
);
3717 if (PyErr_Occurred()) SWIG_fail
;
3719 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3726 SWIGINTERN PyObject
*Button_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3728 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3729 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton
, SWIG_NewClientData(obj
));
3730 return SWIG_Py_Void();
3733 SWIGINTERN PyObject
*Button_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3734 return SWIG_Python_InitShadowInstance(args
);
3737 SWIGINTERN PyObject
*_wrap_new_BitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3738 PyObject
*resultobj
= 0;
3739 wxWindow
*arg1
= (wxWindow
*) 0 ;
3740 int arg2
= (int) -1 ;
3741 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
3742 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
3743 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3744 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3745 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3746 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3747 long arg6
= (long) wxBU_AUTODRAW
;
3748 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3749 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3750 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3751 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3752 wxBitmapButton
*result
= 0 ;
3765 bool temp8
= false ;
3766 PyObject
* obj0
= 0 ;
3767 PyObject
* obj1
= 0 ;
3768 PyObject
* obj2
= 0 ;
3769 PyObject
* obj3
= 0 ;
3770 PyObject
* obj4
= 0 ;
3771 PyObject
* obj5
= 0 ;
3772 PyObject
* obj6
= 0 ;
3773 PyObject
* obj7
= 0 ;
3774 char * kwnames
[] = {
3775 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3780 if (!SWIG_IsOK(res1
)) {
3781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3783 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3785 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3786 if (!SWIG_IsOK(ecode2
)) {
3787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3789 arg2
= static_cast< int >(val2
);
3792 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3793 if (!SWIG_IsOK(res3
)) {
3794 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3797 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3799 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
3804 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3810 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3814 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3815 if (!SWIG_IsOK(ecode6
)) {
3816 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3818 arg6
= static_cast< long >(val6
);
3821 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3822 if (!SWIG_IsOK(res7
)) {
3823 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3826 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3828 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3832 arg8
= wxString_in_helper(obj7
);
3833 if (arg8
== NULL
) SWIG_fail
;
3838 if (!wxPyCheckForApp()) SWIG_fail
;
3839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3840 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3841 wxPyEndAllowThreads(__tstate
);
3842 if (PyErr_Occurred()) SWIG_fail
;
3844 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_NEW
| 0 );
3859 SWIGINTERN PyObject
*_wrap_new_PreBitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3860 PyObject
*resultobj
= 0;
3861 wxBitmapButton
*result
= 0 ;
3863 if (!SWIG_Python_UnpackTuple(args
,"new_PreBitmapButton",0,0,0)) SWIG_fail
;
3865 if (!wxPyCheckForApp()) SWIG_fail
;
3866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3867 result
= (wxBitmapButton
*)new wxBitmapButton();
3868 wxPyEndAllowThreads(__tstate
);
3869 if (PyErr_Occurred()) SWIG_fail
;
3871 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_OWN
| 0 );
3878 SWIGINTERN PyObject
*_wrap_BitmapButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3879 PyObject
*resultobj
= 0;
3880 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3881 wxWindow
*arg2
= (wxWindow
*) 0 ;
3882 int arg3
= (int) -1 ;
3883 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
3884 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
3885 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3886 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3887 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3888 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3889 long arg7
= (long) wxBU_AUTODRAW
;
3890 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3891 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3892 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3893 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3909 bool temp9
= false ;
3910 PyObject
* obj0
= 0 ;
3911 PyObject
* obj1
= 0 ;
3912 PyObject
* obj2
= 0 ;
3913 PyObject
* obj3
= 0 ;
3914 PyObject
* obj4
= 0 ;
3915 PyObject
* obj5
= 0 ;
3916 PyObject
* obj6
= 0 ;
3917 PyObject
* obj7
= 0 ;
3918 PyObject
* obj8
= 0 ;
3919 char * kwnames
[] = {
3920 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
3925 if (!SWIG_IsOK(res1
)) {
3926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
3928 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
3929 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3930 if (!SWIG_IsOK(res2
)) {
3931 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3933 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3935 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3936 if (!SWIG_IsOK(ecode3
)) {
3937 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
3939 arg3
= static_cast< int >(val3
);
3942 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3943 if (!SWIG_IsOK(res4
)) {
3944 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3947 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3949 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
3954 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3960 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3964 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3965 if (!SWIG_IsOK(ecode7
)) {
3966 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
3968 arg7
= static_cast< long >(val7
);
3971 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3972 if (!SWIG_IsOK(res8
)) {
3973 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3976 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3978 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3982 arg9
= wxString_in_helper(obj8
);
3983 if (arg9
== NULL
) SWIG_fail
;
3988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3989 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3990 wxPyEndAllowThreads(__tstate
);
3991 if (PyErr_Occurred()) SWIG_fail
;
3994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4010 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4011 PyObject
*resultobj
= 0;
4012 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4016 PyObject
*swig_obj
[1] ;
4018 if (!args
) SWIG_fail
;
4020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4021 if (!SWIG_IsOK(res1
)) {
4022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4024 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4027 result
= (arg1
)->GetBitmapLabel();
4028 wxPyEndAllowThreads(__tstate
);
4029 if (PyErr_Occurred()) SWIG_fail
;
4031 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4038 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4039 PyObject
*resultobj
= 0;
4040 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4044 PyObject
*swig_obj
[1] ;
4046 if (!args
) SWIG_fail
;
4048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4049 if (!SWIG_IsOK(res1
)) {
4050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4052 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4055 result
= (arg1
)->GetBitmapDisabled();
4056 wxPyEndAllowThreads(__tstate
);
4057 if (PyErr_Occurred()) SWIG_fail
;
4059 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4066 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4067 PyObject
*resultobj
= 0;
4068 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4072 PyObject
*swig_obj
[1] ;
4074 if (!args
) SWIG_fail
;
4076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4077 if (!SWIG_IsOK(res1
)) {
4078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4080 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4083 result
= (arg1
)->GetBitmapFocus();
4084 wxPyEndAllowThreads(__tstate
);
4085 if (PyErr_Occurred()) SWIG_fail
;
4087 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4094 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4095 PyObject
*resultobj
= 0;
4096 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4100 PyObject
*swig_obj
[1] ;
4102 if (!args
) SWIG_fail
;
4104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4105 if (!SWIG_IsOK(res1
)) {
4106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4108 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4111 result
= (arg1
)->GetBitmapSelected();
4112 wxPyEndAllowThreads(__tstate
);
4113 if (PyErr_Occurred()) SWIG_fail
;
4115 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4122 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4123 PyObject
*resultobj
= 0;
4124 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4128 PyObject
*swig_obj
[1] ;
4130 if (!args
) SWIG_fail
;
4132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4133 if (!SWIG_IsOK(res1
)) {
4134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4136 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4139 result
= (arg1
)->GetBitmapHover();
4140 wxPyEndAllowThreads(__tstate
);
4141 if (PyErr_Occurred()) SWIG_fail
;
4143 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4150 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4151 PyObject
*resultobj
= 0;
4152 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4153 wxBitmap
*arg2
= 0 ;
4158 PyObject
* obj0
= 0 ;
4159 PyObject
* obj1
= 0 ;
4160 char * kwnames
[] = {
4161 (char *) "self",(char *) "bitmap", NULL
4164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4166 if (!SWIG_IsOK(res1
)) {
4167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4169 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4170 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4171 if (!SWIG_IsOK(res2
)) {
4172 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4175 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4177 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4180 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
4181 wxPyEndAllowThreads(__tstate
);
4182 if (PyErr_Occurred()) SWIG_fail
;
4184 resultobj
= SWIG_Py_Void();
4191 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4192 PyObject
*resultobj
= 0;
4193 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4194 wxBitmap
*arg2
= 0 ;
4199 PyObject
* obj0
= 0 ;
4200 PyObject
* obj1
= 0 ;
4201 char * kwnames
[] = {
4202 (char *) "self",(char *) "bitmap", NULL
4205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4207 if (!SWIG_IsOK(res1
)) {
4208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4210 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4211 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4212 if (!SWIG_IsOK(res2
)) {
4213 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4216 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4218 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4221 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
4222 wxPyEndAllowThreads(__tstate
);
4223 if (PyErr_Occurred()) SWIG_fail
;
4225 resultobj
= SWIG_Py_Void();
4232 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4233 PyObject
*resultobj
= 0;
4234 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4235 wxBitmap
*arg2
= 0 ;
4240 PyObject
* obj0
= 0 ;
4241 PyObject
* obj1
= 0 ;
4242 char * kwnames
[] = {
4243 (char *) "self",(char *) "bitmap", NULL
4246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4248 if (!SWIG_IsOK(res1
)) {
4249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4251 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4252 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4253 if (!SWIG_IsOK(res2
)) {
4254 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4257 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4259 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4262 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
4263 wxPyEndAllowThreads(__tstate
);
4264 if (PyErr_Occurred()) SWIG_fail
;
4266 resultobj
= SWIG_Py_Void();
4273 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4274 PyObject
*resultobj
= 0;
4275 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4276 wxBitmap
*arg2
= 0 ;
4281 PyObject
* obj0
= 0 ;
4282 PyObject
* obj1
= 0 ;
4283 char * kwnames
[] = {
4284 (char *) "self",(char *) "bitmap", NULL
4287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4289 if (!SWIG_IsOK(res1
)) {
4290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4292 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4293 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4294 if (!SWIG_IsOK(res2
)) {
4295 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4298 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4300 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4303 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
4304 wxPyEndAllowThreads(__tstate
);
4305 if (PyErr_Occurred()) SWIG_fail
;
4307 resultobj
= SWIG_Py_Void();
4314 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4315 PyObject
*resultobj
= 0;
4316 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4317 wxBitmap
*arg2
= 0 ;
4322 PyObject
* obj0
= 0 ;
4323 PyObject
* obj1
= 0 ;
4324 char * kwnames
[] = {
4325 (char *) "self",(char *) "hover", NULL
4328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4330 if (!SWIG_IsOK(res1
)) {
4331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4333 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4334 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4335 if (!SWIG_IsOK(res2
)) {
4336 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4339 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4341 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4344 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
4345 wxPyEndAllowThreads(__tstate
);
4346 if (PyErr_Occurred()) SWIG_fail
;
4348 resultobj
= SWIG_Py_Void();
4355 SWIGINTERN PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4356 PyObject
*resultobj
= 0;
4357 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4366 PyObject
* obj0
= 0 ;
4367 PyObject
* obj1
= 0 ;
4368 PyObject
* obj2
= 0 ;
4369 char * kwnames
[] = {
4370 (char *) "self",(char *) "x",(char *) "y", NULL
4373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4375 if (!SWIG_IsOK(res1
)) {
4376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4378 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4379 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4380 if (!SWIG_IsOK(ecode2
)) {
4381 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4383 arg2
= static_cast< int >(val2
);
4384 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4385 if (!SWIG_IsOK(ecode3
)) {
4386 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4388 arg3
= static_cast< int >(val3
);
4390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4391 (arg1
)->SetMargins(arg2
,arg3
);
4392 wxPyEndAllowThreads(__tstate
);
4393 if (PyErr_Occurred()) SWIG_fail
;
4395 resultobj
= SWIG_Py_Void();
4402 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4403 PyObject
*resultobj
= 0;
4404 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4408 PyObject
*swig_obj
[1] ;
4410 if (!args
) SWIG_fail
;
4412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4413 if (!SWIG_IsOK(res1
)) {
4414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4416 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4419 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
4420 wxPyEndAllowThreads(__tstate
);
4421 if (PyErr_Occurred()) SWIG_fail
;
4423 resultobj
= SWIG_From_int(static_cast< int >(result
));
4430 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4431 PyObject
*resultobj
= 0;
4432 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4436 PyObject
*swig_obj
[1] ;
4438 if (!args
) SWIG_fail
;
4440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4441 if (!SWIG_IsOK(res1
)) {
4442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4444 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4447 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
4448 wxPyEndAllowThreads(__tstate
);
4449 if (PyErr_Occurred()) SWIG_fail
;
4451 resultobj
= SWIG_From_int(static_cast< int >(result
));
4458 SWIGINTERN PyObject
*BitmapButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4460 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4461 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton
, SWIG_NewClientData(obj
));
4462 return SWIG_Py_Void();
4465 SWIGINTERN PyObject
*BitmapButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4466 return SWIG_Python_InitShadowInstance(args
);
4469 SWIGINTERN
int CheckBoxNameStr_set(PyObject
*) {
4470 SWIG_Error(SWIG_AttributeError
,"Variable CheckBoxNameStr is read-only.");
4475 SWIGINTERN PyObject
*CheckBoxNameStr_get(void) {
4476 PyObject
*pyobj
= 0;
4480 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4482 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4489 SWIGINTERN PyObject
*_wrap_new_CheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4490 PyObject
*resultobj
= 0;
4491 wxWindow
*arg1
= (wxWindow
*) 0 ;
4492 int arg2
= (int) -1 ;
4493 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4494 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4495 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4496 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4497 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4498 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4499 long arg6
= (long) 0 ;
4500 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4501 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4502 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
4503 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4504 wxCheckBox
*result
= 0 ;
4509 bool temp3
= false ;
4516 bool temp8
= false ;
4517 PyObject
* obj0
= 0 ;
4518 PyObject
* obj1
= 0 ;
4519 PyObject
* obj2
= 0 ;
4520 PyObject
* obj3
= 0 ;
4521 PyObject
* obj4
= 0 ;
4522 PyObject
* obj5
= 0 ;
4523 PyObject
* obj6
= 0 ;
4524 PyObject
* obj7
= 0 ;
4525 char * kwnames
[] = {
4526 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4531 if (!SWIG_IsOK(res1
)) {
4532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4534 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4536 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4537 if (!SWIG_IsOK(ecode2
)) {
4538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4540 arg2
= static_cast< int >(val2
);
4544 arg3
= wxString_in_helper(obj2
);
4545 if (arg3
== NULL
) SWIG_fail
;
4552 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4558 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4562 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4563 if (!SWIG_IsOK(ecode6
)) {
4564 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4566 arg6
= static_cast< long >(val6
);
4569 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
4570 if (!SWIG_IsOK(res7
)) {
4571 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4574 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4576 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
4580 arg8
= wxString_in_helper(obj7
);
4581 if (arg8
== NULL
) SWIG_fail
;
4586 if (!wxPyCheckForApp()) SWIG_fail
;
4587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4588 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4589 wxPyEndAllowThreads(__tstate
);
4590 if (PyErr_Occurred()) SWIG_fail
;
4592 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_NEW
| 0 );
4615 SWIGINTERN PyObject
*_wrap_new_PreCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4616 PyObject
*resultobj
= 0;
4617 wxCheckBox
*result
= 0 ;
4619 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckBox",0,0,0)) SWIG_fail
;
4621 if (!wxPyCheckForApp()) SWIG_fail
;
4622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4623 result
= (wxCheckBox
*)new wxCheckBox();
4624 wxPyEndAllowThreads(__tstate
);
4625 if (PyErr_Occurred()) SWIG_fail
;
4627 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_OWN
| 0 );
4634 SWIGINTERN PyObject
*_wrap_CheckBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4635 PyObject
*resultobj
= 0;
4636 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4637 wxWindow
*arg2
= (wxWindow
*) 0 ;
4638 int arg3
= (int) -1 ;
4639 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4640 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4641 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4642 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4643 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4644 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4645 long arg7
= (long) 0 ;
4646 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4647 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4648 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
4649 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4657 bool temp4
= false ;
4664 bool temp9
= false ;
4665 PyObject
* obj0
= 0 ;
4666 PyObject
* obj1
= 0 ;
4667 PyObject
* obj2
= 0 ;
4668 PyObject
* obj3
= 0 ;
4669 PyObject
* obj4
= 0 ;
4670 PyObject
* obj5
= 0 ;
4671 PyObject
* obj6
= 0 ;
4672 PyObject
* obj7
= 0 ;
4673 PyObject
* obj8
= 0 ;
4674 char * kwnames
[] = {
4675 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4680 if (!SWIG_IsOK(res1
)) {
4681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4683 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4684 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4685 if (!SWIG_IsOK(res2
)) {
4686 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4688 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4690 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4691 if (!SWIG_IsOK(ecode3
)) {
4692 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4694 arg3
= static_cast< int >(val3
);
4698 arg4
= wxString_in_helper(obj3
);
4699 if (arg4
== NULL
) SWIG_fail
;
4706 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4712 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4716 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4717 if (!SWIG_IsOK(ecode7
)) {
4718 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4720 arg7
= static_cast< long >(val7
);
4723 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4724 if (!SWIG_IsOK(res8
)) {
4725 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4728 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4730 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4734 arg9
= wxString_in_helper(obj8
);
4735 if (arg9
== NULL
) SWIG_fail
;
4740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4741 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4742 wxPyEndAllowThreads(__tstate
);
4743 if (PyErr_Occurred()) SWIG_fail
;
4746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4770 SWIGINTERN PyObject
*_wrap_CheckBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4771 PyObject
*resultobj
= 0;
4772 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4776 PyObject
*swig_obj
[1] ;
4778 if (!args
) SWIG_fail
;
4780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4781 if (!SWIG_IsOK(res1
)) {
4782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4784 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4787 result
= (bool)(arg1
)->GetValue();
4788 wxPyEndAllowThreads(__tstate
);
4789 if (PyErr_Occurred()) SWIG_fail
;
4792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4800 SWIGINTERN PyObject
*_wrap_CheckBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4801 PyObject
*resultobj
= 0;
4802 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4806 PyObject
*swig_obj
[1] ;
4808 if (!args
) SWIG_fail
;
4810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4811 if (!SWIG_IsOK(res1
)) {
4812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4814 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4817 result
= (bool)(arg1
)->IsChecked();
4818 wxPyEndAllowThreads(__tstate
);
4819 if (PyErr_Occurred()) SWIG_fail
;
4822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4830 SWIGINTERN PyObject
*_wrap_CheckBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4831 PyObject
*resultobj
= 0;
4832 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4838 PyObject
* obj0
= 0 ;
4839 PyObject
* obj1
= 0 ;
4840 char * kwnames
[] = {
4841 (char *) "self",(char *) "state", NULL
4844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4846 if (!SWIG_IsOK(res1
)) {
4847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4849 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4850 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4851 if (!SWIG_IsOK(ecode2
)) {
4852 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4854 arg2
= static_cast< bool >(val2
);
4856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4857 (arg1
)->SetValue(arg2
);
4858 wxPyEndAllowThreads(__tstate
);
4859 if (PyErr_Occurred()) SWIG_fail
;
4861 resultobj
= SWIG_Py_Void();
4868 SWIGINTERN PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4869 PyObject
*resultobj
= 0;
4870 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4871 wxCheckBoxState result
;
4874 PyObject
*swig_obj
[1] ;
4876 if (!args
) SWIG_fail
;
4878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4879 if (!SWIG_IsOK(res1
)) {
4880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4882 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4885 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
4886 wxPyEndAllowThreads(__tstate
);
4887 if (PyErr_Occurred()) SWIG_fail
;
4889 resultobj
= SWIG_From_int(static_cast< int >(result
));
4896 SWIGINTERN PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4897 PyObject
*resultobj
= 0;
4898 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4899 wxCheckBoxState arg2
;
4904 PyObject
* obj0
= 0 ;
4905 PyObject
* obj1
= 0 ;
4906 char * kwnames
[] = {
4907 (char *) "self",(char *) "state", NULL
4910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4912 if (!SWIG_IsOK(res1
)) {
4913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4915 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4916 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4917 if (!SWIG_IsOK(ecode2
)) {
4918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
4920 arg2
= static_cast< wxCheckBoxState
>(val2
);
4922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4923 (arg1
)->Set3StateValue(arg2
);
4924 wxPyEndAllowThreads(__tstate
);
4925 if (PyErr_Occurred()) SWIG_fail
;
4927 resultobj
= SWIG_Py_Void();
4934 SWIGINTERN PyObject
*_wrap_CheckBox_Is3State(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4935 PyObject
*resultobj
= 0;
4936 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4940 PyObject
*swig_obj
[1] ;
4942 if (!args
) SWIG_fail
;
4944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4945 if (!SWIG_IsOK(res1
)) {
4946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4948 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4951 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
4952 wxPyEndAllowThreads(__tstate
);
4953 if (PyErr_Occurred()) SWIG_fail
;
4956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4964 SWIGINTERN PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4965 PyObject
*resultobj
= 0;
4966 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4970 PyObject
*swig_obj
[1] ;
4972 if (!args
) SWIG_fail
;
4974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4975 if (!SWIG_IsOK(res1
)) {
4976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4978 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4981 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
4982 wxPyEndAllowThreads(__tstate
);
4983 if (PyErr_Occurred()) SWIG_fail
;
4986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4994 SWIGINTERN PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4995 PyObject
*resultobj
= 0;
4996 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
4997 SwigValueWrapper
<wxVisualAttributes
> result
;
5000 PyObject
* obj0
= 0 ;
5001 char * kwnames
[] = {
5002 (char *) "variant", NULL
5005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5007 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5008 if (!SWIG_IsOK(ecode1
)) {
5009 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5011 arg1
= static_cast< wxWindowVariant
>(val1
);
5014 if (!wxPyCheckForApp()) SWIG_fail
;
5015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5016 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
5017 wxPyEndAllowThreads(__tstate
);
5018 if (PyErr_Occurred()) SWIG_fail
;
5020 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5027 SWIGINTERN PyObject
*CheckBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5029 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5030 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox
, SWIG_NewClientData(obj
));
5031 return SWIG_Py_Void();
5034 SWIGINTERN PyObject
*CheckBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5035 return SWIG_Python_InitShadowInstance(args
);
5038 SWIGINTERN
int ChoiceNameStr_set(PyObject
*) {
5039 SWIG_Error(SWIG_AttributeError
,"Variable ChoiceNameStr is read-only.");
5044 SWIGINTERN PyObject
*ChoiceNameStr_get(void) {
5045 PyObject
*pyobj
= 0;
5049 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5051 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5058 SWIGINTERN PyObject
*_wrap_new_Choice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5059 PyObject
*resultobj
= 0;
5060 wxWindow
*arg1
= (wxWindow
*) 0 ;
5061 int arg2
= (int) -1 ;
5062 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5063 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5064 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5065 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5066 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5067 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5068 long arg6
= (long) 0 ;
5069 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5070 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5071 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
5072 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5073 wxChoice
*result
= 0 ;
5080 bool temp5
= false ;
5085 bool temp8
= false ;
5086 PyObject
* obj0
= 0 ;
5087 PyObject
* obj1
= 0 ;
5088 PyObject
* obj2
= 0 ;
5089 PyObject
* obj3
= 0 ;
5090 PyObject
* obj4
= 0 ;
5091 PyObject
* obj5
= 0 ;
5092 PyObject
* obj6
= 0 ;
5093 PyObject
* obj7
= 0 ;
5094 char * kwnames
[] = {
5095 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5100 if (!SWIG_IsOK(res1
)) {
5101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5103 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5105 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5106 if (!SWIG_IsOK(ecode2
)) {
5107 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5109 arg2
= static_cast< int >(val2
);
5114 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5120 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5125 if (! PySequence_Check(obj4
)) {
5126 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5129 arg5
= new wxArrayString
;
5131 int i
, len
=PySequence_Length(obj4
);
5132 for (i
=0; i
<len
; i
++) {
5133 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5134 wxString
* s
= wxString_in_helper(item
);
5135 if (PyErr_Occurred()) SWIG_fail
;
5143 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5144 if (!SWIG_IsOK(ecode6
)) {
5145 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5147 arg6
= static_cast< long >(val6
);
5150 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5151 if (!SWIG_IsOK(res7
)) {
5152 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5155 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5157 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5161 arg8
= wxString_in_helper(obj7
);
5162 if (arg8
== NULL
) SWIG_fail
;
5167 if (!wxPyCheckForApp()) SWIG_fail
;
5168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5169 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5170 wxPyEndAllowThreads(__tstate
);
5171 if (PyErr_Occurred()) SWIG_fail
;
5173 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_NEW
| 0 );
5175 if (temp5
) delete arg5
;
5184 if (temp5
) delete arg5
;
5194 SWIGINTERN PyObject
*_wrap_new_PreChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5195 PyObject
*resultobj
= 0;
5196 wxChoice
*result
= 0 ;
5198 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoice",0,0,0)) SWIG_fail
;
5200 if (!wxPyCheckForApp()) SWIG_fail
;
5201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5202 result
= (wxChoice
*)new wxChoice();
5203 wxPyEndAllowThreads(__tstate
);
5204 if (PyErr_Occurred()) SWIG_fail
;
5206 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_OWN
| 0 );
5213 SWIGINTERN PyObject
*_wrap_Choice_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5214 PyObject
*resultobj
= 0;
5215 wxChoice
*arg1
= (wxChoice
*) 0 ;
5216 wxWindow
*arg2
= (wxWindow
*) 0 ;
5217 int arg3
= (int) -1 ;
5218 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5219 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5220 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5221 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5222 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5223 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5224 long arg7
= (long) 0 ;
5225 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5226 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5227 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
5228 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5238 bool temp6
= false ;
5243 bool temp9
= false ;
5244 PyObject
* obj0
= 0 ;
5245 PyObject
* obj1
= 0 ;
5246 PyObject
* obj2
= 0 ;
5247 PyObject
* obj3
= 0 ;
5248 PyObject
* obj4
= 0 ;
5249 PyObject
* obj5
= 0 ;
5250 PyObject
* obj6
= 0 ;
5251 PyObject
* obj7
= 0 ;
5252 PyObject
* obj8
= 0 ;
5253 char * kwnames
[] = {
5254 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5259 if (!SWIG_IsOK(res1
)) {
5260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5262 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5263 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5264 if (!SWIG_IsOK(res2
)) {
5265 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5267 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5269 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5270 if (!SWIG_IsOK(ecode3
)) {
5271 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5273 arg3
= static_cast< int >(val3
);
5278 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5284 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5289 if (! PySequence_Check(obj5
)) {
5290 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5293 arg6
= new wxArrayString
;
5295 int i
, len
=PySequence_Length(obj5
);
5296 for (i
=0; i
<len
; i
++) {
5297 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5298 wxString
* s
= wxString_in_helper(item
);
5299 if (PyErr_Occurred()) SWIG_fail
;
5307 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5308 if (!SWIG_IsOK(ecode7
)) {
5309 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5311 arg7
= static_cast< long >(val7
);
5314 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5315 if (!SWIG_IsOK(res8
)) {
5316 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5319 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5321 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5325 arg9
= wxString_in_helper(obj8
);
5326 if (arg9
== NULL
) SWIG_fail
;
5331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5332 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5333 wxPyEndAllowThreads(__tstate
);
5334 if (PyErr_Occurred()) SWIG_fail
;
5337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5340 if (temp6
) delete arg6
;
5349 if (temp6
) delete arg6
;
5359 SWIGINTERN PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5360 PyObject
*resultobj
= 0;
5361 wxChoice
*arg1
= (wxChoice
*) 0 ;
5365 PyObject
*swig_obj
[1] ;
5367 if (!args
) SWIG_fail
;
5369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5370 if (!SWIG_IsOK(res1
)) {
5371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5373 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5376 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
5377 wxPyEndAllowThreads(__tstate
);
5378 if (PyErr_Occurred()) SWIG_fail
;
5380 resultobj
= SWIG_From_int(static_cast< int >(result
));
5387 SWIGINTERN PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5388 PyObject
*resultobj
= 0;
5389 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5390 SwigValueWrapper
<wxVisualAttributes
> result
;
5393 PyObject
* obj0
= 0 ;
5394 char * kwnames
[] = {
5395 (char *) "variant", NULL
5398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5400 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5401 if (!SWIG_IsOK(ecode1
)) {
5402 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5404 arg1
= static_cast< wxWindowVariant
>(val1
);
5407 if (!wxPyCheckForApp()) SWIG_fail
;
5408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5409 result
= wxChoice::GetClassDefaultAttributes(arg1
);
5410 wxPyEndAllowThreads(__tstate
);
5411 if (PyErr_Occurred()) SWIG_fail
;
5413 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5420 SWIGINTERN PyObject
*Choice_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5422 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5423 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice
, SWIG_NewClientData(obj
));
5424 return SWIG_Py_Void();
5427 SWIGINTERN PyObject
*Choice_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5428 return SWIG_Python_InitShadowInstance(args
);
5431 SWIGINTERN
int ComboBoxNameStr_set(PyObject
*) {
5432 SWIG_Error(SWIG_AttributeError
,"Variable ComboBoxNameStr is read-only.");
5437 SWIGINTERN PyObject
*ComboBoxNameStr_get(void) {
5438 PyObject
*pyobj
= 0;
5442 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5444 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5451 SWIGINTERN PyObject
*_wrap_new_ComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5452 PyObject
*resultobj
= 0;
5453 wxWindow
*arg1
= (wxWindow
*) 0 ;
5454 int arg2
= (int) -1 ;
5455 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5456 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5457 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5458 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5459 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5460 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5461 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5462 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5463 long arg7
= (long) 0 ;
5464 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5465 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5466 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
5467 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5468 wxComboBox
*result
= 0 ;
5473 bool temp3
= false ;
5476 bool temp6
= false ;
5481 bool temp9
= false ;
5482 PyObject
* obj0
= 0 ;
5483 PyObject
* obj1
= 0 ;
5484 PyObject
* obj2
= 0 ;
5485 PyObject
* obj3
= 0 ;
5486 PyObject
* obj4
= 0 ;
5487 PyObject
* obj5
= 0 ;
5488 PyObject
* obj6
= 0 ;
5489 PyObject
* obj7
= 0 ;
5490 PyObject
* obj8
= 0 ;
5491 char * kwnames
[] = {
5492 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5497 if (!SWIG_IsOK(res1
)) {
5498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5500 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5502 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5503 if (!SWIG_IsOK(ecode2
)) {
5504 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5506 arg2
= static_cast< int >(val2
);
5510 arg3
= wxString_in_helper(obj2
);
5511 if (arg3
== NULL
) SWIG_fail
;
5518 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5524 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5529 if (! PySequence_Check(obj5
)) {
5530 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5533 arg6
= new wxArrayString
;
5535 int i
, len
=PySequence_Length(obj5
);
5536 for (i
=0; i
<len
; i
++) {
5537 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5538 wxString
* s
= wxString_in_helper(item
);
5539 if (PyErr_Occurred()) SWIG_fail
;
5547 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5548 if (!SWIG_IsOK(ecode7
)) {
5549 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5551 arg7
= static_cast< long >(val7
);
5554 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5555 if (!SWIG_IsOK(res8
)) {
5556 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5559 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5561 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5565 arg9
= wxString_in_helper(obj8
);
5566 if (arg9
== NULL
) SWIG_fail
;
5571 if (!wxPyCheckForApp()) SWIG_fail
;
5572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5573 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
);
5574 wxPyEndAllowThreads(__tstate
);
5575 if (PyErr_Occurred()) SWIG_fail
;
5577 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_NEW
| 0 );
5583 if (temp6
) delete arg6
;
5596 if (temp6
) delete arg6
;
5606 SWIGINTERN PyObject
*_wrap_new_PreComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5607 PyObject
*resultobj
= 0;
5608 wxComboBox
*result
= 0 ;
5610 if (!SWIG_Python_UnpackTuple(args
,"new_PreComboBox",0,0,0)) SWIG_fail
;
5612 if (!wxPyCheckForApp()) SWIG_fail
;
5613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5614 result
= (wxComboBox
*)new wxComboBox();
5615 wxPyEndAllowThreads(__tstate
);
5616 if (PyErr_Occurred()) SWIG_fail
;
5618 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_OWN
| 0 );
5625 SWIGINTERN PyObject
*_wrap_ComboBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5626 PyObject
*resultobj
= 0;
5627 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5628 wxWindow
*arg2
= (wxWindow
*) 0 ;
5629 int arg3
= (int) -1 ;
5630 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5631 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5632 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5633 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5634 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5635 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5636 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
5637 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
5638 long arg8
= (long) 0 ;
5639 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5640 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5641 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
5642 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5650 bool temp4
= false ;
5653 bool temp7
= false ;
5658 bool temp10
= false ;
5659 PyObject
* obj0
= 0 ;
5660 PyObject
* obj1
= 0 ;
5661 PyObject
* obj2
= 0 ;
5662 PyObject
* obj3
= 0 ;
5663 PyObject
* obj4
= 0 ;
5664 PyObject
* obj5
= 0 ;
5665 PyObject
* obj6
= 0 ;
5666 PyObject
* obj7
= 0 ;
5667 PyObject
* obj8
= 0 ;
5668 PyObject
* obj9
= 0 ;
5669 char * kwnames
[] = {
5670 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
5674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5675 if (!SWIG_IsOK(res1
)) {
5676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5678 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5679 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5680 if (!SWIG_IsOK(res2
)) {
5681 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5683 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5685 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5686 if (!SWIG_IsOK(ecode3
)) {
5687 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5689 arg3
= static_cast< int >(val3
);
5693 arg4
= wxString_in_helper(obj3
);
5694 if (arg4
== NULL
) SWIG_fail
;
5701 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5707 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5712 if (! PySequence_Check(obj6
)) {
5713 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5716 arg7
= new wxArrayString
;
5718 int i
, len
=PySequence_Length(obj6
);
5719 for (i
=0; i
<len
; i
++) {
5720 PyObject
* item
= PySequence_GetItem(obj6
, i
);
5721 wxString
* s
= wxString_in_helper(item
);
5722 if (PyErr_Occurred()) SWIG_fail
;
5730 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
5731 if (!SWIG_IsOK(ecode8
)) {
5732 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5734 arg8
= static_cast< long >(val8
);
5737 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
5738 if (!SWIG_IsOK(res9
)) {
5739 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5742 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5744 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
5748 arg10
= wxString_in_helper(obj9
);
5749 if (arg10
== NULL
) SWIG_fail
;
5754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5755 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
);
5756 wxPyEndAllowThreads(__tstate
);
5757 if (PyErr_Occurred()) SWIG_fail
;
5760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5767 if (temp7
) delete arg7
;
5780 if (temp7
) delete arg7
;
5790 SWIGINTERN PyObject
*_wrap_ComboBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5791 PyObject
*resultobj
= 0;
5792 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5796 PyObject
*swig_obj
[1] ;
5798 if (!args
) SWIG_fail
;
5800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5801 if (!SWIG_IsOK(res1
)) {
5802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5804 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5807 result
= ((wxComboBox
const *)arg1
)->GetValue();
5808 wxPyEndAllowThreads(__tstate
);
5809 if (PyErr_Occurred()) SWIG_fail
;
5813 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5815 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5824 SWIGINTERN PyObject
*_wrap_ComboBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5825 PyObject
*resultobj
= 0;
5826 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5827 wxString
*arg2
= 0 ;
5830 bool temp2
= false ;
5831 PyObject
* obj0
= 0 ;
5832 PyObject
* obj1
= 0 ;
5833 char * kwnames
[] = {
5834 (char *) "self",(char *) "value", NULL
5837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5839 if (!SWIG_IsOK(res1
)) {
5840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5842 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5844 arg2
= wxString_in_helper(obj1
);
5845 if (arg2
== NULL
) SWIG_fail
;
5849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5850 (arg1
)->SetValue((wxString
const &)*arg2
);
5851 wxPyEndAllowThreads(__tstate
);
5852 if (PyErr_Occurred()) SWIG_fail
;
5854 resultobj
= SWIG_Py_Void();
5869 SWIGINTERN PyObject
*_wrap_ComboBox_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5870 PyObject
*resultobj
= 0;
5871 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5874 PyObject
*swig_obj
[1] ;
5876 if (!args
) SWIG_fail
;
5878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5879 if (!SWIG_IsOK(res1
)) {
5880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5882 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5886 wxPyEndAllowThreads(__tstate
);
5887 if (PyErr_Occurred()) SWIG_fail
;
5889 resultobj
= SWIG_Py_Void();
5896 SWIGINTERN PyObject
*_wrap_ComboBox_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5897 PyObject
*resultobj
= 0;
5898 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5901 PyObject
*swig_obj
[1] ;
5903 if (!args
) SWIG_fail
;
5905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5906 if (!SWIG_IsOK(res1
)) {
5907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5909 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5913 wxPyEndAllowThreads(__tstate
);
5914 if (PyErr_Occurred()) SWIG_fail
;
5916 resultobj
= SWIG_Py_Void();
5923 SWIGINTERN PyObject
*_wrap_ComboBox_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5924 PyObject
*resultobj
= 0;
5925 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5928 PyObject
*swig_obj
[1] ;
5930 if (!args
) SWIG_fail
;
5932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5933 if (!SWIG_IsOK(res1
)) {
5934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
5936 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5940 wxPyEndAllowThreads(__tstate
);
5941 if (PyErr_Occurred()) SWIG_fail
;
5943 resultobj
= SWIG_Py_Void();
5950 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5951 PyObject
*resultobj
= 0;
5952 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5958 PyObject
* obj0
= 0 ;
5959 PyObject
* obj1
= 0 ;
5960 char * kwnames
[] = {
5961 (char *) "self",(char *) "pos", NULL
5964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5966 if (!SWIG_IsOK(res1
)) {
5967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
5969 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5970 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
5971 if (!SWIG_IsOK(ecode2
)) {
5972 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
5974 arg2
= static_cast< long >(val2
);
5976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5977 (arg1
)->SetInsertionPoint(arg2
);
5978 wxPyEndAllowThreads(__tstate
);
5979 if (PyErr_Occurred()) SWIG_fail
;
5981 resultobj
= SWIG_Py_Void();
5988 SWIGINTERN PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5989 PyObject
*resultobj
= 0;
5990 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5994 PyObject
*swig_obj
[1] ;
5996 if (!args
) SWIG_fail
;
5998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5999 if (!SWIG_IsOK(res1
)) {
6000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6002 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6005 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
6006 wxPyEndAllowThreads(__tstate
);
6007 if (PyErr_Occurred()) SWIG_fail
;
6009 resultobj
= SWIG_From_long(static_cast< long >(result
));
6016 SWIGINTERN PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6017 PyObject
*resultobj
= 0;
6018 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6022 PyObject
*swig_obj
[1] ;
6024 if (!args
) SWIG_fail
;
6026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6027 if (!SWIG_IsOK(res1
)) {
6028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6030 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6033 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
6034 wxPyEndAllowThreads(__tstate
);
6035 if (PyErr_Occurred()) SWIG_fail
;
6037 resultobj
= SWIG_From_long(static_cast< long >(result
));
6044 SWIGINTERN PyObject
*_wrap_ComboBox_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6045 PyObject
*resultobj
= 0;
6046 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6049 wxString
*arg4
= 0 ;
6056 bool temp4
= false ;
6057 PyObject
* obj0
= 0 ;
6058 PyObject
* obj1
= 0 ;
6059 PyObject
* obj2
= 0 ;
6060 PyObject
* obj3
= 0 ;
6061 char * kwnames
[] = {
6062 (char *) "self",(char *) "_from",(char *) "to",(char *) "value", NULL
6065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6067 if (!SWIG_IsOK(res1
)) {
6068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6070 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6071 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6072 if (!SWIG_IsOK(ecode2
)) {
6073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6075 arg2
= static_cast< long >(val2
);
6076 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6077 if (!SWIG_IsOK(ecode3
)) {
6078 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6080 arg3
= static_cast< long >(val3
);
6082 arg4
= wxString_in_helper(obj3
);
6083 if (arg4
== NULL
) SWIG_fail
;
6087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6088 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6089 wxPyEndAllowThreads(__tstate
);
6090 if (PyErr_Occurred()) SWIG_fail
;
6092 resultobj
= SWIG_Py_Void();
6107 SWIGINTERN PyObject
*_wrap_ComboBox_SetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6108 PyObject
*resultobj
= 0;
6109 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6118 PyObject
* obj0
= 0 ;
6119 PyObject
* obj1
= 0 ;
6120 PyObject
* obj2
= 0 ;
6121 char * kwnames
[] = {
6122 (char *) "self",(char *) "_from",(char *) "to", NULL
6125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6127 if (!SWIG_IsOK(res1
)) {
6128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6130 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6131 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6132 if (!SWIG_IsOK(ecode2
)) {
6133 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6135 arg2
= static_cast< long >(val2
);
6136 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6137 if (!SWIG_IsOK(ecode3
)) {
6138 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6140 arg3
= static_cast< long >(val3
);
6142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6143 (arg1
)->SetSelection(arg2
,arg3
);
6144 wxPyEndAllowThreads(__tstate
);
6145 if (PyErr_Occurred()) SWIG_fail
;
6147 resultobj
= SWIG_Py_Void();
6154 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6155 PyObject
*resultobj
= 0;
6156 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6160 PyObject
*swig_obj
[1] ;
6162 if (!args
) SWIG_fail
;
6164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6165 if (!SWIG_IsOK(res1
)) {
6166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6168 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6171 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6172 wxPyEndAllowThreads(__tstate
);
6173 if (PyErr_Occurred()) SWIG_fail
;
6175 resultobj
= SWIG_From_int(static_cast< int >(result
));
6182 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6183 PyObject
*resultobj
= 0;
6184 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6185 wxString
*arg2
= 0 ;
6189 bool temp2
= false ;
6190 PyObject
* obj0
= 0 ;
6191 PyObject
* obj1
= 0 ;
6192 char * kwnames
[] = {
6193 (char *) "self",(char *) "string", NULL
6196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6198 if (!SWIG_IsOK(res1
)) {
6199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6201 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6203 arg2
= wxString_in_helper(obj1
);
6204 if (arg2
== NULL
) SWIG_fail
;
6208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6209 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6210 wxPyEndAllowThreads(__tstate
);
6211 if (PyErr_Occurred()) SWIG_fail
;
6214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6230 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6231 PyObject
*resultobj
= 0;
6232 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6238 PyObject
* obj0
= 0 ;
6239 PyObject
* obj1
= 0 ;
6240 char * kwnames
[] = {
6241 (char *) "self",(char *) "editable", NULL
6244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6246 if (!SWIG_IsOK(res1
)) {
6247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6249 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6250 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6251 if (!SWIG_IsOK(ecode2
)) {
6252 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6254 arg2
= static_cast< bool >(val2
);
6256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6257 (arg1
)->SetEditable(arg2
);
6258 wxPyEndAllowThreads(__tstate
);
6259 if (PyErr_Occurred()) SWIG_fail
;
6261 resultobj
= SWIG_Py_Void();
6268 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6269 PyObject
*resultobj
= 0;
6270 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6273 PyObject
*swig_obj
[1] ;
6275 if (!args
) SWIG_fail
;
6277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6278 if (!SWIG_IsOK(res1
)) {
6279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6281 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6284 (arg1
)->SetInsertionPointEnd();
6285 wxPyEndAllowThreads(__tstate
);
6286 if (PyErr_Occurred()) SWIG_fail
;
6288 resultobj
= SWIG_Py_Void();
6295 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6296 PyObject
*resultobj
= 0;
6297 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6306 PyObject
* obj0
= 0 ;
6307 PyObject
* obj1
= 0 ;
6308 PyObject
* obj2
= 0 ;
6309 char * kwnames
[] = {
6310 (char *) "self",(char *) "_from",(char *) "to", NULL
6313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6315 if (!SWIG_IsOK(res1
)) {
6316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6318 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6319 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6320 if (!SWIG_IsOK(ecode2
)) {
6321 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6323 arg2
= static_cast< long >(val2
);
6324 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6325 if (!SWIG_IsOK(ecode3
)) {
6326 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6328 arg3
= static_cast< long >(val3
);
6330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6331 (arg1
)->Remove(arg2
,arg3
);
6332 wxPyEndAllowThreads(__tstate
);
6333 if (PyErr_Occurred()) SWIG_fail
;
6335 resultobj
= SWIG_Py_Void();
6342 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6343 PyObject
*resultobj
= 0;
6344 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6348 PyObject
*swig_obj
[1] ;
6350 if (!args
) SWIG_fail
;
6352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6353 if (!SWIG_IsOK(res1
)) {
6354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6356 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6359 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6360 wxPyEndAllowThreads(__tstate
);
6361 if (PyErr_Occurred()) SWIG_fail
;
6364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6372 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6373 PyObject
*resultobj
= 0;
6374 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6377 PyObject
*swig_obj
[1] ;
6379 if (!args
) SWIG_fail
;
6381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6382 if (!SWIG_IsOK(res1
)) {
6383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6385 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6389 wxPyEndAllowThreads(__tstate
);
6390 if (PyErr_Occurred()) SWIG_fail
;
6392 resultobj
= SWIG_Py_Void();
6399 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6400 PyObject
*resultobj
= 0;
6401 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6404 PyObject
*swig_obj
[1] ;
6406 if (!args
) SWIG_fail
;
6408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6409 if (!SWIG_IsOK(res1
)) {
6410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6412 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6416 wxPyEndAllowThreads(__tstate
);
6417 if (PyErr_Occurred()) SWIG_fail
;
6419 resultobj
= SWIG_Py_Void();
6426 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6427 PyObject
*resultobj
= 0;
6428 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6431 PyObject
*swig_obj
[1] ;
6433 if (!args
) SWIG_fail
;
6435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6436 if (!SWIG_IsOK(res1
)) {
6437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6439 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6442 (arg1
)->SelectAll();
6443 wxPyEndAllowThreads(__tstate
);
6444 if (PyErr_Occurred()) SWIG_fail
;
6446 resultobj
= SWIG_Py_Void();
6453 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6454 PyObject
*resultobj
= 0;
6455 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6459 PyObject
*swig_obj
[1] ;
6461 if (!args
) SWIG_fail
;
6463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6464 if (!SWIG_IsOK(res1
)) {
6465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6467 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6470 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6471 wxPyEndAllowThreads(__tstate
);
6472 if (PyErr_Occurred()) SWIG_fail
;
6475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6483 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6484 PyObject
*resultobj
= 0;
6485 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6489 PyObject
*swig_obj
[1] ;
6491 if (!args
) SWIG_fail
;
6493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6494 if (!SWIG_IsOK(res1
)) {
6495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6497 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6500 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6501 wxPyEndAllowThreads(__tstate
);
6502 if (PyErr_Occurred()) SWIG_fail
;
6505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6513 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6514 PyObject
*resultobj
= 0;
6515 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_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6527 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6530 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6531 wxPyEndAllowThreads(__tstate
);
6532 if (PyErr_Occurred()) SWIG_fail
;
6535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6543 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6544 PyObject
*resultobj
= 0;
6545 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6549 PyObject
*swig_obj
[1] ;
6551 if (!args
) SWIG_fail
;
6553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6554 if (!SWIG_IsOK(res1
)) {
6555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6557 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6560 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6561 wxPyEndAllowThreads(__tstate
);
6562 if (PyErr_Occurred()) SWIG_fail
;
6565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6573 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6574 PyObject
*resultobj
= 0;
6575 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6579 PyObject
*swig_obj
[1] ;
6581 if (!args
) SWIG_fail
;
6583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6584 if (!SWIG_IsOK(res1
)) {
6585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6587 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6590 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6591 wxPyEndAllowThreads(__tstate
);
6592 if (PyErr_Occurred()) SWIG_fail
;
6595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6603 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6604 PyObject
*resultobj
= 0;
6605 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6606 SwigValueWrapper
<wxVisualAttributes
> result
;
6609 PyObject
* obj0
= 0 ;
6610 char * kwnames
[] = {
6611 (char *) "variant", NULL
6614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6616 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6617 if (!SWIG_IsOK(ecode1
)) {
6618 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6620 arg1
= static_cast< wxWindowVariant
>(val1
);
6623 if (!wxPyCheckForApp()) SWIG_fail
;
6624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6625 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6626 wxPyEndAllowThreads(__tstate
);
6627 if (PyErr_Occurred()) SWIG_fail
;
6629 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6636 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6638 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6639 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6640 return SWIG_Py_Void();
6643 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6644 return SWIG_Python_InitShadowInstance(args
);
6647 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6648 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6653 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6654 PyObject
*pyobj
= 0;
6658 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6660 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6667 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6668 PyObject
*resultobj
= 0;
6669 wxWindow
*arg1
= (wxWindow
*) 0 ;
6670 int arg2
= (int) -1 ;
6671 int arg3
= (int) 100 ;
6672 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6673 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6674 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6675 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6676 long arg6
= (long) wxGA_HORIZONTAL
;
6677 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6678 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6679 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6680 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6681 wxGauge
*result
= 0 ;
6694 bool temp8
= false ;
6695 PyObject
* obj0
= 0 ;
6696 PyObject
* obj1
= 0 ;
6697 PyObject
* obj2
= 0 ;
6698 PyObject
* obj3
= 0 ;
6699 PyObject
* obj4
= 0 ;
6700 PyObject
* obj5
= 0 ;
6701 PyObject
* obj6
= 0 ;
6702 PyObject
* obj7
= 0 ;
6703 char * kwnames
[] = {
6704 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6709 if (!SWIG_IsOK(res1
)) {
6710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6712 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6714 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6715 if (!SWIG_IsOK(ecode2
)) {
6716 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6718 arg2
= static_cast< int >(val2
);
6721 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6722 if (!SWIG_IsOK(ecode3
)) {
6723 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6725 arg3
= static_cast< int >(val3
);
6730 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6736 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6740 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6741 if (!SWIG_IsOK(ecode6
)) {
6742 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6744 arg6
= static_cast< long >(val6
);
6747 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6748 if (!SWIG_IsOK(res7
)) {
6749 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6752 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6754 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6758 arg8
= wxString_in_helper(obj7
);
6759 if (arg8
== NULL
) SWIG_fail
;
6764 if (!wxPyCheckForApp()) SWIG_fail
;
6765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6766 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6767 wxPyEndAllowThreads(__tstate
);
6768 if (PyErr_Occurred()) SWIG_fail
;
6770 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6785 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6786 PyObject
*resultobj
= 0;
6787 wxGauge
*result
= 0 ;
6789 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6791 if (!wxPyCheckForApp()) SWIG_fail
;
6792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6793 result
= (wxGauge
*)new wxGauge();
6794 wxPyEndAllowThreads(__tstate
);
6795 if (PyErr_Occurred()) SWIG_fail
;
6797 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6804 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6805 PyObject
*resultobj
= 0;
6806 wxGauge
*arg1
= (wxGauge
*) 0 ;
6807 wxWindow
*arg2
= (wxWindow
*) 0 ;
6808 int arg3
= (int) -1 ;
6809 int arg4
= (int) 100 ;
6810 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6811 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6812 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6813 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6814 long arg7
= (long) wxGA_HORIZONTAL
;
6815 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6816 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6817 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6818 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6834 bool temp9
= false ;
6835 PyObject
* obj0
= 0 ;
6836 PyObject
* obj1
= 0 ;
6837 PyObject
* obj2
= 0 ;
6838 PyObject
* obj3
= 0 ;
6839 PyObject
* obj4
= 0 ;
6840 PyObject
* obj5
= 0 ;
6841 PyObject
* obj6
= 0 ;
6842 PyObject
* obj7
= 0 ;
6843 PyObject
* obj8
= 0 ;
6844 char * kwnames
[] = {
6845 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6850 if (!SWIG_IsOK(res1
)) {
6851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6853 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6854 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6855 if (!SWIG_IsOK(res2
)) {
6856 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6858 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6860 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6861 if (!SWIG_IsOK(ecode3
)) {
6862 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6864 arg3
= static_cast< int >(val3
);
6867 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6868 if (!SWIG_IsOK(ecode4
)) {
6869 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
6871 arg4
= static_cast< int >(val4
);
6876 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6882 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6886 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6887 if (!SWIG_IsOK(ecode7
)) {
6888 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
6890 arg7
= static_cast< long >(val7
);
6893 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
6894 if (!SWIG_IsOK(res8
)) {
6895 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6898 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6900 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
6904 arg9
= wxString_in_helper(obj8
);
6905 if (arg9
== NULL
) SWIG_fail
;
6910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6911 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6912 wxPyEndAllowThreads(__tstate
);
6913 if (PyErr_Occurred()) SWIG_fail
;
6916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6932 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6933 PyObject
*resultobj
= 0;
6934 wxGauge
*arg1
= (wxGauge
*) 0 ;
6940 PyObject
* obj0
= 0 ;
6941 PyObject
* obj1
= 0 ;
6942 char * kwnames
[] = {
6943 (char *) "self",(char *) "range", NULL
6946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6948 if (!SWIG_IsOK(res1
)) {
6949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
6951 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6952 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6953 if (!SWIG_IsOK(ecode2
)) {
6954 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
6956 arg2
= static_cast< int >(val2
);
6958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6959 (arg1
)->SetRange(arg2
);
6960 wxPyEndAllowThreads(__tstate
);
6961 if (PyErr_Occurred()) SWIG_fail
;
6963 resultobj
= SWIG_Py_Void();
6970 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6971 PyObject
*resultobj
= 0;
6972 wxGauge
*arg1
= (wxGauge
*) 0 ;
6976 PyObject
*swig_obj
[1] ;
6978 if (!args
) SWIG_fail
;
6980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6981 if (!SWIG_IsOK(res1
)) {
6982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
6984 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6987 result
= (int)((wxGauge
const *)arg1
)->GetRange();
6988 wxPyEndAllowThreads(__tstate
);
6989 if (PyErr_Occurred()) SWIG_fail
;
6991 resultobj
= SWIG_From_int(static_cast< int >(result
));
6998 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6999 PyObject
*resultobj
= 0;
7000 wxGauge
*arg1
= (wxGauge
*) 0 ;
7006 PyObject
* obj0
= 0 ;
7007 PyObject
* obj1
= 0 ;
7008 char * kwnames
[] = {
7009 (char *) "self",(char *) "pos", NULL
7012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7014 if (!SWIG_IsOK(res1
)) {
7015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7017 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7018 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7019 if (!SWIG_IsOK(ecode2
)) {
7020 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7022 arg2
= static_cast< int >(val2
);
7024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7025 (arg1
)->SetValue(arg2
);
7026 wxPyEndAllowThreads(__tstate
);
7027 if (PyErr_Occurred()) SWIG_fail
;
7029 resultobj
= SWIG_Py_Void();
7036 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7037 PyObject
*resultobj
= 0;
7038 wxGauge
*arg1
= (wxGauge
*) 0 ;
7042 PyObject
*swig_obj
[1] ;
7044 if (!args
) SWIG_fail
;
7046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7047 if (!SWIG_IsOK(res1
)) {
7048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7050 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7053 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7054 wxPyEndAllowThreads(__tstate
);
7055 if (PyErr_Occurred()) SWIG_fail
;
7057 resultobj
= SWIG_From_int(static_cast< int >(result
));
7064 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7065 PyObject
*resultobj
= 0;
7066 wxGauge
*arg1
= (wxGauge
*) 0 ;
7070 PyObject
*swig_obj
[1] ;
7072 if (!args
) SWIG_fail
;
7074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7075 if (!SWIG_IsOK(res1
)) {
7076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7078 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7081 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7082 wxPyEndAllowThreads(__tstate
);
7083 if (PyErr_Occurred()) SWIG_fail
;
7086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7094 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7095 PyObject
*resultobj
= 0;
7096 wxGauge
*arg1
= (wxGauge
*) 0 ;
7102 PyObject
* obj0
= 0 ;
7103 PyObject
* obj1
= 0 ;
7104 char * kwnames
[] = {
7105 (char *) "self",(char *) "w", NULL
7108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7110 if (!SWIG_IsOK(res1
)) {
7111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7113 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7114 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7115 if (!SWIG_IsOK(ecode2
)) {
7116 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7118 arg2
= static_cast< int >(val2
);
7120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7121 (arg1
)->SetShadowWidth(arg2
);
7122 wxPyEndAllowThreads(__tstate
);
7123 if (PyErr_Occurred()) SWIG_fail
;
7125 resultobj
= SWIG_Py_Void();
7132 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7133 PyObject
*resultobj
= 0;
7134 wxGauge
*arg1
= (wxGauge
*) 0 ;
7138 PyObject
*swig_obj
[1] ;
7140 if (!args
) SWIG_fail
;
7142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7143 if (!SWIG_IsOK(res1
)) {
7144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7146 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7149 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7150 wxPyEndAllowThreads(__tstate
);
7151 if (PyErr_Occurred()) SWIG_fail
;
7153 resultobj
= SWIG_From_int(static_cast< int >(result
));
7160 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7161 PyObject
*resultobj
= 0;
7162 wxGauge
*arg1
= (wxGauge
*) 0 ;
7168 PyObject
* obj0
= 0 ;
7169 PyObject
* obj1
= 0 ;
7170 char * kwnames
[] = {
7171 (char *) "self",(char *) "w", NULL
7174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7176 if (!SWIG_IsOK(res1
)) {
7177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7179 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7180 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7181 if (!SWIG_IsOK(ecode2
)) {
7182 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7184 arg2
= static_cast< int >(val2
);
7186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7187 (arg1
)->SetBezelFace(arg2
);
7188 wxPyEndAllowThreads(__tstate
);
7189 if (PyErr_Occurred()) SWIG_fail
;
7191 resultobj
= SWIG_Py_Void();
7198 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7199 PyObject
*resultobj
= 0;
7200 wxGauge
*arg1
= (wxGauge
*) 0 ;
7204 PyObject
*swig_obj
[1] ;
7206 if (!args
) SWIG_fail
;
7208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7209 if (!SWIG_IsOK(res1
)) {
7210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7212 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7215 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7216 wxPyEndAllowThreads(__tstate
);
7217 if (PyErr_Occurred()) SWIG_fail
;
7219 resultobj
= SWIG_From_int(static_cast< int >(result
));
7226 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7227 PyObject
*resultobj
= 0;
7228 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7229 SwigValueWrapper
<wxVisualAttributes
> result
;
7232 PyObject
* obj0
= 0 ;
7233 char * kwnames
[] = {
7234 (char *) "variant", NULL
7237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7239 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7240 if (!SWIG_IsOK(ecode1
)) {
7241 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7243 arg1
= static_cast< wxWindowVariant
>(val1
);
7246 if (!wxPyCheckForApp()) SWIG_fail
;
7247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7248 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7249 wxPyEndAllowThreads(__tstate
);
7250 if (PyErr_Occurred()) SWIG_fail
;
7252 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7259 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7261 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7262 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7263 return SWIG_Py_Void();
7266 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7267 return SWIG_Python_InitShadowInstance(args
);
7270 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7271 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7276 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7277 PyObject
*pyobj
= 0;
7281 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7283 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7290 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7291 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7296 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7297 PyObject
*pyobj
= 0;
7301 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7303 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7310 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7311 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7316 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7317 PyObject
*pyobj
= 0;
7321 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7323 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7330 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7331 PyObject
*resultobj
= 0;
7332 wxWindow
*arg1
= (wxWindow
*) 0 ;
7333 int arg2
= (int) -1 ;
7334 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7335 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7336 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7337 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7338 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7339 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7340 long arg6
= (long) 0 ;
7341 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7342 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7343 wxStaticBox
*result
= 0 ;
7348 bool temp3
= false ;
7353 bool temp7
= false ;
7354 PyObject
* obj0
= 0 ;
7355 PyObject
* obj1
= 0 ;
7356 PyObject
* obj2
= 0 ;
7357 PyObject
* obj3
= 0 ;
7358 PyObject
* obj4
= 0 ;
7359 PyObject
* obj5
= 0 ;
7360 PyObject
* obj6
= 0 ;
7361 char * kwnames
[] = {
7362 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7367 if (!SWIG_IsOK(res1
)) {
7368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7370 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7372 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7373 if (!SWIG_IsOK(ecode2
)) {
7374 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7376 arg2
= static_cast< int >(val2
);
7380 arg3
= wxString_in_helper(obj2
);
7381 if (arg3
== NULL
) SWIG_fail
;
7388 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7394 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7398 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7399 if (!SWIG_IsOK(ecode6
)) {
7400 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7402 arg6
= static_cast< long >(val6
);
7406 arg7
= wxString_in_helper(obj6
);
7407 if (arg7
== NULL
) SWIG_fail
;
7412 if (!wxPyCheckForApp()) SWIG_fail
;
7413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7414 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7415 wxPyEndAllowThreads(__tstate
);
7416 if (PyErr_Occurred()) SWIG_fail
;
7418 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7441 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7442 PyObject
*resultobj
= 0;
7443 wxStaticBox
*result
= 0 ;
7445 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7447 if (!wxPyCheckForApp()) SWIG_fail
;
7448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7449 result
= (wxStaticBox
*)new wxStaticBox();
7450 wxPyEndAllowThreads(__tstate
);
7451 if (PyErr_Occurred()) SWIG_fail
;
7453 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7460 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7461 PyObject
*resultobj
= 0;
7462 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7463 wxWindow
*arg2
= (wxWindow
*) 0 ;
7464 int arg3
= (int) -1 ;
7465 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7466 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7467 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7468 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7469 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7470 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7471 long arg7
= (long) 0 ;
7472 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7473 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7481 bool temp4
= false ;
7486 bool temp8
= false ;
7487 PyObject
* obj0
= 0 ;
7488 PyObject
* obj1
= 0 ;
7489 PyObject
* obj2
= 0 ;
7490 PyObject
* obj3
= 0 ;
7491 PyObject
* obj4
= 0 ;
7492 PyObject
* obj5
= 0 ;
7493 PyObject
* obj6
= 0 ;
7494 PyObject
* obj7
= 0 ;
7495 char * kwnames
[] = {
7496 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7501 if (!SWIG_IsOK(res1
)) {
7502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7504 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7505 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7506 if (!SWIG_IsOK(res2
)) {
7507 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7509 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7511 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7512 if (!SWIG_IsOK(ecode3
)) {
7513 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7515 arg3
= static_cast< int >(val3
);
7519 arg4
= wxString_in_helper(obj3
);
7520 if (arg4
== NULL
) SWIG_fail
;
7527 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7533 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7537 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7538 if (!SWIG_IsOK(ecode7
)) {
7539 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7541 arg7
= static_cast< long >(val7
);
7545 arg8
= wxString_in_helper(obj7
);
7546 if (arg8
== NULL
) SWIG_fail
;
7551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7552 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7553 wxPyEndAllowThreads(__tstate
);
7554 if (PyErr_Occurred()) SWIG_fail
;
7557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7581 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7582 PyObject
*resultobj
= 0;
7583 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7584 SwigValueWrapper
<wxVisualAttributes
> result
;
7587 PyObject
* obj0
= 0 ;
7588 char * kwnames
[] = {
7589 (char *) "variant", NULL
7592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7594 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7595 if (!SWIG_IsOK(ecode1
)) {
7596 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7598 arg1
= static_cast< wxWindowVariant
>(val1
);
7601 if (!wxPyCheckForApp()) SWIG_fail
;
7602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7603 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7604 wxPyEndAllowThreads(__tstate
);
7605 if (PyErr_Occurred()) SWIG_fail
;
7607 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7614 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7616 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7617 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7618 return SWIG_Py_Void();
7621 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7622 return SWIG_Python_InitShadowInstance(args
);
7625 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7626 PyObject
*resultobj
= 0;
7627 wxWindow
*arg1
= (wxWindow
*) 0 ;
7628 int arg2
= (int) -1 ;
7629 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7630 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7631 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7632 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7633 long arg5
= (long) wxLI_HORIZONTAL
;
7634 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
7635 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7636 wxStaticLine
*result
= 0 ;
7645 bool temp6
= false ;
7646 PyObject
* obj0
= 0 ;
7647 PyObject
* obj1
= 0 ;
7648 PyObject
* obj2
= 0 ;
7649 PyObject
* obj3
= 0 ;
7650 PyObject
* obj4
= 0 ;
7651 PyObject
* obj5
= 0 ;
7652 char * kwnames
[] = {
7653 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7658 if (!SWIG_IsOK(res1
)) {
7659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7661 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7663 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7664 if (!SWIG_IsOK(ecode2
)) {
7665 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7667 arg2
= static_cast< int >(val2
);
7672 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7678 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7682 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7683 if (!SWIG_IsOK(ecode5
)) {
7684 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7686 arg5
= static_cast< long >(val5
);
7690 arg6
= wxString_in_helper(obj5
);
7691 if (arg6
== NULL
) SWIG_fail
;
7696 if (!wxPyCheckForApp()) SWIG_fail
;
7697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7698 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7699 wxPyEndAllowThreads(__tstate
);
7700 if (PyErr_Occurred()) SWIG_fail
;
7702 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7717 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7718 PyObject
*resultobj
= 0;
7719 wxStaticLine
*result
= 0 ;
7721 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7723 if (!wxPyCheckForApp()) SWIG_fail
;
7724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7725 result
= (wxStaticLine
*)new wxStaticLine();
7726 wxPyEndAllowThreads(__tstate
);
7727 if (PyErr_Occurred()) SWIG_fail
;
7729 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7736 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7737 PyObject
*resultobj
= 0;
7738 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7739 wxWindow
*arg2
= (wxWindow
*) 0 ;
7740 int arg3
= (int) -1 ;
7741 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7742 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7743 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7744 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7745 long arg6
= (long) wxLI_HORIZONTAL
;
7746 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
7747 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7759 bool temp7
= false ;
7760 PyObject
* obj0
= 0 ;
7761 PyObject
* obj1
= 0 ;
7762 PyObject
* obj2
= 0 ;
7763 PyObject
* obj3
= 0 ;
7764 PyObject
* obj4
= 0 ;
7765 PyObject
* obj5
= 0 ;
7766 PyObject
* obj6
= 0 ;
7767 char * kwnames
[] = {
7768 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7773 if (!SWIG_IsOK(res1
)) {
7774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7776 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7777 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7778 if (!SWIG_IsOK(res2
)) {
7779 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7781 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7783 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7784 if (!SWIG_IsOK(ecode3
)) {
7785 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7787 arg3
= static_cast< int >(val3
);
7792 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7798 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7802 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7803 if (!SWIG_IsOK(ecode6
)) {
7804 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7806 arg6
= static_cast< long >(val6
);
7810 arg7
= wxString_in_helper(obj6
);
7811 if (arg7
== NULL
) SWIG_fail
;
7816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7817 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7818 wxPyEndAllowThreads(__tstate
);
7819 if (PyErr_Occurred()) SWIG_fail
;
7822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7838 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7839 PyObject
*resultobj
= 0;
7840 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7844 PyObject
*swig_obj
[1] ;
7846 if (!args
) SWIG_fail
;
7848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7849 if (!SWIG_IsOK(res1
)) {
7850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7852 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7855 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
7856 wxPyEndAllowThreads(__tstate
);
7857 if (PyErr_Occurred()) SWIG_fail
;
7860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7868 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7869 PyObject
*resultobj
= 0;
7872 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
7874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7875 result
= (int)wxStaticLine::GetDefaultSize();
7876 wxPyEndAllowThreads(__tstate
);
7877 if (PyErr_Occurred()) SWIG_fail
;
7879 resultobj
= SWIG_From_int(static_cast< int >(result
));
7886 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7887 PyObject
*resultobj
= 0;
7888 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7889 SwigValueWrapper
<wxVisualAttributes
> result
;
7892 PyObject
* obj0
= 0 ;
7893 char * kwnames
[] = {
7894 (char *) "variant", NULL
7897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7899 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7900 if (!SWIG_IsOK(ecode1
)) {
7901 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7903 arg1
= static_cast< wxWindowVariant
>(val1
);
7906 if (!wxPyCheckForApp()) SWIG_fail
;
7907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7908 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
7909 wxPyEndAllowThreads(__tstate
);
7910 if (PyErr_Occurred()) SWIG_fail
;
7912 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7919 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7921 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7922 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
7923 return SWIG_Py_Void();
7926 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7927 return SWIG_Python_InitShadowInstance(args
);
7930 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7931 PyObject
*resultobj
= 0;
7932 wxWindow
*arg1
= (wxWindow
*) 0 ;
7933 int arg2
= (int) -1 ;
7934 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7935 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7936 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7937 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7938 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7939 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7940 long arg6
= (long) 0 ;
7941 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
7942 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7943 wxStaticText
*result
= 0 ;
7948 bool temp3
= false ;
7953 bool temp7
= false ;
7954 PyObject
* obj0
= 0 ;
7955 PyObject
* obj1
= 0 ;
7956 PyObject
* obj2
= 0 ;
7957 PyObject
* obj3
= 0 ;
7958 PyObject
* obj4
= 0 ;
7959 PyObject
* obj5
= 0 ;
7960 PyObject
* obj6
= 0 ;
7961 char * kwnames
[] = {
7962 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7967 if (!SWIG_IsOK(res1
)) {
7968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
7970 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7972 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7973 if (!SWIG_IsOK(ecode2
)) {
7974 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
7976 arg2
= static_cast< int >(val2
);
7980 arg3
= wxString_in_helper(obj2
);
7981 if (arg3
== NULL
) SWIG_fail
;
7988 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7994 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7998 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7999 if (!SWIG_IsOK(ecode6
)) {
8000 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8002 arg6
= static_cast< long >(val6
);
8006 arg7
= wxString_in_helper(obj6
);
8007 if (arg7
== NULL
) SWIG_fail
;
8012 if (!wxPyCheckForApp()) SWIG_fail
;
8013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8014 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8015 wxPyEndAllowThreads(__tstate
);
8016 if (PyErr_Occurred()) SWIG_fail
;
8018 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8041 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8042 PyObject
*resultobj
= 0;
8043 wxStaticText
*result
= 0 ;
8045 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8047 if (!wxPyCheckForApp()) SWIG_fail
;
8048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8049 result
= (wxStaticText
*)new wxStaticText();
8050 wxPyEndAllowThreads(__tstate
);
8051 if (PyErr_Occurred()) SWIG_fail
;
8053 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8060 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8061 PyObject
*resultobj
= 0;
8062 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8063 wxWindow
*arg2
= (wxWindow
*) 0 ;
8064 int arg3
= (int) -1 ;
8065 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8066 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8067 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8068 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8069 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8070 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8071 long arg7
= (long) 0 ;
8072 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8073 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8081 bool temp4
= false ;
8086 bool temp8
= false ;
8087 PyObject
* obj0
= 0 ;
8088 PyObject
* obj1
= 0 ;
8089 PyObject
* obj2
= 0 ;
8090 PyObject
* obj3
= 0 ;
8091 PyObject
* obj4
= 0 ;
8092 PyObject
* obj5
= 0 ;
8093 PyObject
* obj6
= 0 ;
8094 PyObject
* obj7
= 0 ;
8095 char * kwnames
[] = {
8096 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8101 if (!SWIG_IsOK(res1
)) {
8102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8104 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8105 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8106 if (!SWIG_IsOK(res2
)) {
8107 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8109 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8111 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8112 if (!SWIG_IsOK(ecode3
)) {
8113 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8115 arg3
= static_cast< int >(val3
);
8119 arg4
= wxString_in_helper(obj3
);
8120 if (arg4
== NULL
) SWIG_fail
;
8127 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8133 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8137 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8138 if (!SWIG_IsOK(ecode7
)) {
8139 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8141 arg7
= static_cast< long >(val7
);
8145 arg8
= wxString_in_helper(obj7
);
8146 if (arg8
== NULL
) SWIG_fail
;
8151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8152 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8153 wxPyEndAllowThreads(__tstate
);
8154 if (PyErr_Occurred()) SWIG_fail
;
8157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8181 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8182 PyObject
*resultobj
= 0;
8183 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8189 PyObject
* obj0
= 0 ;
8190 PyObject
* obj1
= 0 ;
8191 char * kwnames
[] = {
8192 (char *) "self",(char *) "width", NULL
8195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8197 if (!SWIG_IsOK(res1
)) {
8198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8200 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8201 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8202 if (!SWIG_IsOK(ecode2
)) {
8203 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8205 arg2
= static_cast< int >(val2
);
8207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8209 wxPyEndAllowThreads(__tstate
);
8210 if (PyErr_Occurred()) SWIG_fail
;
8212 resultobj
= SWIG_Py_Void();
8219 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8220 PyObject
*resultobj
= 0;
8221 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8222 SwigValueWrapper
<wxVisualAttributes
> result
;
8225 PyObject
* obj0
= 0 ;
8226 char * kwnames
[] = {
8227 (char *) "variant", NULL
8230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8232 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8233 if (!SWIG_IsOK(ecode1
)) {
8234 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8236 arg1
= static_cast< wxWindowVariant
>(val1
);
8239 if (!wxPyCheckForApp()) SWIG_fail
;
8240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8241 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8242 wxPyEndAllowThreads(__tstate
);
8243 if (PyErr_Occurred()) SWIG_fail
;
8245 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8252 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8254 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8255 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8256 return SWIG_Py_Void();
8259 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8260 return SWIG_Python_InitShadowInstance(args
);
8263 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8264 PyObject
*resultobj
= 0;
8265 wxWindow
*arg1
= (wxWindow
*) 0 ;
8266 int arg2
= (int) -1 ;
8267 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8268 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8269 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8270 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8271 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8272 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8273 long arg6
= (long) 0 ;
8274 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8275 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8276 wxStaticBitmap
*result
= 0 ;
8287 bool temp7
= false ;
8288 PyObject
* obj0
= 0 ;
8289 PyObject
* obj1
= 0 ;
8290 PyObject
* obj2
= 0 ;
8291 PyObject
* obj3
= 0 ;
8292 PyObject
* obj4
= 0 ;
8293 PyObject
* obj5
= 0 ;
8294 PyObject
* obj6
= 0 ;
8295 char * kwnames
[] = {
8296 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8301 if (!SWIG_IsOK(res1
)) {
8302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8304 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8306 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8307 if (!SWIG_IsOK(ecode2
)) {
8308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8310 arg2
= static_cast< int >(val2
);
8313 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8314 if (!SWIG_IsOK(res3
)) {
8315 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8318 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8320 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8325 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8331 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8335 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8336 if (!SWIG_IsOK(ecode6
)) {
8337 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8339 arg6
= static_cast< long >(val6
);
8343 arg7
= wxString_in_helper(obj6
);
8344 if (arg7
== NULL
) SWIG_fail
;
8349 if (!wxPyCheckForApp()) SWIG_fail
;
8350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8351 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8352 wxPyEndAllowThreads(__tstate
);
8353 if (PyErr_Occurred()) SWIG_fail
;
8355 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8370 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8371 PyObject
*resultobj
= 0;
8372 wxStaticBitmap
*result
= 0 ;
8374 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8376 if (!wxPyCheckForApp()) SWIG_fail
;
8377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8378 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8379 wxPyEndAllowThreads(__tstate
);
8380 if (PyErr_Occurred()) SWIG_fail
;
8382 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8389 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8390 PyObject
*resultobj
= 0;
8391 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8392 wxWindow
*arg2
= (wxWindow
*) 0 ;
8393 int arg3
= (int) -1 ;
8394 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8395 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8396 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8397 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8398 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8399 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8400 long arg7
= (long) 0 ;
8401 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8402 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8416 bool temp8
= false ;
8417 PyObject
* obj0
= 0 ;
8418 PyObject
* obj1
= 0 ;
8419 PyObject
* obj2
= 0 ;
8420 PyObject
* obj3
= 0 ;
8421 PyObject
* obj4
= 0 ;
8422 PyObject
* obj5
= 0 ;
8423 PyObject
* obj6
= 0 ;
8424 PyObject
* obj7
= 0 ;
8425 char * kwnames
[] = {
8426 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8431 if (!SWIG_IsOK(res1
)) {
8432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8434 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8435 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8436 if (!SWIG_IsOK(res2
)) {
8437 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8439 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8441 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8442 if (!SWIG_IsOK(ecode3
)) {
8443 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8445 arg3
= static_cast< int >(val3
);
8448 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8449 if (!SWIG_IsOK(res4
)) {
8450 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8453 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8455 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8460 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8466 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8470 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8471 if (!SWIG_IsOK(ecode7
)) {
8472 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8474 arg7
= static_cast< long >(val7
);
8478 arg8
= wxString_in_helper(obj7
);
8479 if (arg8
== NULL
) SWIG_fail
;
8484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8485 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8486 wxPyEndAllowThreads(__tstate
);
8487 if (PyErr_Occurred()) SWIG_fail
;
8490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8506 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8507 PyObject
*resultobj
= 0;
8508 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8512 PyObject
*swig_obj
[1] ;
8514 if (!args
) SWIG_fail
;
8516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8517 if (!SWIG_IsOK(res1
)) {
8518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8520 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8523 result
= (arg1
)->GetBitmap();
8524 wxPyEndAllowThreads(__tstate
);
8525 if (PyErr_Occurred()) SWIG_fail
;
8527 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8534 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8535 PyObject
*resultobj
= 0;
8536 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8537 wxBitmap
*arg2
= 0 ;
8542 PyObject
* obj0
= 0 ;
8543 PyObject
* obj1
= 0 ;
8544 char * kwnames
[] = {
8545 (char *) "self",(char *) "bitmap", NULL
8548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8550 if (!SWIG_IsOK(res1
)) {
8551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8553 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8554 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8555 if (!SWIG_IsOK(res2
)) {
8556 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8559 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8561 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8564 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8565 wxPyEndAllowThreads(__tstate
);
8566 if (PyErr_Occurred()) SWIG_fail
;
8568 resultobj
= SWIG_Py_Void();
8575 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8576 PyObject
*resultobj
= 0;
8577 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8583 PyObject
* obj0
= 0 ;
8584 PyObject
* obj1
= 0 ;
8585 char * kwnames
[] = {
8586 (char *) "self",(char *) "icon", NULL
8589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8591 if (!SWIG_IsOK(res1
)) {
8592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8594 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8595 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8596 if (!SWIG_IsOK(res2
)) {
8597 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8600 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8602 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8605 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8606 wxPyEndAllowThreads(__tstate
);
8607 if (PyErr_Occurred()) SWIG_fail
;
8609 resultobj
= SWIG_Py_Void();
8616 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8617 PyObject
*resultobj
= 0;
8618 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8619 SwigValueWrapper
<wxVisualAttributes
> result
;
8622 PyObject
* obj0
= 0 ;
8623 char * kwnames
[] = {
8624 (char *) "variant", NULL
8627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8629 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8630 if (!SWIG_IsOK(ecode1
)) {
8631 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8633 arg1
= static_cast< wxWindowVariant
>(val1
);
8636 if (!wxPyCheckForApp()) SWIG_fail
;
8637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8638 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8639 wxPyEndAllowThreads(__tstate
);
8640 if (PyErr_Occurred()) SWIG_fail
;
8642 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8649 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8651 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8652 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8653 return SWIG_Py_Void();
8656 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8657 return SWIG_Python_InitShadowInstance(args
);
8660 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8661 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8666 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8667 PyObject
*pyobj
= 0;
8671 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8673 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8680 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8681 PyObject
*resultobj
= 0;
8682 wxWindow
*arg1
= (wxWindow
*) 0 ;
8683 int arg2
= (int) -1 ;
8684 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8685 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8686 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8687 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8688 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8689 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8690 long arg6
= (long) 0 ;
8691 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8692 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8693 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8694 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8695 wxListBox
*result
= 0 ;
8702 bool temp5
= false ;
8707 bool temp8
= false ;
8708 PyObject
* obj0
= 0 ;
8709 PyObject
* obj1
= 0 ;
8710 PyObject
* obj2
= 0 ;
8711 PyObject
* obj3
= 0 ;
8712 PyObject
* obj4
= 0 ;
8713 PyObject
* obj5
= 0 ;
8714 PyObject
* obj6
= 0 ;
8715 PyObject
* obj7
= 0 ;
8716 char * kwnames
[] = {
8717 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8722 if (!SWIG_IsOK(res1
)) {
8723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8725 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8727 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8728 if (!SWIG_IsOK(ecode2
)) {
8729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8731 arg2
= static_cast< int >(val2
);
8736 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8742 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8747 if (! PySequence_Check(obj4
)) {
8748 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8751 arg5
= new wxArrayString
;
8753 int i
, len
=PySequence_Length(obj4
);
8754 for (i
=0; i
<len
; i
++) {
8755 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8756 wxString
* s
= wxString_in_helper(item
);
8757 if (PyErr_Occurred()) SWIG_fail
;
8765 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8766 if (!SWIG_IsOK(ecode6
)) {
8767 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8769 arg6
= static_cast< long >(val6
);
8772 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
8773 if (!SWIG_IsOK(res7
)) {
8774 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8777 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8779 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
8783 arg8
= wxString_in_helper(obj7
);
8784 if (arg8
== NULL
) SWIG_fail
;
8789 if (!wxPyCheckForApp()) SWIG_fail
;
8790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8791 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8792 wxPyEndAllowThreads(__tstate
);
8793 if (PyErr_Occurred()) SWIG_fail
;
8795 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
8797 if (temp5
) delete arg5
;
8806 if (temp5
) delete arg5
;
8816 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8817 PyObject
*resultobj
= 0;
8818 wxListBox
*result
= 0 ;
8820 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
8822 if (!wxPyCheckForApp()) SWIG_fail
;
8823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8824 result
= (wxListBox
*)new wxListBox();
8825 wxPyEndAllowThreads(__tstate
);
8826 if (PyErr_Occurred()) SWIG_fail
;
8828 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
8835 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8836 PyObject
*resultobj
= 0;
8837 wxListBox
*arg1
= (wxListBox
*) 0 ;
8838 wxWindow
*arg2
= (wxWindow
*) 0 ;
8839 int arg3
= (int) -1 ;
8840 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8841 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8842 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8843 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8844 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8845 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8846 long arg7
= (long) 0 ;
8847 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8848 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8849 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8850 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8860 bool temp6
= false ;
8865 bool temp9
= false ;
8866 PyObject
* obj0
= 0 ;
8867 PyObject
* obj1
= 0 ;
8868 PyObject
* obj2
= 0 ;
8869 PyObject
* obj3
= 0 ;
8870 PyObject
* obj4
= 0 ;
8871 PyObject
* obj5
= 0 ;
8872 PyObject
* obj6
= 0 ;
8873 PyObject
* obj7
= 0 ;
8874 PyObject
* obj8
= 0 ;
8875 char * kwnames
[] = {
8876 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
8880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
8881 if (!SWIG_IsOK(res1
)) {
8882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
8884 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
8885 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8886 if (!SWIG_IsOK(res2
)) {
8887 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8889 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8891 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8892 if (!SWIG_IsOK(ecode3
)) {
8893 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
8895 arg3
= static_cast< int >(val3
);
8900 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8906 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8911 if (! PySequence_Check(obj5
)) {
8912 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8915 arg6
= new wxArrayString
;
8917 int i
, len
=PySequence_Length(obj5
);
8918 for (i
=0; i
<len
; i
++) {
8919 PyObject
* item
= PySequence_GetItem(obj5
, i
);
8920 wxString
* s
= wxString_in_helper(item
);
8921 if (PyErr_Occurred()) SWIG_fail
;
8929 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8930 if (!SWIG_IsOK(ecode7
)) {
8931 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
8933 arg7
= static_cast< long >(val7
);
8936 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
8937 if (!SWIG_IsOK(res8
)) {
8938 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
8941 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
8943 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
8947 arg9
= wxString_in_helper(obj8
);
8948 if (arg9
== NULL
) SWIG_fail
;
8953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8954 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8955 wxPyEndAllowThreads(__tstate
);
8956 if (PyErr_Occurred()) SWIG_fail
;
8959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8962 if (temp6
) delete arg6
;
8971 if (temp6
) delete arg6
;
8981 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8982 PyObject
*resultobj
= 0;
8983 wxListBox
*arg1
= (wxListBox
*) 0 ;
8984 wxString
*arg2
= 0 ;
8986 PyObject
*arg4
= (PyObject
*) NULL
;
8989 bool temp2
= false ;
8992 PyObject
* obj0
= 0 ;
8993 PyObject
* obj1
= 0 ;
8994 PyObject
* obj2
= 0 ;
8995 PyObject
* obj3
= 0 ;
8996 char * kwnames
[] = {
8997 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9002 if (!SWIG_IsOK(res1
)) {
9003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9005 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9007 arg2
= wxString_in_helper(obj1
);
9008 if (arg2
== NULL
) SWIG_fail
;
9011 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9012 if (!SWIG_IsOK(ecode3
)) {
9013 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9015 arg3
= static_cast< int >(val3
);
9020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9021 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9022 wxPyEndAllowThreads(__tstate
);
9023 if (PyErr_Occurred()) SWIG_fail
;
9025 resultobj
= SWIG_Py_Void();
9040 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9041 PyObject
*resultobj
= 0;
9042 wxListBox
*arg1
= (wxListBox
*) 0 ;
9043 wxArrayString
*arg2
= 0 ;
9047 bool temp2
= false ;
9050 PyObject
* obj0
= 0 ;
9051 PyObject
* obj1
= 0 ;
9052 PyObject
* obj2
= 0 ;
9053 char * kwnames
[] = {
9054 (char *) "self",(char *) "items",(char *) "pos", NULL
9057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9059 if (!SWIG_IsOK(res1
)) {
9060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9062 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9064 if (! PySequence_Check(obj1
)) {
9065 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9068 arg2
= new wxArrayString
;
9070 int i
, len
=PySequence_Length(obj1
);
9071 for (i
=0; i
<len
; i
++) {
9072 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9073 wxString
* s
= wxString_in_helper(item
);
9074 if (PyErr_Occurred()) SWIG_fail
;
9080 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9081 if (!SWIG_IsOK(ecode3
)) {
9082 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "int""'");
9084 arg3
= static_cast< int >(val3
);
9086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9087 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9088 wxPyEndAllowThreads(__tstate
);
9089 if (PyErr_Occurred()) SWIG_fail
;
9091 resultobj
= SWIG_Py_Void();
9093 if (temp2
) delete arg2
;
9098 if (temp2
) delete arg2
;
9104 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9105 PyObject
*resultobj
= 0;
9106 wxListBox
*arg1
= (wxListBox
*) 0 ;
9107 wxArrayString
*arg2
= 0 ;
9110 bool temp2
= false ;
9111 PyObject
* obj0
= 0 ;
9112 PyObject
* obj1
= 0 ;
9113 char * kwnames
[] = {
9114 (char *) "self",(char *) "items", NULL
9117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9119 if (!SWIG_IsOK(res1
)) {
9120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9122 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9124 if (! PySequence_Check(obj1
)) {
9125 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9128 arg2
= new wxArrayString
;
9130 int i
, len
=PySequence_Length(obj1
);
9131 for (i
=0; i
<len
; i
++) {
9132 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9133 wxString
* s
= wxString_in_helper(item
);
9134 if (PyErr_Occurred()) SWIG_fail
;
9141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9142 (arg1
)->Set((wxArrayString
const &)*arg2
);
9143 wxPyEndAllowThreads(__tstate
);
9144 if (PyErr_Occurred()) SWIG_fail
;
9146 resultobj
= SWIG_Py_Void();
9148 if (temp2
) delete arg2
;
9153 if (temp2
) delete arg2
;
9159 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9160 PyObject
*resultobj
= 0;
9161 wxListBox
*arg1
= (wxListBox
*) 0 ;
9168 PyObject
* obj0
= 0 ;
9169 PyObject
* obj1
= 0 ;
9170 char * kwnames
[] = {
9171 (char *) "self",(char *) "n", NULL
9174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9176 if (!SWIG_IsOK(res1
)) {
9177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9179 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9180 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9181 if (!SWIG_IsOK(ecode2
)) {
9182 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9184 arg2
= static_cast< int >(val2
);
9186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9187 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9188 wxPyEndAllowThreads(__tstate
);
9189 if (PyErr_Occurred()) SWIG_fail
;
9192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9200 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9201 PyObject
*resultobj
= 0;
9202 wxListBox
*arg1
= (wxListBox
*) 0 ;
9204 bool arg3
= (bool) true ;
9211 PyObject
* obj0
= 0 ;
9212 PyObject
* obj1
= 0 ;
9213 PyObject
* obj2
= 0 ;
9214 char * kwnames
[] = {
9215 (char *) "self",(char *) "n",(char *) "select", NULL
9218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9220 if (!SWIG_IsOK(res1
)) {
9221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9223 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9224 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9225 if (!SWIG_IsOK(ecode2
)) {
9226 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9228 arg2
= static_cast< int >(val2
);
9230 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9231 if (!SWIG_IsOK(ecode3
)) {
9232 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9234 arg3
= static_cast< bool >(val3
);
9237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9238 (arg1
)->SetSelection(arg2
,arg3
);
9239 wxPyEndAllowThreads(__tstate
);
9240 if (PyErr_Occurred()) SWIG_fail
;
9242 resultobj
= SWIG_Py_Void();
9249 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9250 PyObject
*resultobj
= 0;
9251 wxListBox
*arg1
= (wxListBox
*) 0 ;
9257 PyObject
* obj0
= 0 ;
9258 PyObject
* obj1
= 0 ;
9259 char * kwnames
[] = {
9260 (char *) "self",(char *) "n", NULL
9263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9265 if (!SWIG_IsOK(res1
)) {
9266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9268 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9269 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9270 if (!SWIG_IsOK(ecode2
)) {
9271 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9273 arg2
= static_cast< int >(val2
);
9275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9276 (arg1
)->Select(arg2
);
9277 wxPyEndAllowThreads(__tstate
);
9278 if (PyErr_Occurred()) SWIG_fail
;
9280 resultobj
= SWIG_Py_Void();
9287 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9288 PyObject
*resultobj
= 0;
9289 wxListBox
*arg1
= (wxListBox
*) 0 ;
9295 PyObject
* obj0
= 0 ;
9296 PyObject
* obj1
= 0 ;
9297 char * kwnames
[] = {
9298 (char *) "self",(char *) "n", NULL
9301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9303 if (!SWIG_IsOK(res1
)) {
9304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9306 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9307 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9308 if (!SWIG_IsOK(ecode2
)) {
9309 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9311 arg2
= static_cast< int >(val2
);
9313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9314 (arg1
)->Deselect(arg2
);
9315 wxPyEndAllowThreads(__tstate
);
9316 if (PyErr_Occurred()) SWIG_fail
;
9318 resultobj
= SWIG_Py_Void();
9325 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9326 PyObject
*resultobj
= 0;
9327 wxListBox
*arg1
= (wxListBox
*) 0 ;
9328 int arg2
= (int) -1 ;
9333 PyObject
* obj0
= 0 ;
9334 PyObject
* obj1
= 0 ;
9335 char * kwnames
[] = {
9336 (char *) "self",(char *) "itemToLeaveSelected", NULL
9339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9341 if (!SWIG_IsOK(res1
)) {
9342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9344 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9346 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9347 if (!SWIG_IsOK(ecode2
)) {
9348 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9350 arg2
= static_cast< int >(val2
);
9353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9354 (arg1
)->DeselectAll(arg2
);
9355 wxPyEndAllowThreads(__tstate
);
9356 if (PyErr_Occurred()) SWIG_fail
;
9358 resultobj
= SWIG_Py_Void();
9365 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9366 PyObject
*resultobj
= 0;
9367 wxListBox
*arg1
= (wxListBox
*) 0 ;
9368 wxString
*arg2
= 0 ;
9369 bool arg3
= (bool) true ;
9373 bool temp2
= false ;
9376 PyObject
* obj0
= 0 ;
9377 PyObject
* obj1
= 0 ;
9378 PyObject
* obj2
= 0 ;
9379 char * kwnames
[] = {
9380 (char *) "self",(char *) "s",(char *) "select", NULL
9383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9385 if (!SWIG_IsOK(res1
)) {
9386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9388 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9390 arg2
= wxString_in_helper(obj1
);
9391 if (arg2
== NULL
) SWIG_fail
;
9395 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9396 if (!SWIG_IsOK(ecode3
)) {
9397 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9399 arg3
= static_cast< bool >(val3
);
9402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9403 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9404 wxPyEndAllowThreads(__tstate
);
9405 if (PyErr_Occurred()) SWIG_fail
;
9408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9424 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9425 PyObject
*resultobj
= 0;
9426 wxListBox
*arg1
= (wxListBox
*) 0 ;
9427 PyObject
*result
= 0 ;
9430 PyObject
*swig_obj
[1] ;
9432 if (!args
) SWIG_fail
;
9434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9435 if (!SWIG_IsOK(res1
)) {
9436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9438 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9441 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9442 wxPyEndAllowThreads(__tstate
);
9443 if (PyErr_Occurred()) SWIG_fail
;
9452 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9453 PyObject
*resultobj
= 0;
9454 wxListBox
*arg1
= (wxListBox
*) 0 ;
9460 PyObject
* obj0
= 0 ;
9461 PyObject
* obj1
= 0 ;
9462 char * kwnames
[] = {
9463 (char *) "self",(char *) "n", NULL
9466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9468 if (!SWIG_IsOK(res1
)) {
9469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9471 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9472 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9473 if (!SWIG_IsOK(ecode2
)) {
9474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9476 arg2
= static_cast< int >(val2
);
9478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9479 (arg1
)->SetFirstItem(arg2
);
9480 wxPyEndAllowThreads(__tstate
);
9481 if (PyErr_Occurred()) SWIG_fail
;
9483 resultobj
= SWIG_Py_Void();
9490 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9491 PyObject
*resultobj
= 0;
9492 wxListBox
*arg1
= (wxListBox
*) 0 ;
9493 wxString
*arg2
= 0 ;
9496 bool temp2
= false ;
9497 PyObject
* obj0
= 0 ;
9498 PyObject
* obj1
= 0 ;
9499 char * kwnames
[] = {
9500 (char *) "self",(char *) "s", NULL
9503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9505 if (!SWIG_IsOK(res1
)) {
9506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9508 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9510 arg2
= wxString_in_helper(obj1
);
9511 if (arg2
== NULL
) SWIG_fail
;
9515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9516 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9517 wxPyEndAllowThreads(__tstate
);
9518 if (PyErr_Occurred()) SWIG_fail
;
9520 resultobj
= SWIG_Py_Void();
9535 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9536 PyObject
*resultobj
= 0;
9537 wxListBox
*arg1
= (wxListBox
*) 0 ;
9543 PyObject
* obj0
= 0 ;
9544 PyObject
* obj1
= 0 ;
9545 char * kwnames
[] = {
9546 (char *) "self",(char *) "n", NULL
9549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9551 if (!SWIG_IsOK(res1
)) {
9552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9554 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9555 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9556 if (!SWIG_IsOK(ecode2
)) {
9557 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9559 arg2
= static_cast< int >(val2
);
9561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9562 (arg1
)->EnsureVisible(arg2
);
9563 wxPyEndAllowThreads(__tstate
);
9564 if (PyErr_Occurred()) SWIG_fail
;
9566 resultobj
= SWIG_Py_Void();
9573 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9574 PyObject
*resultobj
= 0;
9575 wxListBox
*arg1
= (wxListBox
*) 0 ;
9576 wxString
*arg2
= 0 ;
9579 bool temp2
= false ;
9580 PyObject
* obj0
= 0 ;
9581 PyObject
* obj1
= 0 ;
9582 char * kwnames
[] = {
9583 (char *) "self",(char *) "s", NULL
9586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9588 if (!SWIG_IsOK(res1
)) {
9589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9591 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9593 arg2
= wxString_in_helper(obj1
);
9594 if (arg2
== NULL
) SWIG_fail
;
9598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9599 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9600 wxPyEndAllowThreads(__tstate
);
9601 if (PyErr_Occurred()) SWIG_fail
;
9603 resultobj
= SWIG_Py_Void();
9618 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9619 PyObject
*resultobj
= 0;
9620 wxListBox
*arg1
= (wxListBox
*) 0 ;
9624 PyObject
*swig_obj
[1] ;
9626 if (!args
) SWIG_fail
;
9628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9629 if (!SWIG_IsOK(res1
)) {
9630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9632 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9635 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9636 wxPyEndAllowThreads(__tstate
);
9637 if (PyErr_Occurred()) SWIG_fail
;
9640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9648 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9649 PyObject
*resultobj
= 0;
9650 wxListBox
*arg1
= (wxListBox
*) 0 ;
9656 PyObject
* obj0
= 0 ;
9657 PyObject
* obj1
= 0 ;
9658 char * kwnames
[] = {
9659 (char *) "self",(char *) "pt", NULL
9662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9664 if (!SWIG_IsOK(res1
)) {
9665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9667 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9670 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9674 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9675 wxPyEndAllowThreads(__tstate
);
9676 if (PyErr_Occurred()) SWIG_fail
;
9678 resultobj
= SWIG_From_int(static_cast< int >(result
));
9685 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9686 PyObject
*resultobj
= 0;
9687 wxListBox
*arg1
= (wxListBox
*) 0 ;
9689 wxColour
*arg3
= 0 ;
9695 PyObject
* obj0
= 0 ;
9696 PyObject
* obj1
= 0 ;
9697 PyObject
* obj2
= 0 ;
9698 char * kwnames
[] = {
9699 (char *) "self",(char *) "item",(char *) "c", NULL
9702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9704 if (!SWIG_IsOK(res1
)) {
9705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9707 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9708 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9709 if (!SWIG_IsOK(ecode2
)) {
9710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9712 arg2
= static_cast< int >(val2
);
9715 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9719 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9720 wxPyEndAllowThreads(__tstate
);
9721 if (PyErr_Occurred()) SWIG_fail
;
9723 resultobj
= SWIG_Py_Void();
9730 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9731 PyObject
*resultobj
= 0;
9732 wxListBox
*arg1
= (wxListBox
*) 0 ;
9734 wxColour
*arg3
= 0 ;
9740 PyObject
* obj0
= 0 ;
9741 PyObject
* obj1
= 0 ;
9742 PyObject
* obj2
= 0 ;
9743 char * kwnames
[] = {
9744 (char *) "self",(char *) "item",(char *) "c", NULL
9747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9749 if (!SWIG_IsOK(res1
)) {
9750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9752 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9753 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9754 if (!SWIG_IsOK(ecode2
)) {
9755 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9757 arg2
= static_cast< int >(val2
);
9760 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9764 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9765 wxPyEndAllowThreads(__tstate
);
9766 if (PyErr_Occurred()) SWIG_fail
;
9768 resultobj
= SWIG_Py_Void();
9775 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9776 PyObject
*resultobj
= 0;
9777 wxListBox
*arg1
= (wxListBox
*) 0 ;
9786 PyObject
* obj0
= 0 ;
9787 PyObject
* obj1
= 0 ;
9788 PyObject
* obj2
= 0 ;
9789 char * kwnames
[] = {
9790 (char *) "self",(char *) "item",(char *) "f", NULL
9793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9795 if (!SWIG_IsOK(res1
)) {
9796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9798 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9799 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9800 if (!SWIG_IsOK(ecode2
)) {
9801 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9803 arg2
= static_cast< int >(val2
);
9804 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
9805 if (!SWIG_IsOK(res3
)) {
9806 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9809 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9811 arg3
= reinterpret_cast< wxFont
* >(argp3
);
9813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9814 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
9815 wxPyEndAllowThreads(__tstate
);
9816 if (PyErr_Occurred()) SWIG_fail
;
9818 resultobj
= SWIG_Py_Void();
9825 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9826 PyObject
*resultobj
= 0;
9827 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9828 SwigValueWrapper
<wxVisualAttributes
> result
;
9831 PyObject
* obj0
= 0 ;
9832 char * kwnames
[] = {
9833 (char *) "variant", NULL
9836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9838 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9839 if (!SWIG_IsOK(ecode1
)) {
9840 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9842 arg1
= static_cast< wxWindowVariant
>(val1
);
9845 if (!wxPyCheckForApp()) SWIG_fail
;
9846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9847 result
= wxListBox::GetClassDefaultAttributes(arg1
);
9848 wxPyEndAllowThreads(__tstate
);
9849 if (PyErr_Occurred()) SWIG_fail
;
9851 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9858 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9860 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9861 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
9862 return SWIG_Py_Void();
9865 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9866 return SWIG_Python_InitShadowInstance(args
);
9869 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9870 PyObject
*resultobj
= 0;
9871 wxWindow
*arg1
= (wxWindow
*) 0 ;
9872 int arg2
= (int) -1 ;
9873 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9874 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9875 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9876 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9877 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
9878 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
9879 long arg6
= (long) 0 ;
9880 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9881 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9882 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
9883 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9884 wxCheckListBox
*result
= 0 ;
9891 bool temp5
= false ;
9896 bool temp8
= false ;
9897 PyObject
* obj0
= 0 ;
9898 PyObject
* obj1
= 0 ;
9899 PyObject
* obj2
= 0 ;
9900 PyObject
* obj3
= 0 ;
9901 PyObject
* obj4
= 0 ;
9902 PyObject
* obj5
= 0 ;
9903 PyObject
* obj6
= 0 ;
9904 PyObject
* obj7
= 0 ;
9905 char * kwnames
[] = {
9906 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
9910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9911 if (!SWIG_IsOK(res1
)) {
9912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
9914 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9916 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9917 if (!SWIG_IsOK(ecode2
)) {
9918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
9920 arg2
= static_cast< int >(val2
);
9925 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9931 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9936 if (! PySequence_Check(obj4
)) {
9937 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9940 arg5
= new wxArrayString
;
9942 int i
, len
=PySequence_Length(obj4
);
9943 for (i
=0; i
<len
; i
++) {
9944 PyObject
* item
= PySequence_GetItem(obj4
, i
);
9945 wxString
* s
= wxString_in_helper(item
);
9946 if (PyErr_Occurred()) SWIG_fail
;
9954 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9955 if (!SWIG_IsOK(ecode6
)) {
9956 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
9958 arg6
= static_cast< long >(val6
);
9961 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
9962 if (!SWIG_IsOK(res7
)) {
9963 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
9966 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
9968 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
9972 arg8
= wxString_in_helper(obj7
);
9973 if (arg8
== NULL
) SWIG_fail
;
9978 if (!wxPyCheckForApp()) SWIG_fail
;
9979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9980 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9981 wxPyEndAllowThreads(__tstate
);
9982 if (PyErr_Occurred()) SWIG_fail
;
9984 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
9986 if (temp5
) delete arg5
;
9995 if (temp5
) delete arg5
;
10005 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10006 PyObject
*resultobj
= 0;
10007 wxCheckListBox
*result
= 0 ;
10009 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10011 if (!wxPyCheckForApp()) SWIG_fail
;
10012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10013 result
= (wxCheckListBox
*)new wxCheckListBox();
10014 wxPyEndAllowThreads(__tstate
);
10015 if (PyErr_Occurred()) SWIG_fail
;
10017 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10024 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10025 PyObject
*resultobj
= 0;
10026 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10027 wxWindow
*arg2
= (wxWindow
*) 0 ;
10028 int arg3
= (int) -1 ;
10029 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10030 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10031 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10032 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10033 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10034 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10035 long arg7
= (long) 0 ;
10036 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10037 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10038 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10039 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10049 bool temp6
= false ;
10054 bool temp9
= false ;
10055 PyObject
* obj0
= 0 ;
10056 PyObject
* obj1
= 0 ;
10057 PyObject
* obj2
= 0 ;
10058 PyObject
* obj3
= 0 ;
10059 PyObject
* obj4
= 0 ;
10060 PyObject
* obj5
= 0 ;
10061 PyObject
* obj6
= 0 ;
10062 PyObject
* obj7
= 0 ;
10063 PyObject
* obj8
= 0 ;
10064 char * kwnames
[] = {
10065 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10070 if (!SWIG_IsOK(res1
)) {
10071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10073 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10074 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10075 if (!SWIG_IsOK(res2
)) {
10076 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10078 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10080 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10081 if (!SWIG_IsOK(ecode3
)) {
10082 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10084 arg3
= static_cast< int >(val3
);
10089 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10095 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10100 if (! PySequence_Check(obj5
)) {
10101 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10104 arg6
= new wxArrayString
;
10106 int i
, len
=PySequence_Length(obj5
);
10107 for (i
=0; i
<len
; i
++) {
10108 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10109 wxString
* s
= wxString_in_helper(item
);
10110 if (PyErr_Occurred()) SWIG_fail
;
10118 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10119 if (!SWIG_IsOK(ecode7
)) {
10120 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10122 arg7
= static_cast< long >(val7
);
10125 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10126 if (!SWIG_IsOK(res8
)) {
10127 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10130 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10132 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10136 arg9
= wxString_in_helper(obj8
);
10137 if (arg9
== NULL
) SWIG_fail
;
10142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10143 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10144 wxPyEndAllowThreads(__tstate
);
10145 if (PyErr_Occurred()) SWIG_fail
;
10148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10151 if (temp6
) delete arg6
;
10160 if (temp6
) delete arg6
;
10170 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10171 PyObject
*resultobj
= 0;
10172 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10179 PyObject
* obj0
= 0 ;
10180 PyObject
* obj1
= 0 ;
10181 char * kwnames
[] = {
10182 (char *) "self",(char *) "index", NULL
10185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10187 if (!SWIG_IsOK(res1
)) {
10188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10190 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10191 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10192 if (!SWIG_IsOK(ecode2
)) {
10193 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "int""'");
10195 arg2
= static_cast< int >(val2
);
10197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10198 result
= (bool)(arg1
)->IsChecked(arg2
);
10199 wxPyEndAllowThreads(__tstate
);
10200 if (PyErr_Occurred()) SWIG_fail
;
10203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10211 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10212 PyObject
*resultobj
= 0;
10213 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10215 int arg3
= (int) true ;
10222 PyObject
* obj0
= 0 ;
10223 PyObject
* obj1
= 0 ;
10224 PyObject
* obj2
= 0 ;
10225 char * kwnames
[] = {
10226 (char *) "self",(char *) "index",(char *) "check", NULL
10229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10231 if (!SWIG_IsOK(res1
)) {
10232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10234 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10235 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10236 if (!SWIG_IsOK(ecode2
)) {
10237 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "int""'");
10239 arg2
= static_cast< int >(val2
);
10241 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10242 if (!SWIG_IsOK(ecode3
)) {
10243 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10245 arg3
= static_cast< int >(val3
);
10248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10249 (arg1
)->Check(arg2
,arg3
);
10250 wxPyEndAllowThreads(__tstate
);
10251 if (PyErr_Occurred()) SWIG_fail
;
10253 resultobj
= SWIG_Py_Void();
10260 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10262 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10263 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10264 return SWIG_Py_Void();
10267 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10268 return SWIG_Python_InitShadowInstance(args
);
10271 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10272 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10277 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10278 PyObject
*pyobj
= 0;
10282 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10284 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10291 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10292 PyObject
*resultobj
= 0;
10293 wxColour
const &arg1_defvalue
= wxNullColour
;
10294 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10295 wxColour
const &arg2_defvalue
= wxNullColour
;
10296 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10297 wxFont
const &arg3_defvalue
= wxNullFont
;
10298 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10299 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10300 wxTextAttr
*result
= 0 ;
10307 PyObject
* obj0
= 0 ;
10308 PyObject
* obj1
= 0 ;
10309 PyObject
* obj2
= 0 ;
10310 PyObject
* obj3
= 0 ;
10311 char * kwnames
[] = {
10312 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10319 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10325 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10329 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10330 if (!SWIG_IsOK(res3
)) {
10331 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10334 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10336 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10339 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10340 if (!SWIG_IsOK(ecode4
)) {
10341 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10343 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10347 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10348 wxPyEndAllowThreads(__tstate
);
10349 if (PyErr_Occurred()) SWIG_fail
;
10351 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10358 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10359 PyObject
*resultobj
= 0;
10360 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10363 PyObject
*swig_obj
[1] ;
10365 if (!args
) SWIG_fail
;
10366 swig_obj
[0] = args
;
10367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10368 if (!SWIG_IsOK(res1
)) {
10369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10371 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10376 wxPyEndAllowThreads(__tstate
);
10377 if (PyErr_Occurred()) SWIG_fail
;
10379 resultobj
= SWIG_Py_Void();
10386 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10387 PyObject
*resultobj
= 0;
10388 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10391 PyObject
*swig_obj
[1] ;
10393 if (!args
) SWIG_fail
;
10394 swig_obj
[0] = args
;
10395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10396 if (!SWIG_IsOK(res1
)) {
10397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10399 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10403 wxPyEndAllowThreads(__tstate
);
10404 if (PyErr_Occurred()) SWIG_fail
;
10406 resultobj
= SWIG_Py_Void();
10413 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10414 PyObject
*resultobj
= 0;
10415 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10416 wxColour
*arg2
= 0 ;
10420 PyObject
* obj0
= 0 ;
10421 PyObject
* obj1
= 0 ;
10422 char * kwnames
[] = {
10423 (char *) "self",(char *) "colText", NULL
10426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10428 if (!SWIG_IsOK(res1
)) {
10429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10431 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10434 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10438 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10439 wxPyEndAllowThreads(__tstate
);
10440 if (PyErr_Occurred()) SWIG_fail
;
10442 resultobj
= SWIG_Py_Void();
10449 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10450 PyObject
*resultobj
= 0;
10451 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10452 wxColour
*arg2
= 0 ;
10456 PyObject
* obj0
= 0 ;
10457 PyObject
* obj1
= 0 ;
10458 char * kwnames
[] = {
10459 (char *) "self",(char *) "colBack", NULL
10462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10464 if (!SWIG_IsOK(res1
)) {
10465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10467 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10470 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10474 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10475 wxPyEndAllowThreads(__tstate
);
10476 if (PyErr_Occurred()) SWIG_fail
;
10478 resultobj
= SWIG_Py_Void();
10485 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10486 PyObject
*resultobj
= 0;
10487 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10489 long arg3
= (long) wxTEXT_ATTR_FONT
;
10496 PyObject
* obj0
= 0 ;
10497 PyObject
* obj1
= 0 ;
10498 PyObject
* obj2
= 0 ;
10499 char * kwnames
[] = {
10500 (char *) "self",(char *) "font",(char *) "flags", NULL
10503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10505 if (!SWIG_IsOK(res1
)) {
10506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10508 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10509 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10510 if (!SWIG_IsOK(res2
)) {
10511 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10514 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10516 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10518 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10519 if (!SWIG_IsOK(ecode3
)) {
10520 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10522 arg3
= static_cast< long >(val3
);
10525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10526 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10527 wxPyEndAllowThreads(__tstate
);
10528 if (PyErr_Occurred()) SWIG_fail
;
10530 resultobj
= SWIG_Py_Void();
10537 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10538 PyObject
*resultobj
= 0;
10539 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10540 wxTextAttrAlignment arg2
;
10545 PyObject
* obj0
= 0 ;
10546 PyObject
* obj1
= 0 ;
10547 char * kwnames
[] = {
10548 (char *) "self",(char *) "alignment", NULL
10551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10553 if (!SWIG_IsOK(res1
)) {
10554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10556 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10557 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10558 if (!SWIG_IsOK(ecode2
)) {
10559 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10561 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10564 (arg1
)->SetAlignment(arg2
);
10565 wxPyEndAllowThreads(__tstate
);
10566 if (PyErr_Occurred()) SWIG_fail
;
10568 resultobj
= SWIG_Py_Void();
10575 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10576 PyObject
*resultobj
= 0;
10577 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10578 wxArrayInt
*arg2
= 0 ;
10581 bool temp2
= false ;
10582 PyObject
* obj0
= 0 ;
10583 PyObject
* obj1
= 0 ;
10584 char * kwnames
[] = {
10585 (char *) "self",(char *) "tabs", NULL
10588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10590 if (!SWIG_IsOK(res1
)) {
10591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10593 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10595 if (! PySequence_Check(obj1
)) {
10596 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10599 arg2
= new wxArrayInt
;
10601 int i
, len
=PySequence_Length(obj1
);
10602 for (i
=0; i
<len
; i
++) {
10603 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10604 PyObject
* number
= PyNumber_Int(item
);
10605 arg2
->Add(PyInt_AS_LONG(number
));
10611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10612 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10613 wxPyEndAllowThreads(__tstate
);
10614 if (PyErr_Occurred()) SWIG_fail
;
10616 resultobj
= SWIG_Py_Void();
10618 if (temp2
) delete arg2
;
10623 if (temp2
) delete arg2
;
10629 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10630 PyObject
*resultobj
= 0;
10631 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10633 int arg3
= (int) 0 ;
10640 PyObject
* obj0
= 0 ;
10641 PyObject
* obj1
= 0 ;
10642 PyObject
* obj2
= 0 ;
10643 char * kwnames
[] = {
10644 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10649 if (!SWIG_IsOK(res1
)) {
10650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10652 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10653 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10654 if (!SWIG_IsOK(ecode2
)) {
10655 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10657 arg2
= static_cast< int >(val2
);
10659 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10660 if (!SWIG_IsOK(ecode3
)) {
10661 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10663 arg3
= static_cast< int >(val3
);
10666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10667 (arg1
)->SetLeftIndent(arg2
,arg3
);
10668 wxPyEndAllowThreads(__tstate
);
10669 if (PyErr_Occurred()) SWIG_fail
;
10671 resultobj
= SWIG_Py_Void();
10678 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10679 PyObject
*resultobj
= 0;
10680 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10686 PyObject
* obj0
= 0 ;
10687 PyObject
* obj1
= 0 ;
10688 char * kwnames
[] = {
10689 (char *) "self",(char *) "indent", NULL
10692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10694 if (!SWIG_IsOK(res1
)) {
10695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10697 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10698 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10699 if (!SWIG_IsOK(ecode2
)) {
10700 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10702 arg2
= static_cast< int >(val2
);
10704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10705 (arg1
)->SetRightIndent(arg2
);
10706 wxPyEndAllowThreads(__tstate
);
10707 if (PyErr_Occurred()) SWIG_fail
;
10709 resultobj
= SWIG_Py_Void();
10716 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10717 PyObject
*resultobj
= 0;
10718 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10724 PyObject
* obj0
= 0 ;
10725 PyObject
* obj1
= 0 ;
10726 char * kwnames
[] = {
10727 (char *) "self",(char *) "flags", NULL
10730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10732 if (!SWIG_IsOK(res1
)) {
10733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10735 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10736 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10737 if (!SWIG_IsOK(ecode2
)) {
10738 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10740 arg2
= static_cast< long >(val2
);
10742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10743 (arg1
)->SetFlags(arg2
);
10744 wxPyEndAllowThreads(__tstate
);
10745 if (PyErr_Occurred()) SWIG_fail
;
10747 resultobj
= SWIG_Py_Void();
10754 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10755 PyObject
*resultobj
= 0;
10756 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10760 PyObject
*swig_obj
[1] ;
10762 if (!args
) SWIG_fail
;
10763 swig_obj
[0] = args
;
10764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10765 if (!SWIG_IsOK(res1
)) {
10766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10768 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10771 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
10772 wxPyEndAllowThreads(__tstate
);
10773 if (PyErr_Occurred()) SWIG_fail
;
10776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10784 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10785 PyObject
*resultobj
= 0;
10786 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10790 PyObject
*swig_obj
[1] ;
10792 if (!args
) SWIG_fail
;
10793 swig_obj
[0] = args
;
10794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10795 if (!SWIG_IsOK(res1
)) {
10796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10798 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10801 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
10802 wxPyEndAllowThreads(__tstate
);
10803 if (PyErr_Occurred()) SWIG_fail
;
10806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10814 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10815 PyObject
*resultobj
= 0;
10816 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10820 PyObject
*swig_obj
[1] ;
10822 if (!args
) SWIG_fail
;
10823 swig_obj
[0] = args
;
10824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10825 if (!SWIG_IsOK(res1
)) {
10826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10828 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10831 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
10832 wxPyEndAllowThreads(__tstate
);
10833 if (PyErr_Occurred()) SWIG_fail
;
10836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10844 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10845 PyObject
*resultobj
= 0;
10846 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10850 PyObject
*swig_obj
[1] ;
10852 if (!args
) SWIG_fail
;
10853 swig_obj
[0] = args
;
10854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10855 if (!SWIG_IsOK(res1
)) {
10856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10858 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10861 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
10862 wxPyEndAllowThreads(__tstate
);
10863 if (PyErr_Occurred()) SWIG_fail
;
10866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10874 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10875 PyObject
*resultobj
= 0;
10876 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10880 PyObject
*swig_obj
[1] ;
10882 if (!args
) SWIG_fail
;
10883 swig_obj
[0] = args
;
10884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10885 if (!SWIG_IsOK(res1
)) {
10886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10888 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10891 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
10892 wxPyEndAllowThreads(__tstate
);
10893 if (PyErr_Occurred()) SWIG_fail
;
10896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10904 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10905 PyObject
*resultobj
= 0;
10906 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10910 PyObject
*swig_obj
[1] ;
10912 if (!args
) SWIG_fail
;
10913 swig_obj
[0] = args
;
10914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10915 if (!SWIG_IsOK(res1
)) {
10916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10918 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10921 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
10922 wxPyEndAllowThreads(__tstate
);
10923 if (PyErr_Occurred()) SWIG_fail
;
10926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10934 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10935 PyObject
*resultobj
= 0;
10936 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10940 PyObject
*swig_obj
[1] ;
10942 if (!args
) SWIG_fail
;
10943 swig_obj
[0] = args
;
10944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10945 if (!SWIG_IsOK(res1
)) {
10946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10948 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10951 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
10952 wxPyEndAllowThreads(__tstate
);
10953 if (PyErr_Occurred()) SWIG_fail
;
10956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10964 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10965 PyObject
*resultobj
= 0;
10966 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10973 PyObject
* obj0
= 0 ;
10974 PyObject
* obj1
= 0 ;
10975 char * kwnames
[] = {
10976 (char *) "self",(char *) "flag", NULL
10979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10981 if (!SWIG_IsOK(res1
)) {
10982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10984 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10985 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10986 if (!SWIG_IsOK(ecode2
)) {
10987 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
10989 arg2
= static_cast< long >(val2
);
10991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10992 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
10993 wxPyEndAllowThreads(__tstate
);
10994 if (PyErr_Occurred()) SWIG_fail
;
10997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11005 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11006 PyObject
*resultobj
= 0;
11007 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11008 wxColour
*result
= 0 ;
11011 PyObject
*swig_obj
[1] ;
11013 if (!args
) SWIG_fail
;
11014 swig_obj
[0] = args
;
11015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11016 if (!SWIG_IsOK(res1
)) {
11017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11019 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11023 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11024 result
= (wxColour
*) &_result_ref
;
11026 wxPyEndAllowThreads(__tstate
);
11027 if (PyErr_Occurred()) SWIG_fail
;
11029 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11036 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11037 PyObject
*resultobj
= 0;
11038 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11039 wxColour
*result
= 0 ;
11042 PyObject
*swig_obj
[1] ;
11044 if (!args
) SWIG_fail
;
11045 swig_obj
[0] = args
;
11046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11047 if (!SWIG_IsOK(res1
)) {
11048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11050 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11054 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11055 result
= (wxColour
*) &_result_ref
;
11057 wxPyEndAllowThreads(__tstate
);
11058 if (PyErr_Occurred()) SWIG_fail
;
11060 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11067 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11068 PyObject
*resultobj
= 0;
11069 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11070 wxFont
*result
= 0 ;
11073 PyObject
*swig_obj
[1] ;
11075 if (!args
) SWIG_fail
;
11076 swig_obj
[0] = args
;
11077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11078 if (!SWIG_IsOK(res1
)) {
11079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11081 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11085 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11086 result
= (wxFont
*) &_result_ref
;
11088 wxPyEndAllowThreads(__tstate
);
11089 if (PyErr_Occurred()) SWIG_fail
;
11092 wxFont
* resultptr
= new wxFont(*result
);
11093 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11101 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11102 PyObject
*resultobj
= 0;
11103 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11104 wxTextAttrAlignment result
;
11107 PyObject
*swig_obj
[1] ;
11109 if (!args
) SWIG_fail
;
11110 swig_obj
[0] = args
;
11111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11112 if (!SWIG_IsOK(res1
)) {
11113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11115 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11118 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11119 wxPyEndAllowThreads(__tstate
);
11120 if (PyErr_Occurred()) SWIG_fail
;
11122 resultobj
= SWIG_From_int(static_cast< int >(result
));
11129 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11130 PyObject
*resultobj
= 0;
11131 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11132 wxArrayInt
*result
= 0 ;
11135 PyObject
*swig_obj
[1] ;
11137 if (!args
) SWIG_fail
;
11138 swig_obj
[0] = args
;
11139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11140 if (!SWIG_IsOK(res1
)) {
11141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11143 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11147 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11148 result
= (wxArrayInt
*) &_result_ref
;
11150 wxPyEndAllowThreads(__tstate
);
11151 if (PyErr_Occurred()) SWIG_fail
;
11154 resultobj
= PyList_New(0);
11156 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
11157 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
11158 PyList_Append(resultobj
, val
);
11168 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11169 PyObject
*resultobj
= 0;
11170 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11174 PyObject
*swig_obj
[1] ;
11176 if (!args
) SWIG_fail
;
11177 swig_obj
[0] = args
;
11178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11179 if (!SWIG_IsOK(res1
)) {
11180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11182 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11185 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11186 wxPyEndAllowThreads(__tstate
);
11187 if (PyErr_Occurred()) SWIG_fail
;
11189 resultobj
= SWIG_From_long(static_cast< long >(result
));
11196 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11197 PyObject
*resultobj
= 0;
11198 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11202 PyObject
*swig_obj
[1] ;
11204 if (!args
) SWIG_fail
;
11205 swig_obj
[0] = args
;
11206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11207 if (!SWIG_IsOK(res1
)) {
11208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11210 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11213 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11214 wxPyEndAllowThreads(__tstate
);
11215 if (PyErr_Occurred()) SWIG_fail
;
11217 resultobj
= SWIG_From_long(static_cast< long >(result
));
11224 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11225 PyObject
*resultobj
= 0;
11226 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11230 PyObject
*swig_obj
[1] ;
11232 if (!args
) SWIG_fail
;
11233 swig_obj
[0] = args
;
11234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11235 if (!SWIG_IsOK(res1
)) {
11236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11238 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11241 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11242 wxPyEndAllowThreads(__tstate
);
11243 if (PyErr_Occurred()) SWIG_fail
;
11245 resultobj
= SWIG_From_long(static_cast< long >(result
));
11252 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11253 PyObject
*resultobj
= 0;
11254 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11258 PyObject
*swig_obj
[1] ;
11260 if (!args
) SWIG_fail
;
11261 swig_obj
[0] = args
;
11262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11263 if (!SWIG_IsOK(res1
)) {
11264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11266 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11269 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11270 wxPyEndAllowThreads(__tstate
);
11271 if (PyErr_Occurred()) SWIG_fail
;
11273 resultobj
= SWIG_From_long(static_cast< long >(result
));
11280 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11281 PyObject
*resultobj
= 0;
11282 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11286 PyObject
*swig_obj
[1] ;
11288 if (!args
) SWIG_fail
;
11289 swig_obj
[0] = args
;
11290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11291 if (!SWIG_IsOK(res1
)) {
11292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11294 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11297 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11298 wxPyEndAllowThreads(__tstate
);
11299 if (PyErr_Occurred()) SWIG_fail
;
11302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11310 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11311 PyObject
*resultobj
= 0;
11312 wxTextAttr
*arg1
= 0 ;
11313 wxTextAttr
*arg2
= 0 ;
11314 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11322 PyObject
* obj0
= 0 ;
11323 PyObject
* obj1
= 0 ;
11324 PyObject
* obj2
= 0 ;
11325 char * kwnames
[] = {
11326 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11330 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11331 if (!SWIG_IsOK(res1
)) {
11332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11335 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11337 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11338 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11339 if (!SWIG_IsOK(res2
)) {
11340 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11343 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11345 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11346 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11347 if (!SWIG_IsOK(res3
)) {
11348 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11350 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11353 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11354 wxPyEndAllowThreads(__tstate
);
11355 if (PyErr_Occurred()) SWIG_fail
;
11357 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11364 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11366 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11367 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11368 return SWIG_Py_Void();
11371 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11372 return SWIG_Python_InitShadowInstance(args
);
11375 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11376 PyObject
*resultobj
= 0;
11377 wxWindow
*arg1
= (wxWindow
*) 0 ;
11378 int arg2
= (int) -1 ;
11379 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11380 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11381 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11382 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11383 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11384 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11385 long arg6
= (long) 0 ;
11386 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11387 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11388 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11389 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11390 wxTextCtrl
*result
= 0 ;
11395 bool temp3
= false ;
11402 bool temp8
= false ;
11403 PyObject
* obj0
= 0 ;
11404 PyObject
* obj1
= 0 ;
11405 PyObject
* obj2
= 0 ;
11406 PyObject
* obj3
= 0 ;
11407 PyObject
* obj4
= 0 ;
11408 PyObject
* obj5
= 0 ;
11409 PyObject
* obj6
= 0 ;
11410 PyObject
* obj7
= 0 ;
11411 char * kwnames
[] = {
11412 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11417 if (!SWIG_IsOK(res1
)) {
11418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11420 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11422 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11423 if (!SWIG_IsOK(ecode2
)) {
11424 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11426 arg2
= static_cast< int >(val2
);
11430 arg3
= wxString_in_helper(obj2
);
11431 if (arg3
== NULL
) SWIG_fail
;
11438 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11444 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11448 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11449 if (!SWIG_IsOK(ecode6
)) {
11450 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11452 arg6
= static_cast< long >(val6
);
11455 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11456 if (!SWIG_IsOK(res7
)) {
11457 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11460 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11462 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11466 arg8
= wxString_in_helper(obj7
);
11467 if (arg8
== NULL
) SWIG_fail
;
11472 if (!wxPyCheckForApp()) SWIG_fail
;
11473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11474 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11475 wxPyEndAllowThreads(__tstate
);
11476 if (PyErr_Occurred()) SWIG_fail
;
11478 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11501 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11502 PyObject
*resultobj
= 0;
11503 wxTextCtrl
*result
= 0 ;
11505 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11507 if (!wxPyCheckForApp()) SWIG_fail
;
11508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11509 result
= (wxTextCtrl
*)new wxTextCtrl();
11510 wxPyEndAllowThreads(__tstate
);
11511 if (PyErr_Occurred()) SWIG_fail
;
11513 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11520 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11521 PyObject
*resultobj
= 0;
11522 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11523 wxWindow
*arg2
= (wxWindow
*) 0 ;
11524 int arg3
= (int) -1 ;
11525 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11526 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11527 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11528 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11529 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11530 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11531 long arg7
= (long) 0 ;
11532 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11533 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11534 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11535 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11543 bool temp4
= false ;
11550 bool temp9
= false ;
11551 PyObject
* obj0
= 0 ;
11552 PyObject
* obj1
= 0 ;
11553 PyObject
* obj2
= 0 ;
11554 PyObject
* obj3
= 0 ;
11555 PyObject
* obj4
= 0 ;
11556 PyObject
* obj5
= 0 ;
11557 PyObject
* obj6
= 0 ;
11558 PyObject
* obj7
= 0 ;
11559 PyObject
* obj8
= 0 ;
11560 char * kwnames
[] = {
11561 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11566 if (!SWIG_IsOK(res1
)) {
11567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11569 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11570 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11571 if (!SWIG_IsOK(res2
)) {
11572 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11574 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11576 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11577 if (!SWIG_IsOK(ecode3
)) {
11578 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11580 arg3
= static_cast< int >(val3
);
11584 arg4
= wxString_in_helper(obj3
);
11585 if (arg4
== NULL
) SWIG_fail
;
11592 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11598 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11602 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11603 if (!SWIG_IsOK(ecode7
)) {
11604 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11606 arg7
= static_cast< long >(val7
);
11609 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11610 if (!SWIG_IsOK(res8
)) {
11611 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11614 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11616 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11620 arg9
= wxString_in_helper(obj8
);
11621 if (arg9
== NULL
) SWIG_fail
;
11626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11627 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11628 wxPyEndAllowThreads(__tstate
);
11629 if (PyErr_Occurred()) SWIG_fail
;
11632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11656 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11657 PyObject
*resultobj
= 0;
11658 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11662 PyObject
*swig_obj
[1] ;
11664 if (!args
) SWIG_fail
;
11665 swig_obj
[0] = args
;
11666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11667 if (!SWIG_IsOK(res1
)) {
11668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11670 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11673 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11674 wxPyEndAllowThreads(__tstate
);
11675 if (PyErr_Occurred()) SWIG_fail
;
11679 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11681 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11690 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11691 PyObject
*resultobj
= 0;
11692 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11693 wxString
*arg2
= 0 ;
11696 bool temp2
= false ;
11697 PyObject
* obj0
= 0 ;
11698 PyObject
* obj1
= 0 ;
11699 char * kwnames
[] = {
11700 (char *) "self",(char *) "value", NULL
11703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11705 if (!SWIG_IsOK(res1
)) {
11706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11708 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11710 arg2
= wxString_in_helper(obj1
);
11711 if (arg2
== NULL
) SWIG_fail
;
11715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11716 (arg1
)->SetValue((wxString
const &)*arg2
);
11717 wxPyEndAllowThreads(__tstate
);
11718 if (PyErr_Occurred()) SWIG_fail
;
11720 resultobj
= SWIG_Py_Void();
11735 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11736 PyObject
*resultobj
= 0;
11737 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11747 PyObject
* obj0
= 0 ;
11748 PyObject
* obj1
= 0 ;
11749 PyObject
* obj2
= 0 ;
11750 char * kwnames
[] = {
11751 (char *) "self",(char *) "_from",(char *) "to", NULL
11754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11756 if (!SWIG_IsOK(res1
)) {
11757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11759 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11760 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11761 if (!SWIG_IsOK(ecode2
)) {
11762 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
11764 arg2
= static_cast< long >(val2
);
11765 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
11766 if (!SWIG_IsOK(ecode3
)) {
11767 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
11769 arg3
= static_cast< long >(val3
);
11771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11772 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
11773 wxPyEndAllowThreads(__tstate
);
11774 if (PyErr_Occurred()) SWIG_fail
;
11778 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11780 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11789 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11790 PyObject
*resultobj
= 0;
11791 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11798 PyObject
* obj0
= 0 ;
11799 PyObject
* obj1
= 0 ;
11800 char * kwnames
[] = {
11801 (char *) "self",(char *) "lineNo", NULL
11804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11806 if (!SWIG_IsOK(res1
)) {
11807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11809 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11810 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11811 if (!SWIG_IsOK(ecode2
)) {
11812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
11814 arg2
= static_cast< long >(val2
);
11816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11817 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
11818 wxPyEndAllowThreads(__tstate
);
11819 if (PyErr_Occurred()) SWIG_fail
;
11821 resultobj
= SWIG_From_int(static_cast< int >(result
));
11828 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11829 PyObject
*resultobj
= 0;
11830 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11837 PyObject
* obj0
= 0 ;
11838 PyObject
* obj1
= 0 ;
11839 char * kwnames
[] = {
11840 (char *) "self",(char *) "lineNo", NULL
11843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11845 if (!SWIG_IsOK(res1
)) {
11846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11848 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11849 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11850 if (!SWIG_IsOK(ecode2
)) {
11851 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
11853 arg2
= static_cast< long >(val2
);
11855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11856 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
11857 wxPyEndAllowThreads(__tstate
);
11858 if (PyErr_Occurred()) SWIG_fail
;
11862 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11864 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11873 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11874 PyObject
*resultobj
= 0;
11875 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11879 PyObject
*swig_obj
[1] ;
11881 if (!args
) SWIG_fail
;
11882 swig_obj
[0] = args
;
11883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11884 if (!SWIG_IsOK(res1
)) {
11885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11887 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11890 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
11891 wxPyEndAllowThreads(__tstate
);
11892 if (PyErr_Occurred()) SWIG_fail
;
11894 resultobj
= SWIG_From_int(static_cast< int >(result
));
11901 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11902 PyObject
*resultobj
= 0;
11903 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11907 PyObject
*swig_obj
[1] ;
11909 if (!args
) SWIG_fail
;
11910 swig_obj
[0] = args
;
11911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11912 if (!SWIG_IsOK(res1
)) {
11913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11915 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11918 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
11919 wxPyEndAllowThreads(__tstate
);
11920 if (PyErr_Occurred()) SWIG_fail
;
11923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11931 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11932 PyObject
*resultobj
= 0;
11933 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11937 PyObject
*swig_obj
[1] ;
11939 if (!args
) SWIG_fail
;
11940 swig_obj
[0] = args
;
11941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11942 if (!SWIG_IsOK(res1
)) {
11943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11945 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11948 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
11949 wxPyEndAllowThreads(__tstate
);
11950 if (PyErr_Occurred()) SWIG_fail
;
11953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11961 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11962 PyObject
*resultobj
= 0;
11963 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11967 PyObject
*swig_obj
[1] ;
11969 if (!args
) SWIG_fail
;
11970 swig_obj
[0] = args
;
11971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11972 if (!SWIG_IsOK(res1
)) {
11973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11975 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11978 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
11979 wxPyEndAllowThreads(__tstate
);
11980 if (PyErr_Occurred()) SWIG_fail
;
11983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11991 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11992 PyObject
*resultobj
= 0;
11993 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11997 PyObject
*swig_obj
[1] ;
11999 if (!args
) SWIG_fail
;
12000 swig_obj
[0] = args
;
12001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12002 if (!SWIG_IsOK(res1
)) {
12003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12005 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12008 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12009 wxPyEndAllowThreads(__tstate
);
12010 if (PyErr_Occurred()) SWIG_fail
;
12013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12021 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12022 PyObject
*resultobj
= 0;
12023 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12024 long *arg2
= (long *) 0 ;
12025 long *arg3
= (long *) 0 ;
12029 int res2
= SWIG_TMPOBJ
;
12031 int res3
= SWIG_TMPOBJ
;
12032 PyObject
*swig_obj
[1] ;
12036 if (!args
) SWIG_fail
;
12037 swig_obj
[0] = args
;
12038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12039 if (!SWIG_IsOK(res1
)) {
12040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12042 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12045 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12046 wxPyEndAllowThreads(__tstate
);
12047 if (PyErr_Occurred()) SWIG_fail
;
12049 resultobj
= SWIG_Py_Void();
12050 if (SWIG_IsTmpObj(res2
)) {
12051 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12053 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12054 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12056 if (SWIG_IsTmpObj(res3
)) {
12057 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12059 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12060 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12068 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12069 PyObject
*resultobj
= 0;
12070 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12074 PyObject
*swig_obj
[1] ;
12076 if (!args
) SWIG_fail
;
12077 swig_obj
[0] = args
;
12078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12079 if (!SWIG_IsOK(res1
)) {
12080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12082 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12085 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12086 wxPyEndAllowThreads(__tstate
);
12087 if (PyErr_Occurred()) SWIG_fail
;
12091 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12093 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12102 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12103 PyObject
*resultobj
= 0;
12104 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12107 PyObject
*swig_obj
[1] ;
12109 if (!args
) SWIG_fail
;
12110 swig_obj
[0] = args
;
12111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12112 if (!SWIG_IsOK(res1
)) {
12113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12115 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12119 wxPyEndAllowThreads(__tstate
);
12120 if (PyErr_Occurred()) SWIG_fail
;
12122 resultobj
= SWIG_Py_Void();
12129 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12130 PyObject
*resultobj
= 0;
12131 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12134 wxString
*arg4
= 0 ;
12141 bool temp4
= false ;
12142 PyObject
* obj0
= 0 ;
12143 PyObject
* obj1
= 0 ;
12144 PyObject
* obj2
= 0 ;
12145 PyObject
* obj3
= 0 ;
12146 char * kwnames
[] = {
12147 (char *) "self",(char *) "_from",(char *) "to",(char *) "value", NULL
12150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12152 if (!SWIG_IsOK(res1
)) {
12153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12155 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12156 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12157 if (!SWIG_IsOK(ecode2
)) {
12158 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12160 arg2
= static_cast< long >(val2
);
12161 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12162 if (!SWIG_IsOK(ecode3
)) {
12163 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12165 arg3
= static_cast< long >(val3
);
12167 arg4
= wxString_in_helper(obj3
);
12168 if (arg4
== NULL
) SWIG_fail
;
12172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12173 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12174 wxPyEndAllowThreads(__tstate
);
12175 if (PyErr_Occurred()) SWIG_fail
;
12177 resultobj
= SWIG_Py_Void();
12192 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12193 PyObject
*resultobj
= 0;
12194 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12203 PyObject
* obj0
= 0 ;
12204 PyObject
* obj1
= 0 ;
12205 PyObject
* obj2
= 0 ;
12206 char * kwnames
[] = {
12207 (char *) "self",(char *) "_from",(char *) "to", NULL
12210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12212 if (!SWIG_IsOK(res1
)) {
12213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12215 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12216 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12217 if (!SWIG_IsOK(ecode2
)) {
12218 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12220 arg2
= static_cast< long >(val2
);
12221 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12222 if (!SWIG_IsOK(ecode3
)) {
12223 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12225 arg3
= static_cast< long >(val3
);
12227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12228 (arg1
)->Remove(arg2
,arg3
);
12229 wxPyEndAllowThreads(__tstate
);
12230 if (PyErr_Occurred()) SWIG_fail
;
12232 resultobj
= SWIG_Py_Void();
12239 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12240 PyObject
*resultobj
= 0;
12241 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12242 wxString
*arg2
= 0 ;
12246 bool temp2
= false ;
12247 PyObject
* obj0
= 0 ;
12248 PyObject
* obj1
= 0 ;
12249 char * kwnames
[] = {
12250 (char *) "self",(char *) "file", NULL
12253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12255 if (!SWIG_IsOK(res1
)) {
12256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12258 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12260 arg2
= wxString_in_helper(obj1
);
12261 if (arg2
== NULL
) SWIG_fail
;
12265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12266 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
12267 wxPyEndAllowThreads(__tstate
);
12268 if (PyErr_Occurred()) SWIG_fail
;
12271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12287 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12288 PyObject
*resultobj
= 0;
12289 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12290 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12291 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12295 bool temp2
= false ;
12296 PyObject
* obj0
= 0 ;
12297 PyObject
* obj1
= 0 ;
12298 char * kwnames
[] = {
12299 (char *) "self",(char *) "file", NULL
12302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12304 if (!SWIG_IsOK(res1
)) {
12305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12307 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12310 arg2
= wxString_in_helper(obj1
);
12311 if (arg2
== NULL
) SWIG_fail
;
12316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12317 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
12318 wxPyEndAllowThreads(__tstate
);
12319 if (PyErr_Occurred()) SWIG_fail
;
12322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12338 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12339 PyObject
*resultobj
= 0;
12340 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12343 PyObject
*swig_obj
[1] ;
12345 if (!args
) SWIG_fail
;
12346 swig_obj
[0] = args
;
12347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12348 if (!SWIG_IsOK(res1
)) {
12349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12351 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12354 (arg1
)->MarkDirty();
12355 wxPyEndAllowThreads(__tstate
);
12356 if (PyErr_Occurred()) SWIG_fail
;
12358 resultobj
= SWIG_Py_Void();
12365 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12366 PyObject
*resultobj
= 0;
12367 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12370 PyObject
*swig_obj
[1] ;
12372 if (!args
) SWIG_fail
;
12373 swig_obj
[0] = args
;
12374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12375 if (!SWIG_IsOK(res1
)) {
12376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12378 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12381 (arg1
)->DiscardEdits();
12382 wxPyEndAllowThreads(__tstate
);
12383 if (PyErr_Occurred()) SWIG_fail
;
12385 resultobj
= SWIG_Py_Void();
12392 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12393 PyObject
*resultobj
= 0;
12394 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12395 unsigned long arg2
;
12398 unsigned long val2
;
12400 PyObject
* obj0
= 0 ;
12401 PyObject
* obj1
= 0 ;
12402 char * kwnames
[] = {
12403 (char *) "self",(char *) "len", NULL
12406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12408 if (!SWIG_IsOK(res1
)) {
12409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12411 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12412 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12413 if (!SWIG_IsOK(ecode2
)) {
12414 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12416 arg2
= static_cast< unsigned long >(val2
);
12418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12419 (arg1
)->SetMaxLength(arg2
);
12420 wxPyEndAllowThreads(__tstate
);
12421 if (PyErr_Occurred()) SWIG_fail
;
12423 resultobj
= SWIG_Py_Void();
12430 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12431 PyObject
*resultobj
= 0;
12432 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12433 wxString
*arg2
= 0 ;
12436 bool temp2
= false ;
12437 PyObject
* obj0
= 0 ;
12438 PyObject
* obj1
= 0 ;
12439 char * kwnames
[] = {
12440 (char *) "self",(char *) "text", NULL
12443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) 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_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12448 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12450 arg2
= wxString_in_helper(obj1
);
12451 if (arg2
== NULL
) SWIG_fail
;
12455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12456 (arg1
)->WriteText((wxString
const &)*arg2
);
12457 wxPyEndAllowThreads(__tstate
);
12458 if (PyErr_Occurred()) SWIG_fail
;
12460 resultobj
= SWIG_Py_Void();
12475 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12476 PyObject
*resultobj
= 0;
12477 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12478 wxString
*arg2
= 0 ;
12481 bool temp2
= false ;
12482 PyObject
* obj0
= 0 ;
12483 PyObject
* obj1
= 0 ;
12484 char * kwnames
[] = {
12485 (char *) "self",(char *) "text", NULL
12488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12490 if (!SWIG_IsOK(res1
)) {
12491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12493 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12495 arg2
= wxString_in_helper(obj1
);
12496 if (arg2
== NULL
) SWIG_fail
;
12500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12501 (arg1
)->AppendText((wxString
const &)*arg2
);
12502 wxPyEndAllowThreads(__tstate
);
12503 if (PyErr_Occurred()) SWIG_fail
;
12505 resultobj
= SWIG_Py_Void();
12520 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12521 PyObject
*resultobj
= 0;
12522 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12523 wxKeyEvent
*arg2
= 0 ;
12529 PyObject
* obj0
= 0 ;
12530 PyObject
* obj1
= 0 ;
12531 char * kwnames
[] = {
12532 (char *) "self",(char *) "event", NULL
12535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12537 if (!SWIG_IsOK(res1
)) {
12538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12540 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12541 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12542 if (!SWIG_IsOK(res2
)) {
12543 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12546 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12548 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12551 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12552 wxPyEndAllowThreads(__tstate
);
12553 if (PyErr_Occurred()) SWIG_fail
;
12556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12564 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12565 PyObject
*resultobj
= 0;
12566 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12569 wxTextAttr
*arg4
= 0 ;
12579 PyObject
* obj0
= 0 ;
12580 PyObject
* obj1
= 0 ;
12581 PyObject
* obj2
= 0 ;
12582 PyObject
* obj3
= 0 ;
12583 char * kwnames
[] = {
12584 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12589 if (!SWIG_IsOK(res1
)) {
12590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12592 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12593 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12594 if (!SWIG_IsOK(ecode2
)) {
12595 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12597 arg2
= static_cast< long >(val2
);
12598 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12599 if (!SWIG_IsOK(ecode3
)) {
12600 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12602 arg3
= static_cast< long >(val3
);
12603 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12604 if (!SWIG_IsOK(res4
)) {
12605 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12608 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12610 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12613 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12614 wxPyEndAllowThreads(__tstate
);
12615 if (PyErr_Occurred()) SWIG_fail
;
12618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12626 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12627 PyObject
*resultobj
= 0;
12628 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12630 wxTextAttr
*arg3
= 0 ;
12638 PyObject
* obj0
= 0 ;
12639 PyObject
* obj1
= 0 ;
12640 PyObject
* obj2
= 0 ;
12641 char * kwnames
[] = {
12642 (char *) "self",(char *) "position",(char *) "style", NULL
12645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12647 if (!SWIG_IsOK(res1
)) {
12648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12650 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12651 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12652 if (!SWIG_IsOK(ecode2
)) {
12653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12655 arg2
= static_cast< long >(val2
);
12656 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
12657 if (!SWIG_IsOK(res3
)) {
12658 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12661 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12663 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
12665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12666 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
12667 wxPyEndAllowThreads(__tstate
);
12668 if (PyErr_Occurred()) SWIG_fail
;
12671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12679 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12680 PyObject
*resultobj
= 0;
12681 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12682 wxTextAttr
*arg2
= 0 ;
12688 PyObject
* obj0
= 0 ;
12689 PyObject
* obj1
= 0 ;
12690 char * kwnames
[] = {
12691 (char *) "self",(char *) "style", NULL
12694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12696 if (!SWIG_IsOK(res1
)) {
12697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12699 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12700 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12701 if (!SWIG_IsOK(res2
)) {
12702 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12705 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12707 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
12709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12710 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
12711 wxPyEndAllowThreads(__tstate
);
12712 if (PyErr_Occurred()) SWIG_fail
;
12715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12723 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12724 PyObject
*resultobj
= 0;
12725 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12726 wxTextAttr
*result
= 0 ;
12729 PyObject
*swig_obj
[1] ;
12731 if (!args
) SWIG_fail
;
12732 swig_obj
[0] = args
;
12733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12734 if (!SWIG_IsOK(res1
)) {
12735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12737 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12741 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
12742 result
= (wxTextAttr
*) &_result_ref
;
12744 wxPyEndAllowThreads(__tstate
);
12745 if (PyErr_Occurred()) SWIG_fail
;
12747 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
12754 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12755 PyObject
*resultobj
= 0;
12756 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12766 PyObject
* obj0
= 0 ;
12767 PyObject
* obj1
= 0 ;
12768 PyObject
* obj2
= 0 ;
12769 char * kwnames
[] = {
12770 (char *) "self",(char *) "x",(char *) "y", NULL
12773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12775 if (!SWIG_IsOK(res1
)) {
12776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12778 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12779 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12780 if (!SWIG_IsOK(ecode2
)) {
12781 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
12783 arg2
= static_cast< long >(val2
);
12784 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12785 if (!SWIG_IsOK(ecode3
)) {
12786 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
12788 arg3
= static_cast< long >(val3
);
12790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12791 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
12792 wxPyEndAllowThreads(__tstate
);
12793 if (PyErr_Occurred()) SWIG_fail
;
12795 resultobj
= SWIG_From_long(static_cast< long >(result
));
12802 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12803 PyObject
*resultobj
= 0;
12804 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12806 long *arg3
= (long *) 0 ;
12807 long *arg4
= (long *) 0 ;
12813 int res3
= SWIG_TMPOBJ
;
12815 int res4
= SWIG_TMPOBJ
;
12816 PyObject
* obj0
= 0 ;
12817 PyObject
* obj1
= 0 ;
12818 char * kwnames
[] = {
12819 (char *) "self",(char *) "pos", NULL
12824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12826 if (!SWIG_IsOK(res1
)) {
12827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12829 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12830 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12831 if (!SWIG_IsOK(ecode2
)) {
12832 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
12834 arg2
= static_cast< long >(val2
);
12836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12837 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
12838 wxPyEndAllowThreads(__tstate
);
12839 if (PyErr_Occurred()) SWIG_fail
;
12841 resultobj
= SWIG_Py_Void();
12842 if (SWIG_IsTmpObj(res3
)) {
12843 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12845 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12846 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12848 if (SWIG_IsTmpObj(res4
)) {
12849 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
12851 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12852 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
12860 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12861 PyObject
*resultobj
= 0;
12862 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12868 PyObject
* obj0
= 0 ;
12869 PyObject
* obj1
= 0 ;
12870 char * kwnames
[] = {
12871 (char *) "self",(char *) "pos", NULL
12874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12876 if (!SWIG_IsOK(res1
)) {
12877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12879 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12880 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12881 if (!SWIG_IsOK(ecode2
)) {
12882 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
12884 arg2
= static_cast< long >(val2
);
12886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12887 (arg1
)->ShowPosition(arg2
);
12888 wxPyEndAllowThreads(__tstate
);
12889 if (PyErr_Occurred()) SWIG_fail
;
12891 resultobj
= SWIG_Py_Void();
12898 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12899 PyObject
*resultobj
= 0;
12900 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12901 wxPoint
*arg2
= 0 ;
12902 long *arg3
= (long *) 0 ;
12903 long *arg4
= (long *) 0 ;
12904 wxTextCtrlHitTestResult result
;
12909 int res3
= SWIG_TMPOBJ
;
12911 int res4
= SWIG_TMPOBJ
;
12912 PyObject
* obj0
= 0 ;
12913 PyObject
* obj1
= 0 ;
12914 char * kwnames
[] = {
12915 (char *) "self",(char *) "pt", NULL
12920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12922 if (!SWIG_IsOK(res1
)) {
12923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12925 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12928 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12932 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
12933 wxPyEndAllowThreads(__tstate
);
12934 if (PyErr_Occurred()) SWIG_fail
;
12936 resultobj
= SWIG_From_int(static_cast< int >(result
));
12937 if (SWIG_IsTmpObj(res3
)) {
12938 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12940 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12941 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12943 if (SWIG_IsTmpObj(res4
)) {
12944 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
12946 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12947 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
12955 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12956 PyObject
*resultobj
= 0;
12957 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12958 wxPoint
*arg2
= 0 ;
12959 long *arg3
= (long *) 0 ;
12960 wxTextCtrlHitTestResult result
;
12965 int res3
= SWIG_TMPOBJ
;
12966 PyObject
* obj0
= 0 ;
12967 PyObject
* obj1
= 0 ;
12968 char * kwnames
[] = {
12969 (char *) "self",(char *) "pt", NULL
12973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12975 if (!SWIG_IsOK(res1
)) {
12976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12978 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12981 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12985 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
12986 wxPyEndAllowThreads(__tstate
);
12987 if (PyErr_Occurred()) SWIG_fail
;
12989 resultobj
= SWIG_From_int(static_cast< int >(result
));
12990 if (SWIG_IsTmpObj(res3
)) {
12991 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12993 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12994 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13002 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13003 PyObject
*resultobj
= 0;
13004 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13007 PyObject
*swig_obj
[1] ;
13009 if (!args
) SWIG_fail
;
13010 swig_obj
[0] = args
;
13011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13012 if (!SWIG_IsOK(res1
)) {
13013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13015 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13019 wxPyEndAllowThreads(__tstate
);
13020 if (PyErr_Occurred()) SWIG_fail
;
13022 resultobj
= SWIG_Py_Void();
13029 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13030 PyObject
*resultobj
= 0;
13031 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13034 PyObject
*swig_obj
[1] ;
13036 if (!args
) SWIG_fail
;
13037 swig_obj
[0] = args
;
13038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13039 if (!SWIG_IsOK(res1
)) {
13040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13042 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13046 wxPyEndAllowThreads(__tstate
);
13047 if (PyErr_Occurred()) SWIG_fail
;
13049 resultobj
= SWIG_Py_Void();
13056 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13057 PyObject
*resultobj
= 0;
13058 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13061 PyObject
*swig_obj
[1] ;
13063 if (!args
) SWIG_fail
;
13064 swig_obj
[0] = args
;
13065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13066 if (!SWIG_IsOK(res1
)) {
13067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13069 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13073 wxPyEndAllowThreads(__tstate
);
13074 if (PyErr_Occurred()) SWIG_fail
;
13076 resultobj
= SWIG_Py_Void();
13083 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13084 PyObject
*resultobj
= 0;
13085 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13089 PyObject
*swig_obj
[1] ;
13091 if (!args
) SWIG_fail
;
13092 swig_obj
[0] = args
;
13093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13094 if (!SWIG_IsOK(res1
)) {
13095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13097 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13100 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13101 wxPyEndAllowThreads(__tstate
);
13102 if (PyErr_Occurred()) SWIG_fail
;
13105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13113 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13114 PyObject
*resultobj
= 0;
13115 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13119 PyObject
*swig_obj
[1] ;
13121 if (!args
) SWIG_fail
;
13122 swig_obj
[0] = args
;
13123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13124 if (!SWIG_IsOK(res1
)) {
13125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13127 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13130 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13131 wxPyEndAllowThreads(__tstate
);
13132 if (PyErr_Occurred()) SWIG_fail
;
13135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13143 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13144 PyObject
*resultobj
= 0;
13145 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13149 PyObject
*swig_obj
[1] ;
13151 if (!args
) SWIG_fail
;
13152 swig_obj
[0] = args
;
13153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13154 if (!SWIG_IsOK(res1
)) {
13155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13157 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13160 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13161 wxPyEndAllowThreads(__tstate
);
13162 if (PyErr_Occurred()) SWIG_fail
;
13165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13173 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13174 PyObject
*resultobj
= 0;
13175 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13178 PyObject
*swig_obj
[1] ;
13180 if (!args
) SWIG_fail
;
13181 swig_obj
[0] = args
;
13182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13183 if (!SWIG_IsOK(res1
)) {
13184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13186 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13190 wxPyEndAllowThreads(__tstate
);
13191 if (PyErr_Occurred()) SWIG_fail
;
13193 resultobj
= SWIG_Py_Void();
13200 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13201 PyObject
*resultobj
= 0;
13202 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13205 PyObject
*swig_obj
[1] ;
13207 if (!args
) SWIG_fail
;
13208 swig_obj
[0] = args
;
13209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13210 if (!SWIG_IsOK(res1
)) {
13211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13213 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13217 wxPyEndAllowThreads(__tstate
);
13218 if (PyErr_Occurred()) SWIG_fail
;
13220 resultobj
= SWIG_Py_Void();
13227 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13228 PyObject
*resultobj
= 0;
13229 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13233 PyObject
*swig_obj
[1] ;
13235 if (!args
) SWIG_fail
;
13236 swig_obj
[0] = args
;
13237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13238 if (!SWIG_IsOK(res1
)) {
13239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13241 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13244 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13245 wxPyEndAllowThreads(__tstate
);
13246 if (PyErr_Occurred()) SWIG_fail
;
13249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13257 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13258 PyObject
*resultobj
= 0;
13259 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13263 PyObject
*swig_obj
[1] ;
13265 if (!args
) SWIG_fail
;
13266 swig_obj
[0] = args
;
13267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13268 if (!SWIG_IsOK(res1
)) {
13269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13271 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13274 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13275 wxPyEndAllowThreads(__tstate
);
13276 if (PyErr_Occurred()) SWIG_fail
;
13279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13287 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13288 PyObject
*resultobj
= 0;
13289 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13295 PyObject
* obj0
= 0 ;
13296 PyObject
* obj1
= 0 ;
13297 char * kwnames
[] = {
13298 (char *) "self",(char *) "pos", NULL
13301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13303 if (!SWIG_IsOK(res1
)) {
13304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13306 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13307 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13308 if (!SWIG_IsOK(ecode2
)) {
13309 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13311 arg2
= static_cast< long >(val2
);
13313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13314 (arg1
)->SetInsertionPoint(arg2
);
13315 wxPyEndAllowThreads(__tstate
);
13316 if (PyErr_Occurred()) SWIG_fail
;
13318 resultobj
= SWIG_Py_Void();
13325 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13326 PyObject
*resultobj
= 0;
13327 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13330 PyObject
*swig_obj
[1] ;
13332 if (!args
) SWIG_fail
;
13333 swig_obj
[0] = args
;
13334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13335 if (!SWIG_IsOK(res1
)) {
13336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13338 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13341 (arg1
)->SetInsertionPointEnd();
13342 wxPyEndAllowThreads(__tstate
);
13343 if (PyErr_Occurred()) SWIG_fail
;
13345 resultobj
= SWIG_Py_Void();
13352 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13353 PyObject
*resultobj
= 0;
13354 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13358 PyObject
*swig_obj
[1] ;
13360 if (!args
) SWIG_fail
;
13361 swig_obj
[0] = args
;
13362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13363 if (!SWIG_IsOK(res1
)) {
13364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13366 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13369 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13370 wxPyEndAllowThreads(__tstate
);
13371 if (PyErr_Occurred()) SWIG_fail
;
13373 resultobj
= SWIG_From_long(static_cast< long >(result
));
13380 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13381 PyObject
*resultobj
= 0;
13382 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13386 PyObject
*swig_obj
[1] ;
13388 if (!args
) SWIG_fail
;
13389 swig_obj
[0] = args
;
13390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13391 if (!SWIG_IsOK(res1
)) {
13392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13394 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13397 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13398 wxPyEndAllowThreads(__tstate
);
13399 if (PyErr_Occurred()) SWIG_fail
;
13401 resultobj
= SWIG_From_long(static_cast< long >(result
));
13408 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13409 PyObject
*resultobj
= 0;
13410 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13419 PyObject
* obj0
= 0 ;
13420 PyObject
* obj1
= 0 ;
13421 PyObject
* obj2
= 0 ;
13422 char * kwnames
[] = {
13423 (char *) "self",(char *) "_from",(char *) "to", NULL
13426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13428 if (!SWIG_IsOK(res1
)) {
13429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13431 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13432 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13433 if (!SWIG_IsOK(ecode2
)) {
13434 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13436 arg2
= static_cast< long >(val2
);
13437 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13438 if (!SWIG_IsOK(ecode3
)) {
13439 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13441 arg3
= static_cast< long >(val3
);
13443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13444 (arg1
)->SetSelection(arg2
,arg3
);
13445 wxPyEndAllowThreads(__tstate
);
13446 if (PyErr_Occurred()) SWIG_fail
;
13448 resultobj
= SWIG_Py_Void();
13455 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13456 PyObject
*resultobj
= 0;
13457 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13460 PyObject
*swig_obj
[1] ;
13462 if (!args
) SWIG_fail
;
13463 swig_obj
[0] = args
;
13464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13465 if (!SWIG_IsOK(res1
)) {
13466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13468 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13471 (arg1
)->SelectAll();
13472 wxPyEndAllowThreads(__tstate
);
13473 if (PyErr_Occurred()) SWIG_fail
;
13475 resultobj
= SWIG_Py_Void();
13482 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13483 PyObject
*resultobj
= 0;
13484 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13490 PyObject
* obj0
= 0 ;
13491 PyObject
* obj1
= 0 ;
13492 char * kwnames
[] = {
13493 (char *) "self",(char *) "editable", NULL
13496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13498 if (!SWIG_IsOK(res1
)) {
13499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13501 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13502 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13503 if (!SWIG_IsOK(ecode2
)) {
13504 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13506 arg2
= static_cast< bool >(val2
);
13508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13509 (arg1
)->SetEditable(arg2
);
13510 wxPyEndAllowThreads(__tstate
);
13511 if (PyErr_Occurred()) SWIG_fail
;
13513 resultobj
= SWIG_Py_Void();
13520 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13521 PyObject
*resultobj
= 0;
13522 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13523 wxString
*arg2
= 0 ;
13526 bool temp2
= false ;
13527 PyObject
* obj0
= 0 ;
13528 PyObject
* obj1
= 0 ;
13529 char * kwnames
[] = {
13530 (char *) "self",(char *) "text", NULL
13533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13535 if (!SWIG_IsOK(res1
)) {
13536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13538 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13540 arg2
= wxString_in_helper(obj1
);
13541 if (arg2
== NULL
) SWIG_fail
;
13545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13546 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
13547 wxPyEndAllowThreads(__tstate
);
13548 if (PyErr_Occurred()) SWIG_fail
;
13550 resultobj
= SWIG_Py_Void();
13565 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13566 PyObject
*resultobj
= 0;
13567 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13577 PyObject
* obj0
= 0 ;
13578 PyObject
* obj1
= 0 ;
13579 PyObject
* obj2
= 0 ;
13580 char * kwnames
[] = {
13581 (char *) "self",(char *) "_from",(char *) "to", NULL
13584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13586 if (!SWIG_IsOK(res1
)) {
13587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13589 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13590 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13591 if (!SWIG_IsOK(ecode2
)) {
13592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13594 arg2
= static_cast< long >(val2
);
13595 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13596 if (!SWIG_IsOK(ecode3
)) {
13597 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
13599 arg3
= static_cast< long >(val3
);
13601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13602 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
13603 wxPyEndAllowThreads(__tstate
);
13604 if (PyErr_Occurred()) SWIG_fail
;
13608 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13610 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13619 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13620 PyObject
*resultobj
= 0;
13621 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13622 SwigValueWrapper
<wxVisualAttributes
> result
;
13625 PyObject
* obj0
= 0 ;
13626 char * kwnames
[] = {
13627 (char *) "variant", NULL
13630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
13632 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13633 if (!SWIG_IsOK(ecode1
)) {
13634 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
13636 arg1
= static_cast< wxWindowVariant
>(val1
);
13639 if (!wxPyCheckForApp()) SWIG_fail
;
13640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13641 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
13642 wxPyEndAllowThreads(__tstate
);
13643 if (PyErr_Occurred()) SWIG_fail
;
13645 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
13652 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13654 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13655 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
13656 return SWIG_Py_Void();
13659 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13660 return SWIG_Python_InitShadowInstance(args
);
13663 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13664 PyObject
*resultobj
= 0;
13666 wxMouseEvent
*arg2
= 0 ;
13669 wxTextUrlEvent
*result
= 0 ;
13678 PyObject
* obj0
= 0 ;
13679 PyObject
* obj1
= 0 ;
13680 PyObject
* obj2
= 0 ;
13681 PyObject
* obj3
= 0 ;
13682 char * kwnames
[] = {
13683 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
13686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13687 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13688 if (!SWIG_IsOK(ecode1
)) {
13689 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
13691 arg1
= static_cast< int >(val1
);
13692 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
13693 if (!SWIG_IsOK(res2
)) {
13694 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13697 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13699 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
13700 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13701 if (!SWIG_IsOK(ecode3
)) {
13702 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
13704 arg3
= static_cast< long >(val3
);
13705 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
13706 if (!SWIG_IsOK(ecode4
)) {
13707 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
13709 arg4
= static_cast< long >(val4
);
13711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13712 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
13713 wxPyEndAllowThreads(__tstate
);
13714 if (PyErr_Occurred()) SWIG_fail
;
13716 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
13723 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13724 PyObject
*resultobj
= 0;
13725 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13726 wxMouseEvent
*result
= 0 ;
13729 PyObject
*swig_obj
[1] ;
13731 if (!args
) SWIG_fail
;
13732 swig_obj
[0] = args
;
13733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13734 if (!SWIG_IsOK(res1
)) {
13735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
13737 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13741 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
13742 result
= (wxMouseEvent
*) &_result_ref
;
13744 wxPyEndAllowThreads(__tstate
);
13745 if (PyErr_Occurred()) SWIG_fail
;
13747 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
13754 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13755 PyObject
*resultobj
= 0;
13756 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13760 PyObject
*swig_obj
[1] ;
13762 if (!args
) SWIG_fail
;
13763 swig_obj
[0] = args
;
13764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13765 if (!SWIG_IsOK(res1
)) {
13766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
13768 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13771 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
13772 wxPyEndAllowThreads(__tstate
);
13773 if (PyErr_Occurred()) SWIG_fail
;
13775 resultobj
= SWIG_From_long(static_cast< long >(result
));
13782 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13783 PyObject
*resultobj
= 0;
13784 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13788 PyObject
*swig_obj
[1] ;
13790 if (!args
) SWIG_fail
;
13791 swig_obj
[0] = args
;
13792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13793 if (!SWIG_IsOK(res1
)) {
13794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
13796 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13799 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
13800 wxPyEndAllowThreads(__tstate
);
13801 if (PyErr_Occurred()) SWIG_fail
;
13803 resultobj
= SWIG_From_long(static_cast< long >(result
));
13810 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13812 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13813 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
13814 return SWIG_Py_Void();
13817 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13818 return SWIG_Python_InitShadowInstance(args
);
13821 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
13822 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
13827 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
13828 PyObject
*pyobj
= 0;
13832 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
13834 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
13841 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13842 PyObject
*resultobj
= 0;
13843 wxWindow
*arg1
= (wxWindow
*) 0 ;
13844 int arg2
= (int) -1 ;
13845 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13846 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13847 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13848 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13849 long arg5
= (long) wxSB_HORIZONTAL
;
13850 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
13851 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
13852 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
13853 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13854 wxScrollBar
*result
= 0 ;
13865 bool temp7
= false ;
13866 PyObject
* obj0
= 0 ;
13867 PyObject
* obj1
= 0 ;
13868 PyObject
* obj2
= 0 ;
13869 PyObject
* obj3
= 0 ;
13870 PyObject
* obj4
= 0 ;
13871 PyObject
* obj5
= 0 ;
13872 PyObject
* obj6
= 0 ;
13873 char * kwnames
[] = {
13874 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13879 if (!SWIG_IsOK(res1
)) {
13880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
13882 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13884 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13885 if (!SWIG_IsOK(ecode2
)) {
13886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
13888 arg2
= static_cast< int >(val2
);
13893 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13899 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13903 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
13904 if (!SWIG_IsOK(ecode5
)) {
13905 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
13907 arg5
= static_cast< long >(val5
);
13910 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
13911 if (!SWIG_IsOK(res6
)) {
13912 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
13915 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
13917 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
13921 arg7
= wxString_in_helper(obj6
);
13922 if (arg7
== NULL
) SWIG_fail
;
13927 if (!wxPyCheckForApp()) SWIG_fail
;
13928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13929 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
13930 wxPyEndAllowThreads(__tstate
);
13931 if (PyErr_Occurred()) SWIG_fail
;
13933 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
13948 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13949 PyObject
*resultobj
= 0;
13950 wxScrollBar
*result
= 0 ;
13952 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
13954 if (!wxPyCheckForApp()) SWIG_fail
;
13955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13956 result
= (wxScrollBar
*)new wxScrollBar();
13957 wxPyEndAllowThreads(__tstate
);
13958 if (PyErr_Occurred()) SWIG_fail
;
13960 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
13967 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13968 PyObject
*resultobj
= 0;
13969 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
13970 wxWindow
*arg2
= (wxWindow
*) 0 ;
13971 int arg3
= (int) -1 ;
13972 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13973 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13974 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13975 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13976 long arg6
= (long) wxSB_HORIZONTAL
;
13977 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
13978 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
13979 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
13980 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13994 bool temp8
= false ;
13995 PyObject
* obj0
= 0 ;
13996 PyObject
* obj1
= 0 ;
13997 PyObject
* obj2
= 0 ;
13998 PyObject
* obj3
= 0 ;
13999 PyObject
* obj4
= 0 ;
14000 PyObject
* obj5
= 0 ;
14001 PyObject
* obj6
= 0 ;
14002 PyObject
* obj7
= 0 ;
14003 char * kwnames
[] = {
14004 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14009 if (!SWIG_IsOK(res1
)) {
14010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14012 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14013 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14014 if (!SWIG_IsOK(res2
)) {
14015 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14017 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14019 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14020 if (!SWIG_IsOK(ecode3
)) {
14021 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14023 arg3
= static_cast< int >(val3
);
14028 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14034 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14038 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14039 if (!SWIG_IsOK(ecode6
)) {
14040 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14042 arg6
= static_cast< long >(val6
);
14045 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14046 if (!SWIG_IsOK(res7
)) {
14047 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14050 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14052 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14056 arg8
= wxString_in_helper(obj7
);
14057 if (arg8
== NULL
) SWIG_fail
;
14062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14063 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14064 wxPyEndAllowThreads(__tstate
);
14065 if (PyErr_Occurred()) SWIG_fail
;
14068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14084 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14085 PyObject
*resultobj
= 0;
14086 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14090 PyObject
*swig_obj
[1] ;
14092 if (!args
) SWIG_fail
;
14093 swig_obj
[0] = args
;
14094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14095 if (!SWIG_IsOK(res1
)) {
14096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14098 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14101 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14102 wxPyEndAllowThreads(__tstate
);
14103 if (PyErr_Occurred()) SWIG_fail
;
14105 resultobj
= SWIG_From_int(static_cast< int >(result
));
14112 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14113 PyObject
*resultobj
= 0;
14114 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14118 PyObject
*swig_obj
[1] ;
14120 if (!args
) SWIG_fail
;
14121 swig_obj
[0] = args
;
14122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14123 if (!SWIG_IsOK(res1
)) {
14124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14126 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14129 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14130 wxPyEndAllowThreads(__tstate
);
14131 if (PyErr_Occurred()) SWIG_fail
;
14133 resultobj
= SWIG_From_int(static_cast< int >(result
));
14140 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14141 PyObject
*resultobj
= 0;
14142 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14146 PyObject
*swig_obj
[1] ;
14148 if (!args
) SWIG_fail
;
14149 swig_obj
[0] = args
;
14150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14151 if (!SWIG_IsOK(res1
)) {
14152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14154 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14157 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14158 wxPyEndAllowThreads(__tstate
);
14159 if (PyErr_Occurred()) SWIG_fail
;
14161 resultobj
= SWIG_From_int(static_cast< int >(result
));
14168 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14169 PyObject
*resultobj
= 0;
14170 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14174 PyObject
*swig_obj
[1] ;
14176 if (!args
) SWIG_fail
;
14177 swig_obj
[0] = args
;
14178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14179 if (!SWIG_IsOK(res1
)) {
14180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14182 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14185 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14186 wxPyEndAllowThreads(__tstate
);
14187 if (PyErr_Occurred()) SWIG_fail
;
14189 resultobj
= SWIG_From_int(static_cast< int >(result
));
14196 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14197 PyObject
*resultobj
= 0;
14198 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14202 PyObject
*swig_obj
[1] ;
14204 if (!args
) SWIG_fail
;
14205 swig_obj
[0] = args
;
14206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14207 if (!SWIG_IsOK(res1
)) {
14208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14210 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14213 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14214 wxPyEndAllowThreads(__tstate
);
14215 if (PyErr_Occurred()) SWIG_fail
;
14218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14226 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14227 PyObject
*resultobj
= 0;
14228 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14234 PyObject
* obj0
= 0 ;
14235 PyObject
* obj1
= 0 ;
14236 char * kwnames
[] = {
14237 (char *) "self",(char *) "viewStart", NULL
14240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14242 if (!SWIG_IsOK(res1
)) {
14243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14245 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14246 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14247 if (!SWIG_IsOK(ecode2
)) {
14248 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14250 arg2
= static_cast< int >(val2
);
14252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14253 (arg1
)->SetThumbPosition(arg2
);
14254 wxPyEndAllowThreads(__tstate
);
14255 if (PyErr_Occurred()) SWIG_fail
;
14257 resultobj
= SWIG_Py_Void();
14264 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14265 PyObject
*resultobj
= 0;
14266 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14267 SwigValueWrapper
<wxVisualAttributes
> result
;
14270 PyObject
* obj0
= 0 ;
14271 char * kwnames
[] = {
14272 (char *) "variant", NULL
14275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14277 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14278 if (!SWIG_IsOK(ecode1
)) {
14279 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14281 arg1
= static_cast< wxWindowVariant
>(val1
);
14284 if (!wxPyCheckForApp()) SWIG_fail
;
14285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14286 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14287 wxPyEndAllowThreads(__tstate
);
14288 if (PyErr_Occurred()) SWIG_fail
;
14290 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14297 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14299 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14300 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14301 return SWIG_Py_Void();
14304 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14305 return SWIG_Python_InitShadowInstance(args
);
14308 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14309 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14314 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14315 PyObject
*pyobj
= 0;
14319 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14321 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14328 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14329 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14334 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14335 PyObject
*pyobj
= 0;
14339 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14341 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14348 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14349 PyObject
*resultobj
= 0;
14350 wxWindow
*arg1
= (wxWindow
*) 0 ;
14351 int arg2
= (int) -1 ;
14352 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14353 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14354 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14355 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14356 long arg5
= (long) wxSP_HORIZONTAL
;
14357 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14358 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14359 wxSpinButton
*result
= 0 ;
14368 bool temp6
= false ;
14369 PyObject
* obj0
= 0 ;
14370 PyObject
* obj1
= 0 ;
14371 PyObject
* obj2
= 0 ;
14372 PyObject
* obj3
= 0 ;
14373 PyObject
* obj4
= 0 ;
14374 PyObject
* obj5
= 0 ;
14375 char * kwnames
[] = {
14376 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14381 if (!SWIG_IsOK(res1
)) {
14382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14384 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14386 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14387 if (!SWIG_IsOK(ecode2
)) {
14388 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14390 arg2
= static_cast< int >(val2
);
14395 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14401 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14405 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14406 if (!SWIG_IsOK(ecode5
)) {
14407 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14409 arg5
= static_cast< long >(val5
);
14413 arg6
= wxString_in_helper(obj5
);
14414 if (arg6
== NULL
) SWIG_fail
;
14419 if (!wxPyCheckForApp()) SWIG_fail
;
14420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14421 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14422 wxPyEndAllowThreads(__tstate
);
14423 if (PyErr_Occurred()) SWIG_fail
;
14425 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14440 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14441 PyObject
*resultobj
= 0;
14442 wxSpinButton
*result
= 0 ;
14444 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14446 if (!wxPyCheckForApp()) SWIG_fail
;
14447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14448 result
= (wxSpinButton
*)new wxSpinButton();
14449 wxPyEndAllowThreads(__tstate
);
14450 if (PyErr_Occurred()) SWIG_fail
;
14452 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14459 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14460 PyObject
*resultobj
= 0;
14461 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14462 wxWindow
*arg2
= (wxWindow
*) 0 ;
14463 int arg3
= (int) -1 ;
14464 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14465 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14466 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14467 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14468 long arg6
= (long) wxSP_HORIZONTAL
;
14469 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14470 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14482 bool temp7
= false ;
14483 PyObject
* obj0
= 0 ;
14484 PyObject
* obj1
= 0 ;
14485 PyObject
* obj2
= 0 ;
14486 PyObject
* obj3
= 0 ;
14487 PyObject
* obj4
= 0 ;
14488 PyObject
* obj5
= 0 ;
14489 PyObject
* obj6
= 0 ;
14490 char * kwnames
[] = {
14491 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14496 if (!SWIG_IsOK(res1
)) {
14497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14499 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14500 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14501 if (!SWIG_IsOK(res2
)) {
14502 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14504 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14506 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14507 if (!SWIG_IsOK(ecode3
)) {
14508 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14510 arg3
= static_cast< int >(val3
);
14515 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14521 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14525 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14526 if (!SWIG_IsOK(ecode6
)) {
14527 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14529 arg6
= static_cast< long >(val6
);
14533 arg7
= wxString_in_helper(obj6
);
14534 if (arg7
== NULL
) SWIG_fail
;
14539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14540 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14541 wxPyEndAllowThreads(__tstate
);
14542 if (PyErr_Occurred()) SWIG_fail
;
14545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14561 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14562 PyObject
*resultobj
= 0;
14563 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14567 PyObject
*swig_obj
[1] ;
14569 if (!args
) SWIG_fail
;
14570 swig_obj
[0] = args
;
14571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14572 if (!SWIG_IsOK(res1
)) {
14573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14575 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14578 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
14579 wxPyEndAllowThreads(__tstate
);
14580 if (PyErr_Occurred()) SWIG_fail
;
14582 resultobj
= SWIG_From_int(static_cast< int >(result
));
14589 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14590 PyObject
*resultobj
= 0;
14591 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14595 PyObject
*swig_obj
[1] ;
14597 if (!args
) SWIG_fail
;
14598 swig_obj
[0] = args
;
14599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14600 if (!SWIG_IsOK(res1
)) {
14601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14603 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14606 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
14607 wxPyEndAllowThreads(__tstate
);
14608 if (PyErr_Occurred()) SWIG_fail
;
14610 resultobj
= SWIG_From_int(static_cast< int >(result
));
14617 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14618 PyObject
*resultobj
= 0;
14619 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14623 PyObject
*swig_obj
[1] ;
14625 if (!args
) SWIG_fail
;
14626 swig_obj
[0] = args
;
14627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14628 if (!SWIG_IsOK(res1
)) {
14629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14631 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14634 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
14635 wxPyEndAllowThreads(__tstate
);
14636 if (PyErr_Occurred()) SWIG_fail
;
14638 resultobj
= SWIG_From_int(static_cast< int >(result
));
14645 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14646 PyObject
*resultobj
= 0;
14647 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14653 PyObject
* obj0
= 0 ;
14654 PyObject
* obj1
= 0 ;
14655 char * kwnames
[] = {
14656 (char *) "self",(char *) "val", NULL
14659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14661 if (!SWIG_IsOK(res1
)) {
14662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14664 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14665 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14666 if (!SWIG_IsOK(ecode2
)) {
14667 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
14669 arg2
= static_cast< int >(val2
);
14671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14672 (arg1
)->SetValue(arg2
);
14673 wxPyEndAllowThreads(__tstate
);
14674 if (PyErr_Occurred()) SWIG_fail
;
14676 resultobj
= SWIG_Py_Void();
14683 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14684 PyObject
*resultobj
= 0;
14685 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14691 PyObject
* obj0
= 0 ;
14692 PyObject
* obj1
= 0 ;
14693 char * kwnames
[] = {
14694 (char *) "self",(char *) "minVal", NULL
14697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14699 if (!SWIG_IsOK(res1
)) {
14700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14702 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14703 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14704 if (!SWIG_IsOK(ecode2
)) {
14705 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
14707 arg2
= static_cast< int >(val2
);
14709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14710 (arg1
)->SetMin(arg2
);
14711 wxPyEndAllowThreads(__tstate
);
14712 if (PyErr_Occurred()) SWIG_fail
;
14714 resultobj
= SWIG_Py_Void();
14721 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14722 PyObject
*resultobj
= 0;
14723 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14729 PyObject
* obj0
= 0 ;
14730 PyObject
* obj1
= 0 ;
14731 char * kwnames
[] = {
14732 (char *) "self",(char *) "maxVal", NULL
14735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14737 if (!SWIG_IsOK(res1
)) {
14738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14740 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14741 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14742 if (!SWIG_IsOK(ecode2
)) {
14743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
14745 arg2
= static_cast< int >(val2
);
14747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14748 (arg1
)->SetMax(arg2
);
14749 wxPyEndAllowThreads(__tstate
);
14750 if (PyErr_Occurred()) SWIG_fail
;
14752 resultobj
= SWIG_Py_Void();
14759 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14760 PyObject
*resultobj
= 0;
14761 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14770 PyObject
* obj0
= 0 ;
14771 PyObject
* obj1
= 0 ;
14772 PyObject
* obj2
= 0 ;
14773 char * kwnames
[] = {
14774 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
14777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14779 if (!SWIG_IsOK(res1
)) {
14780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14782 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14783 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14784 if (!SWIG_IsOK(ecode2
)) {
14785 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
14787 arg2
= static_cast< int >(val2
);
14788 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14789 if (!SWIG_IsOK(ecode3
)) {
14790 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
14792 arg3
= static_cast< int >(val3
);
14794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14795 (arg1
)->SetRange(arg2
,arg3
);
14796 wxPyEndAllowThreads(__tstate
);
14797 if (PyErr_Occurred()) SWIG_fail
;
14799 resultobj
= SWIG_Py_Void();
14806 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14807 PyObject
*resultobj
= 0;
14808 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14812 PyObject
*swig_obj
[1] ;
14814 if (!args
) SWIG_fail
;
14815 swig_obj
[0] = args
;
14816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14817 if (!SWIG_IsOK(res1
)) {
14818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14820 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14823 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
14824 wxPyEndAllowThreads(__tstate
);
14825 if (PyErr_Occurred()) SWIG_fail
;
14828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14836 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14837 PyObject
*resultobj
= 0;
14838 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14839 SwigValueWrapper
<wxVisualAttributes
> result
;
14842 PyObject
* obj0
= 0 ;
14843 char * kwnames
[] = {
14844 (char *) "variant", NULL
14847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14849 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14850 if (!SWIG_IsOK(ecode1
)) {
14851 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14853 arg1
= static_cast< wxWindowVariant
>(val1
);
14856 if (!wxPyCheckForApp()) SWIG_fail
;
14857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14858 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
14859 wxPyEndAllowThreads(__tstate
);
14860 if (PyErr_Occurred()) SWIG_fail
;
14862 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14869 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14871 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14872 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
14873 return SWIG_Py_Void();
14876 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14877 return SWIG_Python_InitShadowInstance(args
);
14880 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14881 PyObject
*resultobj
= 0;
14882 wxWindow
*arg1
= (wxWindow
*) 0 ;
14883 int arg2
= (int) -1 ;
14884 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14885 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14886 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14887 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14888 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14889 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14890 long arg6
= (long) wxSP_ARROW_KEYS
;
14891 int arg7
= (int) 0 ;
14892 int arg8
= (int) 100 ;
14893 int arg9
= (int) 0 ;
14894 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
14895 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
14896 wxSpinCtrl
*result
= 0 ;
14901 bool temp3
= false ;
14912 bool temp10
= false ;
14913 PyObject
* obj0
= 0 ;
14914 PyObject
* obj1
= 0 ;
14915 PyObject
* obj2
= 0 ;
14916 PyObject
* obj3
= 0 ;
14917 PyObject
* obj4
= 0 ;
14918 PyObject
* obj5
= 0 ;
14919 PyObject
* obj6
= 0 ;
14920 PyObject
* obj7
= 0 ;
14921 PyObject
* obj8
= 0 ;
14922 PyObject
* obj9
= 0 ;
14923 char * kwnames
[] = {
14924 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
14927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
14928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14929 if (!SWIG_IsOK(res1
)) {
14930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
14932 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14934 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14935 if (!SWIG_IsOK(ecode2
)) {
14936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
14938 arg2
= static_cast< int >(val2
);
14942 arg3
= wxString_in_helper(obj2
);
14943 if (arg3
== NULL
) SWIG_fail
;
14950 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14956 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14960 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14961 if (!SWIG_IsOK(ecode6
)) {
14962 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
14964 arg6
= static_cast< long >(val6
);
14967 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14968 if (!SWIG_IsOK(ecode7
)) {
14969 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
14971 arg7
= static_cast< int >(val7
);
14974 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
14975 if (!SWIG_IsOK(ecode8
)) {
14976 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
14978 arg8
= static_cast< int >(val8
);
14981 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
14982 if (!SWIG_IsOK(ecode9
)) {
14983 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
14985 arg9
= static_cast< int >(val9
);
14989 arg10
= wxString_in_helper(obj9
);
14990 if (arg10
== NULL
) SWIG_fail
;
14995 if (!wxPyCheckForApp()) SWIG_fail
;
14996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14997 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
14998 wxPyEndAllowThreads(__tstate
);
14999 if (PyErr_Occurred()) SWIG_fail
;
15001 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15024 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15025 PyObject
*resultobj
= 0;
15026 wxSpinCtrl
*result
= 0 ;
15028 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15030 if (!wxPyCheckForApp()) SWIG_fail
;
15031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15032 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15033 wxPyEndAllowThreads(__tstate
);
15034 if (PyErr_Occurred()) SWIG_fail
;
15036 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15043 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15044 PyObject
*resultobj
= 0;
15045 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15046 wxWindow
*arg2
= (wxWindow
*) 0 ;
15047 int arg3
= (int) -1 ;
15048 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15049 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15050 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15051 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15052 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15053 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15054 long arg7
= (long) wxSP_ARROW_KEYS
;
15055 int arg8
= (int) 0 ;
15056 int arg9
= (int) 100 ;
15057 int arg10
= (int) 0 ;
15058 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15059 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15067 bool temp4
= false ;
15078 bool temp11
= false ;
15079 PyObject
* obj0
= 0 ;
15080 PyObject
* obj1
= 0 ;
15081 PyObject
* obj2
= 0 ;
15082 PyObject
* obj3
= 0 ;
15083 PyObject
* obj4
= 0 ;
15084 PyObject
* obj5
= 0 ;
15085 PyObject
* obj6
= 0 ;
15086 PyObject
* obj7
= 0 ;
15087 PyObject
* obj8
= 0 ;
15088 PyObject
* obj9
= 0 ;
15089 PyObject
* obj10
= 0 ;
15090 char * kwnames
[] = {
15091 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15096 if (!SWIG_IsOK(res1
)) {
15097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15099 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15100 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15101 if (!SWIG_IsOK(res2
)) {
15102 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15104 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15106 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15107 if (!SWIG_IsOK(ecode3
)) {
15108 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15110 arg3
= static_cast< int >(val3
);
15114 arg4
= wxString_in_helper(obj3
);
15115 if (arg4
== NULL
) SWIG_fail
;
15122 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15128 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15132 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15133 if (!SWIG_IsOK(ecode7
)) {
15134 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15136 arg7
= static_cast< long >(val7
);
15139 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15140 if (!SWIG_IsOK(ecode8
)) {
15141 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15143 arg8
= static_cast< int >(val8
);
15146 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15147 if (!SWIG_IsOK(ecode9
)) {
15148 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15150 arg9
= static_cast< int >(val9
);
15153 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15154 if (!SWIG_IsOK(ecode10
)) {
15155 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15157 arg10
= static_cast< int >(val10
);
15161 arg11
= wxString_in_helper(obj10
);
15162 if (arg11
== NULL
) SWIG_fail
;
15167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15168 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15169 wxPyEndAllowThreads(__tstate
);
15170 if (PyErr_Occurred()) SWIG_fail
;
15173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15197 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15198 PyObject
*resultobj
= 0;
15199 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15203 PyObject
*swig_obj
[1] ;
15205 if (!args
) SWIG_fail
;
15206 swig_obj
[0] = args
;
15207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15208 if (!SWIG_IsOK(res1
)) {
15209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15211 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15214 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15215 wxPyEndAllowThreads(__tstate
);
15216 if (PyErr_Occurred()) SWIG_fail
;
15218 resultobj
= SWIG_From_int(static_cast< int >(result
));
15225 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15226 PyObject
*resultobj
= 0;
15227 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15233 PyObject
* obj0
= 0 ;
15234 PyObject
* obj1
= 0 ;
15235 char * kwnames
[] = {
15236 (char *) "self",(char *) "value", NULL
15239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15241 if (!SWIG_IsOK(res1
)) {
15242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15244 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15245 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15246 if (!SWIG_IsOK(ecode2
)) {
15247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15249 arg2
= static_cast< int >(val2
);
15251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15252 (arg1
)->SetValue(arg2
);
15253 wxPyEndAllowThreads(__tstate
);
15254 if (PyErr_Occurred()) SWIG_fail
;
15256 resultobj
= SWIG_Py_Void();
15263 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15264 PyObject
*resultobj
= 0;
15265 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15266 wxString
*arg2
= 0 ;
15269 bool temp2
= false ;
15270 PyObject
* obj0
= 0 ;
15271 PyObject
* obj1
= 0 ;
15272 char * kwnames
[] = {
15273 (char *) "self",(char *) "text", NULL
15276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15278 if (!SWIG_IsOK(res1
)) {
15279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15281 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15283 arg2
= wxString_in_helper(obj1
);
15284 if (arg2
== NULL
) SWIG_fail
;
15288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15289 (arg1
)->SetValue((wxString
const &)*arg2
);
15290 wxPyEndAllowThreads(__tstate
);
15291 if (PyErr_Occurred()) SWIG_fail
;
15293 resultobj
= SWIG_Py_Void();
15308 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15309 PyObject
*resultobj
= 0;
15310 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15319 PyObject
* obj0
= 0 ;
15320 PyObject
* obj1
= 0 ;
15321 PyObject
* obj2
= 0 ;
15322 char * kwnames
[] = {
15323 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15328 if (!SWIG_IsOK(res1
)) {
15329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15331 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15332 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15333 if (!SWIG_IsOK(ecode2
)) {
15334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15336 arg2
= static_cast< int >(val2
);
15337 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15338 if (!SWIG_IsOK(ecode3
)) {
15339 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15341 arg3
= static_cast< int >(val3
);
15343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15344 (arg1
)->SetRange(arg2
,arg3
);
15345 wxPyEndAllowThreads(__tstate
);
15346 if (PyErr_Occurred()) SWIG_fail
;
15348 resultobj
= SWIG_Py_Void();
15355 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15356 PyObject
*resultobj
= 0;
15357 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15361 PyObject
*swig_obj
[1] ;
15363 if (!args
) SWIG_fail
;
15364 swig_obj
[0] = args
;
15365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15366 if (!SWIG_IsOK(res1
)) {
15367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15369 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15372 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15373 wxPyEndAllowThreads(__tstate
);
15374 if (PyErr_Occurred()) SWIG_fail
;
15376 resultobj
= SWIG_From_int(static_cast< int >(result
));
15383 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15384 PyObject
*resultobj
= 0;
15385 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15389 PyObject
*swig_obj
[1] ;
15391 if (!args
) SWIG_fail
;
15392 swig_obj
[0] = args
;
15393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15394 if (!SWIG_IsOK(res1
)) {
15395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15397 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15400 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15401 wxPyEndAllowThreads(__tstate
);
15402 if (PyErr_Occurred()) SWIG_fail
;
15404 resultobj
= SWIG_From_int(static_cast< int >(result
));
15411 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15412 PyObject
*resultobj
= 0;
15413 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15422 PyObject
* obj0
= 0 ;
15423 PyObject
* obj1
= 0 ;
15424 PyObject
* obj2
= 0 ;
15425 char * kwnames
[] = {
15426 (char *) "self",(char *) "_from",(char *) "to", NULL
15429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15431 if (!SWIG_IsOK(res1
)) {
15432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15434 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15435 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15436 if (!SWIG_IsOK(ecode2
)) {
15437 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15439 arg2
= static_cast< long >(val2
);
15440 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15441 if (!SWIG_IsOK(ecode3
)) {
15442 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15444 arg3
= static_cast< long >(val3
);
15446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15447 (arg1
)->SetSelection(arg2
,arg3
);
15448 wxPyEndAllowThreads(__tstate
);
15449 if (PyErr_Occurred()) SWIG_fail
;
15451 resultobj
= SWIG_Py_Void();
15458 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15459 PyObject
*resultobj
= 0;
15460 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15461 SwigValueWrapper
<wxVisualAttributes
> result
;
15464 PyObject
* obj0
= 0 ;
15465 char * kwnames
[] = {
15466 (char *) "variant", NULL
15469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15471 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15472 if (!SWIG_IsOK(ecode1
)) {
15473 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15475 arg1
= static_cast< wxWindowVariant
>(val1
);
15478 if (!wxPyCheckForApp()) SWIG_fail
;
15479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15480 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15481 wxPyEndAllowThreads(__tstate
);
15482 if (PyErr_Occurred()) SWIG_fail
;
15484 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15491 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15493 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15494 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15495 return SWIG_Py_Void();
15498 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15499 return SWIG_Python_InitShadowInstance(args
);
15502 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15503 PyObject
*resultobj
= 0;
15504 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15505 int arg2
= (int) 0 ;
15506 wxSpinEvent
*result
= 0 ;
15511 PyObject
* obj0
= 0 ;
15512 PyObject
* obj1
= 0 ;
15513 char * kwnames
[] = {
15514 (char *) "commandType",(char *) "winid", NULL
15517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15519 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15520 if (!SWIG_IsOK(ecode1
)) {
15521 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15523 arg1
= static_cast< wxEventType
>(val1
);
15526 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15527 if (!SWIG_IsOK(ecode2
)) {
15528 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15530 arg2
= static_cast< int >(val2
);
15533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15534 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
15535 wxPyEndAllowThreads(__tstate
);
15536 if (PyErr_Occurred()) SWIG_fail
;
15538 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
15545 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15546 PyObject
*resultobj
= 0;
15547 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15551 PyObject
*swig_obj
[1] ;
15553 if (!args
) SWIG_fail
;
15554 swig_obj
[0] = args
;
15555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15556 if (!SWIG_IsOK(res1
)) {
15557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15559 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15562 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
15563 wxPyEndAllowThreads(__tstate
);
15564 if (PyErr_Occurred()) SWIG_fail
;
15566 resultobj
= SWIG_From_int(static_cast< int >(result
));
15573 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15574 PyObject
*resultobj
= 0;
15575 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15581 PyObject
* obj0
= 0 ;
15582 PyObject
* obj1
= 0 ;
15583 char * kwnames
[] = {
15584 (char *) "self",(char *) "pos", NULL
15587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15589 if (!SWIG_IsOK(res1
)) {
15590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15592 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15593 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15594 if (!SWIG_IsOK(ecode2
)) {
15595 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
15597 arg2
= static_cast< int >(val2
);
15599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15600 (arg1
)->SetPosition(arg2
);
15601 wxPyEndAllowThreads(__tstate
);
15602 if (PyErr_Occurred()) SWIG_fail
;
15604 resultobj
= SWIG_Py_Void();
15611 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15613 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15614 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
15615 return SWIG_Py_Void();
15618 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15619 return SWIG_Python_InitShadowInstance(args
);
15622 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
15623 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
15628 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
15629 PyObject
*pyobj
= 0;
15633 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15635 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15642 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
15643 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
15648 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
15649 PyObject
*pyobj
= 0;
15653 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15655 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15662 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15663 PyObject
*resultobj
= 0;
15664 wxWindow
*arg1
= (wxWindow
*) 0 ;
15665 int arg2
= (int) -1 ;
15666 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15667 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15668 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15669 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15670 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15671 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15672 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
15673 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
15674 int arg7
= (int) 0 ;
15675 long arg8
= (long) wxRA_HORIZONTAL
;
15676 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
15677 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
15678 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
15679 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15680 wxRadioBox
*result
= 0 ;
15685 bool temp3
= false ;
15688 bool temp6
= false ;
15695 bool temp10
= false ;
15696 PyObject
* obj0
= 0 ;
15697 PyObject
* obj1
= 0 ;
15698 PyObject
* obj2
= 0 ;
15699 PyObject
* obj3
= 0 ;
15700 PyObject
* obj4
= 0 ;
15701 PyObject
* obj5
= 0 ;
15702 PyObject
* obj6
= 0 ;
15703 PyObject
* obj7
= 0 ;
15704 PyObject
* obj8
= 0 ;
15705 PyObject
* obj9
= 0 ;
15706 char * kwnames
[] = {
15707 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
15710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15712 if (!SWIG_IsOK(res1
)) {
15713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15715 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15717 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15718 if (!SWIG_IsOK(ecode2
)) {
15719 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
15721 arg2
= static_cast< int >(val2
);
15725 arg3
= wxString_in_helper(obj2
);
15726 if (arg3
== NULL
) SWIG_fail
;
15733 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15739 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15744 if (! PySequence_Check(obj5
)) {
15745 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
15748 arg6
= new wxArrayString
;
15750 int i
, len
=PySequence_Length(obj5
);
15751 for (i
=0; i
<len
; i
++) {
15752 PyObject
* item
= PySequence_GetItem(obj5
, i
);
15753 wxString
* s
= wxString_in_helper(item
);
15754 if (PyErr_Occurred()) SWIG_fail
;
15762 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15763 if (!SWIG_IsOK(ecode7
)) {
15764 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
15766 arg7
= static_cast< int >(val7
);
15769 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
15770 if (!SWIG_IsOK(ecode8
)) {
15771 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
15773 arg8
= static_cast< long >(val8
);
15776 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
15777 if (!SWIG_IsOK(res9
)) {
15778 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
15781 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
15783 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
15787 arg10
= wxString_in_helper(obj9
);
15788 if (arg10
== NULL
) SWIG_fail
;
15793 if (!wxPyCheckForApp()) SWIG_fail
;
15794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15795 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
);
15796 wxPyEndAllowThreads(__tstate
);
15797 if (PyErr_Occurred()) SWIG_fail
;
15799 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
15805 if (temp6
) delete arg6
;
15818 if (temp6
) delete arg6
;
15828 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15829 PyObject
*resultobj
= 0;
15830 wxRadioBox
*result
= 0 ;
15832 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
15834 if (!wxPyCheckForApp()) SWIG_fail
;
15835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15836 result
= (wxRadioBox
*)new wxRadioBox();
15837 wxPyEndAllowThreads(__tstate
);
15838 if (PyErr_Occurred()) SWIG_fail
;
15840 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
15847 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15848 PyObject
*resultobj
= 0;
15849 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
15850 wxWindow
*arg2
= (wxWindow
*) 0 ;
15851 int arg3
= (int) -1 ;
15852 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15853 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15854 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15855 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15856 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15857 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15858 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
15859 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
15860 int arg8
= (int) 0 ;
15861 long arg9
= (long) wxRA_HORIZONTAL
;
15862 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
15863 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
15864 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
15865 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15873 bool temp4
= false ;
15876 bool temp7
= false ;
15883 bool temp11
= false ;
15884 PyObject
* obj0
= 0 ;
15885 PyObject
* obj1
= 0 ;
15886 PyObject
* obj2
= 0 ;
15887 PyObject
* obj3
= 0 ;
15888 PyObject
* obj4
= 0 ;
15889 PyObject
* obj5
= 0 ;
15890 PyObject
* obj6
= 0 ;
15891 PyObject
* obj7
= 0 ;
15892 PyObject
* obj8
= 0 ;
15893 PyObject
* obj9
= 0 ;
15894 PyObject
* obj10
= 0 ;
15895 char * kwnames
[] = {
15896 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
15899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
15901 if (!SWIG_IsOK(res1
)) {
15902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
15904 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
15905 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15906 if (!SWIG_IsOK(res2
)) {
15907 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15909 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15911 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15912 if (!SWIG_IsOK(ecode3
)) {
15913 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
15915 arg3
= static_cast< int >(val3
);
15919 arg4
= wxString_in_helper(obj3
);
15920 if (arg4
== NULL
) SWIG_fail
;
15927 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15933 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15938 if (! PySequence_Check(obj6
)) {
15939 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
15942 arg7
= new wxArrayString
;
15944 int i
, len
=PySequence_Length(obj6
);
15945 for (i
=0; i
<len
; i
++) {
15946 PyObject
* item
= PySequence_GetItem(obj6
, i
);
15947 wxString
* s
= wxString_in_helper(item
);
15948 if (PyErr_Occurred()) SWIG_fail
;
15956 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15957 if (!SWIG_IsOK(ecode8
)) {
15958 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
15960 arg8
= static_cast< int >(val8
);
15963 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
15964 if (!SWIG_IsOK(ecode9
)) {
15965 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
15967 arg9
= static_cast< long >(val9
);
15970 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
15971 if (!SWIG_IsOK(res10
)) {
15972 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
15975 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
15977 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
15981 arg11
= wxString_in_helper(obj10
);
15982 if (arg11
== NULL
) SWIG_fail
;
15987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15988 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
);
15989 wxPyEndAllowThreads(__tstate
);
15990 if (PyErr_Occurred()) SWIG_fail
;
15993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16000 if (temp7
) delete arg7
;
16013 if (temp7
) delete arg7
;
16023 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16024 PyObject
*resultobj
= 0;
16025 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16031 PyObject
* obj0
= 0 ;
16032 PyObject
* obj1
= 0 ;
16033 char * kwnames
[] = {
16034 (char *) "self",(char *) "n", NULL
16037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16039 if (!SWIG_IsOK(res1
)) {
16040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16042 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16043 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16044 if (!SWIG_IsOK(ecode2
)) {
16045 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16047 arg2
= static_cast< int >(val2
);
16049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16050 (arg1
)->SetSelection(arg2
);
16051 wxPyEndAllowThreads(__tstate
);
16052 if (PyErr_Occurred()) SWIG_fail
;
16054 resultobj
= SWIG_Py_Void();
16061 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16062 PyObject
*resultobj
= 0;
16063 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16067 PyObject
*swig_obj
[1] ;
16069 if (!args
) SWIG_fail
;
16070 swig_obj
[0] = args
;
16071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16072 if (!SWIG_IsOK(res1
)) {
16073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16075 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16078 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16079 wxPyEndAllowThreads(__tstate
);
16080 if (PyErr_Occurred()) SWIG_fail
;
16082 resultobj
= SWIG_From_int(static_cast< int >(result
));
16089 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16090 PyObject
*resultobj
= 0;
16091 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16095 PyObject
*swig_obj
[1] ;
16097 if (!args
) SWIG_fail
;
16098 swig_obj
[0] = args
;
16099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16100 if (!SWIG_IsOK(res1
)) {
16101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16103 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16106 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16107 wxPyEndAllowThreads(__tstate
);
16108 if (PyErr_Occurred()) SWIG_fail
;
16112 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16114 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16123 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16124 PyObject
*resultobj
= 0;
16125 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16126 wxString
*arg2
= 0 ;
16130 bool temp2
= false ;
16131 PyObject
* obj0
= 0 ;
16132 PyObject
* obj1
= 0 ;
16133 char * kwnames
[] = {
16134 (char *) "self",(char *) "s", NULL
16137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16139 if (!SWIG_IsOK(res1
)) {
16140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16142 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16144 arg2
= wxString_in_helper(obj1
);
16145 if (arg2
== NULL
) SWIG_fail
;
16149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16150 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16151 wxPyEndAllowThreads(__tstate
);
16152 if (PyErr_Occurred()) SWIG_fail
;
16155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16171 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16172 PyObject
*resultobj
= 0;
16173 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16177 PyObject
*swig_obj
[1] ;
16179 if (!args
) SWIG_fail
;
16180 swig_obj
[0] = args
;
16181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16182 if (!SWIG_IsOK(res1
)) {
16183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16185 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16188 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16189 wxPyEndAllowThreads(__tstate
);
16190 if (PyErr_Occurred()) SWIG_fail
;
16192 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16199 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16200 PyObject
*resultobj
= 0;
16201 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16202 wxString
*arg2
= 0 ;
16206 bool temp2
= false ;
16207 PyObject
* obj0
= 0 ;
16208 PyObject
* obj1
= 0 ;
16209 char * kwnames
[] = {
16210 (char *) "self",(char *) "s", NULL
16213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16215 if (!SWIG_IsOK(res1
)) {
16216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16218 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16220 arg2
= wxString_in_helper(obj1
);
16221 if (arg2
== NULL
) SWIG_fail
;
16225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16226 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16227 wxPyEndAllowThreads(__tstate
);
16228 if (PyErr_Occurred()) SWIG_fail
;
16230 resultobj
= SWIG_From_int(static_cast< int >(result
));
16245 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16246 PyObject
*resultobj
= 0;
16247 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16254 PyObject
* obj0
= 0 ;
16255 PyObject
* obj1
= 0 ;
16256 char * kwnames
[] = {
16257 (char *) "self",(char *) "n", NULL
16260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16262 if (!SWIG_IsOK(res1
)) {
16263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16265 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16266 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16267 if (!SWIG_IsOK(ecode2
)) {
16268 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16270 arg2
= static_cast< int >(val2
);
16272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16273 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16274 wxPyEndAllowThreads(__tstate
);
16275 if (PyErr_Occurred()) SWIG_fail
;
16279 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16281 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16290 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16291 PyObject
*resultobj
= 0;
16292 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16294 wxString
*arg3
= 0 ;
16299 bool temp3
= false ;
16300 PyObject
* obj0
= 0 ;
16301 PyObject
* obj1
= 0 ;
16302 PyObject
* obj2
= 0 ;
16303 char * kwnames
[] = {
16304 (char *) "self",(char *) "n",(char *) "label", NULL
16307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16309 if (!SWIG_IsOK(res1
)) {
16310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16312 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16313 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16314 if (!SWIG_IsOK(ecode2
)) {
16315 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16317 arg2
= static_cast< int >(val2
);
16319 arg3
= wxString_in_helper(obj2
);
16320 if (arg3
== NULL
) SWIG_fail
;
16324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16325 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16326 wxPyEndAllowThreads(__tstate
);
16327 if (PyErr_Occurred()) SWIG_fail
;
16329 resultobj
= SWIG_Py_Void();
16344 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16345 PyObject
*resultobj
= 0;
16346 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16348 bool arg3
= (bool) true ;
16355 PyObject
* obj0
= 0 ;
16356 PyObject
* obj1
= 0 ;
16357 PyObject
* obj2
= 0 ;
16358 char * kwnames
[] = {
16359 (char *) "self",(char *) "n",(char *) "enable", NULL
16362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16364 if (!SWIG_IsOK(res1
)) {
16365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16367 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16368 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16369 if (!SWIG_IsOK(ecode2
)) {
16370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "int""'");
16372 arg2
= static_cast< int >(val2
);
16374 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16375 if (!SWIG_IsOK(ecode3
)) {
16376 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16378 arg3
= static_cast< bool >(val3
);
16381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16382 (arg1
)->Enable(arg2
,arg3
);
16383 wxPyEndAllowThreads(__tstate
);
16384 if (PyErr_Occurred()) SWIG_fail
;
16386 resultobj
= SWIG_Py_Void();
16393 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16394 PyObject
*resultobj
= 0;
16395 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16397 bool arg3
= (bool) true ;
16404 PyObject
* obj0
= 0 ;
16405 PyObject
* obj1
= 0 ;
16406 PyObject
* obj2
= 0 ;
16407 char * kwnames
[] = {
16408 (char *) "self",(char *) "n",(char *) "show", NULL
16411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16413 if (!SWIG_IsOK(res1
)) {
16414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16416 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16417 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16418 if (!SWIG_IsOK(ecode2
)) {
16419 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "int""'");
16421 arg2
= static_cast< int >(val2
);
16423 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16424 if (!SWIG_IsOK(ecode3
)) {
16425 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16427 arg3
= static_cast< bool >(val3
);
16430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16431 (arg1
)->Show(arg2
,arg3
);
16432 wxPyEndAllowThreads(__tstate
);
16433 if (PyErr_Occurred()) SWIG_fail
;
16435 resultobj
= SWIG_Py_Void();
16442 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16443 PyObject
*resultobj
= 0;
16444 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16448 PyObject
*swig_obj
[1] ;
16450 if (!args
) SWIG_fail
;
16451 swig_obj
[0] = args
;
16452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16453 if (!SWIG_IsOK(res1
)) {
16454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16456 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16459 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
16460 wxPyEndAllowThreads(__tstate
);
16461 if (PyErr_Occurred()) SWIG_fail
;
16463 resultobj
= SWIG_From_int(static_cast< int >(result
));
16470 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16471 PyObject
*resultobj
= 0;
16472 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16476 PyObject
*swig_obj
[1] ;
16478 if (!args
) SWIG_fail
;
16479 swig_obj
[0] = args
;
16480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16481 if (!SWIG_IsOK(res1
)) {
16482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16484 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16487 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
16488 wxPyEndAllowThreads(__tstate
);
16489 if (PyErr_Occurred()) SWIG_fail
;
16491 resultobj
= SWIG_From_int(static_cast< int >(result
));
16498 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16499 PyObject
*resultobj
= 0;
16500 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16513 PyObject
* obj0
= 0 ;
16514 PyObject
* obj1
= 0 ;
16515 PyObject
* obj2
= 0 ;
16516 PyObject
* obj3
= 0 ;
16517 char * kwnames
[] = {
16518 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
16521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16523 if (!SWIG_IsOK(res1
)) {
16524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16526 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16527 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16528 if (!SWIG_IsOK(ecode2
)) {
16529 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
16531 arg2
= static_cast< int >(val2
);
16532 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16533 if (!SWIG_IsOK(ecode3
)) {
16534 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
16536 arg3
= static_cast< wxDirection
>(val3
);
16537 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16538 if (!SWIG_IsOK(ecode4
)) {
16539 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
16541 arg4
= static_cast< long >(val4
);
16543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16544 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
16545 wxPyEndAllowThreads(__tstate
);
16546 if (PyErr_Occurred()) SWIG_fail
;
16548 resultobj
= SWIG_From_int(static_cast< int >(result
));
16555 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16556 PyObject
*resultobj
= 0;
16557 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16558 SwigValueWrapper
<wxVisualAttributes
> result
;
16561 PyObject
* obj0
= 0 ;
16562 char * kwnames
[] = {
16563 (char *) "variant", NULL
16566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
16568 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16569 if (!SWIG_IsOK(ecode1
)) {
16570 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
16572 arg1
= static_cast< wxWindowVariant
>(val1
);
16575 if (!wxPyCheckForApp()) SWIG_fail
;
16576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16577 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
16578 wxPyEndAllowThreads(__tstate
);
16579 if (PyErr_Occurred()) SWIG_fail
;
16581 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
16588 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16590 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16591 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
16592 return SWIG_Py_Void();
16595 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16596 return SWIG_Python_InitShadowInstance(args
);
16599 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16600 PyObject
*resultobj
= 0;
16601 wxWindow
*arg1
= (wxWindow
*) 0 ;
16602 int arg2
= (int) -1 ;
16603 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16604 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16605 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16606 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16607 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16608 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16609 long arg6
= (long) 0 ;
16610 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
16611 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
16612 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
16613 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16614 wxRadioButton
*result
= 0 ;
16619 bool temp3
= false ;
16626 bool temp8
= false ;
16627 PyObject
* obj0
= 0 ;
16628 PyObject
* obj1
= 0 ;
16629 PyObject
* obj2
= 0 ;
16630 PyObject
* obj3
= 0 ;
16631 PyObject
* obj4
= 0 ;
16632 PyObject
* obj5
= 0 ;
16633 PyObject
* obj6
= 0 ;
16634 PyObject
* obj7
= 0 ;
16635 char * kwnames
[] = {
16636 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
16639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
16640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16641 if (!SWIG_IsOK(res1
)) {
16642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
16644 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16646 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16647 if (!SWIG_IsOK(ecode2
)) {
16648 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
16650 arg2
= static_cast< int >(val2
);
16654 arg3
= wxString_in_helper(obj2
);
16655 if (arg3
== NULL
) SWIG_fail
;
16662 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16668 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16672 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
16673 if (!SWIG_IsOK(ecode6
)) {
16674 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
16676 arg6
= static_cast< long >(val6
);
16679 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
16680 if (!SWIG_IsOK(res7
)) {
16681 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
16684 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
16686 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
16690 arg8
= wxString_in_helper(obj7
);
16691 if (arg8
== NULL
) SWIG_fail
;
16696 if (!wxPyCheckForApp()) SWIG_fail
;
16697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16698 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
16699 wxPyEndAllowThreads(__tstate
);
16700 if (PyErr_Occurred()) SWIG_fail
;
16702 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
16725 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16726 PyObject
*resultobj
= 0;
16727 wxRadioButton
*result
= 0 ;
16729 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
16731 if (!wxPyCheckForApp()) SWIG_fail
;
16732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16733 result
= (wxRadioButton
*)new wxRadioButton();
16734 wxPyEndAllowThreads(__tstate
);
16735 if (PyErr_Occurred()) SWIG_fail
;
16737 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
16744 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16745 PyObject
*resultobj
= 0;
16746 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
16747 wxWindow
*arg2
= (wxWindow
*) 0 ;
16748 int arg3
= (int) -1 ;
16749 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16750 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16751 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16752 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16753 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16754 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16755 long arg7
= (long) 0 ;
16756 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
16757 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
16758 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
16759 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
16767 bool temp4
= false ;
16774 bool temp9
= false ;
16775 PyObject
* obj0
= 0 ;
16776 PyObject
* obj1
= 0 ;
16777 PyObject
* obj2
= 0 ;
16778 PyObject
* obj3
= 0 ;
16779 PyObject
* obj4
= 0 ;
16780 PyObject
* obj5
= 0 ;
16781 PyObject
* obj6
= 0 ;
16782 PyObject
* obj7
= 0 ;
16783 PyObject
* obj8
= 0 ;
16784 char * kwnames
[] = {
16785 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
16788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
16789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
16790 if (!SWIG_IsOK(res1
)) {
16791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
16793 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
16794 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16795 if (!SWIG_IsOK(res2
)) {
16796 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16798 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16800 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16801 if (!SWIG_IsOK(ecode3
)) {
16802 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
16804 arg3
= static_cast< int >(val3
);
16808 arg4
= wxString_in_helper(obj3
);
16809 if (arg4
== NULL
) SWIG_fail
;
16816 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16822 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16826 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
16827 if (!SWIG_IsOK(ecode7
)) {
16828 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
16830 arg7
= static_cast< long >(val7
);
16833 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
16834 if (!SWIG_IsOK(res8
)) {
16835 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
16838 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
16840 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
16844 arg9
= wxString_in_helper(obj8
);
16845 if (arg9
== NULL
) SWIG_fail
;
16850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16851 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
16852 wxPyEndAllowThreads(__tstate
);
16853 if (PyErr_Occurred()) SWIG_fail
;
16856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16880 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16881 PyObject
*resultobj
= 0;
16882 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
16886 PyObject
*swig_obj
[1] ;
16888 if (!args
) SWIG_fail
;
16889 swig_obj
[0] = args
;
16890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
16891 if (!SWIG_IsOK(res1
)) {
16892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
16894 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
16896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16897 result
= (bool)(arg1
)->GetValue();
16898 wxPyEndAllowThreads(__tstate
);
16899 if (PyErr_Occurred()) SWIG_fail
;
16902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16910 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16911 PyObject
*resultobj
= 0;
16912 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
16918 PyObject
* obj0
= 0 ;
16919 PyObject
* obj1
= 0 ;
16920 char * kwnames
[] = {
16921 (char *) "self",(char *) "value", NULL
16924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
16926 if (!SWIG_IsOK(res1
)) {
16927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
16929 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
16930 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
16931 if (!SWIG_IsOK(ecode2
)) {
16932 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
16934 arg2
= static_cast< bool >(val2
);
16936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16937 (arg1
)->SetValue(arg2
);
16938 wxPyEndAllowThreads(__tstate
);
16939 if (PyErr_Occurred()) SWIG_fail
;
16941 resultobj
= SWIG_Py_Void();
16948 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16949 PyObject
*resultobj
= 0;
16950 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16951 SwigValueWrapper
<wxVisualAttributes
> result
;
16954 PyObject
* obj0
= 0 ;
16955 char * kwnames
[] = {
16956 (char *) "variant", NULL
16959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
16961 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16962 if (!SWIG_IsOK(ecode1
)) {
16963 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
16965 arg1
= static_cast< wxWindowVariant
>(val1
);
16968 if (!wxPyCheckForApp()) SWIG_fail
;
16969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16970 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
16971 wxPyEndAllowThreads(__tstate
);
16972 if (PyErr_Occurred()) SWIG_fail
;
16974 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
16981 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16983 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16984 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
16985 return SWIG_Py_Void();
16988 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16989 return SWIG_Python_InitShadowInstance(args
);
16992 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
16993 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
16998 SWIGINTERN PyObject
*SliderNameStr_get(void) {
16999 PyObject
*pyobj
= 0;
17003 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17005 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17012 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17013 PyObject
*resultobj
= 0;
17014 wxWindow
*arg1
= (wxWindow
*) 0 ;
17015 int arg2
= (int) -1 ;
17016 int arg3
= (int) 0 ;
17017 int arg4
= (int) 0 ;
17018 int arg5
= (int) 100 ;
17019 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17020 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17021 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17022 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17023 long arg8
= (long) wxSL_HORIZONTAL
;
17024 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17025 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17026 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17027 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17028 wxSlider
*result
= 0 ;
17045 bool temp10
= false ;
17046 PyObject
* obj0
= 0 ;
17047 PyObject
* obj1
= 0 ;
17048 PyObject
* obj2
= 0 ;
17049 PyObject
* obj3
= 0 ;
17050 PyObject
* obj4
= 0 ;
17051 PyObject
* obj5
= 0 ;
17052 PyObject
* obj6
= 0 ;
17053 PyObject
* obj7
= 0 ;
17054 PyObject
* obj8
= 0 ;
17055 PyObject
* obj9
= 0 ;
17056 char * kwnames
[] = {
17057 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17062 if (!SWIG_IsOK(res1
)) {
17063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17065 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17067 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17068 if (!SWIG_IsOK(ecode2
)) {
17069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17071 arg2
= static_cast< int >(val2
);
17074 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17075 if (!SWIG_IsOK(ecode3
)) {
17076 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17078 arg3
= static_cast< int >(val3
);
17081 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17082 if (!SWIG_IsOK(ecode4
)) {
17083 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17085 arg4
= static_cast< int >(val4
);
17088 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17089 if (!SWIG_IsOK(ecode5
)) {
17090 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17092 arg5
= static_cast< int >(val5
);
17097 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17103 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17107 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17108 if (!SWIG_IsOK(ecode8
)) {
17109 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17111 arg8
= static_cast< long >(val8
);
17114 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17115 if (!SWIG_IsOK(res9
)) {
17116 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17119 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17121 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17125 arg10
= wxString_in_helper(obj9
);
17126 if (arg10
== NULL
) SWIG_fail
;
17131 if (!wxPyCheckForApp()) SWIG_fail
;
17132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17133 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17134 wxPyEndAllowThreads(__tstate
);
17135 if (PyErr_Occurred()) SWIG_fail
;
17137 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17152 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17153 PyObject
*resultobj
= 0;
17154 wxSlider
*result
= 0 ;
17156 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17158 if (!wxPyCheckForApp()) SWIG_fail
;
17159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17160 result
= (wxSlider
*)new wxSlider();
17161 wxPyEndAllowThreads(__tstate
);
17162 if (PyErr_Occurred()) SWIG_fail
;
17164 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17171 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17172 PyObject
*resultobj
= 0;
17173 wxSlider
*arg1
= (wxSlider
*) 0 ;
17174 wxWindow
*arg2
= (wxWindow
*) 0 ;
17175 int arg3
= (int) -1 ;
17176 int arg4
= (int) 0 ;
17177 int arg5
= (int) 0 ;
17178 int arg6
= (int) 100 ;
17179 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17180 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17181 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17182 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17183 long arg9
= (long) wxSL_HORIZONTAL
;
17184 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17185 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17186 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17187 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17207 bool temp11
= false ;
17208 PyObject
* obj0
= 0 ;
17209 PyObject
* obj1
= 0 ;
17210 PyObject
* obj2
= 0 ;
17211 PyObject
* obj3
= 0 ;
17212 PyObject
* obj4
= 0 ;
17213 PyObject
* obj5
= 0 ;
17214 PyObject
* obj6
= 0 ;
17215 PyObject
* obj7
= 0 ;
17216 PyObject
* obj8
= 0 ;
17217 PyObject
* obj9
= 0 ;
17218 PyObject
* obj10
= 0 ;
17219 char * kwnames
[] = {
17220 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17225 if (!SWIG_IsOK(res1
)) {
17226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17228 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17229 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17230 if (!SWIG_IsOK(res2
)) {
17231 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17233 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17235 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17236 if (!SWIG_IsOK(ecode3
)) {
17237 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17239 arg3
= static_cast< int >(val3
);
17242 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17243 if (!SWIG_IsOK(ecode4
)) {
17244 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17246 arg4
= static_cast< int >(val4
);
17249 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17250 if (!SWIG_IsOK(ecode5
)) {
17251 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17253 arg5
= static_cast< int >(val5
);
17256 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17257 if (!SWIG_IsOK(ecode6
)) {
17258 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17260 arg6
= static_cast< int >(val6
);
17265 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17271 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
17275 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
17276 if (!SWIG_IsOK(ecode9
)) {
17277 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17279 arg9
= static_cast< long >(val9
);
17282 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
17283 if (!SWIG_IsOK(res10
)) {
17284 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17287 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17289 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
17293 arg11
= wxString_in_helper(obj10
);
17294 if (arg11
== NULL
) SWIG_fail
;
17299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17300 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
17301 wxPyEndAllowThreads(__tstate
);
17302 if (PyErr_Occurred()) SWIG_fail
;
17305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17321 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17322 PyObject
*resultobj
= 0;
17323 wxSlider
*arg1
= (wxSlider
*) 0 ;
17327 PyObject
*swig_obj
[1] ;
17329 if (!args
) SWIG_fail
;
17330 swig_obj
[0] = args
;
17331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17332 if (!SWIG_IsOK(res1
)) {
17333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
17335 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17338 result
= (int)((wxSlider
const *)arg1
)->GetValue();
17339 wxPyEndAllowThreads(__tstate
);
17340 if (PyErr_Occurred()) SWIG_fail
;
17342 resultobj
= SWIG_From_int(static_cast< int >(result
));
17349 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17350 PyObject
*resultobj
= 0;
17351 wxSlider
*arg1
= (wxSlider
*) 0 ;
17357 PyObject
* obj0
= 0 ;
17358 PyObject
* obj1
= 0 ;
17359 char * kwnames
[] = {
17360 (char *) "self",(char *) "value", NULL
17363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17365 if (!SWIG_IsOK(res1
)) {
17366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
17368 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17369 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17370 if (!SWIG_IsOK(ecode2
)) {
17371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
17373 arg2
= static_cast< int >(val2
);
17375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17376 (arg1
)->SetValue(arg2
);
17377 wxPyEndAllowThreads(__tstate
);
17378 if (PyErr_Occurred()) SWIG_fail
;
17380 resultobj
= SWIG_Py_Void();
17387 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17388 PyObject
*resultobj
= 0;
17389 wxSlider
*arg1
= (wxSlider
*) 0 ;
17398 PyObject
* obj0
= 0 ;
17399 PyObject
* obj1
= 0 ;
17400 PyObject
* obj2
= 0 ;
17401 char * kwnames
[] = {
17402 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
17405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17407 if (!SWIG_IsOK(res1
)) {
17408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
17410 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17411 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17412 if (!SWIG_IsOK(ecode2
)) {
17413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
17415 arg2
= static_cast< int >(val2
);
17416 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17417 if (!SWIG_IsOK(ecode3
)) {
17418 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
17420 arg3
= static_cast< int >(val3
);
17422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17423 (arg1
)->SetRange(arg2
,arg3
);
17424 wxPyEndAllowThreads(__tstate
);
17425 if (PyErr_Occurred()) SWIG_fail
;
17427 resultobj
= SWIG_Py_Void();
17434 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17435 PyObject
*resultobj
= 0;
17436 wxSlider
*arg1
= (wxSlider
*) 0 ;
17440 PyObject
*swig_obj
[1] ;
17442 if (!args
) SWIG_fail
;
17443 swig_obj
[0] = args
;
17444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17445 if (!SWIG_IsOK(res1
)) {
17446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
17448 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17451 result
= (int)((wxSlider
const *)arg1
)->GetMin();
17452 wxPyEndAllowThreads(__tstate
);
17453 if (PyErr_Occurred()) SWIG_fail
;
17455 resultobj
= SWIG_From_int(static_cast< int >(result
));
17462 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17463 PyObject
*resultobj
= 0;
17464 wxSlider
*arg1
= (wxSlider
*) 0 ;
17468 PyObject
*swig_obj
[1] ;
17470 if (!args
) SWIG_fail
;
17471 swig_obj
[0] = args
;
17472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17473 if (!SWIG_IsOK(res1
)) {
17474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
17476 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17479 result
= (int)((wxSlider
const *)arg1
)->GetMax();
17480 wxPyEndAllowThreads(__tstate
);
17481 if (PyErr_Occurred()) SWIG_fail
;
17483 resultobj
= SWIG_From_int(static_cast< int >(result
));
17490 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17491 PyObject
*resultobj
= 0;
17492 wxSlider
*arg1
= (wxSlider
*) 0 ;
17498 PyObject
* obj0
= 0 ;
17499 PyObject
* obj1
= 0 ;
17500 char * kwnames
[] = {
17501 (char *) "self",(char *) "minValue", NULL
17504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17506 if (!SWIG_IsOK(res1
)) {
17507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
17509 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17510 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17511 if (!SWIG_IsOK(ecode2
)) {
17512 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
17514 arg2
= static_cast< int >(val2
);
17516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17517 (arg1
)->SetMin(arg2
);
17518 wxPyEndAllowThreads(__tstate
);
17519 if (PyErr_Occurred()) SWIG_fail
;
17521 resultobj
= SWIG_Py_Void();
17528 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17529 PyObject
*resultobj
= 0;
17530 wxSlider
*arg1
= (wxSlider
*) 0 ;
17536 PyObject
* obj0
= 0 ;
17537 PyObject
* obj1
= 0 ;
17538 char * kwnames
[] = {
17539 (char *) "self",(char *) "maxValue", NULL
17542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17544 if (!SWIG_IsOK(res1
)) {
17545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
17547 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17548 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17549 if (!SWIG_IsOK(ecode2
)) {
17550 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
17552 arg2
= static_cast< int >(val2
);
17554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17555 (arg1
)->SetMax(arg2
);
17556 wxPyEndAllowThreads(__tstate
);
17557 if (PyErr_Occurred()) SWIG_fail
;
17559 resultobj
= SWIG_Py_Void();
17566 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17567 PyObject
*resultobj
= 0;
17568 wxSlider
*arg1
= (wxSlider
*) 0 ;
17574 PyObject
* obj0
= 0 ;
17575 PyObject
* obj1
= 0 ;
17576 char * kwnames
[] = {
17577 (char *) "self",(char *) "lineSize", NULL
17580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17582 if (!SWIG_IsOK(res1
)) {
17583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
17585 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17586 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17587 if (!SWIG_IsOK(ecode2
)) {
17588 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
17590 arg2
= static_cast< int >(val2
);
17592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17593 (arg1
)->SetLineSize(arg2
);
17594 wxPyEndAllowThreads(__tstate
);
17595 if (PyErr_Occurred()) SWIG_fail
;
17597 resultobj
= SWIG_Py_Void();
17604 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17605 PyObject
*resultobj
= 0;
17606 wxSlider
*arg1
= (wxSlider
*) 0 ;
17612 PyObject
* obj0
= 0 ;
17613 PyObject
* obj1
= 0 ;
17614 char * kwnames
[] = {
17615 (char *) "self",(char *) "pageSize", NULL
17618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17620 if (!SWIG_IsOK(res1
)) {
17621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
17623 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17624 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17625 if (!SWIG_IsOK(ecode2
)) {
17626 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
17628 arg2
= static_cast< int >(val2
);
17630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17631 (arg1
)->SetPageSize(arg2
);
17632 wxPyEndAllowThreads(__tstate
);
17633 if (PyErr_Occurred()) SWIG_fail
;
17635 resultobj
= SWIG_Py_Void();
17642 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17643 PyObject
*resultobj
= 0;
17644 wxSlider
*arg1
= (wxSlider
*) 0 ;
17648 PyObject
*swig_obj
[1] ;
17650 if (!args
) SWIG_fail
;
17651 swig_obj
[0] = args
;
17652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17653 if (!SWIG_IsOK(res1
)) {
17654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
17656 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17659 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
17660 wxPyEndAllowThreads(__tstate
);
17661 if (PyErr_Occurred()) SWIG_fail
;
17663 resultobj
= SWIG_From_int(static_cast< int >(result
));
17670 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17671 PyObject
*resultobj
= 0;
17672 wxSlider
*arg1
= (wxSlider
*) 0 ;
17676 PyObject
*swig_obj
[1] ;
17678 if (!args
) SWIG_fail
;
17679 swig_obj
[0] = args
;
17680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17681 if (!SWIG_IsOK(res1
)) {
17682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
17684 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17687 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
17688 wxPyEndAllowThreads(__tstate
);
17689 if (PyErr_Occurred()) SWIG_fail
;
17691 resultobj
= SWIG_From_int(static_cast< int >(result
));
17698 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17699 PyObject
*resultobj
= 0;
17700 wxSlider
*arg1
= (wxSlider
*) 0 ;
17706 PyObject
* obj0
= 0 ;
17707 PyObject
* obj1
= 0 ;
17708 char * kwnames
[] = {
17709 (char *) "self",(char *) "lenPixels", NULL
17712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17714 if (!SWIG_IsOK(res1
)) {
17715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
17717 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17718 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17719 if (!SWIG_IsOK(ecode2
)) {
17720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
17722 arg2
= static_cast< int >(val2
);
17724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17725 (arg1
)->SetThumbLength(arg2
);
17726 wxPyEndAllowThreads(__tstate
);
17727 if (PyErr_Occurred()) SWIG_fail
;
17729 resultobj
= SWIG_Py_Void();
17736 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17737 PyObject
*resultobj
= 0;
17738 wxSlider
*arg1
= (wxSlider
*) 0 ;
17742 PyObject
*swig_obj
[1] ;
17744 if (!args
) SWIG_fail
;
17745 swig_obj
[0] = args
;
17746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17747 if (!SWIG_IsOK(res1
)) {
17748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
17750 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17753 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
17754 wxPyEndAllowThreads(__tstate
);
17755 if (PyErr_Occurred()) SWIG_fail
;
17757 resultobj
= SWIG_From_int(static_cast< int >(result
));
17764 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17765 PyObject
*resultobj
= 0;
17766 wxSlider
*arg1
= (wxSlider
*) 0 ;
17768 int arg3
= (int) 1 ;
17775 PyObject
* obj0
= 0 ;
17776 PyObject
* obj1
= 0 ;
17777 PyObject
* obj2
= 0 ;
17778 char * kwnames
[] = {
17779 (char *) "self",(char *) "n",(char *) "pos", NULL
17782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17784 if (!SWIG_IsOK(res1
)) {
17785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
17787 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17788 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17789 if (!SWIG_IsOK(ecode2
)) {
17790 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
17792 arg2
= static_cast< int >(val2
);
17794 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17795 if (!SWIG_IsOK(ecode3
)) {
17796 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
17798 arg3
= static_cast< int >(val3
);
17801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17802 (arg1
)->SetTickFreq(arg2
,arg3
);
17803 wxPyEndAllowThreads(__tstate
);
17804 if (PyErr_Occurred()) SWIG_fail
;
17806 resultobj
= SWIG_Py_Void();
17813 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17814 PyObject
*resultobj
= 0;
17815 wxSlider
*arg1
= (wxSlider
*) 0 ;
17819 PyObject
*swig_obj
[1] ;
17821 if (!args
) SWIG_fail
;
17822 swig_obj
[0] = args
;
17823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17824 if (!SWIG_IsOK(res1
)) {
17825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
17827 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17830 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
17831 wxPyEndAllowThreads(__tstate
);
17832 if (PyErr_Occurred()) SWIG_fail
;
17834 resultobj
= SWIG_From_int(static_cast< int >(result
));
17841 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17842 PyObject
*resultobj
= 0;
17843 wxSlider
*arg1
= (wxSlider
*) 0 ;
17846 PyObject
*swig_obj
[1] ;
17848 if (!args
) SWIG_fail
;
17849 swig_obj
[0] = args
;
17850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17851 if (!SWIG_IsOK(res1
)) {
17852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
17854 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17857 (arg1
)->ClearTicks();
17858 wxPyEndAllowThreads(__tstate
);
17859 if (PyErr_Occurred()) SWIG_fail
;
17861 resultobj
= SWIG_Py_Void();
17868 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17869 PyObject
*resultobj
= 0;
17870 wxSlider
*arg1
= (wxSlider
*) 0 ;
17876 PyObject
* obj0
= 0 ;
17877 PyObject
* obj1
= 0 ;
17878 char * kwnames
[] = {
17879 (char *) "self",(char *) "tickPos", NULL
17882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17884 if (!SWIG_IsOK(res1
)) {
17885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
17887 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17888 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17889 if (!SWIG_IsOK(ecode2
)) {
17890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
17892 arg2
= static_cast< int >(val2
);
17894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17895 (arg1
)->SetTick(arg2
);
17896 wxPyEndAllowThreads(__tstate
);
17897 if (PyErr_Occurred()) SWIG_fail
;
17899 resultobj
= SWIG_Py_Void();
17906 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17907 PyObject
*resultobj
= 0;
17908 wxSlider
*arg1
= (wxSlider
*) 0 ;
17911 PyObject
*swig_obj
[1] ;
17913 if (!args
) SWIG_fail
;
17914 swig_obj
[0] = args
;
17915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17916 if (!SWIG_IsOK(res1
)) {
17917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
17919 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17922 (arg1
)->ClearSel();
17923 wxPyEndAllowThreads(__tstate
);
17924 if (PyErr_Occurred()) SWIG_fail
;
17926 resultobj
= SWIG_Py_Void();
17933 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17934 PyObject
*resultobj
= 0;
17935 wxSlider
*arg1
= (wxSlider
*) 0 ;
17939 PyObject
*swig_obj
[1] ;
17941 if (!args
) SWIG_fail
;
17942 swig_obj
[0] = args
;
17943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17944 if (!SWIG_IsOK(res1
)) {
17945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
17947 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17950 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
17951 wxPyEndAllowThreads(__tstate
);
17952 if (PyErr_Occurred()) SWIG_fail
;
17954 resultobj
= SWIG_From_int(static_cast< int >(result
));
17961 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17962 PyObject
*resultobj
= 0;
17963 wxSlider
*arg1
= (wxSlider
*) 0 ;
17967 PyObject
*swig_obj
[1] ;
17969 if (!args
) SWIG_fail
;
17970 swig_obj
[0] = args
;
17971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17972 if (!SWIG_IsOK(res1
)) {
17973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
17975 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17978 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
17979 wxPyEndAllowThreads(__tstate
);
17980 if (PyErr_Occurred()) SWIG_fail
;
17982 resultobj
= SWIG_From_int(static_cast< int >(result
));
17989 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17990 PyObject
*resultobj
= 0;
17991 wxSlider
*arg1
= (wxSlider
*) 0 ;
18000 PyObject
* obj0
= 0 ;
18001 PyObject
* obj1
= 0 ;
18002 PyObject
* obj2
= 0 ;
18003 char * kwnames
[] = {
18004 (char *) "self",(char *) "min",(char *) "max", NULL
18007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18009 if (!SWIG_IsOK(res1
)) {
18010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18012 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18013 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18014 if (!SWIG_IsOK(ecode2
)) {
18015 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18017 arg2
= static_cast< int >(val2
);
18018 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18019 if (!SWIG_IsOK(ecode3
)) {
18020 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18022 arg3
= static_cast< int >(val3
);
18024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18025 (arg1
)->SetSelection(arg2
,arg3
);
18026 wxPyEndAllowThreads(__tstate
);
18027 if (PyErr_Occurred()) SWIG_fail
;
18029 resultobj
= SWIG_Py_Void();
18036 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18037 PyObject
*resultobj
= 0;
18038 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18039 SwigValueWrapper
<wxVisualAttributes
> result
;
18042 PyObject
* obj0
= 0 ;
18043 char * kwnames
[] = {
18044 (char *) "variant", NULL
18047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18049 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18050 if (!SWIG_IsOK(ecode1
)) {
18051 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18053 arg1
= static_cast< wxWindowVariant
>(val1
);
18056 if (!wxPyCheckForApp()) SWIG_fail
;
18057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18058 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18059 wxPyEndAllowThreads(__tstate
);
18060 if (PyErr_Occurred()) SWIG_fail
;
18062 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18069 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18071 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18072 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18073 return SWIG_Py_Void();
18076 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18077 return SWIG_Python_InitShadowInstance(args
);
18080 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18081 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18086 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18087 PyObject
*pyobj
= 0;
18091 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18093 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18100 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18101 PyObject
*resultobj
= 0;
18102 wxWindow
*arg1
= (wxWindow
*) 0 ;
18103 int arg2
= (int) -1 ;
18104 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18105 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18106 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18107 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18108 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18109 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18110 long arg6
= (long) 0 ;
18111 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18112 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18113 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18114 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18115 wxToggleButton
*result
= 0 ;
18120 bool temp3
= false ;
18127 bool temp8
= false ;
18128 PyObject
* obj0
= 0 ;
18129 PyObject
* obj1
= 0 ;
18130 PyObject
* obj2
= 0 ;
18131 PyObject
* obj3
= 0 ;
18132 PyObject
* obj4
= 0 ;
18133 PyObject
* obj5
= 0 ;
18134 PyObject
* obj6
= 0 ;
18135 PyObject
* obj7
= 0 ;
18136 char * kwnames
[] = {
18137 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18142 if (!SWIG_IsOK(res1
)) {
18143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18145 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18147 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18148 if (!SWIG_IsOK(ecode2
)) {
18149 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18151 arg2
= static_cast< int >(val2
);
18155 arg3
= wxString_in_helper(obj2
);
18156 if (arg3
== NULL
) SWIG_fail
;
18163 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18169 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18173 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18174 if (!SWIG_IsOK(ecode6
)) {
18175 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18177 arg6
= static_cast< long >(val6
);
18180 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18181 if (!SWIG_IsOK(res7
)) {
18182 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18185 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18187 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18191 arg8
= wxString_in_helper(obj7
);
18192 if (arg8
== NULL
) SWIG_fail
;
18197 if (!wxPyCheckForApp()) SWIG_fail
;
18198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18199 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18200 wxPyEndAllowThreads(__tstate
);
18201 if (PyErr_Occurred()) SWIG_fail
;
18203 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18226 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18227 PyObject
*resultobj
= 0;
18228 wxToggleButton
*result
= 0 ;
18230 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
18232 if (!wxPyCheckForApp()) SWIG_fail
;
18233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18234 result
= (wxToggleButton
*)new wxToggleButton();
18235 wxPyEndAllowThreads(__tstate
);
18236 if (PyErr_Occurred()) SWIG_fail
;
18238 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
18245 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18246 PyObject
*resultobj
= 0;
18247 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18248 wxWindow
*arg2
= (wxWindow
*) 0 ;
18249 int arg3
= (int) -1 ;
18250 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18251 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18252 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18253 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18254 wxSize
const &arg6_defvalue
= wxDefaultSize
;
18255 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
18256 long arg7
= (long) 0 ;
18257 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18258 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18259 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
18260 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
18268 bool temp4
= false ;
18275 bool temp9
= false ;
18276 PyObject
* obj0
= 0 ;
18277 PyObject
* obj1
= 0 ;
18278 PyObject
* obj2
= 0 ;
18279 PyObject
* obj3
= 0 ;
18280 PyObject
* obj4
= 0 ;
18281 PyObject
* obj5
= 0 ;
18282 PyObject
* obj6
= 0 ;
18283 PyObject
* obj7
= 0 ;
18284 PyObject
* obj8
= 0 ;
18285 char * kwnames
[] = {
18286 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
18290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18291 if (!SWIG_IsOK(res1
)) {
18292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18294 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18295 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18296 if (!SWIG_IsOK(res2
)) {
18297 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18299 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18301 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18302 if (!SWIG_IsOK(ecode3
)) {
18303 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18305 arg3
= static_cast< int >(val3
);
18309 arg4
= wxString_in_helper(obj3
);
18310 if (arg4
== NULL
) SWIG_fail
;
18317 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18323 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
18327 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18328 if (!SWIG_IsOK(ecode7
)) {
18329 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
18331 arg7
= static_cast< long >(val7
);
18334 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
18335 if (!SWIG_IsOK(res8
)) {
18336 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18339 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18341 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
18345 arg9
= wxString_in_helper(obj8
);
18346 if (arg9
== NULL
) SWIG_fail
;
18351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18352 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
18353 wxPyEndAllowThreads(__tstate
);
18354 if (PyErr_Occurred()) SWIG_fail
;
18357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18381 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18382 PyObject
*resultobj
= 0;
18383 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18389 PyObject
* obj0
= 0 ;
18390 PyObject
* obj1
= 0 ;
18391 char * kwnames
[] = {
18392 (char *) "self",(char *) "value", NULL
18395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18397 if (!SWIG_IsOK(res1
)) {
18398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18400 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18401 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18402 if (!SWIG_IsOK(ecode2
)) {
18403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
18405 arg2
= static_cast< bool >(val2
);
18407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18408 (arg1
)->SetValue(arg2
);
18409 wxPyEndAllowThreads(__tstate
);
18410 if (PyErr_Occurred()) SWIG_fail
;
18412 resultobj
= SWIG_Py_Void();
18419 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18420 PyObject
*resultobj
= 0;
18421 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18425 PyObject
*swig_obj
[1] ;
18427 if (!args
) SWIG_fail
;
18428 swig_obj
[0] = args
;
18429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18430 if (!SWIG_IsOK(res1
)) {
18431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
18433 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18436 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
18437 wxPyEndAllowThreads(__tstate
);
18438 if (PyErr_Occurred()) SWIG_fail
;
18441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18449 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18450 PyObject
*resultobj
= 0;
18451 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18452 SwigValueWrapper
<wxVisualAttributes
> result
;
18455 PyObject
* obj0
= 0 ;
18456 char * kwnames
[] = {
18457 (char *) "variant", NULL
18460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18462 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18463 if (!SWIG_IsOK(ecode1
)) {
18464 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18466 arg1
= static_cast< wxWindowVariant
>(val1
);
18469 if (!wxPyCheckForApp()) SWIG_fail
;
18470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18471 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
18472 wxPyEndAllowThreads(__tstate
);
18473 if (PyErr_Occurred()) SWIG_fail
;
18475 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18482 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18484 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18485 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
18486 return SWIG_Py_Void();
18489 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18490 return SWIG_Python_InitShadowInstance(args
);
18493 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
18494 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
18499 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
18500 PyObject
*pyobj
= 0;
18504 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
18506 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
18513 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18514 PyObject
*resultobj
= 0;
18515 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18519 PyObject
*swig_obj
[1] ;
18521 if (!args
) SWIG_fail
;
18522 swig_obj
[0] = args
;
18523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18524 if (!SWIG_IsOK(res1
)) {
18525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18527 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18530 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
18531 wxPyEndAllowThreads(__tstate
);
18532 if (PyErr_Occurred()) SWIG_fail
;
18534 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
18541 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18542 PyObject
*resultobj
= 0;
18543 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18545 wxWindow
*result
= 0 ;
18550 PyObject
* obj0
= 0 ;
18551 PyObject
* obj1
= 0 ;
18552 char * kwnames
[] = {
18553 (char *) "self",(char *) "n", NULL
18556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18558 if (!SWIG_IsOK(res1
)) {
18559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
18561 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18562 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
18563 if (!SWIG_IsOK(ecode2
)) {
18564 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
18566 arg2
= static_cast< size_t >(val2
);
18568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18569 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
18570 wxPyEndAllowThreads(__tstate
);
18571 if (PyErr_Occurred()) SWIG_fail
;
18574 resultobj
= wxPyMake_wxObject(result
, 0);
18582 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18583 PyObject
*resultobj
= 0;
18584 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18585 wxWindow
*result
= 0 ;
18588 PyObject
*swig_obj
[1] ;
18590 if (!args
) SWIG_fail
;
18591 swig_obj
[0] = args
;
18592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18593 if (!SWIG_IsOK(res1
)) {
18594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18596 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18599 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
18600 wxPyEndAllowThreads(__tstate
);
18601 if (PyErr_Occurred()) SWIG_fail
;
18604 resultobj
= wxPyMake_wxObject(result
, 0);
18612 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18613 PyObject
*resultobj
= 0;
18614 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18618 PyObject
*swig_obj
[1] ;
18620 if (!args
) SWIG_fail
;
18621 swig_obj
[0] = args
;
18622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18623 if (!SWIG_IsOK(res1
)) {
18624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18626 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18629 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
18630 wxPyEndAllowThreads(__tstate
);
18631 if (PyErr_Occurred()) SWIG_fail
;
18633 resultobj
= SWIG_From_int(static_cast< int >(result
));
18640 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18641 PyObject
*resultobj
= 0;
18642 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18644 wxString
*arg3
= 0 ;
18650 bool temp3
= false ;
18651 PyObject
* obj0
= 0 ;
18652 PyObject
* obj1
= 0 ;
18653 PyObject
* obj2
= 0 ;
18654 char * kwnames
[] = {
18655 (char *) "self",(char *) "n",(char *) "strText", NULL
18658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18660 if (!SWIG_IsOK(res1
)) {
18661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
18663 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18664 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
18665 if (!SWIG_IsOK(ecode2
)) {
18666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
18668 arg2
= static_cast< size_t >(val2
);
18670 arg3
= wxString_in_helper(obj2
);
18671 if (arg3
== NULL
) SWIG_fail
;
18675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18676 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
18677 wxPyEndAllowThreads(__tstate
);
18678 if (PyErr_Occurred()) SWIG_fail
;
18681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18697 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18698 PyObject
*resultobj
= 0;
18699 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18706 PyObject
* obj0
= 0 ;
18707 PyObject
* obj1
= 0 ;
18708 char * kwnames
[] = {
18709 (char *) "self",(char *) "n", NULL
18712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18714 if (!SWIG_IsOK(res1
)) {
18715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18717 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18718 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
18719 if (!SWIG_IsOK(ecode2
)) {
18720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
18722 arg2
= static_cast< size_t >(val2
);
18724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18725 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
18726 wxPyEndAllowThreads(__tstate
);
18727 if (PyErr_Occurred()) SWIG_fail
;
18731 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18733 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18742 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18743 PyObject
*resultobj
= 0;
18744 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18745 wxImageList
*arg2
= (wxImageList
*) 0 ;
18750 PyObject
* obj0
= 0 ;
18751 PyObject
* obj1
= 0 ;
18752 char * kwnames
[] = {
18753 (char *) "self",(char *) "imageList", NULL
18756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18758 if (!SWIG_IsOK(res1
)) {
18759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
18761 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18762 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
18763 if (!SWIG_IsOK(res2
)) {
18764 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
18766 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
18768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18769 (arg1
)->SetImageList(arg2
);
18770 wxPyEndAllowThreads(__tstate
);
18771 if (PyErr_Occurred()) SWIG_fail
;
18773 resultobj
= SWIG_Py_Void();
18780 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18781 PyObject
*resultobj
= 0;
18782 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18783 wxImageList
*arg2
= (wxImageList
*) 0 ;
18787 PyObject
* obj0
= 0 ;
18788 PyObject
* obj1
= 0 ;
18789 char * kwnames
[] = {
18790 (char *) "self",(char *) "imageList", NULL
18793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18795 if (!SWIG_IsOK(res1
)) {
18796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
18798 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18799 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
18800 if (!SWIG_IsOK(res2
)) {
18801 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
18804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18805 (arg1
)->AssignImageList(arg2
);
18806 wxPyEndAllowThreads(__tstate
);
18807 if (PyErr_Occurred()) SWIG_fail
;
18809 resultobj
= SWIG_Py_Void();
18816 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18817 PyObject
*resultobj
= 0;
18818 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18819 wxImageList
*result
= 0 ;
18822 PyObject
*swig_obj
[1] ;
18824 if (!args
) SWIG_fail
;
18825 swig_obj
[0] = args
;
18826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18827 if (!SWIG_IsOK(res1
)) {
18828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18830 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18833 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
18834 wxPyEndAllowThreads(__tstate
);
18835 if (PyErr_Occurred()) SWIG_fail
;
18838 resultobj
= wxPyMake_wxObject(result
, (bool)0);
18846 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18847 PyObject
*resultobj
= 0;
18848 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18855 PyObject
* obj0
= 0 ;
18856 PyObject
* obj1
= 0 ;
18857 char * kwnames
[] = {
18858 (char *) "self",(char *) "n", NULL
18861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18863 if (!SWIG_IsOK(res1
)) {
18864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18866 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18867 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
18868 if (!SWIG_IsOK(ecode2
)) {
18869 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
18871 arg2
= static_cast< size_t >(val2
);
18873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18874 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
18875 wxPyEndAllowThreads(__tstate
);
18876 if (PyErr_Occurred()) SWIG_fail
;
18878 resultobj
= SWIG_From_int(static_cast< int >(result
));
18885 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18886 PyObject
*resultobj
= 0;
18887 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18897 PyObject
* obj0
= 0 ;
18898 PyObject
* obj1
= 0 ;
18899 PyObject
* obj2
= 0 ;
18900 char * kwnames
[] = {
18901 (char *) "self",(char *) "n",(char *) "imageId", NULL
18904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18906 if (!SWIG_IsOK(res1
)) {
18907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
18909 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18910 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
18911 if (!SWIG_IsOK(ecode2
)) {
18912 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
18914 arg2
= static_cast< size_t >(val2
);
18915 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18916 if (!SWIG_IsOK(ecode3
)) {
18917 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
18919 arg3
= static_cast< int >(val3
);
18921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18922 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
18923 wxPyEndAllowThreads(__tstate
);
18924 if (PyErr_Occurred()) SWIG_fail
;
18927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18935 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18936 PyObject
*resultobj
= 0;
18937 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18942 PyObject
* obj0
= 0 ;
18943 PyObject
* obj1
= 0 ;
18944 char * kwnames
[] = {
18945 (char *) "self",(char *) "size", NULL
18948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18950 if (!SWIG_IsOK(res1
)) {
18951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
18953 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18956 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18960 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
18961 wxPyEndAllowThreads(__tstate
);
18962 if (PyErr_Occurred()) SWIG_fail
;
18964 resultobj
= SWIG_Py_Void();
18971 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18972 PyObject
*resultobj
= 0;
18973 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18979 PyObject
* obj0
= 0 ;
18980 PyObject
* obj1
= 0 ;
18981 char * kwnames
[] = {
18982 (char *) "self",(char *) "sizePage", NULL
18985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18987 if (!SWIG_IsOK(res1
)) {
18988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18990 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18993 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18997 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
18998 wxPyEndAllowThreads(__tstate
);
18999 if (PyErr_Occurred()) SWIG_fail
;
19001 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19008 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19009 PyObject
*resultobj
= 0;
19010 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19014 PyObject
*swig_obj
[1] ;
19016 if (!args
) SWIG_fail
;
19017 swig_obj
[0] = args
;
19018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19019 if (!SWIG_IsOK(res1
)) {
19020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19022 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19025 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19026 wxPyEndAllowThreads(__tstate
);
19027 if (PyErr_Occurred()) SWIG_fail
;
19029 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19036 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19037 PyObject
*resultobj
= 0;
19038 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19044 PyObject
* obj0
= 0 ;
19045 PyObject
* obj1
= 0 ;
19046 char * kwnames
[] = {
19047 (char *) "self",(char *) "internalBorder", NULL
19050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19052 if (!SWIG_IsOK(res1
)) {
19053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19055 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19056 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19057 if (!SWIG_IsOK(ecode2
)) {
19058 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "size_t""'");
19060 arg2
= static_cast< size_t >(val2
);
19062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19063 (arg1
)->SetInternalBorder(arg2
);
19064 wxPyEndAllowThreads(__tstate
);
19065 if (PyErr_Occurred()) SWIG_fail
;
19067 resultobj
= SWIG_Py_Void();
19074 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19075 PyObject
*resultobj
= 0;
19076 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19080 PyObject
*swig_obj
[1] ;
19082 if (!args
) SWIG_fail
;
19083 swig_obj
[0] = args
;
19084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19085 if (!SWIG_IsOK(res1
)) {
19086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19088 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19091 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19092 wxPyEndAllowThreads(__tstate
);
19093 if (PyErr_Occurred()) SWIG_fail
;
19096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19104 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19105 PyObject
*resultobj
= 0;
19106 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19112 PyObject
* obj0
= 0 ;
19113 PyObject
* obj1
= 0 ;
19114 char * kwnames
[] = {
19115 (char *) "self",(char *) "fit", NULL
19118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19120 if (!SWIG_IsOK(res1
)) {
19121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19123 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19124 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19125 if (!SWIG_IsOK(ecode2
)) {
19126 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19128 arg2
= static_cast< bool >(val2
);
19130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19131 (arg1
)->SetFitToCurrentPage(arg2
);
19132 wxPyEndAllowThreads(__tstate
);
19133 if (PyErr_Occurred()) SWIG_fail
;
19135 resultobj
= SWIG_Py_Void();
19142 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19143 PyObject
*resultobj
= 0;
19144 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19148 PyObject
*swig_obj
[1] ;
19150 if (!args
) SWIG_fail
;
19151 swig_obj
[0] = args
;
19152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19153 if (!SWIG_IsOK(res1
)) {
19154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19156 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19159 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19160 wxPyEndAllowThreads(__tstate
);
19161 if (PyErr_Occurred()) SWIG_fail
;
19164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19172 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19173 PyObject
*resultobj
= 0;
19174 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19181 PyObject
* obj0
= 0 ;
19182 PyObject
* obj1
= 0 ;
19183 char * kwnames
[] = {
19184 (char *) "self",(char *) "n", NULL
19187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19189 if (!SWIG_IsOK(res1
)) {
19190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19192 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19193 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19194 if (!SWIG_IsOK(ecode2
)) {
19195 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19197 arg2
= static_cast< size_t >(val2
);
19199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19200 result
= (bool)(arg1
)->DeletePage(arg2
);
19201 wxPyEndAllowThreads(__tstate
);
19202 if (PyErr_Occurred()) SWIG_fail
;
19205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19213 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19214 PyObject
*resultobj
= 0;
19215 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19222 PyObject
* obj0
= 0 ;
19223 PyObject
* obj1
= 0 ;
19224 char * kwnames
[] = {
19225 (char *) "self",(char *) "n", NULL
19228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19230 if (!SWIG_IsOK(res1
)) {
19231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19233 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19234 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19235 if (!SWIG_IsOK(ecode2
)) {
19236 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
19238 arg2
= static_cast< size_t >(val2
);
19240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19241 result
= (bool)(arg1
)->RemovePage(arg2
);
19242 wxPyEndAllowThreads(__tstate
);
19243 if (PyErr_Occurred()) SWIG_fail
;
19246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19254 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19255 PyObject
*resultobj
= 0;
19256 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19260 PyObject
*swig_obj
[1] ;
19262 if (!args
) SWIG_fail
;
19263 swig_obj
[0] = args
;
19264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19265 if (!SWIG_IsOK(res1
)) {
19266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19268 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19271 result
= (bool)(arg1
)->DeleteAllPages();
19272 wxPyEndAllowThreads(__tstate
);
19273 if (PyErr_Occurred()) SWIG_fail
;
19276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19284 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19285 PyObject
*resultobj
= 0;
19286 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19287 wxWindow
*arg2
= (wxWindow
*) 0 ;
19288 wxString
*arg3
= 0 ;
19289 bool arg4
= (bool) false ;
19290 int arg5
= (int) -1 ;
19296 bool temp3
= false ;
19301 PyObject
* obj0
= 0 ;
19302 PyObject
* obj1
= 0 ;
19303 PyObject
* obj2
= 0 ;
19304 PyObject
* obj3
= 0 ;
19305 PyObject
* obj4
= 0 ;
19306 char * kwnames
[] = {
19307 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19312 if (!SWIG_IsOK(res1
)) {
19313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19315 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19316 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19317 if (!SWIG_IsOK(res2
)) {
19318 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
19320 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
19322 arg3
= wxString_in_helper(obj2
);
19323 if (arg3
== NULL
) SWIG_fail
;
19327 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19328 if (!SWIG_IsOK(ecode4
)) {
19329 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
19331 arg4
= static_cast< bool >(val4
);
19334 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19335 if (!SWIG_IsOK(ecode5
)) {
19336 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
19338 arg5
= static_cast< int >(val5
);
19341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19342 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
19343 wxPyEndAllowThreads(__tstate
);
19344 if (PyErr_Occurred()) SWIG_fail
;
19347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19363 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19364 PyObject
*resultobj
= 0;
19365 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19367 wxWindow
*arg3
= (wxWindow
*) 0 ;
19368 wxString
*arg4
= 0 ;
19369 bool arg5
= (bool) false ;
19370 int arg6
= (int) -1 ;
19378 bool temp4
= false ;
19383 PyObject
* obj0
= 0 ;
19384 PyObject
* obj1
= 0 ;
19385 PyObject
* obj2
= 0 ;
19386 PyObject
* obj3
= 0 ;
19387 PyObject
* obj4
= 0 ;
19388 PyObject
* obj5
= 0 ;
19389 char * kwnames
[] = {
19390 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19395 if (!SWIG_IsOK(res1
)) {
19396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19398 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19399 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19400 if (!SWIG_IsOK(ecode2
)) {
19401 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
19403 arg2
= static_cast< size_t >(val2
);
19404 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19405 if (!SWIG_IsOK(res3
)) {
19406 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
19408 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
19410 arg4
= wxString_in_helper(obj3
);
19411 if (arg4
== NULL
) SWIG_fail
;
19415 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19416 if (!SWIG_IsOK(ecode5
)) {
19417 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
19419 arg5
= static_cast< bool >(val5
);
19422 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19423 if (!SWIG_IsOK(ecode6
)) {
19424 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
19426 arg6
= static_cast< int >(val6
);
19429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19430 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
19431 wxPyEndAllowThreads(__tstate
);
19432 if (PyErr_Occurred()) SWIG_fail
;
19435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19451 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19452 PyObject
*resultobj
= 0;
19453 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19460 PyObject
* obj0
= 0 ;
19461 PyObject
* obj1
= 0 ;
19462 char * kwnames
[] = {
19463 (char *) "self",(char *) "n", NULL
19466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19468 if (!SWIG_IsOK(res1
)) {
19469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19471 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19472 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19473 if (!SWIG_IsOK(ecode2
)) {
19474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
19476 arg2
= static_cast< size_t >(val2
);
19478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19479 result
= (int)(arg1
)->SetSelection(arg2
);
19480 wxPyEndAllowThreads(__tstate
);
19481 if (PyErr_Occurred()) SWIG_fail
;
19483 resultobj
= SWIG_From_int(static_cast< int >(result
));
19490 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19491 PyObject
*resultobj
= 0;
19492 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19493 bool arg2
= (bool) true ;
19498 PyObject
* obj0
= 0 ;
19499 PyObject
* obj1
= 0 ;
19500 char * kwnames
[] = {
19501 (char *) "self",(char *) "forward", NULL
19504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19506 if (!SWIG_IsOK(res1
)) {
19507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19509 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19511 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19512 if (!SWIG_IsOK(ecode2
)) {
19513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
19515 arg2
= static_cast< bool >(val2
);
19518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19519 (arg1
)->AdvanceSelection(arg2
);
19520 wxPyEndAllowThreads(__tstate
);
19521 if (PyErr_Occurred()) SWIG_fail
;
19523 resultobj
= SWIG_Py_Void();
19530 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19531 PyObject
*resultobj
= 0;
19532 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
19533 SwigValueWrapper
<wxVisualAttributes
> result
;
19536 PyObject
* obj0
= 0 ;
19537 char * kwnames
[] = {
19538 (char *) "variant", NULL
19541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
19543 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19544 if (!SWIG_IsOK(ecode1
)) {
19545 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19547 arg1
= static_cast< wxWindowVariant
>(val1
);
19550 if (!wxPyCheckForApp()) SWIG_fail
;
19551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19552 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
19553 wxPyEndAllowThreads(__tstate
);
19554 if (PyErr_Occurred()) SWIG_fail
;
19556 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
19563 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19565 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19566 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
19567 return SWIG_Py_Void();
19570 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19571 PyObject
*resultobj
= 0;
19572 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19573 int arg2
= (int) 0 ;
19574 int arg3
= (int) -1 ;
19575 int arg4
= (int) -1 ;
19576 wxBookCtrlBaseEvent
*result
= 0 ;
19585 PyObject
* obj0
= 0 ;
19586 PyObject
* obj1
= 0 ;
19587 PyObject
* obj2
= 0 ;
19588 PyObject
* obj3
= 0 ;
19589 char * kwnames
[] = {
19590 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
19593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19595 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19596 if (!SWIG_IsOK(ecode1
)) {
19597 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19599 arg1
= static_cast< wxEventType
>(val1
);
19602 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19603 if (!SWIG_IsOK(ecode2
)) {
19604 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
19606 arg2
= static_cast< int >(val2
);
19609 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19610 if (!SWIG_IsOK(ecode3
)) {
19611 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
19613 arg3
= static_cast< int >(val3
);
19616 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19617 if (!SWIG_IsOK(ecode4
)) {
19618 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
19620 arg4
= static_cast< int >(val4
);
19623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19624 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
19625 wxPyEndAllowThreads(__tstate
);
19626 if (PyErr_Occurred()) SWIG_fail
;
19628 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
19635 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19636 PyObject
*resultobj
= 0;
19637 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
19641 PyObject
*swig_obj
[1] ;
19643 if (!args
) SWIG_fail
;
19644 swig_obj
[0] = args
;
19645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
19646 if (!SWIG_IsOK(res1
)) {
19647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
19649 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
19651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19652 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
19653 wxPyEndAllowThreads(__tstate
);
19654 if (PyErr_Occurred()) SWIG_fail
;
19656 resultobj
= SWIG_From_int(static_cast< int >(result
));
19663 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19664 PyObject
*resultobj
= 0;
19665 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
19671 PyObject
* obj0
= 0 ;
19672 PyObject
* obj1
= 0 ;
19673 char * kwnames
[] = {
19674 (char *) "self",(char *) "nSel", NULL
19677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
19679 if (!SWIG_IsOK(res1
)) {
19680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
19682 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
19683 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19684 if (!SWIG_IsOK(ecode2
)) {
19685 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
19687 arg2
= static_cast< int >(val2
);
19689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19690 (arg1
)->SetSelection(arg2
);
19691 wxPyEndAllowThreads(__tstate
);
19692 if (PyErr_Occurred()) SWIG_fail
;
19694 resultobj
= SWIG_Py_Void();
19701 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19702 PyObject
*resultobj
= 0;
19703 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
19707 PyObject
*swig_obj
[1] ;
19709 if (!args
) SWIG_fail
;
19710 swig_obj
[0] = args
;
19711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
19712 if (!SWIG_IsOK(res1
)) {
19713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
19715 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
19717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19718 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
19719 wxPyEndAllowThreads(__tstate
);
19720 if (PyErr_Occurred()) SWIG_fail
;
19722 resultobj
= SWIG_From_int(static_cast< int >(result
));
19729 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19730 PyObject
*resultobj
= 0;
19731 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
19737 PyObject
* obj0
= 0 ;
19738 PyObject
* obj1
= 0 ;
19739 char * kwnames
[] = {
19740 (char *) "self",(char *) "nOldSel", NULL
19743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
19745 if (!SWIG_IsOK(res1
)) {
19746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
19748 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
19749 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19750 if (!SWIG_IsOK(ecode2
)) {
19751 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
19753 arg2
= static_cast< int >(val2
);
19755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19756 (arg1
)->SetOldSelection(arg2
);
19757 wxPyEndAllowThreads(__tstate
);
19758 if (PyErr_Occurred()) SWIG_fail
;
19760 resultobj
= SWIG_Py_Void();
19767 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19769 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19770 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
19771 return SWIG_Py_Void();
19774 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19775 return SWIG_Python_InitShadowInstance(args
);
19778 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19779 PyObject
*resultobj
= 0;
19780 wxWindow
*arg1
= (wxWindow
*) 0 ;
19781 int arg2
= (int) -1 ;
19782 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19783 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19784 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19785 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19786 long arg5
= (long) 0 ;
19787 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
19788 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
19789 wxNotebook
*result
= 0 ;
19798 bool temp6
= false ;
19799 PyObject
* obj0
= 0 ;
19800 PyObject
* obj1
= 0 ;
19801 PyObject
* obj2
= 0 ;
19802 PyObject
* obj3
= 0 ;
19803 PyObject
* obj4
= 0 ;
19804 PyObject
* obj5
= 0 ;
19805 char * kwnames
[] = {
19806 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19811 if (!SWIG_IsOK(res1
)) {
19812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
19814 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19816 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19817 if (!SWIG_IsOK(ecode2
)) {
19818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
19820 arg2
= static_cast< int >(val2
);
19825 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19831 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19835 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
19836 if (!SWIG_IsOK(ecode5
)) {
19837 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
19839 arg5
= static_cast< long >(val5
);
19843 arg6
= wxString_in_helper(obj5
);
19844 if (arg6
== NULL
) SWIG_fail
;
19849 if (!wxPyCheckForApp()) SWIG_fail
;
19850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19851 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
19852 wxPyEndAllowThreads(__tstate
);
19853 if (PyErr_Occurred()) SWIG_fail
;
19855 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
19870 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19871 PyObject
*resultobj
= 0;
19872 wxNotebook
*result
= 0 ;
19874 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
19876 if (!wxPyCheckForApp()) SWIG_fail
;
19877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19878 result
= (wxNotebook
*)new wxNotebook();
19879 wxPyEndAllowThreads(__tstate
);
19880 if (PyErr_Occurred()) SWIG_fail
;
19882 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
19889 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19890 PyObject
*resultobj
= 0;
19891 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
19892 wxWindow
*arg2
= (wxWindow
*) 0 ;
19893 int arg3
= (int) -1 ;
19894 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19895 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19896 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19897 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19898 long arg6
= (long) 0 ;
19899 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
19900 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19912 bool temp7
= false ;
19913 PyObject
* obj0
= 0 ;
19914 PyObject
* obj1
= 0 ;
19915 PyObject
* obj2
= 0 ;
19916 PyObject
* obj3
= 0 ;
19917 PyObject
* obj4
= 0 ;
19918 PyObject
* obj5
= 0 ;
19919 PyObject
* obj6
= 0 ;
19920 char * kwnames
[] = {
19921 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
19925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
19926 if (!SWIG_IsOK(res1
)) {
19927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
19929 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
19930 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19931 if (!SWIG_IsOK(res2
)) {
19932 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
19934 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
19936 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19937 if (!SWIG_IsOK(ecode3
)) {
19938 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
19940 arg3
= static_cast< int >(val3
);
19945 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19951 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19955 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
19956 if (!SWIG_IsOK(ecode6
)) {
19957 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
19959 arg6
= static_cast< long >(val6
);
19963 arg7
= wxString_in_helper(obj6
);
19964 if (arg7
== NULL
) SWIG_fail
;
19969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19970 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
19971 wxPyEndAllowThreads(__tstate
);
19972 if (PyErr_Occurred()) SWIG_fail
;
19975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19991 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19992 PyObject
*resultobj
= 0;
19993 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
19997 PyObject
*swig_obj
[1] ;
19999 if (!args
) SWIG_fail
;
20000 swig_obj
[0] = args
;
20001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20002 if (!SWIG_IsOK(res1
)) {
20003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20005 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20008 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20009 wxPyEndAllowThreads(__tstate
);
20010 if (PyErr_Occurred()) SWIG_fail
;
20012 resultobj
= SWIG_From_int(static_cast< int >(result
));
20019 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20020 PyObject
*resultobj
= 0;
20021 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20026 PyObject
* obj0
= 0 ;
20027 PyObject
* obj1
= 0 ;
20028 char * kwnames
[] = {
20029 (char *) "self",(char *) "padding", NULL
20032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20034 if (!SWIG_IsOK(res1
)) {
20035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20037 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20040 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20044 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20045 wxPyEndAllowThreads(__tstate
);
20046 if (PyErr_Occurred()) SWIG_fail
;
20048 resultobj
= SWIG_Py_Void();
20055 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20056 PyObject
*resultobj
= 0;
20057 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20062 PyObject
* obj0
= 0 ;
20063 PyObject
* obj1
= 0 ;
20064 char * kwnames
[] = {
20065 (char *) "self",(char *) "sz", NULL
20068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20070 if (!SWIG_IsOK(res1
)) {
20071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20073 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20076 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20080 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
20081 wxPyEndAllowThreads(__tstate
);
20082 if (PyErr_Occurred()) SWIG_fail
;
20084 resultobj
= SWIG_Py_Void();
20091 SWIGINTERN PyObject
*_wrap_Notebook_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20092 PyObject
*resultobj
= 0;
20093 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20094 wxPoint
*arg2
= 0 ;
20095 long *arg3
= (long *) 0 ;
20101 int res3
= SWIG_TMPOBJ
;
20102 PyObject
* obj0
= 0 ;
20103 PyObject
* obj1
= 0 ;
20104 char * kwnames
[] = {
20105 (char *) "self",(char *) "pt", NULL
20109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20111 if (!SWIG_IsOK(res1
)) {
20112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_HitTest" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20114 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20117 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20121 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20122 wxPyEndAllowThreads(__tstate
);
20123 if (PyErr_Occurred()) SWIG_fail
;
20125 resultobj
= SWIG_From_int(static_cast< int >(result
));
20126 if (SWIG_IsTmpObj(res3
)) {
20127 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20129 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20130 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20138 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20139 PyObject
*resultobj
= 0;
20140 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20144 PyObject
*swig_obj
[1] ;
20146 if (!args
) SWIG_fail
;
20147 swig_obj
[0] = args
;
20148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20149 if (!SWIG_IsOK(res1
)) {
20150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20152 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20155 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
20156 wxPyEndAllowThreads(__tstate
);
20157 if (PyErr_Occurred()) SWIG_fail
;
20159 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
20166 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20167 PyObject
*resultobj
= 0;
20168 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20169 SwigValueWrapper
<wxVisualAttributes
> result
;
20172 PyObject
* obj0
= 0 ;
20173 char * kwnames
[] = {
20174 (char *) "variant", NULL
20177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20179 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20180 if (!SWIG_IsOK(ecode1
)) {
20181 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20183 arg1
= static_cast< wxWindowVariant
>(val1
);
20186 if (!wxPyCheckForApp()) SWIG_fail
;
20187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20188 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
20189 wxPyEndAllowThreads(__tstate
);
20190 if (PyErr_Occurred()) SWIG_fail
;
20192 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20199 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20201 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20202 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
20203 return SWIG_Py_Void();
20206 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20207 return SWIG_Python_InitShadowInstance(args
);
20210 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20211 PyObject
*resultobj
= 0;
20212 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20213 int arg2
= (int) 0 ;
20214 int arg3
= (int) -1 ;
20215 int arg4
= (int) -1 ;
20216 wxNotebookEvent
*result
= 0 ;
20225 PyObject
* obj0
= 0 ;
20226 PyObject
* obj1
= 0 ;
20227 PyObject
* obj2
= 0 ;
20228 PyObject
* obj3
= 0 ;
20229 char * kwnames
[] = {
20230 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20235 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20236 if (!SWIG_IsOK(ecode1
)) {
20237 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20239 arg1
= static_cast< wxEventType
>(val1
);
20242 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20243 if (!SWIG_IsOK(ecode2
)) {
20244 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
20246 arg2
= static_cast< int >(val2
);
20249 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20250 if (!SWIG_IsOK(ecode3
)) {
20251 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
20253 arg3
= static_cast< int >(val3
);
20256 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20257 if (!SWIG_IsOK(ecode4
)) {
20258 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
20260 arg4
= static_cast< int >(val4
);
20263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20264 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
20265 wxPyEndAllowThreads(__tstate
);
20266 if (PyErr_Occurred()) SWIG_fail
;
20268 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
20275 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20277 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20278 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
20279 return SWIG_Py_Void();
20282 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20283 return SWIG_Python_InitShadowInstance(args
);
20286 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20287 PyObject
*resultobj
= 0;
20288 wxWindow
*arg1
= (wxWindow
*) 0 ;
20289 int arg2
= (int) -1 ;
20290 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20291 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20292 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20293 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20294 long arg5
= (long) 0 ;
20295 wxString
const &arg6_defvalue
= wxPyEmptyString
;
20296 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20297 wxListbook
*result
= 0 ;
20306 bool temp6
= false ;
20307 PyObject
* obj0
= 0 ;
20308 PyObject
* obj1
= 0 ;
20309 PyObject
* obj2
= 0 ;
20310 PyObject
* obj3
= 0 ;
20311 PyObject
* obj4
= 0 ;
20312 PyObject
* obj5
= 0 ;
20313 char * kwnames
[] = {
20314 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20319 if (!SWIG_IsOK(res1
)) {
20320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
20322 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20324 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20325 if (!SWIG_IsOK(ecode2
)) {
20326 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
20328 arg2
= static_cast< int >(val2
);
20333 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20339 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20343 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20344 if (!SWIG_IsOK(ecode5
)) {
20345 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
20347 arg5
= static_cast< long >(val5
);
20351 arg6
= wxString_in_helper(obj5
);
20352 if (arg6
== NULL
) SWIG_fail
;
20357 if (!wxPyCheckForApp()) SWIG_fail
;
20358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20359 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20360 wxPyEndAllowThreads(__tstate
);
20361 if (PyErr_Occurred()) SWIG_fail
;
20363 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
20378 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20379 PyObject
*resultobj
= 0;
20380 wxListbook
*result
= 0 ;
20382 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
20384 if (!wxPyCheckForApp()) SWIG_fail
;
20385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20386 result
= (wxListbook
*)new wxListbook();
20387 wxPyEndAllowThreads(__tstate
);
20388 if (PyErr_Occurred()) SWIG_fail
;
20390 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
20397 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20398 PyObject
*resultobj
= 0;
20399 wxListbook
*arg1
= (wxListbook
*) 0 ;
20400 wxWindow
*arg2
= (wxWindow
*) 0 ;
20401 int arg3
= (int) -1 ;
20402 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20403 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20404 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20405 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20406 long arg6
= (long) 0 ;
20407 wxString
const &arg7_defvalue
= wxPyEmptyString
;
20408 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20420 bool temp7
= false ;
20421 PyObject
* obj0
= 0 ;
20422 PyObject
* obj1
= 0 ;
20423 PyObject
* obj2
= 0 ;
20424 PyObject
* obj3
= 0 ;
20425 PyObject
* obj4
= 0 ;
20426 PyObject
* obj5
= 0 ;
20427 PyObject
* obj6
= 0 ;
20428 char * kwnames
[] = {
20429 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
20434 if (!SWIG_IsOK(res1
)) {
20435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
20437 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
20438 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20439 if (!SWIG_IsOK(res2
)) {
20440 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20442 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20444 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20445 if (!SWIG_IsOK(ecode3
)) {
20446 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
20448 arg3
= static_cast< int >(val3
);
20453 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20459 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20463 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20464 if (!SWIG_IsOK(ecode6
)) {
20465 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
20467 arg6
= static_cast< long >(val6
);
20471 arg7
= wxString_in_helper(obj6
);
20472 if (arg7
== NULL
) SWIG_fail
;
20477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20478 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20479 wxPyEndAllowThreads(__tstate
);
20480 if (PyErr_Occurred()) SWIG_fail
;
20483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20499 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20500 PyObject
*resultobj
= 0;
20501 wxListbook
*arg1
= (wxListbook
*) 0 ;
20502 wxListView
*result
= 0 ;
20505 PyObject
*swig_obj
[1] ;
20507 if (!args
) SWIG_fail
;
20508 swig_obj
[0] = args
;
20509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
20510 if (!SWIG_IsOK(res1
)) {
20511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
20513 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
20515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20516 result
= (wxListView
*)(arg1
)->GetListView();
20517 wxPyEndAllowThreads(__tstate
);
20518 if (PyErr_Occurred()) SWIG_fail
;
20520 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
20527 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20529 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20530 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
20531 return SWIG_Py_Void();
20534 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20535 return SWIG_Python_InitShadowInstance(args
);
20538 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20539 PyObject
*resultobj
= 0;
20540 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20541 int arg2
= (int) 0 ;
20542 int arg3
= (int) -1 ;
20543 int arg4
= (int) -1 ;
20544 wxListbookEvent
*result
= 0 ;
20553 PyObject
* obj0
= 0 ;
20554 PyObject
* obj1
= 0 ;
20555 PyObject
* obj2
= 0 ;
20556 PyObject
* obj3
= 0 ;
20557 char * kwnames
[] = {
20558 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20563 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20564 if (!SWIG_IsOK(ecode1
)) {
20565 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20567 arg1
= static_cast< wxEventType
>(val1
);
20570 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20571 if (!SWIG_IsOK(ecode2
)) {
20572 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
20574 arg2
= static_cast< int >(val2
);
20577 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20578 if (!SWIG_IsOK(ecode3
)) {
20579 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
20581 arg3
= static_cast< int >(val3
);
20584 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20585 if (!SWIG_IsOK(ecode4
)) {
20586 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
20588 arg4
= static_cast< int >(val4
);
20591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20592 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
20593 wxPyEndAllowThreads(__tstate
);
20594 if (PyErr_Occurred()) SWIG_fail
;
20596 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
20603 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20605 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20606 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
20607 return SWIG_Py_Void();
20610 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20611 return SWIG_Python_InitShadowInstance(args
);
20614 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20615 PyObject
*resultobj
= 0;
20616 wxWindow
*arg1
= (wxWindow
*) 0 ;
20618 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20619 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20620 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20621 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20622 long arg5
= (long) 0 ;
20623 wxString
const &arg6_defvalue
= wxPyEmptyString
;
20624 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20625 wxChoicebook
*result
= 0 ;
20634 bool temp6
= false ;
20635 PyObject
* obj0
= 0 ;
20636 PyObject
* obj1
= 0 ;
20637 PyObject
* obj2
= 0 ;
20638 PyObject
* obj3
= 0 ;
20639 PyObject
* obj4
= 0 ;
20640 PyObject
* obj5
= 0 ;
20641 char * kwnames
[] = {
20642 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20647 if (!SWIG_IsOK(res1
)) {
20648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20650 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20651 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20652 if (!SWIG_IsOK(ecode2
)) {
20653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
20655 arg2
= static_cast< int >(val2
);
20659 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20665 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20669 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20670 if (!SWIG_IsOK(ecode5
)) {
20671 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
20673 arg5
= static_cast< long >(val5
);
20677 arg6
= wxString_in_helper(obj5
);
20678 if (arg6
== NULL
) SWIG_fail
;
20683 if (!wxPyCheckForApp()) SWIG_fail
;
20684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20685 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20686 wxPyEndAllowThreads(__tstate
);
20687 if (PyErr_Occurred()) SWIG_fail
;
20689 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
20704 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20705 PyObject
*resultobj
= 0;
20706 wxChoicebook
*result
= 0 ;
20708 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
20710 if (!wxPyCheckForApp()) SWIG_fail
;
20711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20712 result
= (wxChoicebook
*)new wxChoicebook();
20713 wxPyEndAllowThreads(__tstate
);
20714 if (PyErr_Occurred()) SWIG_fail
;
20716 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
20723 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20724 PyObject
*resultobj
= 0;
20725 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
20726 wxWindow
*arg2
= (wxWindow
*) 0 ;
20728 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20729 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20730 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20731 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20732 long arg6
= (long) 0 ;
20733 wxString
const &arg7_defvalue
= wxPyEmptyString
;
20734 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20746 bool temp7
= false ;
20747 PyObject
* obj0
= 0 ;
20748 PyObject
* obj1
= 0 ;
20749 PyObject
* obj2
= 0 ;
20750 PyObject
* obj3
= 0 ;
20751 PyObject
* obj4
= 0 ;
20752 PyObject
* obj5
= 0 ;
20753 PyObject
* obj6
= 0 ;
20754 char * kwnames
[] = {
20755 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
20760 if (!SWIG_IsOK(res1
)) {
20761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
20763 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
20764 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20765 if (!SWIG_IsOK(res2
)) {
20766 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20768 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20769 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20770 if (!SWIG_IsOK(ecode3
)) {
20771 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
20773 arg3
= static_cast< int >(val3
);
20777 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20783 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20787 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20788 if (!SWIG_IsOK(ecode6
)) {
20789 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
20791 arg6
= static_cast< long >(val6
);
20795 arg7
= wxString_in_helper(obj6
);
20796 if (arg7
== NULL
) SWIG_fail
;
20801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20802 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20803 wxPyEndAllowThreads(__tstate
);
20804 if (PyErr_Occurred()) SWIG_fail
;
20807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20823 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20824 PyObject
*resultobj
= 0;
20825 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
20826 wxChoice
*result
= 0 ;
20829 PyObject
*swig_obj
[1] ;
20831 if (!args
) SWIG_fail
;
20832 swig_obj
[0] = args
;
20833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
20834 if (!SWIG_IsOK(res1
)) {
20835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
20837 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
20839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20840 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
20841 wxPyEndAllowThreads(__tstate
);
20842 if (PyErr_Occurred()) SWIG_fail
;
20844 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
20851 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20853 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20854 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
20855 return SWIG_Py_Void();
20858 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20859 return SWIG_Python_InitShadowInstance(args
);
20862 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20863 PyObject
*resultobj
= 0;
20864 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20865 int arg2
= (int) 0 ;
20866 int arg3
= (int) -1 ;
20867 int arg4
= (int) -1 ;
20868 wxChoicebookEvent
*result
= 0 ;
20877 PyObject
* obj0
= 0 ;
20878 PyObject
* obj1
= 0 ;
20879 PyObject
* obj2
= 0 ;
20880 PyObject
* obj3
= 0 ;
20881 char * kwnames
[] = {
20882 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20887 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20888 if (!SWIG_IsOK(ecode1
)) {
20889 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20891 arg1
= static_cast< wxEventType
>(val1
);
20894 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20895 if (!SWIG_IsOK(ecode2
)) {
20896 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
20898 arg2
= static_cast< int >(val2
);
20901 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20902 if (!SWIG_IsOK(ecode3
)) {
20903 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
20905 arg3
= static_cast< int >(val3
);
20908 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20909 if (!SWIG_IsOK(ecode4
)) {
20910 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
20912 arg4
= static_cast< int >(val4
);
20915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20916 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
20917 wxPyEndAllowThreads(__tstate
);
20918 if (PyErr_Occurred()) SWIG_fail
;
20920 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
20927 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20929 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20930 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
20931 return SWIG_Py_Void();
20934 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20935 return SWIG_Python_InitShadowInstance(args
);
20938 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20939 PyObject
*resultobj
= 0;
20940 wxWindow
*arg1
= (wxWindow
*) 0 ;
20942 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20943 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20944 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20945 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20946 long arg5
= (long) wxBK_DEFAULT
;
20947 wxString
const &arg6_defvalue
= wxPyEmptyString
;
20948 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20949 wxTreebook
*result
= 0 ;
20958 bool temp6
= false ;
20959 PyObject
* obj0
= 0 ;
20960 PyObject
* obj1
= 0 ;
20961 PyObject
* obj2
= 0 ;
20962 PyObject
* obj3
= 0 ;
20963 PyObject
* obj4
= 0 ;
20964 PyObject
* obj5
= 0 ;
20965 char * kwnames
[] = {
20966 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20971 if (!SWIG_IsOK(res1
)) {
20972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20974 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20975 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20976 if (!SWIG_IsOK(ecode2
)) {
20977 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
20979 arg2
= static_cast< int >(val2
);
20983 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20989 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20993 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20994 if (!SWIG_IsOK(ecode5
)) {
20995 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
20997 arg5
= static_cast< long >(val5
);
21001 arg6
= wxString_in_helper(obj5
);
21002 if (arg6
== NULL
) SWIG_fail
;
21007 if (!wxPyCheckForApp()) SWIG_fail
;
21008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21009 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21010 wxPyEndAllowThreads(__tstate
);
21011 if (PyErr_Occurred()) SWIG_fail
;
21013 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
21028 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21029 PyObject
*resultobj
= 0;
21030 wxTreebook
*result
= 0 ;
21032 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
21034 if (!wxPyCheckForApp()) SWIG_fail
;
21035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21036 result
= (wxTreebook
*)new wxTreebook();
21037 wxPyEndAllowThreads(__tstate
);
21038 if (PyErr_Occurred()) SWIG_fail
;
21040 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
21047 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21048 PyObject
*resultobj
= 0;
21049 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21050 wxWindow
*arg2
= (wxWindow
*) 0 ;
21052 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21053 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21054 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21055 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21056 long arg6
= (long) wxBK_DEFAULT
;
21057 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21058 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21070 bool temp7
= false ;
21071 PyObject
* obj0
= 0 ;
21072 PyObject
* obj1
= 0 ;
21073 PyObject
* obj2
= 0 ;
21074 PyObject
* obj3
= 0 ;
21075 PyObject
* obj4
= 0 ;
21076 PyObject
* obj5
= 0 ;
21077 PyObject
* obj6
= 0 ;
21078 char * kwnames
[] = {
21079 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21084 if (!SWIG_IsOK(res1
)) {
21085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21087 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21088 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21089 if (!SWIG_IsOK(res2
)) {
21090 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21092 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21093 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21094 if (!SWIG_IsOK(ecode3
)) {
21095 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
21097 arg3
= static_cast< int >(val3
);
21101 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21107 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21111 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21112 if (!SWIG_IsOK(ecode6
)) {
21113 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
21115 arg6
= static_cast< long >(val6
);
21119 arg7
= wxString_in_helper(obj6
);
21120 if (arg7
== NULL
) SWIG_fail
;
21125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21126 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21127 wxPyEndAllowThreads(__tstate
);
21128 if (PyErr_Occurred()) SWIG_fail
;
21131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21147 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21148 PyObject
*resultobj
= 0;
21149 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21151 wxWindow
*arg3
= (wxWindow
*) 0 ;
21152 wxString
*arg4
= 0 ;
21153 bool arg5
= (bool) false ;
21154 int arg6
= (int) wxNOT_FOUND
;
21162 bool temp4
= false ;
21167 PyObject
* obj0
= 0 ;
21168 PyObject
* obj1
= 0 ;
21169 PyObject
* obj2
= 0 ;
21170 PyObject
* obj3
= 0 ;
21171 PyObject
* obj4
= 0 ;
21172 PyObject
* obj5
= 0 ;
21173 char * kwnames
[] = {
21174 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21179 if (!SWIG_IsOK(res1
)) {
21180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21182 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21183 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21184 if (!SWIG_IsOK(ecode2
)) {
21185 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
21187 arg2
= static_cast< size_t >(val2
);
21188 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21189 if (!SWIG_IsOK(res3
)) {
21190 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
21192 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
21194 arg4
= wxString_in_helper(obj3
);
21195 if (arg4
== NULL
) SWIG_fail
;
21199 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
21200 if (!SWIG_IsOK(ecode5
)) {
21201 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
21203 arg5
= static_cast< bool >(val5
);
21206 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21207 if (!SWIG_IsOK(ecode6
)) {
21208 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
21210 arg6
= static_cast< int >(val6
);
21213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21214 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
21215 wxPyEndAllowThreads(__tstate
);
21216 if (PyErr_Occurred()) SWIG_fail
;
21219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21235 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21236 PyObject
*resultobj
= 0;
21237 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21238 wxWindow
*arg2
= (wxWindow
*) 0 ;
21239 wxString
*arg3
= 0 ;
21240 bool arg4
= (bool) false ;
21241 int arg5
= (int) wxNOT_FOUND
;
21247 bool temp3
= false ;
21252 PyObject
* obj0
= 0 ;
21253 PyObject
* obj1
= 0 ;
21254 PyObject
* obj2
= 0 ;
21255 PyObject
* obj3
= 0 ;
21256 PyObject
* obj4
= 0 ;
21257 char * kwnames
[] = {
21258 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21263 if (!SWIG_IsOK(res1
)) {
21264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21266 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21267 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21268 if (!SWIG_IsOK(res2
)) {
21269 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
21271 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21273 arg3
= wxString_in_helper(obj2
);
21274 if (arg3
== NULL
) SWIG_fail
;
21278 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
21279 if (!SWIG_IsOK(ecode4
)) {
21280 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
21282 arg4
= static_cast< bool >(val4
);
21285 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21286 if (!SWIG_IsOK(ecode5
)) {
21287 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
21289 arg5
= static_cast< int >(val5
);
21292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21293 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
21294 wxPyEndAllowThreads(__tstate
);
21295 if (PyErr_Occurred()) SWIG_fail
;
21298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21314 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21315 PyObject
*resultobj
= 0;
21316 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21323 PyObject
* obj0
= 0 ;
21324 PyObject
* obj1
= 0 ;
21325 char * kwnames
[] = {
21326 (char *) "self",(char *) "pos", NULL
21329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21331 if (!SWIG_IsOK(res1
)) {
21332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21334 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21335 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21336 if (!SWIG_IsOK(ecode2
)) {
21337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
21339 arg2
= static_cast< size_t >(val2
);
21341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21342 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
21343 wxPyEndAllowThreads(__tstate
);
21344 if (PyErr_Occurred()) SWIG_fail
;
21347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21355 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21356 PyObject
*resultobj
= 0;
21357 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21359 bool arg3
= (bool) true ;
21367 PyObject
* obj0
= 0 ;
21368 PyObject
* obj1
= 0 ;
21369 PyObject
* obj2
= 0 ;
21370 char * kwnames
[] = {
21371 (char *) "self",(char *) "pos",(char *) "expand", NULL
21374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21376 if (!SWIG_IsOK(res1
)) {
21377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
21379 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21380 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21381 if (!SWIG_IsOK(ecode2
)) {
21382 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
21384 arg2
= static_cast< size_t >(val2
);
21386 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21387 if (!SWIG_IsOK(ecode3
)) {
21388 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
21390 arg3
= static_cast< bool >(val3
);
21393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21394 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
21395 wxPyEndAllowThreads(__tstate
);
21396 if (PyErr_Occurred()) SWIG_fail
;
21399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21407 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21408 PyObject
*resultobj
= 0;
21409 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21416 PyObject
* obj0
= 0 ;
21417 PyObject
* obj1
= 0 ;
21418 char * kwnames
[] = {
21419 (char *) "self",(char *) "pos", NULL
21422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21424 if (!SWIG_IsOK(res1
)) {
21425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
21427 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21428 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21429 if (!SWIG_IsOK(ecode2
)) {
21430 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
21432 arg2
= static_cast< size_t >(val2
);
21434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21435 result
= (bool)(arg1
)->CollapseNode(arg2
);
21436 wxPyEndAllowThreads(__tstate
);
21437 if (PyErr_Occurred()) SWIG_fail
;
21440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21448 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21449 PyObject
*resultobj
= 0;
21450 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21457 PyObject
* obj0
= 0 ;
21458 PyObject
* obj1
= 0 ;
21459 char * kwnames
[] = {
21460 (char *) "self",(char *) "pos", NULL
21463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21465 if (!SWIG_IsOK(res1
)) {
21466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21468 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21469 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21470 if (!SWIG_IsOK(ecode2
)) {
21471 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
21473 arg2
= static_cast< size_t >(val2
);
21475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21476 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
21477 wxPyEndAllowThreads(__tstate
);
21478 if (PyErr_Occurred()) SWIG_fail
;
21480 resultobj
= SWIG_From_int(static_cast< int >(result
));
21487 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21488 PyObject
*resultobj
= 0;
21489 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21490 wxTreeCtrl
*result
= 0 ;
21493 PyObject
*swig_obj
[1] ;
21495 if (!args
) SWIG_fail
;
21496 swig_obj
[0] = args
;
21497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21498 if (!SWIG_IsOK(res1
)) {
21499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21501 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21504 result
= (wxTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
21505 wxPyEndAllowThreads(__tstate
);
21506 if (PyErr_Occurred()) SWIG_fail
;
21508 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeCtrl
, 0 | 0 );
21515 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21517 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21518 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
21519 return SWIG_Py_Void();
21522 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21523 return SWIG_Python_InitShadowInstance(args
);
21526 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21527 PyObject
*resultobj
= 0;
21528 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21529 int arg2
= (int) 0 ;
21530 int arg3
= (int) wxNOT_FOUND
;
21531 int arg4
= (int) wxNOT_FOUND
;
21532 wxTreebookEvent
*result
= 0 ;
21541 PyObject
* obj0
= 0 ;
21542 PyObject
* obj1
= 0 ;
21543 PyObject
* obj2
= 0 ;
21544 PyObject
* obj3
= 0 ;
21545 char * kwnames
[] = {
21546 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21551 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21552 if (!SWIG_IsOK(ecode1
)) {
21553 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21555 arg1
= static_cast< wxEventType
>(val1
);
21558 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21559 if (!SWIG_IsOK(ecode2
)) {
21560 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
21562 arg2
= static_cast< int >(val2
);
21565 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21566 if (!SWIG_IsOK(ecode3
)) {
21567 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
21569 arg3
= static_cast< int >(val3
);
21572 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21573 if (!SWIG_IsOK(ecode4
)) {
21574 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
21576 arg4
= static_cast< int >(val4
);
21579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21580 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
21581 wxPyEndAllowThreads(__tstate
);
21582 if (PyErr_Occurred()) SWIG_fail
;
21584 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
21591 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21593 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21594 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
21595 return SWIG_Py_Void();
21598 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21599 return SWIG_Python_InitShadowInstance(args
);
21602 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21603 PyObject
*resultobj
= 0;
21604 wxWindow
*arg1
= (wxWindow
*) 0 ;
21606 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21607 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21608 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21609 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21610 long arg5
= (long) wxBK_DEFAULT
;
21611 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21612 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21613 wxToolbook
*result
= 0 ;
21622 bool temp6
= false ;
21623 PyObject
* obj0
= 0 ;
21624 PyObject
* obj1
= 0 ;
21625 PyObject
* obj2
= 0 ;
21626 PyObject
* obj3
= 0 ;
21627 PyObject
* obj4
= 0 ;
21628 PyObject
* obj5
= 0 ;
21629 char * kwnames
[] = {
21630 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21635 if (!SWIG_IsOK(res1
)) {
21636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
21638 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21639 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21640 if (!SWIG_IsOK(ecode2
)) {
21641 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
21643 arg2
= static_cast< int >(val2
);
21647 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21653 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21657 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21658 if (!SWIG_IsOK(ecode5
)) {
21659 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
21661 arg5
= static_cast< long >(val5
);
21665 arg6
= wxString_in_helper(obj5
);
21666 if (arg6
== NULL
) SWIG_fail
;
21671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21672 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21673 wxPyEndAllowThreads(__tstate
);
21674 if (PyErr_Occurred()) SWIG_fail
;
21676 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
21691 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21692 PyObject
*resultobj
= 0;
21693 wxToolbook
*result
= 0 ;
21695 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
21697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21698 result
= (wxToolbook
*)new wxToolbook();
21699 wxPyEndAllowThreads(__tstate
);
21700 if (PyErr_Occurred()) SWIG_fail
;
21702 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
21709 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21710 PyObject
*resultobj
= 0;
21711 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
21712 wxWindow
*arg2
= (wxWindow
*) 0 ;
21714 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21715 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21716 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21717 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21718 long arg6
= (long) 0 ;
21719 wxString
const &arg7_defvalue
= wxEmptyString
;
21720 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21732 bool temp7
= false ;
21733 PyObject
* obj0
= 0 ;
21734 PyObject
* obj1
= 0 ;
21735 PyObject
* obj2
= 0 ;
21736 PyObject
* obj3
= 0 ;
21737 PyObject
* obj4
= 0 ;
21738 PyObject
* obj5
= 0 ;
21739 PyObject
* obj6
= 0 ;
21740 char * kwnames
[] = {
21741 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
21746 if (!SWIG_IsOK(res1
)) {
21747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
21749 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
21750 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21751 if (!SWIG_IsOK(res2
)) {
21752 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21754 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21755 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21756 if (!SWIG_IsOK(ecode3
)) {
21757 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
21759 arg3
= static_cast< int >(val3
);
21763 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21769 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21773 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21774 if (!SWIG_IsOK(ecode6
)) {
21775 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
21777 arg6
= static_cast< long >(val6
);
21781 arg7
= wxString_in_helper(obj6
);
21782 if (arg7
== NULL
) SWIG_fail
;
21787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21788 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21789 wxPyEndAllowThreads(__tstate
);
21790 if (PyErr_Occurred()) SWIG_fail
;
21793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21809 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21810 PyObject
*resultobj
= 0;
21811 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
21812 wxToolBarBase
*result
= 0 ;
21815 PyObject
*swig_obj
[1] ;
21817 if (!args
) SWIG_fail
;
21818 swig_obj
[0] = args
;
21819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
21820 if (!SWIG_IsOK(res1
)) {
21821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
21823 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
21825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21826 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
21827 wxPyEndAllowThreads(__tstate
);
21828 if (PyErr_Occurred()) SWIG_fail
;
21831 resultobj
= wxPyMake_wxObject(result
, (bool)0);
21839 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21840 PyObject
*resultobj
= 0;
21841 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
21844 PyObject
*swig_obj
[1] ;
21846 if (!args
) SWIG_fail
;
21847 swig_obj
[0] = args
;
21848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
21849 if (!SWIG_IsOK(res1
)) {
21850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
21852 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
21854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21856 wxPyEndAllowThreads(__tstate
);
21857 if (PyErr_Occurred()) SWIG_fail
;
21859 resultobj
= SWIG_Py_Void();
21866 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21868 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21869 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
21870 return SWIG_Py_Void();
21873 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21874 return SWIG_Python_InitShadowInstance(args
);
21877 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21878 PyObject
*resultobj
= 0;
21879 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21880 int arg2
= (int) 0 ;
21881 int arg3
= (int) wxNOT_FOUND
;
21882 int arg4
= (int) wxNOT_FOUND
;
21883 wxToolbookEvent
*result
= 0 ;
21892 PyObject
* obj0
= 0 ;
21893 PyObject
* obj1
= 0 ;
21894 PyObject
* obj2
= 0 ;
21895 PyObject
* obj3
= 0 ;
21896 char * kwnames
[] = {
21897 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21902 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21903 if (!SWIG_IsOK(ecode1
)) {
21904 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21906 arg1
= static_cast< wxEventType
>(val1
);
21909 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21910 if (!SWIG_IsOK(ecode2
)) {
21911 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
21913 arg2
= static_cast< int >(val2
);
21916 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21917 if (!SWIG_IsOK(ecode3
)) {
21918 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
21920 arg3
= static_cast< int >(val3
);
21923 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21924 if (!SWIG_IsOK(ecode4
)) {
21925 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
21927 arg4
= static_cast< int >(val4
);
21930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21931 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
21932 wxPyEndAllowThreads(__tstate
);
21933 if (PyErr_Occurred()) SWIG_fail
;
21935 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
21942 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21944 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21945 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
21946 return SWIG_Py_Void();
21949 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21950 return SWIG_Python_InitShadowInstance(args
);
21953 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21954 PyObject
*resultobj
= 0;
21955 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
21959 PyObject
*swig_obj
[1] ;
21961 if (!args
) SWIG_fail
;
21962 swig_obj
[0] = args
;
21963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
21964 if (!SWIG_IsOK(res1
)) {
21965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
21967 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
21969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21970 result
= (int)(arg1
)->GetId();
21971 wxPyEndAllowThreads(__tstate
);
21972 if (PyErr_Occurred()) SWIG_fail
;
21974 resultobj
= SWIG_From_int(static_cast< int >(result
));
21981 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21982 PyObject
*resultobj
= 0;
21983 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
21984 wxControl
*result
= 0 ;
21987 PyObject
*swig_obj
[1] ;
21989 if (!args
) SWIG_fail
;
21990 swig_obj
[0] = args
;
21991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
21992 if (!SWIG_IsOK(res1
)) {
21993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
21995 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
21997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21998 result
= (wxControl
*)(arg1
)->GetControl();
21999 wxPyEndAllowThreads(__tstate
);
22000 if (PyErr_Occurred()) SWIG_fail
;
22003 resultobj
= wxPyMake_wxObject(result
, 0);
22011 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22012 PyObject
*resultobj
= 0;
22013 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22014 wxToolBarBase
*result
= 0 ;
22017 PyObject
*swig_obj
[1] ;
22019 if (!args
) SWIG_fail
;
22020 swig_obj
[0] = args
;
22021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22022 if (!SWIG_IsOK(res1
)) {
22023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22025 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22028 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
22029 wxPyEndAllowThreads(__tstate
);
22030 if (PyErr_Occurred()) SWIG_fail
;
22033 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22041 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22042 PyObject
*resultobj
= 0;
22043 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22047 PyObject
*swig_obj
[1] ;
22049 if (!args
) SWIG_fail
;
22050 swig_obj
[0] = args
;
22051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22052 if (!SWIG_IsOK(res1
)) {
22053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22055 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22058 result
= (int)(arg1
)->IsButton();
22059 wxPyEndAllowThreads(__tstate
);
22060 if (PyErr_Occurred()) SWIG_fail
;
22062 resultobj
= SWIG_From_int(static_cast< int >(result
));
22069 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22070 PyObject
*resultobj
= 0;
22071 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22075 PyObject
*swig_obj
[1] ;
22077 if (!args
) SWIG_fail
;
22078 swig_obj
[0] = args
;
22079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22080 if (!SWIG_IsOK(res1
)) {
22081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22083 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22086 result
= (int)(arg1
)->IsControl();
22087 wxPyEndAllowThreads(__tstate
);
22088 if (PyErr_Occurred()) SWIG_fail
;
22090 resultobj
= SWIG_From_int(static_cast< int >(result
));
22097 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22098 PyObject
*resultobj
= 0;
22099 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22103 PyObject
*swig_obj
[1] ;
22105 if (!args
) SWIG_fail
;
22106 swig_obj
[0] = args
;
22107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22108 if (!SWIG_IsOK(res1
)) {
22109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22111 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22114 result
= (int)(arg1
)->IsSeparator();
22115 wxPyEndAllowThreads(__tstate
);
22116 if (PyErr_Occurred()) SWIG_fail
;
22118 resultobj
= SWIG_From_int(static_cast< int >(result
));
22125 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22126 PyObject
*resultobj
= 0;
22127 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22131 PyObject
*swig_obj
[1] ;
22133 if (!args
) SWIG_fail
;
22134 swig_obj
[0] = args
;
22135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22136 if (!SWIG_IsOK(res1
)) {
22137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22139 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22142 result
= (int)(arg1
)->GetStyle();
22143 wxPyEndAllowThreads(__tstate
);
22144 if (PyErr_Occurred()) SWIG_fail
;
22146 resultobj
= SWIG_From_int(static_cast< int >(result
));
22153 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22154 PyObject
*resultobj
= 0;
22155 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22159 PyObject
*swig_obj
[1] ;
22161 if (!args
) SWIG_fail
;
22162 swig_obj
[0] = args
;
22163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22164 if (!SWIG_IsOK(res1
)) {
22165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22167 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22170 result
= (wxItemKind
)(arg1
)->GetKind();
22171 wxPyEndAllowThreads(__tstate
);
22172 if (PyErr_Occurred()) SWIG_fail
;
22174 resultobj
= SWIG_From_int(static_cast< int >(result
));
22181 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22182 PyObject
*resultobj
= 0;
22183 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22187 PyObject
*swig_obj
[1] ;
22189 if (!args
) SWIG_fail
;
22190 swig_obj
[0] = args
;
22191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22192 if (!SWIG_IsOK(res1
)) {
22193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22195 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22198 result
= (bool)(arg1
)->IsEnabled();
22199 wxPyEndAllowThreads(__tstate
);
22200 if (PyErr_Occurred()) SWIG_fail
;
22203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22211 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22212 PyObject
*resultobj
= 0;
22213 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22217 PyObject
*swig_obj
[1] ;
22219 if (!args
) SWIG_fail
;
22220 swig_obj
[0] = args
;
22221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22222 if (!SWIG_IsOK(res1
)) {
22223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22225 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22228 result
= (bool)(arg1
)->IsToggled();
22229 wxPyEndAllowThreads(__tstate
);
22230 if (PyErr_Occurred()) SWIG_fail
;
22233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22241 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22242 PyObject
*resultobj
= 0;
22243 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22247 PyObject
*swig_obj
[1] ;
22249 if (!args
) SWIG_fail
;
22250 swig_obj
[0] = args
;
22251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22252 if (!SWIG_IsOK(res1
)) {
22253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22255 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22258 result
= (bool)(arg1
)->CanBeToggled();
22259 wxPyEndAllowThreads(__tstate
);
22260 if (PyErr_Occurred()) SWIG_fail
;
22263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22271 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22272 PyObject
*resultobj
= 0;
22273 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22274 wxBitmap
*result
= 0 ;
22277 PyObject
*swig_obj
[1] ;
22279 if (!args
) SWIG_fail
;
22280 swig_obj
[0] = args
;
22281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22282 if (!SWIG_IsOK(res1
)) {
22283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22285 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22289 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
22290 result
= (wxBitmap
*) &_result_ref
;
22292 wxPyEndAllowThreads(__tstate
);
22293 if (PyErr_Occurred()) SWIG_fail
;
22296 wxBitmap
* resultptr
= new wxBitmap(*result
);
22297 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22305 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22306 PyObject
*resultobj
= 0;
22307 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22308 wxBitmap
*result
= 0 ;
22311 PyObject
*swig_obj
[1] ;
22313 if (!args
) SWIG_fail
;
22314 swig_obj
[0] = args
;
22315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22316 if (!SWIG_IsOK(res1
)) {
22317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22319 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22323 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
22324 result
= (wxBitmap
*) &_result_ref
;
22326 wxPyEndAllowThreads(__tstate
);
22327 if (PyErr_Occurred()) SWIG_fail
;
22330 wxBitmap
* resultptr
= new wxBitmap(*result
);
22331 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22339 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22340 PyObject
*resultobj
= 0;
22341 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22345 PyObject
*swig_obj
[1] ;
22347 if (!args
) SWIG_fail
;
22348 swig_obj
[0] = args
;
22349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22350 if (!SWIG_IsOK(res1
)) {
22351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22353 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22356 result
= (arg1
)->GetBitmap();
22357 wxPyEndAllowThreads(__tstate
);
22358 if (PyErr_Occurred()) SWIG_fail
;
22360 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
22367 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22368 PyObject
*resultobj
= 0;
22369 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22373 PyObject
*swig_obj
[1] ;
22375 if (!args
) SWIG_fail
;
22376 swig_obj
[0] = args
;
22377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22378 if (!SWIG_IsOK(res1
)) {
22379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22381 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22384 result
= (arg1
)->GetLabel();
22385 wxPyEndAllowThreads(__tstate
);
22386 if (PyErr_Occurred()) SWIG_fail
;
22390 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22392 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22401 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22402 PyObject
*resultobj
= 0;
22403 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22407 PyObject
*swig_obj
[1] ;
22409 if (!args
) SWIG_fail
;
22410 swig_obj
[0] = args
;
22411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22412 if (!SWIG_IsOK(res1
)) {
22413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22415 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22418 result
= (arg1
)->GetShortHelp();
22419 wxPyEndAllowThreads(__tstate
);
22420 if (PyErr_Occurred()) SWIG_fail
;
22424 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22426 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22435 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22436 PyObject
*resultobj
= 0;
22437 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22441 PyObject
*swig_obj
[1] ;
22443 if (!args
) SWIG_fail
;
22444 swig_obj
[0] = args
;
22445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22446 if (!SWIG_IsOK(res1
)) {
22447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22449 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22452 result
= (arg1
)->GetLongHelp();
22453 wxPyEndAllowThreads(__tstate
);
22454 if (PyErr_Occurred()) SWIG_fail
;
22458 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22460 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22469 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22470 PyObject
*resultobj
= 0;
22471 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22478 PyObject
* obj0
= 0 ;
22479 PyObject
* obj1
= 0 ;
22480 char * kwnames
[] = {
22481 (char *) "self",(char *) "enable", NULL
22484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22486 if (!SWIG_IsOK(res1
)) {
22487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22489 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22490 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22491 if (!SWIG_IsOK(ecode2
)) {
22492 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
22494 arg2
= static_cast< bool >(val2
);
22496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22497 result
= (bool)(arg1
)->Enable(arg2
);
22498 wxPyEndAllowThreads(__tstate
);
22499 if (PyErr_Occurred()) SWIG_fail
;
22502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22510 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22511 PyObject
*resultobj
= 0;
22512 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22515 PyObject
*swig_obj
[1] ;
22517 if (!args
) SWIG_fail
;
22518 swig_obj
[0] = args
;
22519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22520 if (!SWIG_IsOK(res1
)) {
22521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22523 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22527 wxPyEndAllowThreads(__tstate
);
22528 if (PyErr_Occurred()) SWIG_fail
;
22530 resultobj
= SWIG_Py_Void();
22537 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22538 PyObject
*resultobj
= 0;
22539 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22546 PyObject
* obj0
= 0 ;
22547 PyObject
* obj1
= 0 ;
22548 char * kwnames
[] = {
22549 (char *) "self",(char *) "toggle", NULL
22552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22554 if (!SWIG_IsOK(res1
)) {
22555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22557 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22558 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22559 if (!SWIG_IsOK(ecode2
)) {
22560 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
22562 arg2
= static_cast< bool >(val2
);
22564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22565 result
= (bool)(arg1
)->SetToggle(arg2
);
22566 wxPyEndAllowThreads(__tstate
);
22567 if (PyErr_Occurred()) SWIG_fail
;
22570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22578 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22579 PyObject
*resultobj
= 0;
22580 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22581 wxString
*arg2
= 0 ;
22585 bool temp2
= false ;
22586 PyObject
* obj0
= 0 ;
22587 PyObject
* obj1
= 0 ;
22588 char * kwnames
[] = {
22589 (char *) "self",(char *) "help", NULL
22592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22594 if (!SWIG_IsOK(res1
)) {
22595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22597 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22599 arg2
= wxString_in_helper(obj1
);
22600 if (arg2
== NULL
) SWIG_fail
;
22604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22605 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
22606 wxPyEndAllowThreads(__tstate
);
22607 if (PyErr_Occurred()) SWIG_fail
;
22610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22626 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22627 PyObject
*resultobj
= 0;
22628 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22629 wxString
*arg2
= 0 ;
22633 bool temp2
= false ;
22634 PyObject
* obj0
= 0 ;
22635 PyObject
* obj1
= 0 ;
22636 char * kwnames
[] = {
22637 (char *) "self",(char *) "help", NULL
22640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22642 if (!SWIG_IsOK(res1
)) {
22643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22645 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22647 arg2
= wxString_in_helper(obj1
);
22648 if (arg2
== NULL
) SWIG_fail
;
22652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22653 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
22654 wxPyEndAllowThreads(__tstate
);
22655 if (PyErr_Occurred()) SWIG_fail
;
22658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22674 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22675 PyObject
*resultobj
= 0;
22676 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22677 wxBitmap
*arg2
= 0 ;
22682 PyObject
* obj0
= 0 ;
22683 PyObject
* obj1
= 0 ;
22684 char * kwnames
[] = {
22685 (char *) "self",(char *) "bmp", NULL
22688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22690 if (!SWIG_IsOK(res1
)) {
22691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22693 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22694 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22695 if (!SWIG_IsOK(res2
)) {
22696 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22699 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22701 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
22703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22704 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
22705 wxPyEndAllowThreads(__tstate
);
22706 if (PyErr_Occurred()) SWIG_fail
;
22708 resultobj
= SWIG_Py_Void();
22715 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22716 PyObject
*resultobj
= 0;
22717 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22718 wxBitmap
*arg2
= 0 ;
22723 PyObject
* obj0
= 0 ;
22724 PyObject
* obj1
= 0 ;
22725 char * kwnames
[] = {
22726 (char *) "self",(char *) "bmp", NULL
22729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22731 if (!SWIG_IsOK(res1
)) {
22732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22734 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22735 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22736 if (!SWIG_IsOK(res2
)) {
22737 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22740 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22742 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
22744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22745 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
22746 wxPyEndAllowThreads(__tstate
);
22747 if (PyErr_Occurred()) SWIG_fail
;
22749 resultobj
= SWIG_Py_Void();
22756 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22757 PyObject
*resultobj
= 0;
22758 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22759 wxString
*arg2
= 0 ;
22762 bool temp2
= false ;
22763 PyObject
* obj0
= 0 ;
22764 PyObject
* obj1
= 0 ;
22765 char * kwnames
[] = {
22766 (char *) "self",(char *) "label", NULL
22769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22771 if (!SWIG_IsOK(res1
)) {
22772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22774 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22776 arg2
= wxString_in_helper(obj1
);
22777 if (arg2
== NULL
) SWIG_fail
;
22781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22782 (arg1
)->SetLabel((wxString
const &)*arg2
);
22783 wxPyEndAllowThreads(__tstate
);
22784 if (PyErr_Occurred()) SWIG_fail
;
22786 resultobj
= SWIG_Py_Void();
22801 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22802 PyObject
*resultobj
= 0;
22803 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22806 PyObject
*swig_obj
[1] ;
22808 if (!args
) SWIG_fail
;
22809 swig_obj
[0] = args
;
22810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22811 if (!SWIG_IsOK(res1
)) {
22812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22814 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22818 wxPyEndAllowThreads(__tstate
);
22819 if (PyErr_Occurred()) SWIG_fail
;
22821 resultobj
= SWIG_Py_Void();
22828 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22829 PyObject
*resultobj
= 0;
22830 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22831 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
22836 PyObject
* obj0
= 0 ;
22837 PyObject
* obj1
= 0 ;
22838 char * kwnames
[] = {
22839 (char *) "self",(char *) "tbar", NULL
22842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22844 if (!SWIG_IsOK(res1
)) {
22845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22847 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22848 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
22849 if (!SWIG_IsOK(res2
)) {
22850 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
22852 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
22854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22855 (arg1
)->Attach(arg2
);
22856 wxPyEndAllowThreads(__tstate
);
22857 if (PyErr_Occurred()) SWIG_fail
;
22859 resultobj
= SWIG_Py_Void();
22866 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22867 PyObject
*resultobj
= 0;
22868 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22869 PyObject
*result
= 0 ;
22872 PyObject
*swig_obj
[1] ;
22874 if (!args
) SWIG_fail
;
22875 swig_obj
[0] = args
;
22876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22877 if (!SWIG_IsOK(res1
)) {
22878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22880 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22883 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
22884 wxPyEndAllowThreads(__tstate
);
22885 if (PyErr_Occurred()) SWIG_fail
;
22887 resultobj
= result
;
22894 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22895 PyObject
*resultobj
= 0;
22896 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22897 PyObject
*arg2
= (PyObject
*) 0 ;
22900 PyObject
* obj0
= 0 ;
22901 PyObject
* obj1
= 0 ;
22902 char * kwnames
[] = {
22903 (char *) "self",(char *) "clientData", NULL
22906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22908 if (!SWIG_IsOK(res1
)) {
22909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22911 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22915 wxToolBarToolBase_SetClientData(arg1
,arg2
);
22916 wxPyEndAllowThreads(__tstate
);
22917 if (PyErr_Occurred()) SWIG_fail
;
22919 resultobj
= SWIG_Py_Void();
22926 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22928 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22929 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
22930 return SWIG_Py_Void();
22933 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22934 PyObject
*resultobj
= 0;
22935 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
22937 wxString
*arg3
= 0 ;
22938 wxBitmap
*arg4
= 0 ;
22939 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
22940 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
22941 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
22942 wxString
const &arg7_defvalue
= wxPyEmptyString
;
22943 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22944 wxString
const &arg8_defvalue
= wxPyEmptyString
;
22945 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
22946 PyObject
*arg9
= (PyObject
*) NULL
;
22947 wxToolBarToolBase
*result
= 0 ;
22952 bool temp3
= false ;
22959 bool temp7
= false ;
22960 bool temp8
= false ;
22961 PyObject
* obj0
= 0 ;
22962 PyObject
* obj1
= 0 ;
22963 PyObject
* obj2
= 0 ;
22964 PyObject
* obj3
= 0 ;
22965 PyObject
* obj4
= 0 ;
22966 PyObject
* obj5
= 0 ;
22967 PyObject
* obj6
= 0 ;
22968 PyObject
* obj7
= 0 ;
22969 PyObject
* obj8
= 0 ;
22970 char * kwnames
[] = {
22971 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
22974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
22975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
22976 if (!SWIG_IsOK(res1
)) {
22977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
22979 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
22980 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22981 if (!SWIG_IsOK(ecode2
)) {
22982 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
22984 arg2
= static_cast< int >(val2
);
22986 arg3
= wxString_in_helper(obj2
);
22987 if (arg3
== NULL
) SWIG_fail
;
22990 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22991 if (!SWIG_IsOK(res4
)) {
22992 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
22995 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
22997 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
22999 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23000 if (!SWIG_IsOK(res5
)) {
23001 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23004 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23006 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23009 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23010 if (!SWIG_IsOK(ecode6
)) {
23011 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23013 arg6
= static_cast< wxItemKind
>(val6
);
23017 arg7
= wxString_in_helper(obj6
);
23018 if (arg7
== NULL
) SWIG_fail
;
23024 arg8
= wxString_in_helper(obj7
);
23025 if (arg8
== NULL
) SWIG_fail
;
23033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23034 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
23035 wxPyEndAllowThreads(__tstate
);
23036 if (PyErr_Occurred()) SWIG_fail
;
23039 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23071 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23072 PyObject
*resultobj
= 0;
23073 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23076 wxString
*arg4
= 0 ;
23077 wxBitmap
*arg5
= 0 ;
23078 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
23079 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
23080 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
23081 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23082 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23083 wxString
const &arg9_defvalue
= wxPyEmptyString
;
23084 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23085 PyObject
*arg10
= (PyObject
*) NULL
;
23086 wxToolBarToolBase
*result
= 0 ;
23093 bool temp4
= false ;
23100 bool temp8
= false ;
23101 bool temp9
= false ;
23102 PyObject
* obj0
= 0 ;
23103 PyObject
* obj1
= 0 ;
23104 PyObject
* obj2
= 0 ;
23105 PyObject
* obj3
= 0 ;
23106 PyObject
* obj4
= 0 ;
23107 PyObject
* obj5
= 0 ;
23108 PyObject
* obj6
= 0 ;
23109 PyObject
* obj7
= 0 ;
23110 PyObject
* obj8
= 0 ;
23111 PyObject
* obj9
= 0 ;
23112 char * kwnames
[] = {
23113 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
23117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23118 if (!SWIG_IsOK(res1
)) {
23119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23121 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23122 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23123 if (!SWIG_IsOK(ecode2
)) {
23124 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
23126 arg2
= static_cast< size_t >(val2
);
23127 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23128 if (!SWIG_IsOK(ecode3
)) {
23129 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
23131 arg3
= static_cast< int >(val3
);
23133 arg4
= wxString_in_helper(obj3
);
23134 if (arg4
== NULL
) SWIG_fail
;
23137 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23138 if (!SWIG_IsOK(res5
)) {
23139 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23142 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23144 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23146 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23147 if (!SWIG_IsOK(res6
)) {
23148 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23151 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23153 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
23156 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
23157 if (!SWIG_IsOK(ecode7
)) {
23158 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
23160 arg7
= static_cast< wxItemKind
>(val7
);
23164 arg8
= wxString_in_helper(obj7
);
23165 if (arg8
== NULL
) SWIG_fail
;
23171 arg9
= wxString_in_helper(obj8
);
23172 if (arg9
== NULL
) SWIG_fail
;
23180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23181 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
23182 wxPyEndAllowThreads(__tstate
);
23183 if (PyErr_Occurred()) SWIG_fail
;
23186 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23218 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23219 PyObject
*resultobj
= 0;
23220 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23221 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
23222 wxToolBarToolBase
*result
= 0 ;
23227 PyObject
* obj0
= 0 ;
23228 PyObject
* obj1
= 0 ;
23229 char * kwnames
[] = {
23230 (char *) "self",(char *) "tool", NULL
23233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23235 if (!SWIG_IsOK(res1
)) {
23236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23238 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23239 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23240 if (!SWIG_IsOK(res2
)) {
23241 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
23243 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
23245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23246 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
23247 wxPyEndAllowThreads(__tstate
);
23248 if (PyErr_Occurred()) SWIG_fail
;
23251 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23259 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23260 PyObject
*resultobj
= 0;
23261 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23263 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
23264 wxToolBarToolBase
*result
= 0 ;
23271 PyObject
* obj0
= 0 ;
23272 PyObject
* obj1
= 0 ;
23273 PyObject
* obj2
= 0 ;
23274 char * kwnames
[] = {
23275 (char *) "self",(char *) "pos",(char *) "tool", NULL
23278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23280 if (!SWIG_IsOK(res1
)) {
23281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23283 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23284 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23285 if (!SWIG_IsOK(ecode2
)) {
23286 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
23288 arg2
= static_cast< size_t >(val2
);
23289 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23290 if (!SWIG_IsOK(res3
)) {
23291 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
23293 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
23295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23296 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
23297 wxPyEndAllowThreads(__tstate
);
23298 if (PyErr_Occurred()) SWIG_fail
;
23301 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23309 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23310 PyObject
*resultobj
= 0;
23311 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23312 wxControl
*arg2
= (wxControl
*) 0 ;
23313 wxToolBarToolBase
*result
= 0 ;
23318 PyObject
* obj0
= 0 ;
23319 PyObject
* obj1
= 0 ;
23320 char * kwnames
[] = {
23321 (char *) "self",(char *) "control", NULL
23324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23326 if (!SWIG_IsOK(res1
)) {
23327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23329 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23330 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
23331 if (!SWIG_IsOK(res2
)) {
23332 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
23334 arg2
= reinterpret_cast< wxControl
* >(argp2
);
23336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23337 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
23338 wxPyEndAllowThreads(__tstate
);
23339 if (PyErr_Occurred()) SWIG_fail
;
23342 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23350 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23351 PyObject
*resultobj
= 0;
23352 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23354 wxControl
*arg3
= (wxControl
*) 0 ;
23355 wxToolBarToolBase
*result
= 0 ;
23362 PyObject
* obj0
= 0 ;
23363 PyObject
* obj1
= 0 ;
23364 PyObject
* obj2
= 0 ;
23365 char * kwnames
[] = {
23366 (char *) "self",(char *) "pos",(char *) "control", NULL
23369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23371 if (!SWIG_IsOK(res1
)) {
23372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23374 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23375 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23376 if (!SWIG_IsOK(ecode2
)) {
23377 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
23379 arg2
= static_cast< size_t >(val2
);
23380 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
23381 if (!SWIG_IsOK(res3
)) {
23382 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
23384 arg3
= reinterpret_cast< wxControl
* >(argp3
);
23386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23387 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
23388 wxPyEndAllowThreads(__tstate
);
23389 if (PyErr_Occurred()) SWIG_fail
;
23392 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23400 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23401 PyObject
*resultobj
= 0;
23402 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23404 wxControl
*result
= 0 ;
23409 PyObject
* obj0
= 0 ;
23410 PyObject
* obj1
= 0 ;
23411 char * kwnames
[] = {
23412 (char *) "self",(char *) "id", NULL
23415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23417 if (!SWIG_IsOK(res1
)) {
23418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23420 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23421 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23422 if (!SWIG_IsOK(ecode2
)) {
23423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
23425 arg2
= static_cast< int >(val2
);
23427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23428 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
23429 wxPyEndAllowThreads(__tstate
);
23430 if (PyErr_Occurred()) SWIG_fail
;
23433 resultobj
= wxPyMake_wxObject(result
, 0);
23441 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23442 PyObject
*resultobj
= 0;
23443 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23444 wxToolBarToolBase
*result
= 0 ;
23447 PyObject
*swig_obj
[1] ;
23449 if (!args
) SWIG_fail
;
23450 swig_obj
[0] = args
;
23451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23452 if (!SWIG_IsOK(res1
)) {
23453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23455 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23458 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
23459 wxPyEndAllowThreads(__tstate
);
23460 if (PyErr_Occurred()) SWIG_fail
;
23463 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23471 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23472 PyObject
*resultobj
= 0;
23473 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23475 wxToolBarToolBase
*result
= 0 ;
23480 PyObject
* obj0
= 0 ;
23481 PyObject
* obj1
= 0 ;
23482 char * kwnames
[] = {
23483 (char *) "self",(char *) "pos", NULL
23486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23488 if (!SWIG_IsOK(res1
)) {
23489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23491 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23492 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23493 if (!SWIG_IsOK(ecode2
)) {
23494 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
23496 arg2
= static_cast< size_t >(val2
);
23498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23499 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
23500 wxPyEndAllowThreads(__tstate
);
23501 if (PyErr_Occurred()) SWIG_fail
;
23504 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23512 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23513 PyObject
*resultobj
= 0;
23514 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23516 wxToolBarToolBase
*result
= 0 ;
23521 PyObject
* obj0
= 0 ;
23522 PyObject
* obj1
= 0 ;
23523 char * kwnames
[] = {
23524 (char *) "self",(char *) "id", NULL
23527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23529 if (!SWIG_IsOK(res1
)) {
23530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23532 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23533 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23534 if (!SWIG_IsOK(ecode2
)) {
23535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
23537 arg2
= static_cast< int >(val2
);
23539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23540 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
23541 wxPyEndAllowThreads(__tstate
);
23542 if (PyErr_Occurred()) SWIG_fail
;
23545 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23553 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23554 PyObject
*resultobj
= 0;
23555 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23562 PyObject
* obj0
= 0 ;
23563 PyObject
* obj1
= 0 ;
23564 char * kwnames
[] = {
23565 (char *) "self",(char *) "pos", NULL
23568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23570 if (!SWIG_IsOK(res1
)) {
23571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23573 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23574 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23575 if (!SWIG_IsOK(ecode2
)) {
23576 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
23578 arg2
= static_cast< size_t >(val2
);
23580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23581 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
23582 wxPyEndAllowThreads(__tstate
);
23583 if (PyErr_Occurred()) SWIG_fail
;
23586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23594 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23595 PyObject
*resultobj
= 0;
23596 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23603 PyObject
* obj0
= 0 ;
23604 PyObject
* obj1
= 0 ;
23605 char * kwnames
[] = {
23606 (char *) "self",(char *) "id", NULL
23609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23611 if (!SWIG_IsOK(res1
)) {
23612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23614 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23615 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23616 if (!SWIG_IsOK(ecode2
)) {
23617 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
23619 arg2
= static_cast< int >(val2
);
23621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23622 result
= (bool)(arg1
)->DeleteTool(arg2
);
23623 wxPyEndAllowThreads(__tstate
);
23624 if (PyErr_Occurred()) SWIG_fail
;
23627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23635 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23636 PyObject
*resultobj
= 0;
23637 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23640 PyObject
*swig_obj
[1] ;
23642 if (!args
) SWIG_fail
;
23643 swig_obj
[0] = args
;
23644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23645 if (!SWIG_IsOK(res1
)) {
23646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23648 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23651 (arg1
)->ClearTools();
23652 wxPyEndAllowThreads(__tstate
);
23653 if (PyErr_Occurred()) SWIG_fail
;
23655 resultobj
= SWIG_Py_Void();
23662 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23663 PyObject
*resultobj
= 0;
23664 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23668 PyObject
*swig_obj
[1] ;
23670 if (!args
) SWIG_fail
;
23671 swig_obj
[0] = args
;
23672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23673 if (!SWIG_IsOK(res1
)) {
23674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23676 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23679 result
= (bool)(arg1
)->Realize();
23680 wxPyEndAllowThreads(__tstate
);
23681 if (PyErr_Occurred()) SWIG_fail
;
23684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23692 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23693 PyObject
*resultobj
= 0;
23694 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23703 PyObject
* obj0
= 0 ;
23704 PyObject
* obj1
= 0 ;
23705 PyObject
* obj2
= 0 ;
23706 char * kwnames
[] = {
23707 (char *) "self",(char *) "id",(char *) "enable", NULL
23710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23712 if (!SWIG_IsOK(res1
)) {
23713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23715 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23716 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23717 if (!SWIG_IsOK(ecode2
)) {
23718 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
23720 arg2
= static_cast< int >(val2
);
23721 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
23722 if (!SWIG_IsOK(ecode3
)) {
23723 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
23725 arg3
= static_cast< bool >(val3
);
23727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23728 (arg1
)->EnableTool(arg2
,arg3
);
23729 wxPyEndAllowThreads(__tstate
);
23730 if (PyErr_Occurred()) SWIG_fail
;
23732 resultobj
= SWIG_Py_Void();
23739 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23740 PyObject
*resultobj
= 0;
23741 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23750 PyObject
* obj0
= 0 ;
23751 PyObject
* obj1
= 0 ;
23752 PyObject
* obj2
= 0 ;
23753 char * kwnames
[] = {
23754 (char *) "self",(char *) "id",(char *) "toggle", NULL
23757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23759 if (!SWIG_IsOK(res1
)) {
23760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23762 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23763 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23764 if (!SWIG_IsOK(ecode2
)) {
23765 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
23767 arg2
= static_cast< int >(val2
);
23768 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
23769 if (!SWIG_IsOK(ecode3
)) {
23770 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
23772 arg3
= static_cast< bool >(val3
);
23774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23775 (arg1
)->ToggleTool(arg2
,arg3
);
23776 wxPyEndAllowThreads(__tstate
);
23777 if (PyErr_Occurred()) SWIG_fail
;
23779 resultobj
= SWIG_Py_Void();
23786 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23787 PyObject
*resultobj
= 0;
23788 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23797 PyObject
* obj0
= 0 ;
23798 PyObject
* obj1
= 0 ;
23799 PyObject
* obj2
= 0 ;
23800 char * kwnames
[] = {
23801 (char *) "self",(char *) "id",(char *) "toggle", NULL
23804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23806 if (!SWIG_IsOK(res1
)) {
23807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23809 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23810 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23811 if (!SWIG_IsOK(ecode2
)) {
23812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
23814 arg2
= static_cast< int >(val2
);
23815 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
23816 if (!SWIG_IsOK(ecode3
)) {
23817 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
23819 arg3
= static_cast< bool >(val3
);
23821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23822 (arg1
)->SetToggle(arg2
,arg3
);
23823 wxPyEndAllowThreads(__tstate
);
23824 if (PyErr_Occurred()) SWIG_fail
;
23826 resultobj
= SWIG_Py_Void();
23833 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23834 PyObject
*resultobj
= 0;
23835 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23837 PyObject
*result
= 0 ;
23842 PyObject
* obj0
= 0 ;
23843 PyObject
* obj1
= 0 ;
23844 char * kwnames
[] = {
23845 (char *) "self",(char *) "id", NULL
23848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23850 if (!SWIG_IsOK(res1
)) {
23851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23853 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23854 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23855 if (!SWIG_IsOK(ecode2
)) {
23856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
23858 arg2
= static_cast< int >(val2
);
23860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23861 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
23862 wxPyEndAllowThreads(__tstate
);
23863 if (PyErr_Occurred()) SWIG_fail
;
23865 resultobj
= result
;
23872 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23873 PyObject
*resultobj
= 0;
23874 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23876 PyObject
*arg3
= (PyObject
*) 0 ;
23881 PyObject
* obj0
= 0 ;
23882 PyObject
* obj1
= 0 ;
23883 PyObject
* obj2
= 0 ;
23884 char * kwnames
[] = {
23885 (char *) "self",(char *) "id",(char *) "clientData", NULL
23888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23890 if (!SWIG_IsOK(res1
)) {
23891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23893 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23894 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23895 if (!SWIG_IsOK(ecode2
)) {
23896 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
23898 arg2
= static_cast< int >(val2
);
23901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23902 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
23903 wxPyEndAllowThreads(__tstate
);
23904 if (PyErr_Occurred()) SWIG_fail
;
23906 resultobj
= SWIG_Py_Void();
23913 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23914 PyObject
*resultobj
= 0;
23915 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23922 PyObject
* obj0
= 0 ;
23923 PyObject
* obj1
= 0 ;
23924 char * kwnames
[] = {
23925 (char *) "self",(char *) "id", NULL
23928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23930 if (!SWIG_IsOK(res1
)) {
23931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
23933 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23934 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23935 if (!SWIG_IsOK(ecode2
)) {
23936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
23938 arg2
= static_cast< int >(val2
);
23940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23941 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
23942 wxPyEndAllowThreads(__tstate
);
23943 if (PyErr_Occurred()) SWIG_fail
;
23945 resultobj
= SWIG_From_int(static_cast< int >(result
));
23952 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23953 PyObject
*resultobj
= 0;
23954 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23961 PyObject
* obj0
= 0 ;
23962 PyObject
* obj1
= 0 ;
23963 char * kwnames
[] = {
23964 (char *) "self",(char *) "id", NULL
23967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23969 if (!SWIG_IsOK(res1
)) {
23970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23972 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23973 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23974 if (!SWIG_IsOK(ecode2
)) {
23975 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
23977 arg2
= static_cast< int >(val2
);
23979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23980 result
= (bool)(arg1
)->GetToolState(arg2
);
23981 wxPyEndAllowThreads(__tstate
);
23982 if (PyErr_Occurred()) SWIG_fail
;
23985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23993 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23994 PyObject
*resultobj
= 0;
23995 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24002 PyObject
* obj0
= 0 ;
24003 PyObject
* obj1
= 0 ;
24004 char * kwnames
[] = {
24005 (char *) "self",(char *) "id", NULL
24008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24010 if (!SWIG_IsOK(res1
)) {
24011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24013 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24014 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24015 if (!SWIG_IsOK(ecode2
)) {
24016 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24018 arg2
= static_cast< int >(val2
);
24020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24021 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
24022 wxPyEndAllowThreads(__tstate
);
24023 if (PyErr_Occurred()) SWIG_fail
;
24026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24034 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24035 PyObject
*resultobj
= 0;
24036 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24038 wxString
*arg3
= 0 ;
24043 bool temp3
= false ;
24044 PyObject
* obj0
= 0 ;
24045 PyObject
* obj1
= 0 ;
24046 PyObject
* obj2
= 0 ;
24047 char * kwnames
[] = {
24048 (char *) "self",(char *) "id",(char *) "helpString", NULL
24051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24053 if (!SWIG_IsOK(res1
)) {
24054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24056 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24057 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24058 if (!SWIG_IsOK(ecode2
)) {
24059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24061 arg2
= static_cast< int >(val2
);
24063 arg3
= wxString_in_helper(obj2
);
24064 if (arg3
== NULL
) SWIG_fail
;
24068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24069 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
24070 wxPyEndAllowThreads(__tstate
);
24071 if (PyErr_Occurred()) SWIG_fail
;
24073 resultobj
= SWIG_Py_Void();
24088 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24089 PyObject
*resultobj
= 0;
24090 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24097 PyObject
* obj0
= 0 ;
24098 PyObject
* obj1
= 0 ;
24099 char * kwnames
[] = {
24100 (char *) "self",(char *) "id", NULL
24103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24105 if (!SWIG_IsOK(res1
)) {
24106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24108 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24109 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24110 if (!SWIG_IsOK(ecode2
)) {
24111 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24113 arg2
= static_cast< int >(val2
);
24115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24116 result
= (arg1
)->GetToolShortHelp(arg2
);
24117 wxPyEndAllowThreads(__tstate
);
24118 if (PyErr_Occurred()) SWIG_fail
;
24122 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24124 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24133 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24134 PyObject
*resultobj
= 0;
24135 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24137 wxString
*arg3
= 0 ;
24142 bool temp3
= false ;
24143 PyObject
* obj0
= 0 ;
24144 PyObject
* obj1
= 0 ;
24145 PyObject
* obj2
= 0 ;
24146 char * kwnames
[] = {
24147 (char *) "self",(char *) "id",(char *) "helpString", NULL
24150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24152 if (!SWIG_IsOK(res1
)) {
24153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24155 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24156 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24157 if (!SWIG_IsOK(ecode2
)) {
24158 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24160 arg2
= static_cast< int >(val2
);
24162 arg3
= wxString_in_helper(obj2
);
24163 if (arg3
== NULL
) SWIG_fail
;
24167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24168 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
24169 wxPyEndAllowThreads(__tstate
);
24170 if (PyErr_Occurred()) SWIG_fail
;
24172 resultobj
= SWIG_Py_Void();
24187 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24188 PyObject
*resultobj
= 0;
24189 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24196 PyObject
* obj0
= 0 ;
24197 PyObject
* obj1
= 0 ;
24198 char * kwnames
[] = {
24199 (char *) "self",(char *) "id", NULL
24202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24204 if (!SWIG_IsOK(res1
)) {
24205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24207 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24208 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24209 if (!SWIG_IsOK(ecode2
)) {
24210 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24212 arg2
= static_cast< int >(val2
);
24214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24215 result
= (arg1
)->GetToolLongHelp(arg2
);
24216 wxPyEndAllowThreads(__tstate
);
24217 if (PyErr_Occurred()) SWIG_fail
;
24221 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24223 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24232 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24233 PyObject
*resultobj
= 0;
24234 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24243 PyObject
* obj0
= 0 ;
24244 PyObject
* obj1
= 0 ;
24245 PyObject
* obj2
= 0 ;
24246 char * kwnames
[] = {
24247 (char *) "self",(char *) "x",(char *) "y", NULL
24250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24252 if (!SWIG_IsOK(res1
)) {
24253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24255 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24256 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24257 if (!SWIG_IsOK(ecode2
)) {
24258 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
24260 arg2
= static_cast< int >(val2
);
24261 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24262 if (!SWIG_IsOK(ecode3
)) {
24263 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
24265 arg3
= static_cast< int >(val3
);
24267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24268 (arg1
)->SetMargins(arg2
,arg3
);
24269 wxPyEndAllowThreads(__tstate
);
24270 if (PyErr_Occurred()) SWIG_fail
;
24272 resultobj
= SWIG_Py_Void();
24279 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24280 PyObject
*resultobj
= 0;
24281 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24286 PyObject
* obj0
= 0 ;
24287 PyObject
* obj1
= 0 ;
24288 char * kwnames
[] = {
24289 (char *) "self",(char *) "size", NULL
24292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24294 if (!SWIG_IsOK(res1
)) {
24295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24297 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24300 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24304 (arg1
)->SetMargins((wxSize
const &)*arg2
);
24305 wxPyEndAllowThreads(__tstate
);
24306 if (PyErr_Occurred()) SWIG_fail
;
24308 resultobj
= SWIG_Py_Void();
24315 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24316 PyObject
*resultobj
= 0;
24317 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24323 PyObject
* obj0
= 0 ;
24324 PyObject
* obj1
= 0 ;
24325 char * kwnames
[] = {
24326 (char *) "self",(char *) "packing", NULL
24329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24331 if (!SWIG_IsOK(res1
)) {
24332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24334 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24335 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24336 if (!SWIG_IsOK(ecode2
)) {
24337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
24339 arg2
= static_cast< int >(val2
);
24341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24342 (arg1
)->SetToolPacking(arg2
);
24343 wxPyEndAllowThreads(__tstate
);
24344 if (PyErr_Occurred()) SWIG_fail
;
24346 resultobj
= SWIG_Py_Void();
24353 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24354 PyObject
*resultobj
= 0;
24355 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24361 PyObject
* obj0
= 0 ;
24362 PyObject
* obj1
= 0 ;
24363 char * kwnames
[] = {
24364 (char *) "self",(char *) "separation", NULL
24367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24369 if (!SWIG_IsOK(res1
)) {
24370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24372 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24373 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24374 if (!SWIG_IsOK(ecode2
)) {
24375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
24377 arg2
= static_cast< int >(val2
);
24379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24380 (arg1
)->SetToolSeparation(arg2
);
24381 wxPyEndAllowThreads(__tstate
);
24382 if (PyErr_Occurred()) SWIG_fail
;
24384 resultobj
= SWIG_Py_Void();
24391 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24392 PyObject
*resultobj
= 0;
24393 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24397 PyObject
*swig_obj
[1] ;
24399 if (!args
) SWIG_fail
;
24400 swig_obj
[0] = args
;
24401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24402 if (!SWIG_IsOK(res1
)) {
24403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24405 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24408 result
= (arg1
)->GetToolMargins();
24409 wxPyEndAllowThreads(__tstate
);
24410 if (PyErr_Occurred()) SWIG_fail
;
24412 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24419 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24420 PyObject
*resultobj
= 0;
24421 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24425 PyObject
*swig_obj
[1] ;
24427 if (!args
) SWIG_fail
;
24428 swig_obj
[0] = args
;
24429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24430 if (!SWIG_IsOK(res1
)) {
24431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24433 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24436 result
= (arg1
)->GetMargins();
24437 wxPyEndAllowThreads(__tstate
);
24438 if (PyErr_Occurred()) SWIG_fail
;
24440 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24447 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24448 PyObject
*resultobj
= 0;
24449 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24453 PyObject
*swig_obj
[1] ;
24455 if (!args
) SWIG_fail
;
24456 swig_obj
[0] = args
;
24457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24458 if (!SWIG_IsOK(res1
)) {
24459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24461 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24464 result
= (int)(arg1
)->GetToolPacking();
24465 wxPyEndAllowThreads(__tstate
);
24466 if (PyErr_Occurred()) SWIG_fail
;
24468 resultobj
= SWIG_From_int(static_cast< int >(result
));
24475 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24476 PyObject
*resultobj
= 0;
24477 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24481 PyObject
*swig_obj
[1] ;
24483 if (!args
) SWIG_fail
;
24484 swig_obj
[0] = args
;
24485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24486 if (!SWIG_IsOK(res1
)) {
24487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24489 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24492 result
= (int)(arg1
)->GetToolSeparation();
24493 wxPyEndAllowThreads(__tstate
);
24494 if (PyErr_Occurred()) SWIG_fail
;
24496 resultobj
= SWIG_From_int(static_cast< int >(result
));
24503 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24504 PyObject
*resultobj
= 0;
24505 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24511 PyObject
* obj0
= 0 ;
24512 PyObject
* obj1
= 0 ;
24513 char * kwnames
[] = {
24514 (char *) "self",(char *) "nRows", NULL
24517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24519 if (!SWIG_IsOK(res1
)) {
24520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24522 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24523 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24524 if (!SWIG_IsOK(ecode2
)) {
24525 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
24527 arg2
= static_cast< int >(val2
);
24529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24530 (arg1
)->SetRows(arg2
);
24531 wxPyEndAllowThreads(__tstate
);
24532 if (PyErr_Occurred()) SWIG_fail
;
24534 resultobj
= SWIG_Py_Void();
24541 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24542 PyObject
*resultobj
= 0;
24543 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24552 PyObject
* obj0
= 0 ;
24553 PyObject
* obj1
= 0 ;
24554 PyObject
* obj2
= 0 ;
24555 char * kwnames
[] = {
24556 (char *) "self",(char *) "rows",(char *) "cols", NULL
24559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24561 if (!SWIG_IsOK(res1
)) {
24562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24564 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24565 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24566 if (!SWIG_IsOK(ecode2
)) {
24567 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
24569 arg2
= static_cast< int >(val2
);
24570 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24571 if (!SWIG_IsOK(ecode3
)) {
24572 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
24574 arg3
= static_cast< int >(val3
);
24576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24577 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
24578 wxPyEndAllowThreads(__tstate
);
24579 if (PyErr_Occurred()) SWIG_fail
;
24581 resultobj
= SWIG_Py_Void();
24588 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24589 PyObject
*resultobj
= 0;
24590 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24594 PyObject
*swig_obj
[1] ;
24596 if (!args
) SWIG_fail
;
24597 swig_obj
[0] = args
;
24598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24599 if (!SWIG_IsOK(res1
)) {
24600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24602 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24605 result
= (int)(arg1
)->GetMaxRows();
24606 wxPyEndAllowThreads(__tstate
);
24607 if (PyErr_Occurred()) SWIG_fail
;
24609 resultobj
= SWIG_From_int(static_cast< int >(result
));
24616 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24617 PyObject
*resultobj
= 0;
24618 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24622 PyObject
*swig_obj
[1] ;
24624 if (!args
) SWIG_fail
;
24625 swig_obj
[0] = args
;
24626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24627 if (!SWIG_IsOK(res1
)) {
24628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24630 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24633 result
= (int)(arg1
)->GetMaxCols();
24634 wxPyEndAllowThreads(__tstate
);
24635 if (PyErr_Occurred()) SWIG_fail
;
24637 resultobj
= SWIG_From_int(static_cast< int >(result
));
24644 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24645 PyObject
*resultobj
= 0;
24646 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24651 PyObject
* obj0
= 0 ;
24652 PyObject
* obj1
= 0 ;
24653 char * kwnames
[] = {
24654 (char *) "self",(char *) "size", NULL
24657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24659 if (!SWIG_IsOK(res1
)) {
24660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24662 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24665 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24669 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
24670 wxPyEndAllowThreads(__tstate
);
24671 if (PyErr_Occurred()) SWIG_fail
;
24673 resultobj
= SWIG_Py_Void();
24680 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24681 PyObject
*resultobj
= 0;
24682 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24686 PyObject
*swig_obj
[1] ;
24688 if (!args
) SWIG_fail
;
24689 swig_obj
[0] = args
;
24690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24691 if (!SWIG_IsOK(res1
)) {
24692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24694 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24697 result
= (arg1
)->GetToolBitmapSize();
24698 wxPyEndAllowThreads(__tstate
);
24699 if (PyErr_Occurred()) SWIG_fail
;
24701 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24708 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24709 PyObject
*resultobj
= 0;
24710 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24714 PyObject
*swig_obj
[1] ;
24716 if (!args
) SWIG_fail
;
24717 swig_obj
[0] = args
;
24718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24719 if (!SWIG_IsOK(res1
)) {
24720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24722 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24725 result
= (arg1
)->GetToolSize();
24726 wxPyEndAllowThreads(__tstate
);
24727 if (PyErr_Occurred()) SWIG_fail
;
24729 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24736 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24737 PyObject
*resultobj
= 0;
24738 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24741 wxToolBarToolBase
*result
= 0 ;
24748 PyObject
* obj0
= 0 ;
24749 PyObject
* obj1
= 0 ;
24750 PyObject
* obj2
= 0 ;
24751 char * kwnames
[] = {
24752 (char *) "self",(char *) "x",(char *) "y", NULL
24755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24757 if (!SWIG_IsOK(res1
)) {
24758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24760 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24761 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24762 if (!SWIG_IsOK(ecode2
)) {
24763 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
24765 arg2
= static_cast< int >(val2
);
24766 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24767 if (!SWIG_IsOK(ecode3
)) {
24768 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
24770 arg3
= static_cast< int >(val3
);
24772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24773 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
24774 wxPyEndAllowThreads(__tstate
);
24775 if (PyErr_Occurred()) SWIG_fail
;
24778 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24786 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24787 PyObject
*resultobj
= 0;
24788 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24790 wxToolBarToolBase
*result
= 0 ;
24795 PyObject
* obj0
= 0 ;
24796 PyObject
* obj1
= 0 ;
24797 char * kwnames
[] = {
24798 (char *) "self",(char *) "toolid", NULL
24801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24803 if (!SWIG_IsOK(res1
)) {
24804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24806 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24807 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24808 if (!SWIG_IsOK(ecode2
)) {
24809 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
24811 arg2
= static_cast< int >(val2
);
24813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24814 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
24815 wxPyEndAllowThreads(__tstate
);
24816 if (PyErr_Occurred()) SWIG_fail
;
24819 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24827 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24828 PyObject
*resultobj
= 0;
24829 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24833 PyObject
*swig_obj
[1] ;
24835 if (!args
) SWIG_fail
;
24836 swig_obj
[0] = args
;
24837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24838 if (!SWIG_IsOK(res1
)) {
24839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24841 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24844 result
= (bool)(arg1
)->IsVertical();
24845 wxPyEndAllowThreads(__tstate
);
24846 if (PyErr_Occurred()) SWIG_fail
;
24849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24857 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24858 PyObject
*resultobj
= 0;
24859 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24863 PyObject
*swig_obj
[1] ;
24865 if (!args
) SWIG_fail
;
24866 swig_obj
[0] = args
;
24867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24868 if (!SWIG_IsOK(res1
)) {
24869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24871 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24874 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
24875 wxPyEndAllowThreads(__tstate
);
24876 if (PyErr_Occurred()) SWIG_fail
;
24878 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
24885 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24887 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24888 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
24889 return SWIG_Py_Void();
24892 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24893 PyObject
*resultobj
= 0;
24894 wxWindow
*arg1
= (wxWindow
*) 0 ;
24895 int arg2
= (int) -1 ;
24896 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24897 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24898 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24899 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24900 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
24901 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
24902 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
24903 wxToolBar
*result
= 0 ;
24912 bool temp6
= false ;
24913 PyObject
* obj0
= 0 ;
24914 PyObject
* obj1
= 0 ;
24915 PyObject
* obj2
= 0 ;
24916 PyObject
* obj3
= 0 ;
24917 PyObject
* obj4
= 0 ;
24918 PyObject
* obj5
= 0 ;
24919 char * kwnames
[] = {
24920 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
24924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24925 if (!SWIG_IsOK(res1
)) {
24926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
24928 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24930 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24931 if (!SWIG_IsOK(ecode2
)) {
24932 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
24934 arg2
= static_cast< int >(val2
);
24939 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24945 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24949 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
24950 if (!SWIG_IsOK(ecode5
)) {
24951 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
24953 arg5
= static_cast< long >(val5
);
24957 arg6
= wxString_in_helper(obj5
);
24958 if (arg6
== NULL
) SWIG_fail
;
24963 if (!wxPyCheckForApp()) SWIG_fail
;
24964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24965 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
24966 wxPyEndAllowThreads(__tstate
);
24967 if (PyErr_Occurred()) SWIG_fail
;
24969 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
24984 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24985 PyObject
*resultobj
= 0;
24986 wxToolBar
*result
= 0 ;
24988 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
24990 if (!wxPyCheckForApp()) SWIG_fail
;
24991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24992 result
= (wxToolBar
*)new wxToolBar();
24993 wxPyEndAllowThreads(__tstate
);
24994 if (PyErr_Occurred()) SWIG_fail
;
24996 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
25003 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25004 PyObject
*resultobj
= 0;
25005 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25006 wxWindow
*arg2
= (wxWindow
*) 0 ;
25007 int arg3
= (int) -1 ;
25008 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25009 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25010 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25011 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25012 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25013 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
25014 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25026 bool temp7
= false ;
25027 PyObject
* obj0
= 0 ;
25028 PyObject
* obj1
= 0 ;
25029 PyObject
* obj2
= 0 ;
25030 PyObject
* obj3
= 0 ;
25031 PyObject
* obj4
= 0 ;
25032 PyObject
* obj5
= 0 ;
25033 PyObject
* obj6
= 0 ;
25034 char * kwnames
[] = {
25035 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
25040 if (!SWIG_IsOK(res1
)) {
25041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25043 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
25044 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25045 if (!SWIG_IsOK(res2
)) {
25046 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25048 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25050 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25051 if (!SWIG_IsOK(ecode3
)) {
25052 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25054 arg3
= static_cast< int >(val3
);
25059 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25065 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25069 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
25070 if (!SWIG_IsOK(ecode6
)) {
25071 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25073 arg6
= static_cast< long >(val6
);
25077 arg7
= wxString_in_helper(obj6
);
25078 if (arg7
== NULL
) SWIG_fail
;
25083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25084 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25085 wxPyEndAllowThreads(__tstate
);
25086 if (PyErr_Occurred()) SWIG_fail
;
25089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25105 SWIGINTERN PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25106 PyObject
*resultobj
= 0;
25107 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25110 wxToolBarToolBase
*result
= 0 ;
25117 PyObject
* obj0
= 0 ;
25118 PyObject
* obj1
= 0 ;
25119 PyObject
* obj2
= 0 ;
25120 char * kwnames
[] = {
25121 (char *) "self",(char *) "x",(char *) "y", NULL
25124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
25126 if (!SWIG_IsOK(res1
)) {
25127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBar *""'");
25129 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
25130 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25131 if (!SWIG_IsOK(ecode2
)) {
25132 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBar_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25134 arg2
= static_cast< int >(val2
);
25135 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25136 if (!SWIG_IsOK(ecode3
)) {
25137 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25139 arg3
= static_cast< int >(val3
);
25141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25142 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25143 wxPyEndAllowThreads(__tstate
);
25144 if (PyErr_Occurred()) SWIG_fail
;
25147 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25155 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25156 PyObject
*resultobj
= 0;
25157 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
25158 SwigValueWrapper
<wxVisualAttributes
> result
;
25161 PyObject
* obj0
= 0 ;
25162 char * kwnames
[] = {
25163 (char *) "variant", NULL
25166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
25168 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25169 if (!SWIG_IsOK(ecode1
)) {
25170 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
25172 arg1
= static_cast< wxWindowVariant
>(val1
);
25175 if (!wxPyCheckForApp()) SWIG_fail
;
25176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25177 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
25178 wxPyEndAllowThreads(__tstate
);
25179 if (PyErr_Occurred()) SWIG_fail
;
25181 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
25188 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25190 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25191 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
25192 return SWIG_Py_Void();
25195 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25196 return SWIG_Python_InitShadowInstance(args
);
25199 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
25200 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
25205 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
25206 PyObject
*pyobj
= 0;
25210 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25212 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25219 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25220 PyObject
*resultobj
= 0;
25221 wxColour
const &arg1_defvalue
= wxNullColour
;
25222 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
25223 wxColour
const &arg2_defvalue
= wxNullColour
;
25224 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
25225 wxFont
const &arg3_defvalue
= wxNullFont
;
25226 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
25227 wxListItemAttr
*result
= 0 ;
25232 PyObject
* obj0
= 0 ;
25233 PyObject
* obj1
= 0 ;
25234 PyObject
* obj2
= 0 ;
25235 char * kwnames
[] = {
25236 (char *) "colText",(char *) "colBack",(char *) "font", NULL
25239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25243 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
25249 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25253 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
25254 if (!SWIG_IsOK(res3
)) {
25255 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25258 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25260 arg3
= reinterpret_cast< wxFont
* >(argp3
);
25263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25264 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
25265 wxPyEndAllowThreads(__tstate
);
25266 if (PyErr_Occurred()) SWIG_fail
;
25268 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
25275 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25276 PyObject
*resultobj
= 0;
25277 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25280 PyObject
*swig_obj
[1] ;
25282 if (!args
) SWIG_fail
;
25283 swig_obj
[0] = args
;
25284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
25285 if (!SWIG_IsOK(res1
)) {
25286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25288 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25293 wxPyEndAllowThreads(__tstate
);
25294 if (PyErr_Occurred()) SWIG_fail
;
25296 resultobj
= SWIG_Py_Void();
25303 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25304 PyObject
*resultobj
= 0;
25305 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25306 wxColour
*arg2
= 0 ;
25310 PyObject
* obj0
= 0 ;
25311 PyObject
* obj1
= 0 ;
25312 char * kwnames
[] = {
25313 (char *) "self",(char *) "colText", NULL
25316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25318 if (!SWIG_IsOK(res1
)) {
25319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25321 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25324 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25328 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
25329 wxPyEndAllowThreads(__tstate
);
25330 if (PyErr_Occurred()) SWIG_fail
;
25332 resultobj
= SWIG_Py_Void();
25339 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25340 PyObject
*resultobj
= 0;
25341 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25342 wxColour
*arg2
= 0 ;
25346 PyObject
* obj0
= 0 ;
25347 PyObject
* obj1
= 0 ;
25348 char * kwnames
[] = {
25349 (char *) "self",(char *) "colBack", NULL
25352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25354 if (!SWIG_IsOK(res1
)) {
25355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25357 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25360 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25364 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
25365 wxPyEndAllowThreads(__tstate
);
25366 if (PyErr_Occurred()) SWIG_fail
;
25368 resultobj
= SWIG_Py_Void();
25375 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25376 PyObject
*resultobj
= 0;
25377 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25383 PyObject
* obj0
= 0 ;
25384 PyObject
* obj1
= 0 ;
25385 char * kwnames
[] = {
25386 (char *) "self",(char *) "font", NULL
25389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25391 if (!SWIG_IsOK(res1
)) {
25392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25394 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25395 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
25396 if (!SWIG_IsOK(res2
)) {
25397 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25400 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25402 arg2
= reinterpret_cast< wxFont
* >(argp2
);
25404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25405 (arg1
)->SetFont((wxFont
const &)*arg2
);
25406 wxPyEndAllowThreads(__tstate
);
25407 if (PyErr_Occurred()) SWIG_fail
;
25409 resultobj
= SWIG_Py_Void();
25416 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25417 PyObject
*resultobj
= 0;
25418 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25422 PyObject
*swig_obj
[1] ;
25424 if (!args
) SWIG_fail
;
25425 swig_obj
[0] = args
;
25426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25427 if (!SWIG_IsOK(res1
)) {
25428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25430 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25433 result
= (bool)(arg1
)->HasTextColour();
25434 wxPyEndAllowThreads(__tstate
);
25435 if (PyErr_Occurred()) SWIG_fail
;
25438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25446 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25447 PyObject
*resultobj
= 0;
25448 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25452 PyObject
*swig_obj
[1] ;
25454 if (!args
) SWIG_fail
;
25455 swig_obj
[0] = args
;
25456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25457 if (!SWIG_IsOK(res1
)) {
25458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25460 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25463 result
= (bool)(arg1
)->HasBackgroundColour();
25464 wxPyEndAllowThreads(__tstate
);
25465 if (PyErr_Occurred()) SWIG_fail
;
25468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25476 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25477 PyObject
*resultobj
= 0;
25478 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25482 PyObject
*swig_obj
[1] ;
25484 if (!args
) SWIG_fail
;
25485 swig_obj
[0] = args
;
25486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25487 if (!SWIG_IsOK(res1
)) {
25488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25490 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25493 result
= (bool)(arg1
)->HasFont();
25494 wxPyEndAllowThreads(__tstate
);
25495 if (PyErr_Occurred()) SWIG_fail
;
25498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25506 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25507 PyObject
*resultobj
= 0;
25508 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25512 PyObject
*swig_obj
[1] ;
25514 if (!args
) SWIG_fail
;
25515 swig_obj
[0] = args
;
25516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25517 if (!SWIG_IsOK(res1
)) {
25518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25520 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25523 result
= (arg1
)->GetTextColour();
25524 wxPyEndAllowThreads(__tstate
);
25525 if (PyErr_Occurred()) SWIG_fail
;
25527 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25534 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25535 PyObject
*resultobj
= 0;
25536 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25540 PyObject
*swig_obj
[1] ;
25542 if (!args
) SWIG_fail
;
25543 swig_obj
[0] = args
;
25544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25545 if (!SWIG_IsOK(res1
)) {
25546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25548 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25551 result
= (arg1
)->GetBackgroundColour();
25552 wxPyEndAllowThreads(__tstate
);
25553 if (PyErr_Occurred()) SWIG_fail
;
25555 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25562 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25563 PyObject
*resultobj
= 0;
25564 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25568 PyObject
*swig_obj
[1] ;
25570 if (!args
) SWIG_fail
;
25571 swig_obj
[0] = args
;
25572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25573 if (!SWIG_IsOK(res1
)) {
25574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25576 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25579 result
= (arg1
)->GetFont();
25580 wxPyEndAllowThreads(__tstate
);
25581 if (PyErr_Occurred()) SWIG_fail
;
25583 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
25590 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25591 PyObject
*resultobj
= 0;
25592 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25593 wxListItemAttr
*arg2
= 0 ;
25598 PyObject
* obj0
= 0 ;
25599 PyObject
* obj1
= 0 ;
25600 char * kwnames
[] = {
25601 (char *) "self",(char *) "source", NULL
25604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25606 if (!SWIG_IsOK(res1
)) {
25607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25609 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25610 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
25611 if (!SWIG_IsOK(res2
)) {
25612 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
25615 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
25617 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
25619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25620 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
25621 wxPyEndAllowThreads(__tstate
);
25622 if (PyErr_Occurred()) SWIG_fail
;
25624 resultobj
= SWIG_Py_Void();
25631 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25632 PyObject
*resultobj
= 0;
25633 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25636 PyObject
*swig_obj
[1] ;
25638 if (!args
) SWIG_fail
;
25639 swig_obj
[0] = args
;
25640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25641 if (!SWIG_IsOK(res1
)) {
25642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25644 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25647 wxListItemAttr_Destroy(arg1
);
25648 wxPyEndAllowThreads(__tstate
);
25649 if (PyErr_Occurred()) SWIG_fail
;
25651 resultobj
= SWIG_Py_Void();
25658 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25660 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25661 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
25662 return SWIG_Py_Void();
25665 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25666 return SWIG_Python_InitShadowInstance(args
);
25669 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25670 PyObject
*resultobj
= 0;
25671 wxListItem
*result
= 0 ;
25673 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
25675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25676 result
= (wxListItem
*)new wxListItem();
25677 wxPyEndAllowThreads(__tstate
);
25678 if (PyErr_Occurred()) SWIG_fail
;
25681 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
25689 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25690 PyObject
*resultobj
= 0;
25691 wxListItem
*arg1
= (wxListItem
*) 0 ;
25694 PyObject
*swig_obj
[1] ;
25696 if (!args
) SWIG_fail
;
25697 swig_obj
[0] = args
;
25698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
25699 if (!SWIG_IsOK(res1
)) {
25700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
25702 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
25704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25707 wxPyEndAllowThreads(__tstate
);
25708 if (PyErr_Occurred()) SWIG_fail
;
25710 resultobj
= SWIG_Py_Void();
25717 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25718 PyObject
*resultobj
= 0;
25719 wxListItem
*arg1
= (wxListItem
*) 0 ;
25722 PyObject
*swig_obj
[1] ;
25724 if (!args
) SWIG_fail
;
25725 swig_obj
[0] = args
;
25726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
25727 if (!SWIG_IsOK(res1
)) {
25728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
25730 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
25732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25734 wxPyEndAllowThreads(__tstate
);
25735 if (PyErr_Occurred()) SWIG_fail
;
25737 resultobj
= SWIG_Py_Void();
25744 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25745 PyObject
*resultobj
= 0;
25746 wxListItem
*arg1
= (wxListItem
*) 0 ;
25749 PyObject
*swig_obj
[1] ;
25751 if (!args
) SWIG_fail
;
25752 swig_obj
[0] = args
;
25753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
25754 if (!SWIG_IsOK(res1
)) {
25755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
25757 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
25759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25760 (arg1
)->ClearAttributes();
25761 wxPyEndAllowThreads(__tstate
);
25762 if (PyErr_Occurred()) SWIG_fail
;
25764 resultobj
= SWIG_Py_Void();
25771 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25772 PyObject
*resultobj
= 0;
25773 wxListItem
*arg1
= (wxListItem
*) 0 ;
25779 PyObject
* obj0
= 0 ;
25780 PyObject
* obj1
= 0 ;
25781 char * kwnames
[] = {
25782 (char *) "self",(char *) "mask", NULL
25785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
25787 if (!SWIG_IsOK(res1
)) {
25788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
25790 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
25791 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
25792 if (!SWIG_IsOK(ecode2
)) {
25793 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
25795 arg2
= static_cast< long >(val2
);
25797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25798 (arg1
)->SetMask(arg2
);
25799 wxPyEndAllowThreads(__tstate
);
25800 if (PyErr_Occurred()) SWIG_fail
;
25802 resultobj
= SWIG_Py_Void();
25809 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25810 PyObject
*resultobj
= 0;
25811 wxListItem
*arg1
= (wxListItem
*) 0 ;
25817 PyObject
* obj0
= 0 ;
25818 PyObject
* obj1
= 0 ;
25819 char * kwnames
[] = {
25820 (char *) "self",(char *) "id", NULL
25823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
25825 if (!SWIG_IsOK(res1
)) {
25826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
25828 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
25829 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
25830 if (!SWIG_IsOK(ecode2
)) {
25831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
25833 arg2
= static_cast< long >(val2
);
25835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25836 (arg1
)->SetId(arg2
);
25837 wxPyEndAllowThreads(__tstate
);
25838 if (PyErr_Occurred()) SWIG_fail
;
25840 resultobj
= SWIG_Py_Void();
25847 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25848 PyObject
*resultobj
= 0;
25849 wxListItem
*arg1
= (wxListItem
*) 0 ;
25855 PyObject
* obj0
= 0 ;
25856 PyObject
* obj1
= 0 ;
25857 char * kwnames
[] = {
25858 (char *) "self",(char *) "col", NULL
25861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
25863 if (!SWIG_IsOK(res1
)) {
25864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
25866 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
25867 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25868 if (!SWIG_IsOK(ecode2
)) {
25869 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
25871 arg2
= static_cast< int >(val2
);
25873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25874 (arg1
)->SetColumn(arg2
);
25875 wxPyEndAllowThreads(__tstate
);
25876 if (PyErr_Occurred()) SWIG_fail
;
25878 resultobj
= SWIG_Py_Void();
25885 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25886 PyObject
*resultobj
= 0;
25887 wxListItem
*arg1
= (wxListItem
*) 0 ;
25893 PyObject
* obj0
= 0 ;
25894 PyObject
* obj1
= 0 ;
25895 char * kwnames
[] = {
25896 (char *) "self",(char *) "state", NULL
25899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
25901 if (!SWIG_IsOK(res1
)) {
25902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
25904 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
25905 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
25906 if (!SWIG_IsOK(ecode2
)) {
25907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
25909 arg2
= static_cast< long >(val2
);
25911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25912 (arg1
)->SetState(arg2
);
25913 wxPyEndAllowThreads(__tstate
);
25914 if (PyErr_Occurred()) SWIG_fail
;
25916 resultobj
= SWIG_Py_Void();
25923 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25924 PyObject
*resultobj
= 0;
25925 wxListItem
*arg1
= (wxListItem
*) 0 ;
25931 PyObject
* obj0
= 0 ;
25932 PyObject
* obj1
= 0 ;
25933 char * kwnames
[] = {
25934 (char *) "self",(char *) "stateMask", NULL
25937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
25939 if (!SWIG_IsOK(res1
)) {
25940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
25942 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
25943 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
25944 if (!SWIG_IsOK(ecode2
)) {
25945 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
25947 arg2
= static_cast< long >(val2
);
25949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25950 (arg1
)->SetStateMask(arg2
);
25951 wxPyEndAllowThreads(__tstate
);
25952 if (PyErr_Occurred()) SWIG_fail
;
25954 resultobj
= SWIG_Py_Void();
25961 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25962 PyObject
*resultobj
= 0;
25963 wxListItem
*arg1
= (wxListItem
*) 0 ;
25964 wxString
*arg2
= 0 ;
25967 bool temp2
= false ;
25968 PyObject
* obj0
= 0 ;
25969 PyObject
* obj1
= 0 ;
25970 char * kwnames
[] = {
25971 (char *) "self",(char *) "text", NULL
25974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
25976 if (!SWIG_IsOK(res1
)) {
25977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
25979 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
25981 arg2
= wxString_in_helper(obj1
);
25982 if (arg2
== NULL
) SWIG_fail
;
25986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25987 (arg1
)->SetText((wxString
const &)*arg2
);
25988 wxPyEndAllowThreads(__tstate
);
25989 if (PyErr_Occurred()) SWIG_fail
;
25991 resultobj
= SWIG_Py_Void();
26006 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26007 PyObject
*resultobj
= 0;
26008 wxListItem
*arg1
= (wxListItem
*) 0 ;
26014 PyObject
* obj0
= 0 ;
26015 PyObject
* obj1
= 0 ;
26016 char * kwnames
[] = {
26017 (char *) "self",(char *) "image", NULL
26020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26022 if (!SWIG_IsOK(res1
)) {
26023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26025 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26026 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26027 if (!SWIG_IsOK(ecode2
)) {
26028 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26030 arg2
= static_cast< int >(val2
);
26032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26033 (arg1
)->SetImage(arg2
);
26034 wxPyEndAllowThreads(__tstate
);
26035 if (PyErr_Occurred()) SWIG_fail
;
26037 resultobj
= SWIG_Py_Void();
26044 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26045 PyObject
*resultobj
= 0;
26046 wxListItem
*arg1
= (wxListItem
*) 0 ;
26052 PyObject
* obj0
= 0 ;
26053 PyObject
* obj1
= 0 ;
26054 char * kwnames
[] = {
26055 (char *) "self",(char *) "data", NULL
26058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26060 if (!SWIG_IsOK(res1
)) {
26061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26063 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26064 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26065 if (!SWIG_IsOK(ecode2
)) {
26066 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26068 arg2
= static_cast< long >(val2
);
26070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26071 (arg1
)->SetData(arg2
);
26072 wxPyEndAllowThreads(__tstate
);
26073 if (PyErr_Occurred()) SWIG_fail
;
26075 resultobj
= SWIG_Py_Void();
26082 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26083 PyObject
*resultobj
= 0;
26084 wxListItem
*arg1
= (wxListItem
*) 0 ;
26090 PyObject
* obj0
= 0 ;
26091 PyObject
* obj1
= 0 ;
26092 char * kwnames
[] = {
26093 (char *) "self",(char *) "width", NULL
26096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26098 if (!SWIG_IsOK(res1
)) {
26099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26101 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26102 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26103 if (!SWIG_IsOK(ecode2
)) {
26104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
26106 arg2
= static_cast< int >(val2
);
26108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26109 (arg1
)->SetWidth(arg2
);
26110 wxPyEndAllowThreads(__tstate
);
26111 if (PyErr_Occurred()) SWIG_fail
;
26113 resultobj
= SWIG_Py_Void();
26120 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26121 PyObject
*resultobj
= 0;
26122 wxListItem
*arg1
= (wxListItem
*) 0 ;
26123 wxListColumnFormat arg2
;
26128 PyObject
* obj0
= 0 ;
26129 PyObject
* obj1
= 0 ;
26130 char * kwnames
[] = {
26131 (char *) "self",(char *) "align", NULL
26134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26136 if (!SWIG_IsOK(res1
)) {
26137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26139 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26140 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26141 if (!SWIG_IsOK(ecode2
)) {
26142 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
26144 arg2
= static_cast< wxListColumnFormat
>(val2
);
26146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26147 (arg1
)->SetAlign(arg2
);
26148 wxPyEndAllowThreads(__tstate
);
26149 if (PyErr_Occurred()) SWIG_fail
;
26151 resultobj
= SWIG_Py_Void();
26158 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26159 PyObject
*resultobj
= 0;
26160 wxListItem
*arg1
= (wxListItem
*) 0 ;
26161 wxColour
*arg2
= 0 ;
26165 PyObject
* obj0
= 0 ;
26166 PyObject
* obj1
= 0 ;
26167 char * kwnames
[] = {
26168 (char *) "self",(char *) "colText", NULL
26171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26173 if (!SWIG_IsOK(res1
)) {
26174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26176 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26179 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26183 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26184 wxPyEndAllowThreads(__tstate
);
26185 if (PyErr_Occurred()) SWIG_fail
;
26187 resultobj
= SWIG_Py_Void();
26194 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26195 PyObject
*resultobj
= 0;
26196 wxListItem
*arg1
= (wxListItem
*) 0 ;
26197 wxColour
*arg2
= 0 ;
26201 PyObject
* obj0
= 0 ;
26202 PyObject
* obj1
= 0 ;
26203 char * kwnames
[] = {
26204 (char *) "self",(char *) "colBack", NULL
26207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26209 if (!SWIG_IsOK(res1
)) {
26210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26212 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26215 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26219 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26220 wxPyEndAllowThreads(__tstate
);
26221 if (PyErr_Occurred()) SWIG_fail
;
26223 resultobj
= SWIG_Py_Void();
26230 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26231 PyObject
*resultobj
= 0;
26232 wxListItem
*arg1
= (wxListItem
*) 0 ;
26238 PyObject
* obj0
= 0 ;
26239 PyObject
* obj1
= 0 ;
26240 char * kwnames
[] = {
26241 (char *) "self",(char *) "font", NULL
26244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26246 if (!SWIG_IsOK(res1
)) {
26247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
26249 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26250 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26251 if (!SWIG_IsOK(res2
)) {
26252 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26255 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26257 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26260 (arg1
)->SetFont((wxFont
const &)*arg2
);
26261 wxPyEndAllowThreads(__tstate
);
26262 if (PyErr_Occurred()) SWIG_fail
;
26264 resultobj
= SWIG_Py_Void();
26271 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26272 PyObject
*resultobj
= 0;
26273 wxListItem
*arg1
= (wxListItem
*) 0 ;
26277 PyObject
*swig_obj
[1] ;
26279 if (!args
) SWIG_fail
;
26280 swig_obj
[0] = args
;
26281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26282 if (!SWIG_IsOK(res1
)) {
26283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26285 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26288 result
= (long)(arg1
)->GetMask();
26289 wxPyEndAllowThreads(__tstate
);
26290 if (PyErr_Occurred()) SWIG_fail
;
26292 resultobj
= SWIG_From_long(static_cast< long >(result
));
26299 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26300 PyObject
*resultobj
= 0;
26301 wxListItem
*arg1
= (wxListItem
*) 0 ;
26305 PyObject
*swig_obj
[1] ;
26307 if (!args
) SWIG_fail
;
26308 swig_obj
[0] = args
;
26309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26310 if (!SWIG_IsOK(res1
)) {
26311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26313 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26316 result
= (long)(arg1
)->GetId();
26317 wxPyEndAllowThreads(__tstate
);
26318 if (PyErr_Occurred()) SWIG_fail
;
26320 resultobj
= SWIG_From_long(static_cast< long >(result
));
26327 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26328 PyObject
*resultobj
= 0;
26329 wxListItem
*arg1
= (wxListItem
*) 0 ;
26333 PyObject
*swig_obj
[1] ;
26335 if (!args
) SWIG_fail
;
26336 swig_obj
[0] = args
;
26337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26338 if (!SWIG_IsOK(res1
)) {
26339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26341 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26344 result
= (int)(arg1
)->GetColumn();
26345 wxPyEndAllowThreads(__tstate
);
26346 if (PyErr_Occurred()) SWIG_fail
;
26348 resultobj
= SWIG_From_int(static_cast< int >(result
));
26355 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26356 PyObject
*resultobj
= 0;
26357 wxListItem
*arg1
= (wxListItem
*) 0 ;
26361 PyObject
*swig_obj
[1] ;
26363 if (!args
) SWIG_fail
;
26364 swig_obj
[0] = args
;
26365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26366 if (!SWIG_IsOK(res1
)) {
26367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26369 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26372 result
= (long)(arg1
)->GetState();
26373 wxPyEndAllowThreads(__tstate
);
26374 if (PyErr_Occurred()) SWIG_fail
;
26376 resultobj
= SWIG_From_long(static_cast< long >(result
));
26383 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26384 PyObject
*resultobj
= 0;
26385 wxListItem
*arg1
= (wxListItem
*) 0 ;
26386 wxString
*result
= 0 ;
26389 PyObject
*swig_obj
[1] ;
26391 if (!args
) SWIG_fail
;
26392 swig_obj
[0] = args
;
26393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26394 if (!SWIG_IsOK(res1
)) {
26395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26397 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26401 wxString
const &_result_ref
= (arg1
)->GetText();
26402 result
= (wxString
*) &_result_ref
;
26404 wxPyEndAllowThreads(__tstate
);
26405 if (PyErr_Occurred()) SWIG_fail
;
26409 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
26411 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
26420 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26421 PyObject
*resultobj
= 0;
26422 wxListItem
*arg1
= (wxListItem
*) 0 ;
26426 PyObject
*swig_obj
[1] ;
26428 if (!args
) SWIG_fail
;
26429 swig_obj
[0] = args
;
26430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26431 if (!SWIG_IsOK(res1
)) {
26432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26434 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26437 result
= (int)(arg1
)->GetImage();
26438 wxPyEndAllowThreads(__tstate
);
26439 if (PyErr_Occurred()) SWIG_fail
;
26441 resultobj
= SWIG_From_int(static_cast< int >(result
));
26448 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26449 PyObject
*resultobj
= 0;
26450 wxListItem
*arg1
= (wxListItem
*) 0 ;
26454 PyObject
*swig_obj
[1] ;
26456 if (!args
) SWIG_fail
;
26457 swig_obj
[0] = args
;
26458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26459 if (!SWIG_IsOK(res1
)) {
26460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26462 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26465 result
= (long)(arg1
)->GetData();
26466 wxPyEndAllowThreads(__tstate
);
26467 if (PyErr_Occurred()) SWIG_fail
;
26469 resultobj
= SWIG_From_long(static_cast< long >(result
));
26476 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26477 PyObject
*resultobj
= 0;
26478 wxListItem
*arg1
= (wxListItem
*) 0 ;
26482 PyObject
*swig_obj
[1] ;
26484 if (!args
) SWIG_fail
;
26485 swig_obj
[0] = args
;
26486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26487 if (!SWIG_IsOK(res1
)) {
26488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26490 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26493 result
= (int)(arg1
)->GetWidth();
26494 wxPyEndAllowThreads(__tstate
);
26495 if (PyErr_Occurred()) SWIG_fail
;
26497 resultobj
= SWIG_From_int(static_cast< int >(result
));
26504 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26505 PyObject
*resultobj
= 0;
26506 wxListItem
*arg1
= (wxListItem
*) 0 ;
26507 wxListColumnFormat result
;
26510 PyObject
*swig_obj
[1] ;
26512 if (!args
) SWIG_fail
;
26513 swig_obj
[0] = args
;
26514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26515 if (!SWIG_IsOK(res1
)) {
26516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26518 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26521 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
26522 wxPyEndAllowThreads(__tstate
);
26523 if (PyErr_Occurred()) SWIG_fail
;
26525 resultobj
= SWIG_From_int(static_cast< int >(result
));
26532 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26533 PyObject
*resultobj
= 0;
26534 wxListItem
*arg1
= (wxListItem
*) 0 ;
26535 wxListItemAttr
*result
= 0 ;
26538 PyObject
*swig_obj
[1] ;
26540 if (!args
) SWIG_fail
;
26541 swig_obj
[0] = args
;
26542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26543 if (!SWIG_IsOK(res1
)) {
26544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26546 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26549 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
26550 wxPyEndAllowThreads(__tstate
);
26551 if (PyErr_Occurred()) SWIG_fail
;
26553 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26560 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26561 PyObject
*resultobj
= 0;
26562 wxListItem
*arg1
= (wxListItem
*) 0 ;
26566 PyObject
*swig_obj
[1] ;
26568 if (!args
) SWIG_fail
;
26569 swig_obj
[0] = args
;
26570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26571 if (!SWIG_IsOK(res1
)) {
26572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26574 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26577 result
= (bool)(arg1
)->HasAttributes();
26578 wxPyEndAllowThreads(__tstate
);
26579 if (PyErr_Occurred()) SWIG_fail
;
26582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26590 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26591 PyObject
*resultobj
= 0;
26592 wxListItem
*arg1
= (wxListItem
*) 0 ;
26596 PyObject
*swig_obj
[1] ;
26598 if (!args
) SWIG_fail
;
26599 swig_obj
[0] = args
;
26600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26601 if (!SWIG_IsOK(res1
)) {
26602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
26604 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26607 result
= ((wxListItem
const *)arg1
)->GetTextColour();
26608 wxPyEndAllowThreads(__tstate
);
26609 if (PyErr_Occurred()) SWIG_fail
;
26611 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26618 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26619 PyObject
*resultobj
= 0;
26620 wxListItem
*arg1
= (wxListItem
*) 0 ;
26624 PyObject
*swig_obj
[1] ;
26626 if (!args
) SWIG_fail
;
26627 swig_obj
[0] = args
;
26628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26629 if (!SWIG_IsOK(res1
)) {
26630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
26632 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26635 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
26636 wxPyEndAllowThreads(__tstate
);
26637 if (PyErr_Occurred()) SWIG_fail
;
26639 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26646 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26647 PyObject
*resultobj
= 0;
26648 wxListItem
*arg1
= (wxListItem
*) 0 ;
26652 PyObject
*swig_obj
[1] ;
26654 if (!args
) SWIG_fail
;
26655 swig_obj
[0] = args
;
26656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26657 if (!SWIG_IsOK(res1
)) {
26658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
26660 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26663 result
= ((wxListItem
const *)arg1
)->GetFont();
26664 wxPyEndAllowThreads(__tstate
);
26665 if (PyErr_Occurred()) SWIG_fail
;
26667 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
26674 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26675 PyObject
*resultobj
= 0;
26676 wxListItem
*arg1
= (wxListItem
*) 0 ;
26682 PyObject
*swig_obj
[2] ;
26684 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
26685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26686 if (!SWIG_IsOK(res1
)) {
26687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
26689 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26690 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
26691 if (!SWIG_IsOK(ecode2
)) {
26692 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
26694 arg2
= static_cast< long >(val2
);
26695 if (arg1
) (arg1
)->m_mask
= arg2
;
26697 resultobj
= SWIG_Py_Void();
26704 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26705 PyObject
*resultobj
= 0;
26706 wxListItem
*arg1
= (wxListItem
*) 0 ;
26710 PyObject
*swig_obj
[1] ;
26712 if (!args
) SWIG_fail
;
26713 swig_obj
[0] = args
;
26714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26715 if (!SWIG_IsOK(res1
)) {
26716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
26718 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26719 result
= (long) ((arg1
)->m_mask
);
26720 resultobj
= SWIG_From_long(static_cast< long >(result
));
26727 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26728 PyObject
*resultobj
= 0;
26729 wxListItem
*arg1
= (wxListItem
*) 0 ;
26735 PyObject
*swig_obj
[2] ;
26737 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
26738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26739 if (!SWIG_IsOK(res1
)) {
26740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
26742 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26743 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
26744 if (!SWIG_IsOK(ecode2
)) {
26745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
26747 arg2
= static_cast< long >(val2
);
26748 if (arg1
) (arg1
)->m_itemId
= arg2
;
26750 resultobj
= SWIG_Py_Void();
26757 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26758 PyObject
*resultobj
= 0;
26759 wxListItem
*arg1
= (wxListItem
*) 0 ;
26763 PyObject
*swig_obj
[1] ;
26765 if (!args
) SWIG_fail
;
26766 swig_obj
[0] = args
;
26767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26768 if (!SWIG_IsOK(res1
)) {
26769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
26771 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26772 result
= (long) ((arg1
)->m_itemId
);
26773 resultobj
= SWIG_From_long(static_cast< long >(result
));
26780 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26781 PyObject
*resultobj
= 0;
26782 wxListItem
*arg1
= (wxListItem
*) 0 ;
26788 PyObject
*swig_obj
[2] ;
26790 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
26791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26792 if (!SWIG_IsOK(res1
)) {
26793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
26795 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26796 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
26797 if (!SWIG_IsOK(ecode2
)) {
26798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
26800 arg2
= static_cast< int >(val2
);
26801 if (arg1
) (arg1
)->m_col
= arg2
;
26803 resultobj
= SWIG_Py_Void();
26810 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26811 PyObject
*resultobj
= 0;
26812 wxListItem
*arg1
= (wxListItem
*) 0 ;
26816 PyObject
*swig_obj
[1] ;
26818 if (!args
) SWIG_fail
;
26819 swig_obj
[0] = args
;
26820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26821 if (!SWIG_IsOK(res1
)) {
26822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
26824 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26825 result
= (int) ((arg1
)->m_col
);
26826 resultobj
= SWIG_From_int(static_cast< int >(result
));
26833 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26834 PyObject
*resultobj
= 0;
26835 wxListItem
*arg1
= (wxListItem
*) 0 ;
26841 PyObject
*swig_obj
[2] ;
26843 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
26844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26845 if (!SWIG_IsOK(res1
)) {
26846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
26848 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26849 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
26850 if (!SWIG_IsOK(ecode2
)) {
26851 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
26853 arg2
= static_cast< long >(val2
);
26854 if (arg1
) (arg1
)->m_state
= arg2
;
26856 resultobj
= SWIG_Py_Void();
26863 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26864 PyObject
*resultobj
= 0;
26865 wxListItem
*arg1
= (wxListItem
*) 0 ;
26869 PyObject
*swig_obj
[1] ;
26871 if (!args
) SWIG_fail
;
26872 swig_obj
[0] = args
;
26873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26874 if (!SWIG_IsOK(res1
)) {
26875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
26877 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26878 result
= (long) ((arg1
)->m_state
);
26879 resultobj
= SWIG_From_long(static_cast< long >(result
));
26886 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26887 PyObject
*resultobj
= 0;
26888 wxListItem
*arg1
= (wxListItem
*) 0 ;
26894 PyObject
*swig_obj
[2] ;
26896 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
26897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26898 if (!SWIG_IsOK(res1
)) {
26899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
26901 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26902 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
26903 if (!SWIG_IsOK(ecode2
)) {
26904 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
26906 arg2
= static_cast< long >(val2
);
26907 if (arg1
) (arg1
)->m_stateMask
= arg2
;
26909 resultobj
= SWIG_Py_Void();
26916 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26917 PyObject
*resultobj
= 0;
26918 wxListItem
*arg1
= (wxListItem
*) 0 ;
26922 PyObject
*swig_obj
[1] ;
26924 if (!args
) SWIG_fail
;
26925 swig_obj
[0] = args
;
26926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26927 if (!SWIG_IsOK(res1
)) {
26928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
26930 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26931 result
= (long) ((arg1
)->m_stateMask
);
26932 resultobj
= SWIG_From_long(static_cast< long >(result
));
26939 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26940 PyObject
*resultobj
= 0;
26941 wxListItem
*arg1
= (wxListItem
*) 0 ;
26942 wxString
*arg2
= (wxString
*) 0 ;
26945 bool temp2
= false ;
26946 PyObject
*swig_obj
[2] ;
26948 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
26949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26950 if (!SWIG_IsOK(res1
)) {
26951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
26953 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26955 arg2
= wxString_in_helper(swig_obj
[1]);
26956 if (arg2
== NULL
) SWIG_fail
;
26959 if (arg1
) (arg1
)->m_text
= *arg2
;
26961 resultobj
= SWIG_Py_Void();
26976 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26977 PyObject
*resultobj
= 0;
26978 wxListItem
*arg1
= (wxListItem
*) 0 ;
26979 wxString
*result
= 0 ;
26982 PyObject
*swig_obj
[1] ;
26984 if (!args
) SWIG_fail
;
26985 swig_obj
[0] = args
;
26986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26987 if (!SWIG_IsOK(res1
)) {
26988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
26990 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26991 result
= (wxString
*)& ((arg1
)->m_text
);
26994 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
26996 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27005 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27006 PyObject
*resultobj
= 0;
27007 wxListItem
*arg1
= (wxListItem
*) 0 ;
27013 PyObject
*swig_obj
[2] ;
27015 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
27016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27017 if (!SWIG_IsOK(res1
)) {
27018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27020 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27021 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27022 if (!SWIG_IsOK(ecode2
)) {
27023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27025 arg2
= static_cast< int >(val2
);
27026 if (arg1
) (arg1
)->m_image
= arg2
;
27028 resultobj
= SWIG_Py_Void();
27035 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27036 PyObject
*resultobj
= 0;
27037 wxListItem
*arg1
= (wxListItem
*) 0 ;
27041 PyObject
*swig_obj
[1] ;
27043 if (!args
) SWIG_fail
;
27044 swig_obj
[0] = args
;
27045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27046 if (!SWIG_IsOK(res1
)) {
27047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27049 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27050 result
= (int) ((arg1
)->m_image
);
27051 resultobj
= SWIG_From_int(static_cast< int >(result
));
27058 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27059 PyObject
*resultobj
= 0;
27060 wxListItem
*arg1
= (wxListItem
*) 0 ;
27066 PyObject
*swig_obj
[2] ;
27068 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
27069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27070 if (!SWIG_IsOK(res1
)) {
27071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27073 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27074 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27075 if (!SWIG_IsOK(ecode2
)) {
27076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27078 arg2
= static_cast< long >(val2
);
27079 if (arg1
) (arg1
)->m_data
= arg2
;
27081 resultobj
= SWIG_Py_Void();
27088 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27089 PyObject
*resultobj
= 0;
27090 wxListItem
*arg1
= (wxListItem
*) 0 ;
27094 PyObject
*swig_obj
[1] ;
27096 if (!args
) SWIG_fail
;
27097 swig_obj
[0] = args
;
27098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27099 if (!SWIG_IsOK(res1
)) {
27100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27102 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27103 result
= (long) ((arg1
)->m_data
);
27104 resultobj
= SWIG_From_long(static_cast< long >(result
));
27111 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27112 PyObject
*resultobj
= 0;
27113 wxListItem
*arg1
= (wxListItem
*) 0 ;
27119 PyObject
*swig_obj
[2] ;
27121 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
27122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27123 if (!SWIG_IsOK(res1
)) {
27124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27126 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27127 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27128 if (!SWIG_IsOK(ecode2
)) {
27129 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
27131 arg2
= static_cast< int >(val2
);
27132 if (arg1
) (arg1
)->m_format
= arg2
;
27134 resultobj
= SWIG_Py_Void();
27141 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27142 PyObject
*resultobj
= 0;
27143 wxListItem
*arg1
= (wxListItem
*) 0 ;
27147 PyObject
*swig_obj
[1] ;
27149 if (!args
) SWIG_fail
;
27150 swig_obj
[0] = args
;
27151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27152 if (!SWIG_IsOK(res1
)) {
27153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27155 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27156 result
= (int) ((arg1
)->m_format
);
27157 resultobj
= SWIG_From_int(static_cast< int >(result
));
27164 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27165 PyObject
*resultobj
= 0;
27166 wxListItem
*arg1
= (wxListItem
*) 0 ;
27172 PyObject
*swig_obj
[2] ;
27174 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
27175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27176 if (!SWIG_IsOK(res1
)) {
27177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27179 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27180 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27181 if (!SWIG_IsOK(ecode2
)) {
27182 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
27184 arg2
= static_cast< int >(val2
);
27185 if (arg1
) (arg1
)->m_width
= arg2
;
27187 resultobj
= SWIG_Py_Void();
27194 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27195 PyObject
*resultobj
= 0;
27196 wxListItem
*arg1
= (wxListItem
*) 0 ;
27200 PyObject
*swig_obj
[1] ;
27202 if (!args
) SWIG_fail
;
27203 swig_obj
[0] = args
;
27204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27205 if (!SWIG_IsOK(res1
)) {
27206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27208 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27209 result
= (int) ((arg1
)->m_width
);
27210 resultobj
= SWIG_From_int(static_cast< int >(result
));
27217 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27219 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27220 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
27221 return SWIG_Py_Void();
27224 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27225 return SWIG_Python_InitShadowInstance(args
);
27228 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27229 PyObject
*resultobj
= 0;
27230 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27231 int arg2
= (int) 0 ;
27232 wxListEvent
*result
= 0 ;
27237 PyObject
* obj0
= 0 ;
27238 PyObject
* obj1
= 0 ;
27239 char * kwnames
[] = {
27240 (char *) "commandType",(char *) "id", NULL
27243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27245 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27246 if (!SWIG_IsOK(ecode1
)) {
27247 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
27249 arg1
= static_cast< wxEventType
>(val1
);
27252 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27253 if (!SWIG_IsOK(ecode2
)) {
27254 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
27256 arg2
= static_cast< int >(val2
);
27259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27260 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
27261 wxPyEndAllowThreads(__tstate
);
27262 if (PyErr_Occurred()) SWIG_fail
;
27264 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
27271 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27272 PyObject
*resultobj
= 0;
27273 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27279 PyObject
*swig_obj
[2] ;
27281 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
27282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27283 if (!SWIG_IsOK(res1
)) {
27284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27286 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27287 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27288 if (!SWIG_IsOK(ecode2
)) {
27289 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
27291 arg2
= static_cast< int >(val2
);
27292 if (arg1
) (arg1
)->m_code
= arg2
;
27294 resultobj
= SWIG_Py_Void();
27301 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27302 PyObject
*resultobj
= 0;
27303 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27307 PyObject
*swig_obj
[1] ;
27309 if (!args
) SWIG_fail
;
27310 swig_obj
[0] = args
;
27311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27312 if (!SWIG_IsOK(res1
)) {
27313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27315 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27316 result
= (int) ((arg1
)->m_code
);
27317 resultobj
= SWIG_From_int(static_cast< int >(result
));
27324 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27325 PyObject
*resultobj
= 0;
27326 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27332 PyObject
*swig_obj
[2] ;
27334 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27336 if (!SWIG_IsOK(res1
)) {
27337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27339 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27340 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27341 if (!SWIG_IsOK(ecode2
)) {
27342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
27344 arg2
= static_cast< long >(val2
);
27345 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
27347 resultobj
= SWIG_Py_Void();
27354 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27355 PyObject
*resultobj
= 0;
27356 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27360 PyObject
*swig_obj
[1] ;
27362 if (!args
) SWIG_fail
;
27363 swig_obj
[0] = args
;
27364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27365 if (!SWIG_IsOK(res1
)) {
27366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27368 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27369 result
= (long) ((arg1
)->m_oldItemIndex
);
27370 resultobj
= SWIG_From_long(static_cast< long >(result
));
27377 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27378 PyObject
*resultobj
= 0;
27379 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27385 PyObject
*swig_obj
[2] ;
27387 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27389 if (!SWIG_IsOK(res1
)) {
27390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27392 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27393 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27394 if (!SWIG_IsOK(ecode2
)) {
27395 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
27397 arg2
= static_cast< long >(val2
);
27398 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
27400 resultobj
= SWIG_Py_Void();
27407 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27408 PyObject
*resultobj
= 0;
27409 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27413 PyObject
*swig_obj
[1] ;
27415 if (!args
) SWIG_fail
;
27416 swig_obj
[0] = args
;
27417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27418 if (!SWIG_IsOK(res1
)) {
27419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27421 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27422 result
= (long) ((arg1
)->m_itemIndex
);
27423 resultobj
= SWIG_From_long(static_cast< long >(result
));
27430 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27431 PyObject
*resultobj
= 0;
27432 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27438 PyObject
*swig_obj
[2] ;
27440 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27442 if (!SWIG_IsOK(res1
)) {
27443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27445 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27446 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27447 if (!SWIG_IsOK(ecode2
)) {
27448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
27450 arg2
= static_cast< int >(val2
);
27451 if (arg1
) (arg1
)->m_col
= arg2
;
27453 resultobj
= SWIG_Py_Void();
27460 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27461 PyObject
*resultobj
= 0;
27462 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27466 PyObject
*swig_obj
[1] ;
27468 if (!args
) SWIG_fail
;
27469 swig_obj
[0] = args
;
27470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27471 if (!SWIG_IsOK(res1
)) {
27472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27474 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27475 result
= (int) ((arg1
)->m_col
);
27476 resultobj
= SWIG_From_int(static_cast< int >(result
));
27483 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27484 PyObject
*resultobj
= 0;
27485 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27486 wxPoint
*arg2
= (wxPoint
*) 0 ;
27491 PyObject
*swig_obj
[2] ;
27493 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
27494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27495 if (!SWIG_IsOK(res1
)) {
27496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27498 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27499 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
27500 if (!SWIG_IsOK(res2
)) {
27501 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
27503 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
27504 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
27506 resultobj
= SWIG_Py_Void();
27513 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27514 PyObject
*resultobj
= 0;
27515 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27516 wxPoint
*result
= 0 ;
27519 PyObject
*swig_obj
[1] ;
27521 if (!args
) SWIG_fail
;
27522 swig_obj
[0] = args
;
27523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27524 if (!SWIG_IsOK(res1
)) {
27525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27527 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27528 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
27529 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
27536 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27537 PyObject
*resultobj
= 0;
27538 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27539 wxListItem
*result
= 0 ;
27542 PyObject
*swig_obj
[1] ;
27544 if (!args
) SWIG_fail
;
27545 swig_obj
[0] = args
;
27546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27547 if (!SWIG_IsOK(res1
)) {
27548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27550 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27551 result
= (wxListItem
*)& ((arg1
)->m_item
);
27553 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27561 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27562 PyObject
*resultobj
= 0;
27563 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27567 PyObject
*swig_obj
[1] ;
27569 if (!args
) SWIG_fail
;
27570 swig_obj
[0] = args
;
27571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27572 if (!SWIG_IsOK(res1
)) {
27573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
27575 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27578 result
= (int)(arg1
)->GetKeyCode();
27579 wxPyEndAllowThreads(__tstate
);
27580 if (PyErr_Occurred()) SWIG_fail
;
27582 resultobj
= SWIG_From_int(static_cast< int >(result
));
27589 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27590 PyObject
*resultobj
= 0;
27591 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27595 PyObject
*swig_obj
[1] ;
27597 if (!args
) SWIG_fail
;
27598 swig_obj
[0] = args
;
27599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27600 if (!SWIG_IsOK(res1
)) {
27601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
27603 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27606 result
= (long)(arg1
)->GetIndex();
27607 wxPyEndAllowThreads(__tstate
);
27608 if (PyErr_Occurred()) SWIG_fail
;
27610 resultobj
= SWIG_From_long(static_cast< long >(result
));
27617 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27618 PyObject
*resultobj
= 0;
27619 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27623 PyObject
*swig_obj
[1] ;
27625 if (!args
) SWIG_fail
;
27626 swig_obj
[0] = args
;
27627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27628 if (!SWIG_IsOK(res1
)) {
27629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
27631 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27634 result
= (int)(arg1
)->GetColumn();
27635 wxPyEndAllowThreads(__tstate
);
27636 if (PyErr_Occurred()) SWIG_fail
;
27638 resultobj
= SWIG_From_int(static_cast< int >(result
));
27645 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27646 PyObject
*resultobj
= 0;
27647 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27651 PyObject
*swig_obj
[1] ;
27653 if (!args
) SWIG_fail
;
27654 swig_obj
[0] = args
;
27655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27656 if (!SWIG_IsOK(res1
)) {
27657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
27659 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27662 result
= (arg1
)->GetPoint();
27663 wxPyEndAllowThreads(__tstate
);
27664 if (PyErr_Occurred()) SWIG_fail
;
27666 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
27673 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27674 PyObject
*resultobj
= 0;
27675 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27676 wxString
*result
= 0 ;
27679 PyObject
*swig_obj
[1] ;
27681 if (!args
) SWIG_fail
;
27682 swig_obj
[0] = args
;
27683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27684 if (!SWIG_IsOK(res1
)) {
27685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
27687 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27691 wxString
const &_result_ref
= (arg1
)->GetLabel();
27692 result
= (wxString
*) &_result_ref
;
27694 wxPyEndAllowThreads(__tstate
);
27695 if (PyErr_Occurred()) SWIG_fail
;
27699 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27701 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27710 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27711 PyObject
*resultobj
= 0;
27712 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27713 wxString
*result
= 0 ;
27716 PyObject
*swig_obj
[1] ;
27718 if (!args
) SWIG_fail
;
27719 swig_obj
[0] = args
;
27720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27721 if (!SWIG_IsOK(res1
)) {
27722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
27724 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27728 wxString
const &_result_ref
= (arg1
)->GetText();
27729 result
= (wxString
*) &_result_ref
;
27731 wxPyEndAllowThreads(__tstate
);
27732 if (PyErr_Occurred()) SWIG_fail
;
27736 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27738 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27747 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27748 PyObject
*resultobj
= 0;
27749 wxListEvent
*arg1
= (wxListEvent
*) 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_wxListEvent
, 0 | 0 );
27758 if (!SWIG_IsOK(res1
)) {
27759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
27761 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27764 result
= (int)(arg1
)->GetImage();
27765 wxPyEndAllowThreads(__tstate
);
27766 if (PyErr_Occurred()) SWIG_fail
;
27768 resultobj
= SWIG_From_int(static_cast< int >(result
));
27775 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27776 PyObject
*resultobj
= 0;
27777 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27781 PyObject
*swig_obj
[1] ;
27783 if (!args
) SWIG_fail
;
27784 swig_obj
[0] = args
;
27785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27786 if (!SWIG_IsOK(res1
)) {
27787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
27789 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27792 result
= (long)(arg1
)->GetData();
27793 wxPyEndAllowThreads(__tstate
);
27794 if (PyErr_Occurred()) SWIG_fail
;
27796 resultobj
= SWIG_From_long(static_cast< long >(result
));
27803 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27804 PyObject
*resultobj
= 0;
27805 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27809 PyObject
*swig_obj
[1] ;
27811 if (!args
) SWIG_fail
;
27812 swig_obj
[0] = args
;
27813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27814 if (!SWIG_IsOK(res1
)) {
27815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
27817 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27820 result
= (long)(arg1
)->GetMask();
27821 wxPyEndAllowThreads(__tstate
);
27822 if (PyErr_Occurred()) SWIG_fail
;
27824 resultobj
= SWIG_From_long(static_cast< long >(result
));
27831 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27832 PyObject
*resultobj
= 0;
27833 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27834 wxListItem
*result
= 0 ;
27837 PyObject
*swig_obj
[1] ;
27839 if (!args
) SWIG_fail
;
27840 swig_obj
[0] = args
;
27841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27842 if (!SWIG_IsOK(res1
)) {
27843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
27845 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27849 wxListItem
const &_result_ref
= (arg1
)->GetItem();
27850 result
= (wxListItem
*) &_result_ref
;
27852 wxPyEndAllowThreads(__tstate
);
27853 if (PyErr_Occurred()) SWIG_fail
;
27855 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
27862 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27863 PyObject
*resultobj
= 0;
27864 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27868 PyObject
*swig_obj
[1] ;
27870 if (!args
) SWIG_fail
;
27871 swig_obj
[0] = args
;
27872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27873 if (!SWIG_IsOK(res1
)) {
27874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
27876 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27879 result
= (long)(arg1
)->GetCacheFrom();
27880 wxPyEndAllowThreads(__tstate
);
27881 if (PyErr_Occurred()) SWIG_fail
;
27883 resultobj
= SWIG_From_long(static_cast< long >(result
));
27890 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27891 PyObject
*resultobj
= 0;
27892 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27896 PyObject
*swig_obj
[1] ;
27898 if (!args
) SWIG_fail
;
27899 swig_obj
[0] = args
;
27900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27901 if (!SWIG_IsOK(res1
)) {
27902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
27904 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27907 result
= (long)(arg1
)->GetCacheTo();
27908 wxPyEndAllowThreads(__tstate
);
27909 if (PyErr_Occurred()) SWIG_fail
;
27911 resultobj
= SWIG_From_long(static_cast< long >(result
));
27918 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27919 PyObject
*resultobj
= 0;
27920 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27924 PyObject
*swig_obj
[1] ;
27926 if (!args
) SWIG_fail
;
27927 swig_obj
[0] = args
;
27928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27929 if (!SWIG_IsOK(res1
)) {
27930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
27932 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27935 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
27936 wxPyEndAllowThreads(__tstate
);
27937 if (PyErr_Occurred()) SWIG_fail
;
27940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27948 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27949 PyObject
*resultobj
= 0;
27950 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27956 PyObject
* obj0
= 0 ;
27957 PyObject
* obj1
= 0 ;
27958 char * kwnames
[] = {
27959 (char *) "self",(char *) "editCancelled", NULL
27962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27964 if (!SWIG_IsOK(res1
)) {
27965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
27967 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27968 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27969 if (!SWIG_IsOK(ecode2
)) {
27970 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
27972 arg2
= static_cast< bool >(val2
);
27974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27975 (arg1
)->SetEditCanceled(arg2
);
27976 wxPyEndAllowThreads(__tstate
);
27977 if (PyErr_Occurred()) SWIG_fail
;
27979 resultobj
= SWIG_Py_Void();
27986 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27988 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27989 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
27990 return SWIG_Py_Void();
27993 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27994 return SWIG_Python_InitShadowInstance(args
);
27997 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27998 PyObject
*resultobj
= 0;
27999 wxWindow
*arg1
= (wxWindow
*) 0 ;
28000 int arg2
= (int) -1 ;
28001 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28002 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28003 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28004 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28005 long arg5
= (long) wxLC_ICON
;
28006 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28007 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28008 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
28009 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28010 wxPyListCtrl
*result
= 0 ;
28021 bool temp7
= false ;
28022 PyObject
* obj0
= 0 ;
28023 PyObject
* obj1
= 0 ;
28024 PyObject
* obj2
= 0 ;
28025 PyObject
* obj3
= 0 ;
28026 PyObject
* obj4
= 0 ;
28027 PyObject
* obj5
= 0 ;
28028 PyObject
* obj6
= 0 ;
28029 char * kwnames
[] = {
28030 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28035 if (!SWIG_IsOK(res1
)) {
28036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28038 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28040 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28041 if (!SWIG_IsOK(ecode2
)) {
28042 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28044 arg2
= static_cast< int >(val2
);
28049 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28055 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28059 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28060 if (!SWIG_IsOK(ecode5
)) {
28061 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28063 arg5
= static_cast< long >(val5
);
28066 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
28067 if (!SWIG_IsOK(res6
)) {
28068 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28071 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28073 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
28077 arg7
= wxString_in_helper(obj6
);
28078 if (arg7
== NULL
) SWIG_fail
;
28083 if (!wxPyCheckForApp()) SWIG_fail
;
28084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28085 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28086 wxPyEndAllowThreads(__tstate
);
28087 if (PyErr_Occurred()) SWIG_fail
;
28089 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
28104 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28105 PyObject
*resultobj
= 0;
28106 wxPyListCtrl
*result
= 0 ;
28108 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
28110 if (!wxPyCheckForApp()) SWIG_fail
;
28111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28112 result
= (wxPyListCtrl
*)new wxPyListCtrl();
28113 wxPyEndAllowThreads(__tstate
);
28114 if (PyErr_Occurred()) SWIG_fail
;
28116 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
28123 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28124 PyObject
*resultobj
= 0;
28125 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28126 wxWindow
*arg2
= (wxWindow
*) 0 ;
28127 int arg3
= (int) -1 ;
28128 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28129 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28130 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28131 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28132 long arg6
= (long) wxLC_ICON
;
28133 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28134 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28135 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
28136 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28150 bool temp8
= false ;
28151 PyObject
* obj0
= 0 ;
28152 PyObject
* obj1
= 0 ;
28153 PyObject
* obj2
= 0 ;
28154 PyObject
* obj3
= 0 ;
28155 PyObject
* obj4
= 0 ;
28156 PyObject
* obj5
= 0 ;
28157 PyObject
* obj6
= 0 ;
28158 PyObject
* obj7
= 0 ;
28159 char * kwnames
[] = {
28160 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28165 if (!SWIG_IsOK(res1
)) {
28166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28168 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28169 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28170 if (!SWIG_IsOK(res2
)) {
28171 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
28173 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28175 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28176 if (!SWIG_IsOK(ecode3
)) {
28177 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
28179 arg3
= static_cast< int >(val3
);
28184 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28190 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28194 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28195 if (!SWIG_IsOK(ecode6
)) {
28196 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
28198 arg6
= static_cast< long >(val6
);
28201 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
28202 if (!SWIG_IsOK(res7
)) {
28203 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28206 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28208 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
28212 arg8
= wxString_in_helper(obj7
);
28213 if (arg8
== NULL
) SWIG_fail
;
28218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28219 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28220 wxPyEndAllowThreads(__tstate
);
28221 if (PyErr_Occurred()) SWIG_fail
;
28224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28240 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28241 PyObject
*resultobj
= 0;
28242 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28243 PyObject
*arg2
= (PyObject
*) 0 ;
28244 PyObject
*arg3
= (PyObject
*) 0 ;
28247 PyObject
* obj0
= 0 ;
28248 PyObject
* obj1
= 0 ;
28249 PyObject
* obj2
= 0 ;
28250 char * kwnames
[] = {
28251 (char *) "self",(char *) "self",(char *) "_class", NULL
28254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28256 if (!SWIG_IsOK(res1
)) {
28257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28259 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28264 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28265 wxPyEndAllowThreads(__tstate
);
28266 if (PyErr_Occurred()) SWIG_fail
;
28268 resultobj
= SWIG_Py_Void();
28275 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28276 PyObject
*resultobj
= 0;
28277 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28279 wxListItem
*result
= 0 ;
28284 PyObject
* obj0
= 0 ;
28285 PyObject
* obj1
= 0 ;
28286 char * kwnames
[] = {
28287 (char *) "self",(char *) "col", NULL
28290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28292 if (!SWIG_IsOK(res1
)) {
28293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28295 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28296 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28297 if (!SWIG_IsOK(ecode2
)) {
28298 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
28300 arg2
= static_cast< int >(val2
);
28302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28303 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
28304 wxPyEndAllowThreads(__tstate
);
28305 if (PyErr_Occurred()) SWIG_fail
;
28308 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28316 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28317 PyObject
*resultobj
= 0;
28318 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28320 wxListItem
*arg3
= 0 ;
28328 PyObject
* obj0
= 0 ;
28329 PyObject
* obj1
= 0 ;
28330 PyObject
* obj2
= 0 ;
28331 char * kwnames
[] = {
28332 (char *) "self",(char *) "col",(char *) "item", NULL
28335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28337 if (!SWIG_IsOK(res1
)) {
28338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28340 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28341 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28342 if (!SWIG_IsOK(ecode2
)) {
28343 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
28345 arg2
= static_cast< int >(val2
);
28346 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
28347 if (!SWIG_IsOK(res3
)) {
28348 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28351 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28353 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
28355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28356 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
28357 wxPyEndAllowThreads(__tstate
);
28358 if (PyErr_Occurred()) SWIG_fail
;
28361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28369 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28370 PyObject
*resultobj
= 0;
28371 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28378 PyObject
* obj0
= 0 ;
28379 PyObject
* obj1
= 0 ;
28380 char * kwnames
[] = {
28381 (char *) "self",(char *) "col", NULL
28384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28386 if (!SWIG_IsOK(res1
)) {
28387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28389 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28390 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28391 if (!SWIG_IsOK(ecode2
)) {
28392 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28394 arg2
= static_cast< int >(val2
);
28396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28397 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
28398 wxPyEndAllowThreads(__tstate
);
28399 if (PyErr_Occurred()) SWIG_fail
;
28401 resultobj
= SWIG_From_int(static_cast< int >(result
));
28408 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28409 PyObject
*resultobj
= 0;
28410 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28420 PyObject
* obj0
= 0 ;
28421 PyObject
* obj1
= 0 ;
28422 PyObject
* obj2
= 0 ;
28423 char * kwnames
[] = {
28424 (char *) "self",(char *) "col",(char *) "width", NULL
28427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28429 if (!SWIG_IsOK(res1
)) {
28430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28432 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28433 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28434 if (!SWIG_IsOK(ecode2
)) {
28435 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28437 arg2
= static_cast< int >(val2
);
28438 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28439 if (!SWIG_IsOK(ecode3
)) {
28440 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
28442 arg3
= static_cast< int >(val3
);
28444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28445 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
28446 wxPyEndAllowThreads(__tstate
);
28447 if (PyErr_Occurred()) SWIG_fail
;
28450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28458 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28459 PyObject
*resultobj
= 0;
28460 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28464 PyObject
*swig_obj
[1] ;
28466 if (!args
) SWIG_fail
;
28467 swig_obj
[0] = args
;
28468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28469 if (!SWIG_IsOK(res1
)) {
28470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28472 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28475 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
28476 wxPyEndAllowThreads(__tstate
);
28477 if (PyErr_Occurred()) SWIG_fail
;
28479 resultobj
= SWIG_From_int(static_cast< int >(result
));
28486 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28487 PyObject
*resultobj
= 0;
28488 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28492 PyObject
*swig_obj
[1] ;
28494 if (!args
) SWIG_fail
;
28495 swig_obj
[0] = args
;
28496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28497 if (!SWIG_IsOK(res1
)) {
28498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28500 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28503 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
28504 wxPyEndAllowThreads(__tstate
);
28505 if (PyErr_Occurred()) SWIG_fail
;
28507 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28514 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28515 PyObject
*resultobj
= 0;
28516 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28517 wxTextCtrl
*result
= 0 ;
28520 PyObject
*swig_obj
[1] ;
28522 if (!args
) SWIG_fail
;
28523 swig_obj
[0] = args
;
28524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28525 if (!SWIG_IsOK(res1
)) {
28526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28528 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28531 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
28532 wxPyEndAllowThreads(__tstate
);
28533 if (PyErr_Occurred()) SWIG_fail
;
28536 resultobj
= wxPyMake_wxObject(result
, 0);
28544 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28545 PyObject
*resultobj
= 0;
28546 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28548 int arg3
= (int) 0 ;
28549 wxListItem
*result
= 0 ;
28556 PyObject
* obj0
= 0 ;
28557 PyObject
* obj1
= 0 ;
28558 PyObject
* obj2
= 0 ;
28559 char * kwnames
[] = {
28560 (char *) "self",(char *) "itemId",(char *) "col", NULL
28563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28565 if (!SWIG_IsOK(res1
)) {
28566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28568 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28569 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28570 if (!SWIG_IsOK(ecode2
)) {
28571 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
28573 arg2
= static_cast< long >(val2
);
28575 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28576 if (!SWIG_IsOK(ecode3
)) {
28577 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
28579 arg3
= static_cast< int >(val3
);
28582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28583 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
28584 wxPyEndAllowThreads(__tstate
);
28585 if (PyErr_Occurred()) SWIG_fail
;
28588 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28596 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28597 PyObject
*resultobj
= 0;
28598 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28599 wxListItem
*arg2
= 0 ;
28605 PyObject
* obj0
= 0 ;
28606 PyObject
* obj1
= 0 ;
28607 char * kwnames
[] = {
28608 (char *) "self",(char *) "info", NULL
28611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28613 if (!SWIG_IsOK(res1
)) {
28614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28616 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28617 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
28618 if (!SWIG_IsOK(res2
)) {
28619 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
28622 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
28624 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
28626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28627 result
= (bool)(arg1
)->SetItem(*arg2
);
28628 wxPyEndAllowThreads(__tstate
);
28629 if (PyErr_Occurred()) SWIG_fail
;
28632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28640 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28641 PyObject
*resultobj
= 0;
28642 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28645 wxString
*arg4
= 0 ;
28646 int arg5
= (int) -1 ;
28654 bool temp4
= false ;
28657 PyObject
* obj0
= 0 ;
28658 PyObject
* obj1
= 0 ;
28659 PyObject
* obj2
= 0 ;
28660 PyObject
* obj3
= 0 ;
28661 PyObject
* obj4
= 0 ;
28662 char * kwnames
[] = {
28663 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
28666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28668 if (!SWIG_IsOK(res1
)) {
28669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28671 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28672 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28673 if (!SWIG_IsOK(ecode2
)) {
28674 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
28676 arg2
= static_cast< long >(val2
);
28677 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28678 if (!SWIG_IsOK(ecode3
)) {
28679 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
28681 arg3
= static_cast< int >(val3
);
28683 arg4
= wxString_in_helper(obj3
);
28684 if (arg4
== NULL
) SWIG_fail
;
28688 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28689 if (!SWIG_IsOK(ecode5
)) {
28690 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
28692 arg5
= static_cast< int >(val5
);
28695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28696 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
28697 wxPyEndAllowThreads(__tstate
);
28698 if (PyErr_Occurred()) SWIG_fail
;
28700 resultobj
= SWIG_From_long(static_cast< long >(result
));
28715 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28716 PyObject
*resultobj
= 0;
28717 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28727 PyObject
* obj0
= 0 ;
28728 PyObject
* obj1
= 0 ;
28729 PyObject
* obj2
= 0 ;
28730 char * kwnames
[] = {
28731 (char *) "self",(char *) "item",(char *) "stateMask", NULL
28734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28736 if (!SWIG_IsOK(res1
)) {
28737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28739 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28740 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28741 if (!SWIG_IsOK(ecode2
)) {
28742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
28744 arg2
= static_cast< long >(val2
);
28745 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
28746 if (!SWIG_IsOK(ecode3
)) {
28747 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
28749 arg3
= static_cast< long >(val3
);
28751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28752 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
28753 wxPyEndAllowThreads(__tstate
);
28754 if (PyErr_Occurred()) SWIG_fail
;
28756 resultobj
= SWIG_From_int(static_cast< int >(result
));
28763 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28764 PyObject
*resultobj
= 0;
28765 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28778 PyObject
* obj0
= 0 ;
28779 PyObject
* obj1
= 0 ;
28780 PyObject
* obj2
= 0 ;
28781 PyObject
* obj3
= 0 ;
28782 char * kwnames
[] = {
28783 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
28786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28788 if (!SWIG_IsOK(res1
)) {
28789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28791 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28792 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28793 if (!SWIG_IsOK(ecode2
)) {
28794 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
28796 arg2
= static_cast< long >(val2
);
28797 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
28798 if (!SWIG_IsOK(ecode3
)) {
28799 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
28801 arg3
= static_cast< long >(val3
);
28802 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
28803 if (!SWIG_IsOK(ecode4
)) {
28804 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
28806 arg4
= static_cast< long >(val4
);
28808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28809 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
28810 wxPyEndAllowThreads(__tstate
);
28811 if (PyErr_Occurred()) SWIG_fail
;
28814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28822 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28823 PyObject
*resultobj
= 0;
28824 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28827 int arg4
= (int) -1 ;
28837 PyObject
* obj0
= 0 ;
28838 PyObject
* obj1
= 0 ;
28839 PyObject
* obj2
= 0 ;
28840 PyObject
* obj3
= 0 ;
28841 char * kwnames
[] = {
28842 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
28845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28847 if (!SWIG_IsOK(res1
)) {
28848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28850 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28851 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28852 if (!SWIG_IsOK(ecode2
)) {
28853 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
28855 arg2
= static_cast< long >(val2
);
28856 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28857 if (!SWIG_IsOK(ecode3
)) {
28858 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
28860 arg3
= static_cast< int >(val3
);
28862 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28863 if (!SWIG_IsOK(ecode4
)) {
28864 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
28866 arg4
= static_cast< int >(val4
);
28869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28870 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
28871 wxPyEndAllowThreads(__tstate
);
28872 if (PyErr_Occurred()) SWIG_fail
;
28875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28883 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28884 PyObject
*resultobj
= 0;
28885 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28898 PyObject
* obj0
= 0 ;
28899 PyObject
* obj1
= 0 ;
28900 PyObject
* obj2
= 0 ;
28901 PyObject
* obj3
= 0 ;
28902 char * kwnames
[] = {
28903 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
28906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28908 if (!SWIG_IsOK(res1
)) {
28909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28911 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28912 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28913 if (!SWIG_IsOK(ecode2
)) {
28914 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
28916 arg2
= static_cast< long >(val2
);
28917 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
28918 if (!SWIG_IsOK(ecode3
)) {
28919 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
28921 arg3
= static_cast< long >(val3
);
28922 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28923 if (!SWIG_IsOK(ecode4
)) {
28924 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
28926 arg4
= static_cast< int >(val4
);
28928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28929 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
28930 wxPyEndAllowThreads(__tstate
);
28931 if (PyErr_Occurred()) SWIG_fail
;
28934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28942 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28943 PyObject
*resultobj
= 0;
28944 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28951 PyObject
* obj0
= 0 ;
28952 PyObject
* obj1
= 0 ;
28953 char * kwnames
[] = {
28954 (char *) "self",(char *) "item", NULL
28957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28959 if (!SWIG_IsOK(res1
)) {
28960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28962 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28963 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28964 if (!SWIG_IsOK(ecode2
)) {
28965 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
28967 arg2
= static_cast< long >(val2
);
28969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28970 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
28971 wxPyEndAllowThreads(__tstate
);
28972 if (PyErr_Occurred()) SWIG_fail
;
28976 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28978 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28987 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28988 PyObject
*resultobj
= 0;
28989 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28991 wxString
*arg3
= 0 ;
28996 bool temp3
= false ;
28997 PyObject
* obj0
= 0 ;
28998 PyObject
* obj1
= 0 ;
28999 PyObject
* obj2
= 0 ;
29000 char * kwnames
[] = {
29001 (char *) "self",(char *) "item",(char *) "str", NULL
29004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29006 if (!SWIG_IsOK(res1
)) {
29007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29009 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29010 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29011 if (!SWIG_IsOK(ecode2
)) {
29012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29014 arg2
= static_cast< long >(val2
);
29016 arg3
= wxString_in_helper(obj2
);
29017 if (arg3
== NULL
) SWIG_fail
;
29021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29022 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
29023 wxPyEndAllowThreads(__tstate
);
29024 if (PyErr_Occurred()) SWIG_fail
;
29026 resultobj
= SWIG_Py_Void();
29041 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29042 PyObject
*resultobj
= 0;
29043 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29050 PyObject
* obj0
= 0 ;
29051 PyObject
* obj1
= 0 ;
29052 char * kwnames
[] = {
29053 (char *) "self",(char *) "item", NULL
29056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29058 if (!SWIG_IsOK(res1
)) {
29059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29061 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29062 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29063 if (!SWIG_IsOK(ecode2
)) {
29064 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29066 arg2
= static_cast< long >(val2
);
29068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29069 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
29070 wxPyEndAllowThreads(__tstate
);
29071 if (PyErr_Occurred()) SWIG_fail
;
29073 resultobj
= SWIG_From_long(static_cast< long >(result
));
29080 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29081 PyObject
*resultobj
= 0;
29082 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29092 PyObject
* obj0
= 0 ;
29093 PyObject
* obj1
= 0 ;
29094 PyObject
* obj2
= 0 ;
29095 char * kwnames
[] = {
29096 (char *) "self",(char *) "item",(char *) "data", NULL
29099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29101 if (!SWIG_IsOK(res1
)) {
29102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29104 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29105 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29106 if (!SWIG_IsOK(ecode2
)) {
29107 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
29109 arg2
= static_cast< long >(val2
);
29110 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29111 if (!SWIG_IsOK(ecode3
)) {
29112 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
29114 arg3
= static_cast< long >(val3
);
29116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29117 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
29118 wxPyEndAllowThreads(__tstate
);
29119 if (PyErr_Occurred()) SWIG_fail
;
29122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29130 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29131 PyObject
*resultobj
= 0;
29132 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29139 PyObject
* obj0
= 0 ;
29140 PyObject
* obj1
= 0 ;
29141 char * kwnames
[] = {
29142 (char *) "self",(char *) "item", NULL
29145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29147 if (!SWIG_IsOK(res1
)) {
29148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29150 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29151 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29152 if (!SWIG_IsOK(ecode2
)) {
29153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
29155 arg2
= static_cast< long >(val2
);
29157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29158 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
29159 wxPyEndAllowThreads(__tstate
);
29160 if (PyErr_Occurred()) SWIG_fail
;
29162 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
29169 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29170 PyObject
*resultobj
= 0;
29171 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29173 int arg3
= (int) wxLIST_RECT_BOUNDS
;
29181 PyObject
* obj0
= 0 ;
29182 PyObject
* obj1
= 0 ;
29183 PyObject
* obj2
= 0 ;
29184 char * kwnames
[] = {
29185 (char *) "self",(char *) "item",(char *) "code", NULL
29188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29190 if (!SWIG_IsOK(res1
)) {
29191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29193 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29194 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29195 if (!SWIG_IsOK(ecode2
)) {
29196 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
29198 arg2
= static_cast< long >(val2
);
29200 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29201 if (!SWIG_IsOK(ecode3
)) {
29202 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
29204 arg3
= static_cast< int >(val3
);
29207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29208 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
29209 wxPyEndAllowThreads(__tstate
);
29210 if (PyErr_Occurred()) SWIG_fail
;
29212 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29219 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29220 PyObject
*resultobj
= 0;
29221 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29223 wxPoint
*arg3
= 0 ;
29230 PyObject
* obj0
= 0 ;
29231 PyObject
* obj1
= 0 ;
29232 PyObject
* obj2
= 0 ;
29233 char * kwnames
[] = {
29234 (char *) "self",(char *) "item",(char *) "pos", NULL
29237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29239 if (!SWIG_IsOK(res1
)) {
29240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29242 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29243 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29244 if (!SWIG_IsOK(ecode2
)) {
29245 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
29247 arg2
= static_cast< long >(val2
);
29250 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29254 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
29255 wxPyEndAllowThreads(__tstate
);
29256 if (PyErr_Occurred()) SWIG_fail
;
29259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29267 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29268 PyObject
*resultobj
= 0;
29269 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29273 PyObject
*swig_obj
[1] ;
29275 if (!args
) SWIG_fail
;
29276 swig_obj
[0] = args
;
29277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29278 if (!SWIG_IsOK(res1
)) {
29279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29281 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29284 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
29285 wxPyEndAllowThreads(__tstate
);
29286 if (PyErr_Occurred()) SWIG_fail
;
29288 resultobj
= SWIG_From_int(static_cast< int >(result
));
29295 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29296 PyObject
*resultobj
= 0;
29297 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29301 PyObject
*swig_obj
[1] ;
29303 if (!args
) SWIG_fail
;
29304 swig_obj
[0] = args
;
29305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29306 if (!SWIG_IsOK(res1
)) {
29307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29309 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29312 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
29313 wxPyEndAllowThreads(__tstate
);
29314 if (PyErr_Occurred()) SWIG_fail
;
29316 resultobj
= SWIG_From_int(static_cast< int >(result
));
29323 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29324 PyObject
*resultobj
= 0;
29325 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29329 PyObject
*swig_obj
[1] ;
29331 if (!args
) SWIG_fail
;
29332 swig_obj
[0] = args
;
29333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29334 if (!SWIG_IsOK(res1
)) {
29335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29337 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29340 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
29341 wxPyEndAllowThreads(__tstate
);
29342 if (PyErr_Occurred()) SWIG_fail
;
29344 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
29351 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29352 PyObject
*resultobj
= 0;
29353 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29355 bool arg3
= (bool) false ;
29362 PyObject
* obj0
= 0 ;
29363 PyObject
* obj1
= 0 ;
29364 PyObject
* obj2
= 0 ;
29365 char * kwnames
[] = {
29366 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
29369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29371 if (!SWIG_IsOK(res1
)) {
29372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29374 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29375 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29376 if (!SWIG_IsOK(ecode2
)) {
29377 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "2"" of type '" "int""'");
29379 arg2
= static_cast< int >(val2
);
29381 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
29382 if (!SWIG_IsOK(ecode3
)) {
29383 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "3"" of type '" "bool""'");
29385 arg3
= static_cast< bool >(val3
);
29388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29389 (arg1
)->SetItemSpacing(arg2
,arg3
);
29390 wxPyEndAllowThreads(__tstate
);
29391 if (PyErr_Occurred()) SWIG_fail
;
29393 resultobj
= SWIG_Py_Void();
29400 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29401 PyObject
*resultobj
= 0;
29402 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29406 PyObject
*swig_obj
[1] ;
29408 if (!args
) SWIG_fail
;
29409 swig_obj
[0] = args
;
29410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29411 if (!SWIG_IsOK(res1
)) {
29412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29414 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29417 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
29418 wxPyEndAllowThreads(__tstate
);
29419 if (PyErr_Occurred()) SWIG_fail
;
29421 resultobj
= SWIG_From_int(static_cast< int >(result
));
29428 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29429 PyObject
*resultobj
= 0;
29430 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29434 PyObject
*swig_obj
[1] ;
29436 if (!args
) SWIG_fail
;
29437 swig_obj
[0] = args
;
29438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29439 if (!SWIG_IsOK(res1
)) {
29440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29442 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29445 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
29446 wxPyEndAllowThreads(__tstate
);
29447 if (PyErr_Occurred()) SWIG_fail
;
29449 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29456 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29457 PyObject
*resultobj
= 0;
29458 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29459 wxColour
*arg2
= 0 ;
29463 PyObject
* obj0
= 0 ;
29464 PyObject
* obj1
= 0 ;
29465 char * kwnames
[] = {
29466 (char *) "self",(char *) "col", NULL
29469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29471 if (!SWIG_IsOK(res1
)) {
29472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29474 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29477 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29481 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
29482 wxPyEndAllowThreads(__tstate
);
29483 if (PyErr_Occurred()) SWIG_fail
;
29485 resultobj
= SWIG_Py_Void();
29492 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29493 PyObject
*resultobj
= 0;
29494 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29498 PyObject
*swig_obj
[1] ;
29500 if (!args
) SWIG_fail
;
29501 swig_obj
[0] = args
;
29502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29503 if (!SWIG_IsOK(res1
)) {
29504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29506 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29509 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
29510 wxPyEndAllowThreads(__tstate
);
29511 if (PyErr_Occurred()) SWIG_fail
;
29513 resultobj
= SWIG_From_long(static_cast< long >(result
));
29520 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29521 PyObject
*resultobj
= 0;
29522 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29524 bool arg3
= (bool) true ;
29531 PyObject
* obj0
= 0 ;
29532 PyObject
* obj1
= 0 ;
29533 PyObject
* obj2
= 0 ;
29534 char * kwnames
[] = {
29535 (char *) "self",(char *) "style",(char *) "add", NULL
29538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29540 if (!SWIG_IsOK(res1
)) {
29541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29543 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29544 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29545 if (!SWIG_IsOK(ecode2
)) {
29546 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
29548 arg2
= static_cast< long >(val2
);
29550 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
29551 if (!SWIG_IsOK(ecode3
)) {
29552 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
29554 arg3
= static_cast< bool >(val3
);
29557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29558 (arg1
)->SetSingleStyle(arg2
,arg3
);
29559 wxPyEndAllowThreads(__tstate
);
29560 if (PyErr_Occurred()) SWIG_fail
;
29562 resultobj
= SWIG_Py_Void();
29569 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29570 PyObject
*resultobj
= 0;
29571 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29573 int arg3
= (int) wxLIST_NEXT_ALL
;
29574 int arg4
= (int) wxLIST_STATE_DONTCARE
;
29584 PyObject
* obj0
= 0 ;
29585 PyObject
* obj1
= 0 ;
29586 PyObject
* obj2
= 0 ;
29587 PyObject
* obj3
= 0 ;
29588 char * kwnames
[] = {
29589 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
29592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29594 if (!SWIG_IsOK(res1
)) {
29595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29597 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29598 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29599 if (!SWIG_IsOK(ecode2
)) {
29600 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
29602 arg2
= static_cast< long >(val2
);
29604 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29605 if (!SWIG_IsOK(ecode3
)) {
29606 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
29608 arg3
= static_cast< int >(val3
);
29611 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29612 if (!SWIG_IsOK(ecode4
)) {
29613 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
29615 arg4
= static_cast< int >(val4
);
29618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29619 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
29620 wxPyEndAllowThreads(__tstate
);
29621 if (PyErr_Occurred()) SWIG_fail
;
29623 resultobj
= SWIG_From_long(static_cast< long >(result
));
29630 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29631 PyObject
*resultobj
= 0;
29632 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29634 wxImageList
*result
= 0 ;
29639 PyObject
* obj0
= 0 ;
29640 PyObject
* obj1
= 0 ;
29641 char * kwnames
[] = {
29642 (char *) "self",(char *) "which", NULL
29645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29647 if (!SWIG_IsOK(res1
)) {
29648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29650 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29651 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29652 if (!SWIG_IsOK(ecode2
)) {
29653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
29655 arg2
= static_cast< int >(val2
);
29657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29658 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
29659 wxPyEndAllowThreads(__tstate
);
29660 if (PyErr_Occurred()) SWIG_fail
;
29663 resultobj
= wxPyMake_wxObject(result
, (bool)0);
29671 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29672 PyObject
*resultobj
= 0;
29673 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29674 wxImageList
*arg2
= (wxImageList
*) 0 ;
29682 PyObject
* obj0
= 0 ;
29683 PyObject
* obj1
= 0 ;
29684 PyObject
* obj2
= 0 ;
29685 char * kwnames
[] = {
29686 (char *) "self",(char *) "imageList",(char *) "which", NULL
29689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29691 if (!SWIG_IsOK(res1
)) {
29692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29694 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29695 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
29696 if (!SWIG_IsOK(res2
)) {
29697 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
29699 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
29700 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29701 if (!SWIG_IsOK(ecode3
)) {
29702 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
29704 arg3
= static_cast< int >(val3
);
29706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29707 (arg1
)->SetImageList(arg2
,arg3
);
29708 wxPyEndAllowThreads(__tstate
);
29709 if (PyErr_Occurred()) SWIG_fail
;
29711 resultobj
= SWIG_Py_Void();
29718 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29719 PyObject
*resultobj
= 0;
29720 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29721 wxImageList
*arg2
= (wxImageList
*) 0 ;
29728 PyObject
* obj0
= 0 ;
29729 PyObject
* obj1
= 0 ;
29730 PyObject
* obj2
= 0 ;
29731 char * kwnames
[] = {
29732 (char *) "self",(char *) "imageList",(char *) "which", NULL
29735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29737 if (!SWIG_IsOK(res1
)) {
29738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29740 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29741 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
29742 if (!SWIG_IsOK(res2
)) {
29743 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
29745 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29746 if (!SWIG_IsOK(ecode3
)) {
29747 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
29749 arg3
= static_cast< int >(val3
);
29751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29752 (arg1
)->AssignImageList(arg2
,arg3
);
29753 wxPyEndAllowThreads(__tstate
);
29754 if (PyErr_Occurred()) SWIG_fail
;
29756 resultobj
= SWIG_Py_Void();
29763 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29764 PyObject
*resultobj
= 0;
29765 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29769 PyObject
*swig_obj
[1] ;
29771 if (!args
) SWIG_fail
;
29772 swig_obj
[0] = args
;
29773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29774 if (!SWIG_IsOK(res1
)) {
29775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29777 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29780 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
29781 wxPyEndAllowThreads(__tstate
);
29782 if (PyErr_Occurred()) SWIG_fail
;
29785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29793 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29794 PyObject
*resultobj
= 0;
29795 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29799 PyObject
*swig_obj
[1] ;
29801 if (!args
) SWIG_fail
;
29802 swig_obj
[0] = args
;
29803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29804 if (!SWIG_IsOK(res1
)) {
29805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29807 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29810 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
29811 wxPyEndAllowThreads(__tstate
);
29812 if (PyErr_Occurred()) SWIG_fail
;
29815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29823 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29824 PyObject
*resultobj
= 0;
29825 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29831 PyObject
* obj0
= 0 ;
29832 PyObject
* obj1
= 0 ;
29833 char * kwnames
[] = {
29834 (char *) "self",(char *) "item", NULL
29837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29839 if (!SWIG_IsOK(res1
)) {
29840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29842 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29843 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29844 if (!SWIG_IsOK(ecode2
)) {
29845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
29847 arg2
= static_cast< long >(val2
);
29849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29850 (arg1
)->RefreshItem(arg2
);
29851 wxPyEndAllowThreads(__tstate
);
29852 if (PyErr_Occurred()) SWIG_fail
;
29854 resultobj
= SWIG_Py_Void();
29861 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29862 PyObject
*resultobj
= 0;
29863 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29872 PyObject
* obj0
= 0 ;
29873 PyObject
* obj1
= 0 ;
29874 PyObject
* obj2
= 0 ;
29875 char * kwnames
[] = {
29876 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
29879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29881 if (!SWIG_IsOK(res1
)) {
29882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29884 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29885 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29886 if (!SWIG_IsOK(ecode2
)) {
29887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
29889 arg2
= static_cast< long >(val2
);
29890 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29891 if (!SWIG_IsOK(ecode3
)) {
29892 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
29894 arg3
= static_cast< long >(val3
);
29896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29897 (arg1
)->RefreshItems(arg2
,arg3
);
29898 wxPyEndAllowThreads(__tstate
);
29899 if (PyErr_Occurred()) SWIG_fail
;
29901 resultobj
= SWIG_Py_Void();
29908 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29909 PyObject
*resultobj
= 0;
29910 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29911 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
29917 PyObject
* obj0
= 0 ;
29918 PyObject
* obj1
= 0 ;
29919 char * kwnames
[] = {
29920 (char *) "self",(char *) "flag", NULL
29923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29925 if (!SWIG_IsOK(res1
)) {
29926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29928 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29930 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29931 if (!SWIG_IsOK(ecode2
)) {
29932 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
29934 arg2
= static_cast< int >(val2
);
29937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29938 result
= (bool)(arg1
)->Arrange(arg2
);
29939 wxPyEndAllowThreads(__tstate
);
29940 if (PyErr_Occurred()) SWIG_fail
;
29943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29951 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29952 PyObject
*resultobj
= 0;
29953 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29960 PyObject
* obj0
= 0 ;
29961 PyObject
* obj1
= 0 ;
29962 char * kwnames
[] = {
29963 (char *) "self",(char *) "item", NULL
29966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29968 if (!SWIG_IsOK(res1
)) {
29969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29971 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29972 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29973 if (!SWIG_IsOK(ecode2
)) {
29974 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
29976 arg2
= static_cast< long >(val2
);
29978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29979 result
= (bool)(arg1
)->DeleteItem(arg2
);
29980 wxPyEndAllowThreads(__tstate
);
29981 if (PyErr_Occurred()) SWIG_fail
;
29984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29992 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29993 PyObject
*resultobj
= 0;
29994 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29998 PyObject
*swig_obj
[1] ;
30000 if (!args
) SWIG_fail
;
30001 swig_obj
[0] = args
;
30002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30003 if (!SWIG_IsOK(res1
)) {
30004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30006 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30009 result
= (bool)(arg1
)->DeleteAllItems();
30010 wxPyEndAllowThreads(__tstate
);
30011 if (PyErr_Occurred()) SWIG_fail
;
30014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30022 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30023 PyObject
*resultobj
= 0;
30024 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30031 PyObject
* obj0
= 0 ;
30032 PyObject
* obj1
= 0 ;
30033 char * kwnames
[] = {
30034 (char *) "self",(char *) "col", NULL
30037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30039 if (!SWIG_IsOK(res1
)) {
30040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30042 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30043 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30044 if (!SWIG_IsOK(ecode2
)) {
30045 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30047 arg2
= static_cast< int >(val2
);
30049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30050 result
= (bool)(arg1
)->DeleteColumn(arg2
);
30051 wxPyEndAllowThreads(__tstate
);
30052 if (PyErr_Occurred()) SWIG_fail
;
30055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30063 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30064 PyObject
*resultobj
= 0;
30065 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30069 PyObject
*swig_obj
[1] ;
30071 if (!args
) SWIG_fail
;
30072 swig_obj
[0] = args
;
30073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30074 if (!SWIG_IsOK(res1
)) {
30075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30077 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30080 result
= (bool)(arg1
)->DeleteAllColumns();
30081 wxPyEndAllowThreads(__tstate
);
30082 if (PyErr_Occurred()) SWIG_fail
;
30085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30093 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30094 PyObject
*resultobj
= 0;
30095 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30098 PyObject
*swig_obj
[1] ;
30100 if (!args
) SWIG_fail
;
30101 swig_obj
[0] = args
;
30102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30103 if (!SWIG_IsOK(res1
)) {
30104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30106 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30109 (arg1
)->ClearAll();
30110 wxPyEndAllowThreads(__tstate
);
30111 if (PyErr_Occurred()) SWIG_fail
;
30113 resultobj
= SWIG_Py_Void();
30120 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30121 PyObject
*resultobj
= 0;
30122 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30128 PyObject
* obj0
= 0 ;
30129 PyObject
* obj1
= 0 ;
30130 char * kwnames
[] = {
30131 (char *) "self",(char *) "item", NULL
30134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30136 if (!SWIG_IsOK(res1
)) {
30137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30139 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30140 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30141 if (!SWIG_IsOK(ecode2
)) {
30142 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
30144 arg2
= static_cast< long >(val2
);
30146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30147 (arg1
)->EditLabel(arg2
);
30148 wxPyEndAllowThreads(__tstate
);
30149 if (PyErr_Occurred()) SWIG_fail
;
30151 resultobj
= SWIG_Py_Void();
30158 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30159 PyObject
*resultobj
= 0;
30160 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30167 PyObject
* obj0
= 0 ;
30168 PyObject
* obj1
= 0 ;
30169 char * kwnames
[] = {
30170 (char *) "self",(char *) "item", NULL
30173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30175 if (!SWIG_IsOK(res1
)) {
30176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30178 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30179 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30180 if (!SWIG_IsOK(ecode2
)) {
30181 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
30183 arg2
= static_cast< long >(val2
);
30185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30186 result
= (bool)(arg1
)->EnsureVisible(arg2
);
30187 wxPyEndAllowThreads(__tstate
);
30188 if (PyErr_Occurred()) SWIG_fail
;
30191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30199 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30200 PyObject
*resultobj
= 0;
30201 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30203 wxString
*arg3
= 0 ;
30204 bool arg4
= (bool) false ;
30210 bool temp3
= false ;
30213 PyObject
* obj0
= 0 ;
30214 PyObject
* obj1
= 0 ;
30215 PyObject
* obj2
= 0 ;
30216 PyObject
* obj3
= 0 ;
30217 char * kwnames
[] = {
30218 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
30221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30223 if (!SWIG_IsOK(res1
)) {
30224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30226 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30227 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30228 if (!SWIG_IsOK(ecode2
)) {
30229 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
30231 arg2
= static_cast< long >(val2
);
30233 arg3
= wxString_in_helper(obj2
);
30234 if (arg3
== NULL
) SWIG_fail
;
30238 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
30239 if (!SWIG_IsOK(ecode4
)) {
30240 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
30242 arg4
= static_cast< bool >(val4
);
30245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30246 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
30247 wxPyEndAllowThreads(__tstate
);
30248 if (PyErr_Occurred()) SWIG_fail
;
30250 resultobj
= SWIG_From_long(static_cast< long >(result
));
30265 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30266 PyObject
*resultobj
= 0;
30267 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30277 PyObject
* obj0
= 0 ;
30278 PyObject
* obj1
= 0 ;
30279 PyObject
* obj2
= 0 ;
30280 char * kwnames
[] = {
30281 (char *) "self",(char *) "start",(char *) "data", NULL
30284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30286 if (!SWIG_IsOK(res1
)) {
30287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30289 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30290 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30291 if (!SWIG_IsOK(ecode2
)) {
30292 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
30294 arg2
= static_cast< long >(val2
);
30295 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30296 if (!SWIG_IsOK(ecode3
)) {
30297 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
30299 arg3
= static_cast< long >(val3
);
30301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30302 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
30303 wxPyEndAllowThreads(__tstate
);
30304 if (PyErr_Occurred()) SWIG_fail
;
30306 resultobj
= SWIG_From_long(static_cast< long >(result
));
30313 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30314 PyObject
*resultobj
= 0;
30315 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30317 wxPoint
*arg3
= 0 ;
30327 PyObject
* obj0
= 0 ;
30328 PyObject
* obj1
= 0 ;
30329 PyObject
* obj2
= 0 ;
30330 PyObject
* obj3
= 0 ;
30331 char * kwnames
[] = {
30332 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
30335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30337 if (!SWIG_IsOK(res1
)) {
30338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30340 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30341 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30342 if (!SWIG_IsOK(ecode2
)) {
30343 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
30345 arg2
= static_cast< long >(val2
);
30348 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30350 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30351 if (!SWIG_IsOK(ecode4
)) {
30352 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
30354 arg4
= static_cast< int >(val4
);
30356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30357 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
30358 wxPyEndAllowThreads(__tstate
);
30359 if (PyErr_Occurred()) SWIG_fail
;
30361 resultobj
= SWIG_From_long(static_cast< long >(result
));
30368 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30369 PyObject
*resultobj
= 0;
30370 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30371 wxPoint
*arg2
= 0 ;
30378 int res3
= SWIG_TMPOBJ
;
30379 PyObject
* obj0
= 0 ;
30380 PyObject
* obj1
= 0 ;
30381 char * kwnames
[] = {
30382 (char *) "self",(char *) "point", NULL
30386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30388 if (!SWIG_IsOK(res1
)) {
30389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30391 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30394 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30398 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
30399 wxPyEndAllowThreads(__tstate
);
30400 if (PyErr_Occurred()) SWIG_fail
;
30402 resultobj
= SWIG_From_long(static_cast< long >(result
));
30403 if (SWIG_IsTmpObj(res3
)) {
30404 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30406 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30407 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30415 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30416 PyObject
*resultobj
= 0;
30417 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30418 wxListItem
*arg2
= 0 ;
30424 PyObject
* obj0
= 0 ;
30425 PyObject
* obj1
= 0 ;
30426 char * kwnames
[] = {
30427 (char *) "self",(char *) "info", NULL
30430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30432 if (!SWIG_IsOK(res1
)) {
30433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30435 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30436 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
30437 if (!SWIG_IsOK(res2
)) {
30438 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
30441 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
30443 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
30445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30446 result
= (long)(arg1
)->InsertItem(*arg2
);
30447 wxPyEndAllowThreads(__tstate
);
30448 if (PyErr_Occurred()) SWIG_fail
;
30450 resultobj
= SWIG_From_long(static_cast< long >(result
));
30457 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30458 PyObject
*resultobj
= 0;
30459 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30461 wxString
*arg3
= 0 ;
30462 int arg4
= (int) -1 ;
30468 bool temp3
= false ;
30471 PyObject
* obj0
= 0 ;
30472 PyObject
* obj1
= 0 ;
30473 PyObject
* obj2
= 0 ;
30474 PyObject
* obj3
= 0 ;
30475 char * kwnames
[] = {
30476 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
30479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30481 if (!SWIG_IsOK(res1
)) {
30482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30484 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30485 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30486 if (!SWIG_IsOK(ecode2
)) {
30487 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
30489 arg2
= static_cast< long >(val2
);
30491 arg3
= wxString_in_helper(obj2
);
30492 if (arg3
== NULL
) SWIG_fail
;
30496 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30497 if (!SWIG_IsOK(ecode4
)) {
30498 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
30500 arg4
= static_cast< int >(val4
);
30503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30504 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
30505 wxPyEndAllowThreads(__tstate
);
30506 if (PyErr_Occurred()) SWIG_fail
;
30508 resultobj
= SWIG_From_long(static_cast< long >(result
));
30523 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30524 PyObject
*resultobj
= 0;
30525 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30535 PyObject
* obj0
= 0 ;
30536 PyObject
* obj1
= 0 ;
30537 PyObject
* obj2
= 0 ;
30538 char * kwnames
[] = {
30539 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
30542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30544 if (!SWIG_IsOK(res1
)) {
30545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30547 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30548 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30549 if (!SWIG_IsOK(ecode2
)) {
30550 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
30552 arg2
= static_cast< long >(val2
);
30553 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30554 if (!SWIG_IsOK(ecode3
)) {
30555 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
30557 arg3
= static_cast< int >(val3
);
30559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30560 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
30561 wxPyEndAllowThreads(__tstate
);
30562 if (PyErr_Occurred()) SWIG_fail
;
30564 resultobj
= SWIG_From_long(static_cast< long >(result
));
30571 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30572 PyObject
*resultobj
= 0;
30573 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30575 wxString
*arg3
= 0 ;
30582 bool temp3
= false ;
30585 PyObject
* obj0
= 0 ;
30586 PyObject
* obj1
= 0 ;
30587 PyObject
* obj2
= 0 ;
30588 PyObject
* obj3
= 0 ;
30589 char * kwnames
[] = {
30590 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
30593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30595 if (!SWIG_IsOK(res1
)) {
30596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30598 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30599 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30600 if (!SWIG_IsOK(ecode2
)) {
30601 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
30603 arg2
= static_cast< long >(val2
);
30605 arg3
= wxString_in_helper(obj2
);
30606 if (arg3
== NULL
) SWIG_fail
;
30609 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30610 if (!SWIG_IsOK(ecode4
)) {
30611 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
30613 arg4
= static_cast< int >(val4
);
30615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30616 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
30617 wxPyEndAllowThreads(__tstate
);
30618 if (PyErr_Occurred()) SWIG_fail
;
30620 resultobj
= SWIG_From_long(static_cast< long >(result
));
30635 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30636 PyObject
*resultobj
= 0;
30637 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30639 wxListItem
*arg3
= 0 ;
30647 PyObject
* obj0
= 0 ;
30648 PyObject
* obj1
= 0 ;
30649 PyObject
* obj2
= 0 ;
30650 char * kwnames
[] = {
30651 (char *) "self",(char *) "col",(char *) "info", NULL
30654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30656 if (!SWIG_IsOK(res1
)) {
30657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30659 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30660 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30661 if (!SWIG_IsOK(ecode2
)) {
30662 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
30664 arg2
= static_cast< long >(val2
);
30665 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
30666 if (!SWIG_IsOK(res3
)) {
30667 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
30670 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
30672 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
30674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30675 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
30676 wxPyEndAllowThreads(__tstate
);
30677 if (PyErr_Occurred()) SWIG_fail
;
30679 resultobj
= SWIG_From_long(static_cast< long >(result
));
30686 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30687 PyObject
*resultobj
= 0;
30688 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30690 wxString
*arg3
= 0 ;
30691 int arg4
= (int) wxLIST_FORMAT_LEFT
;
30692 int arg5
= (int) -1 ;
30698 bool temp3
= false ;
30703 PyObject
* obj0
= 0 ;
30704 PyObject
* obj1
= 0 ;
30705 PyObject
* obj2
= 0 ;
30706 PyObject
* obj3
= 0 ;
30707 PyObject
* obj4
= 0 ;
30708 char * kwnames
[] = {
30709 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
30712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30714 if (!SWIG_IsOK(res1
)) {
30715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30717 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30718 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30719 if (!SWIG_IsOK(ecode2
)) {
30720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
30722 arg2
= static_cast< long >(val2
);
30724 arg3
= wxString_in_helper(obj2
);
30725 if (arg3
== NULL
) SWIG_fail
;
30729 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30730 if (!SWIG_IsOK(ecode4
)) {
30731 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
30733 arg4
= static_cast< int >(val4
);
30736 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30737 if (!SWIG_IsOK(ecode5
)) {
30738 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
30740 arg5
= static_cast< int >(val5
);
30743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30744 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
30745 wxPyEndAllowThreads(__tstate
);
30746 if (PyErr_Occurred()) SWIG_fail
;
30748 resultobj
= SWIG_From_long(static_cast< long >(result
));
30763 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30764 PyObject
*resultobj
= 0;
30765 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30771 PyObject
* obj0
= 0 ;
30772 PyObject
* obj1
= 0 ;
30773 char * kwnames
[] = {
30774 (char *) "self",(char *) "count", NULL
30777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30779 if (!SWIG_IsOK(res1
)) {
30780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30782 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30783 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30784 if (!SWIG_IsOK(ecode2
)) {
30785 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
30787 arg2
= static_cast< long >(val2
);
30789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30790 (arg1
)->SetItemCount(arg2
);
30791 wxPyEndAllowThreads(__tstate
);
30792 if (PyErr_Occurred()) SWIG_fail
;
30794 resultobj
= SWIG_Py_Void();
30801 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30802 PyObject
*resultobj
= 0;
30803 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30813 PyObject
* obj0
= 0 ;
30814 PyObject
* obj1
= 0 ;
30815 PyObject
* obj2
= 0 ;
30816 char * kwnames
[] = {
30817 (char *) "self",(char *) "dx",(char *) "dy", NULL
30820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30822 if (!SWIG_IsOK(res1
)) {
30823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30825 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30826 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30827 if (!SWIG_IsOK(ecode2
)) {
30828 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
30830 arg2
= static_cast< int >(val2
);
30831 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30832 if (!SWIG_IsOK(ecode3
)) {
30833 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
30835 arg3
= static_cast< int >(val3
);
30837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30838 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
30839 wxPyEndAllowThreads(__tstate
);
30840 if (PyErr_Occurred()) SWIG_fail
;
30843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30851 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30852 PyObject
*resultobj
= 0;
30853 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30855 wxColour
*arg3
= 0 ;
30861 PyObject
* obj0
= 0 ;
30862 PyObject
* obj1
= 0 ;
30863 PyObject
* obj2
= 0 ;
30864 char * kwnames
[] = {
30865 (char *) "self",(char *) "item",(char *) "col", NULL
30868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30870 if (!SWIG_IsOK(res1
)) {
30871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30873 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30874 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30875 if (!SWIG_IsOK(ecode2
)) {
30876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
30878 arg2
= static_cast< long >(val2
);
30881 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
30884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30885 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
30886 wxPyEndAllowThreads(__tstate
);
30887 if (PyErr_Occurred()) SWIG_fail
;
30889 resultobj
= SWIG_Py_Void();
30896 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30897 PyObject
*resultobj
= 0;
30898 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30905 PyObject
* obj0
= 0 ;
30906 PyObject
* obj1
= 0 ;
30907 char * kwnames
[] = {
30908 (char *) "self",(char *) "item", NULL
30911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30913 if (!SWIG_IsOK(res1
)) {
30914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30916 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30917 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30918 if (!SWIG_IsOK(ecode2
)) {
30919 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
30921 arg2
= static_cast< long >(val2
);
30923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30924 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
30925 wxPyEndAllowThreads(__tstate
);
30926 if (PyErr_Occurred()) SWIG_fail
;
30928 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
30935 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30936 PyObject
*resultobj
= 0;
30937 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30939 wxColour
*arg3
= 0 ;
30945 PyObject
* obj0
= 0 ;
30946 PyObject
* obj1
= 0 ;
30947 PyObject
* obj2
= 0 ;
30948 char * kwnames
[] = {
30949 (char *) "self",(char *) "item",(char *) "col", NULL
30952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30954 if (!SWIG_IsOK(res1
)) {
30955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30957 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30958 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30959 if (!SWIG_IsOK(ecode2
)) {
30960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
30962 arg2
= static_cast< long >(val2
);
30965 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
30968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30969 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
30970 wxPyEndAllowThreads(__tstate
);
30971 if (PyErr_Occurred()) SWIG_fail
;
30973 resultobj
= SWIG_Py_Void();
30980 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30981 PyObject
*resultobj
= 0;
30982 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30989 PyObject
* obj0
= 0 ;
30990 PyObject
* obj1
= 0 ;
30991 char * kwnames
[] = {
30992 (char *) "self",(char *) "item", NULL
30995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30997 if (!SWIG_IsOK(res1
)) {
30998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31000 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31001 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31002 if (!SWIG_IsOK(ecode2
)) {
31003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31005 arg2
= static_cast< long >(val2
);
31007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31008 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
31009 wxPyEndAllowThreads(__tstate
);
31010 if (PyErr_Occurred()) SWIG_fail
;
31012 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31019 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31020 PyObject
*resultobj
= 0;
31021 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31030 PyObject
* obj0
= 0 ;
31031 PyObject
* obj1
= 0 ;
31032 PyObject
* obj2
= 0 ;
31033 char * kwnames
[] = {
31034 (char *) "self",(char *) "item",(char *) "f", NULL
31037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31039 if (!SWIG_IsOK(res1
)) {
31040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31042 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31043 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31044 if (!SWIG_IsOK(ecode2
)) {
31045 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
31047 arg2
= static_cast< long >(val2
);
31048 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
31049 if (!SWIG_IsOK(res3
)) {
31050 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31053 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31055 arg3
= reinterpret_cast< wxFont
* >(argp3
);
31057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31058 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
31059 wxPyEndAllowThreads(__tstate
);
31060 if (PyErr_Occurred()) SWIG_fail
;
31062 resultobj
= SWIG_Py_Void();
31069 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31070 PyObject
*resultobj
= 0;
31071 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31078 PyObject
* obj0
= 0 ;
31079 PyObject
* obj1
= 0 ;
31080 char * kwnames
[] = {
31081 (char *) "self",(char *) "item", NULL
31084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31086 if (!SWIG_IsOK(res1
)) {
31087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31089 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31090 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31091 if (!SWIG_IsOK(ecode2
)) {
31092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
31094 arg2
= static_cast< long >(val2
);
31096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31097 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
31098 wxPyEndAllowThreads(__tstate
);
31099 if (PyErr_Occurred()) SWIG_fail
;
31101 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
31108 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31109 PyObject
*resultobj
= 0;
31110 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31111 PyObject
*arg2
= (PyObject
*) 0 ;
31115 PyObject
* obj0
= 0 ;
31116 PyObject
* obj1
= 0 ;
31117 char * kwnames
[] = {
31118 (char *) "self",(char *) "func", NULL
31121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31123 if (!SWIG_IsOK(res1
)) {
31124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31126 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31130 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
31131 wxPyEndAllowThreads(__tstate
);
31132 if (PyErr_Occurred()) SWIG_fail
;
31135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31143 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31144 PyObject
*resultobj
= 0;
31145 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31146 wxWindow
*result
= 0 ;
31149 PyObject
*swig_obj
[1] ;
31151 if (!args
) SWIG_fail
;
31152 swig_obj
[0] = args
;
31153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31154 if (!SWIG_IsOK(res1
)) {
31155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31157 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31160 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
31161 wxPyEndAllowThreads(__tstate
);
31162 if (PyErr_Occurred()) SWIG_fail
;
31165 resultobj
= wxPyMake_wxObject(result
, 0);
31173 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31174 PyObject
*resultobj
= 0;
31175 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
31176 SwigValueWrapper
<wxVisualAttributes
> result
;
31179 PyObject
* obj0
= 0 ;
31180 char * kwnames
[] = {
31181 (char *) "variant", NULL
31184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
31186 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31187 if (!SWIG_IsOK(ecode1
)) {
31188 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
31190 arg1
= static_cast< wxWindowVariant
>(val1
);
31193 if (!wxPyCheckForApp()) SWIG_fail
;
31194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31195 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
31196 wxPyEndAllowThreads(__tstate
);
31197 if (PyErr_Occurred()) SWIG_fail
;
31199 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
31206 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31208 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31209 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
31210 return SWIG_Py_Void();
31213 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31214 return SWIG_Python_InitShadowInstance(args
);
31217 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31218 PyObject
*resultobj
= 0;
31219 wxWindow
*arg1
= (wxWindow
*) 0 ;
31220 int arg2
= (int) -1 ;
31221 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31222 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31223 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31224 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31225 long arg5
= (long) wxLC_REPORT
;
31226 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
31227 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
31228 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
31229 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31230 wxListView
*result
= 0 ;
31241 bool temp7
= false ;
31242 PyObject
* obj0
= 0 ;
31243 PyObject
* obj1
= 0 ;
31244 PyObject
* obj2
= 0 ;
31245 PyObject
* obj3
= 0 ;
31246 PyObject
* obj4
= 0 ;
31247 PyObject
* obj5
= 0 ;
31248 PyObject
* obj6
= 0 ;
31249 char * kwnames
[] = {
31250 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31255 if (!SWIG_IsOK(res1
)) {
31256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
31258 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31260 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31261 if (!SWIG_IsOK(ecode2
)) {
31262 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
31264 arg2
= static_cast< int >(val2
);
31269 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31275 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31279 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
31280 if (!SWIG_IsOK(ecode5
)) {
31281 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
31283 arg5
= static_cast< long >(val5
);
31286 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
31287 if (!SWIG_IsOK(res6
)) {
31288 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31291 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31293 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
31297 arg7
= wxString_in_helper(obj6
);
31298 if (arg7
== NULL
) SWIG_fail
;
31303 if (!wxPyCheckForApp()) SWIG_fail
;
31304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31305 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
31306 wxPyEndAllowThreads(__tstate
);
31307 if (PyErr_Occurred()) SWIG_fail
;
31309 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
31324 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31325 PyObject
*resultobj
= 0;
31326 wxListView
*result
= 0 ;
31328 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
31330 if (!wxPyCheckForApp()) SWIG_fail
;
31331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31332 result
= (wxListView
*)new wxListView();
31333 wxPyEndAllowThreads(__tstate
);
31334 if (PyErr_Occurred()) SWIG_fail
;
31336 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
31343 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31344 PyObject
*resultobj
= 0;
31345 wxListView
*arg1
= (wxListView
*) 0 ;
31346 wxWindow
*arg2
= (wxWindow
*) 0 ;
31347 int arg3
= (int) -1 ;
31348 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31349 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31350 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31351 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31352 long arg6
= (long) wxLC_REPORT
;
31353 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
31354 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
31355 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
31356 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31370 bool temp8
= false ;
31371 PyObject
* obj0
= 0 ;
31372 PyObject
* obj1
= 0 ;
31373 PyObject
* obj2
= 0 ;
31374 PyObject
* obj3
= 0 ;
31375 PyObject
* obj4
= 0 ;
31376 PyObject
* obj5
= 0 ;
31377 PyObject
* obj6
= 0 ;
31378 PyObject
* obj7
= 0 ;
31379 char * kwnames
[] = {
31380 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
31384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31385 if (!SWIG_IsOK(res1
)) {
31386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
31388 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31389 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31390 if (!SWIG_IsOK(res2
)) {
31391 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
31393 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31395 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31396 if (!SWIG_IsOK(ecode3
)) {
31397 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
31399 arg3
= static_cast< int >(val3
);
31404 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31410 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31414 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31415 if (!SWIG_IsOK(ecode6
)) {
31416 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
31418 arg6
= static_cast< long >(val6
);
31421 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
31422 if (!SWIG_IsOK(res7
)) {
31423 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
31426 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
31428 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
31432 arg8
= wxString_in_helper(obj7
);
31433 if (arg8
== NULL
) SWIG_fail
;
31438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31439 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
31440 wxPyEndAllowThreads(__tstate
);
31441 if (PyErr_Occurred()) SWIG_fail
;
31444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31460 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31461 PyObject
*resultobj
= 0;
31462 wxListView
*arg1
= (wxListView
*) 0 ;
31464 bool arg3
= (bool) true ;
31471 PyObject
* obj0
= 0 ;
31472 PyObject
* obj1
= 0 ;
31473 PyObject
* obj2
= 0 ;
31474 char * kwnames
[] = {
31475 (char *) "self",(char *) "n",(char *) "on", NULL
31478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31480 if (!SWIG_IsOK(res1
)) {
31481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
31483 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31484 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31485 if (!SWIG_IsOK(ecode2
)) {
31486 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
31488 arg2
= static_cast< long >(val2
);
31490 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
31491 if (!SWIG_IsOK(ecode3
)) {
31492 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
31494 arg3
= static_cast< bool >(val3
);
31497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31498 (arg1
)->Select(arg2
,arg3
);
31499 wxPyEndAllowThreads(__tstate
);
31500 if (PyErr_Occurred()) SWIG_fail
;
31502 resultobj
= SWIG_Py_Void();
31509 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31510 PyObject
*resultobj
= 0;
31511 wxListView
*arg1
= (wxListView
*) 0 ;
31517 PyObject
* obj0
= 0 ;
31518 PyObject
* obj1
= 0 ;
31519 char * kwnames
[] = {
31520 (char *) "self",(char *) "index", NULL
31523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31525 if (!SWIG_IsOK(res1
)) {
31526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
31528 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31529 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31530 if (!SWIG_IsOK(ecode2
)) {
31531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
31533 arg2
= static_cast< long >(val2
);
31535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31536 (arg1
)->Focus(arg2
);
31537 wxPyEndAllowThreads(__tstate
);
31538 if (PyErr_Occurred()) SWIG_fail
;
31540 resultobj
= SWIG_Py_Void();
31547 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31548 PyObject
*resultobj
= 0;
31549 wxListView
*arg1
= (wxListView
*) 0 ;
31553 PyObject
*swig_obj
[1] ;
31555 if (!args
) SWIG_fail
;
31556 swig_obj
[0] = args
;
31557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31558 if (!SWIG_IsOK(res1
)) {
31559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
31561 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31564 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
31565 wxPyEndAllowThreads(__tstate
);
31566 if (PyErr_Occurred()) SWIG_fail
;
31568 resultobj
= SWIG_From_long(static_cast< long >(result
));
31575 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31576 PyObject
*resultobj
= 0;
31577 wxListView
*arg1
= (wxListView
*) 0 ;
31584 PyObject
* obj0
= 0 ;
31585 PyObject
* obj1
= 0 ;
31586 char * kwnames
[] = {
31587 (char *) "self",(char *) "item", NULL
31590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31592 if (!SWIG_IsOK(res1
)) {
31593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
31595 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31596 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31597 if (!SWIG_IsOK(ecode2
)) {
31598 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
31600 arg2
= static_cast< long >(val2
);
31602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31603 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
31604 wxPyEndAllowThreads(__tstate
);
31605 if (PyErr_Occurred()) SWIG_fail
;
31607 resultobj
= SWIG_From_long(static_cast< long >(result
));
31614 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31615 PyObject
*resultobj
= 0;
31616 wxListView
*arg1
= (wxListView
*) 0 ;
31620 PyObject
*swig_obj
[1] ;
31622 if (!args
) SWIG_fail
;
31623 swig_obj
[0] = args
;
31624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31625 if (!SWIG_IsOK(res1
)) {
31626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
31628 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31631 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
31632 wxPyEndAllowThreads(__tstate
);
31633 if (PyErr_Occurred()) SWIG_fail
;
31635 resultobj
= SWIG_From_long(static_cast< long >(result
));
31642 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31643 PyObject
*resultobj
= 0;
31644 wxListView
*arg1
= (wxListView
*) 0 ;
31651 PyObject
* obj0
= 0 ;
31652 PyObject
* obj1
= 0 ;
31653 char * kwnames
[] = {
31654 (char *) "self",(char *) "index", NULL
31657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31659 if (!SWIG_IsOK(res1
)) {
31660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
31662 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31663 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31664 if (!SWIG_IsOK(ecode2
)) {
31665 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
31667 arg2
= static_cast< long >(val2
);
31669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31670 result
= (bool)(arg1
)->IsSelected(arg2
);
31671 wxPyEndAllowThreads(__tstate
);
31672 if (PyErr_Occurred()) SWIG_fail
;
31675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31683 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31684 PyObject
*resultobj
= 0;
31685 wxListView
*arg1
= (wxListView
*) 0 ;
31694 PyObject
* obj0
= 0 ;
31695 PyObject
* obj1
= 0 ;
31696 PyObject
* obj2
= 0 ;
31697 char * kwnames
[] = {
31698 (char *) "self",(char *) "col",(char *) "image", NULL
31701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31703 if (!SWIG_IsOK(res1
)) {
31704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
31706 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31707 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31708 if (!SWIG_IsOK(ecode2
)) {
31709 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
31711 arg2
= static_cast< int >(val2
);
31712 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31713 if (!SWIG_IsOK(ecode3
)) {
31714 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
31716 arg3
= static_cast< int >(val3
);
31718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31719 (arg1
)->SetColumnImage(arg2
,arg3
);
31720 wxPyEndAllowThreads(__tstate
);
31721 if (PyErr_Occurred()) SWIG_fail
;
31723 resultobj
= SWIG_Py_Void();
31730 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31731 PyObject
*resultobj
= 0;
31732 wxListView
*arg1
= (wxListView
*) 0 ;
31738 PyObject
* obj0
= 0 ;
31739 PyObject
* obj1
= 0 ;
31740 char * kwnames
[] = {
31741 (char *) "self",(char *) "col", NULL
31744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31746 if (!SWIG_IsOK(res1
)) {
31747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
31749 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31750 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31751 if (!SWIG_IsOK(ecode2
)) {
31752 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
31754 arg2
= static_cast< int >(val2
);
31756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31757 (arg1
)->ClearColumnImage(arg2
);
31758 wxPyEndAllowThreads(__tstate
);
31759 if (PyErr_Occurred()) SWIG_fail
;
31761 resultobj
= SWIG_Py_Void();
31768 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31770 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31771 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
31772 return SWIG_Py_Void();
31775 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31776 return SWIG_Python_InitShadowInstance(args
);
31779 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
31780 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
31785 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
31786 PyObject
*pyobj
= 0;
31790 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
31792 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
31799 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31800 PyObject
*resultobj
= 0;
31801 wxTreeItemId
*result
= 0 ;
31803 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
31805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31806 result
= (wxTreeItemId
*)new wxTreeItemId();
31807 wxPyEndAllowThreads(__tstate
);
31808 if (PyErr_Occurred()) SWIG_fail
;
31810 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
31817 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31818 PyObject
*resultobj
= 0;
31819 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
31822 PyObject
*swig_obj
[1] ;
31824 if (!args
) SWIG_fail
;
31825 swig_obj
[0] = args
;
31826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
31827 if (!SWIG_IsOK(res1
)) {
31828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
31830 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
31832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31835 wxPyEndAllowThreads(__tstate
);
31836 if (PyErr_Occurred()) SWIG_fail
;
31838 resultobj
= SWIG_Py_Void();
31845 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31846 PyObject
*resultobj
= 0;
31847 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
31851 PyObject
*swig_obj
[1] ;
31853 if (!args
) SWIG_fail
;
31854 swig_obj
[0] = args
;
31855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
31856 if (!SWIG_IsOK(res1
)) {
31857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
31859 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
31861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31862 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
31863 wxPyEndAllowThreads(__tstate
);
31864 if (PyErr_Occurred()) SWIG_fail
;
31867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31875 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31876 PyObject
*resultobj
= 0;
31877 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
31878 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
31884 PyObject
* obj0
= 0 ;
31885 PyObject
* obj1
= 0 ;
31886 char * kwnames
[] = {
31887 (char *) "self",(char *) "other", NULL
31890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
31892 if (!SWIG_IsOK(res1
)) {
31893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
31895 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
31896 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
31897 if (!SWIG_IsOK(res2
)) {
31898 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
31900 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
31902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31903 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
31904 wxPyEndAllowThreads(__tstate
);
31905 if (PyErr_Occurred()) SWIG_fail
;
31908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31916 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31917 PyObject
*resultobj
= 0;
31918 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
31919 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
31925 PyObject
* obj0
= 0 ;
31926 PyObject
* obj1
= 0 ;
31927 char * kwnames
[] = {
31928 (char *) "self",(char *) "other", NULL
31931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
31933 if (!SWIG_IsOK(res1
)) {
31934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
31936 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
31937 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
31938 if (!SWIG_IsOK(res2
)) {
31939 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
31941 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
31943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31944 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
31945 wxPyEndAllowThreads(__tstate
);
31946 if (PyErr_Occurred()) SWIG_fail
;
31949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31957 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31958 PyObject
*resultobj
= 0;
31959 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
31960 void *arg2
= (void *) 0 ;
31964 PyObject
*swig_obj
[2] ;
31966 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
31967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
31968 if (!SWIG_IsOK(res1
)) {
31969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
31971 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
31972 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
31973 if (!SWIG_IsOK(res2
)) {
31974 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
31976 if (arg1
) (arg1
)->m_pItem
= arg2
;
31978 resultobj
= SWIG_Py_Void();
31985 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31986 PyObject
*resultobj
= 0;
31987 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
31991 PyObject
*swig_obj
[1] ;
31993 if (!args
) SWIG_fail
;
31994 swig_obj
[0] = args
;
31995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
31996 if (!SWIG_IsOK(res1
)) {
31997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
31999 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32000 result
= (void *) ((arg1
)->m_pItem
);
32001 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
32008 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32010 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32011 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
32012 return SWIG_Py_Void();
32015 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32016 return SWIG_Python_InitShadowInstance(args
);
32019 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32020 PyObject
*resultobj
= 0;
32021 PyObject
*arg1
= (PyObject
*) NULL
;
32022 wxPyTreeItemData
*result
= 0 ;
32023 PyObject
* obj0
= 0 ;
32024 char * kwnames
[] = {
32025 (char *) "obj", NULL
32028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
32033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32034 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
32035 wxPyEndAllowThreads(__tstate
);
32036 if (PyErr_Occurred()) SWIG_fail
;
32038 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
32045 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32046 PyObject
*resultobj
= 0;
32047 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32050 PyObject
*swig_obj
[1] ;
32052 if (!args
) SWIG_fail
;
32053 swig_obj
[0] = args
;
32054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
32055 if (!SWIG_IsOK(res1
)) {
32056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32058 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32063 wxPyEndAllowThreads(__tstate
);
32064 if (PyErr_Occurred()) SWIG_fail
;
32066 resultobj
= SWIG_Py_Void();
32073 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32074 PyObject
*resultobj
= 0;
32075 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32076 PyObject
*result
= 0 ;
32079 PyObject
*swig_obj
[1] ;
32081 if (!args
) SWIG_fail
;
32082 swig_obj
[0] = args
;
32083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32084 if (!SWIG_IsOK(res1
)) {
32085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32087 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32090 result
= (PyObject
*)(arg1
)->GetData();
32091 wxPyEndAllowThreads(__tstate
);
32092 if (PyErr_Occurred()) SWIG_fail
;
32094 resultobj
= result
;
32101 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32102 PyObject
*resultobj
= 0;
32103 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32104 PyObject
*arg2
= (PyObject
*) 0 ;
32107 PyObject
* obj0
= 0 ;
32108 PyObject
* obj1
= 0 ;
32109 char * kwnames
[] = {
32110 (char *) "self",(char *) "obj", NULL
32113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32115 if (!SWIG_IsOK(res1
)) {
32116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32118 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32122 (arg1
)->SetData(arg2
);
32123 wxPyEndAllowThreads(__tstate
);
32124 if (PyErr_Occurred()) SWIG_fail
;
32126 resultobj
= SWIG_Py_Void();
32133 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32134 PyObject
*resultobj
= 0;
32135 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32136 wxTreeItemId
*result
= 0 ;
32139 PyObject
*swig_obj
[1] ;
32141 if (!args
) SWIG_fail
;
32142 swig_obj
[0] = args
;
32143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32144 if (!SWIG_IsOK(res1
)) {
32145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32147 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32151 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
32152 result
= (wxTreeItemId
*) &_result_ref
;
32154 wxPyEndAllowThreads(__tstate
);
32155 if (PyErr_Occurred()) SWIG_fail
;
32157 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32164 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32165 PyObject
*resultobj
= 0;
32166 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32167 wxTreeItemId
*arg2
= 0 ;
32172 PyObject
* obj0
= 0 ;
32173 PyObject
* obj1
= 0 ;
32174 char * kwnames
[] = {
32175 (char *) "self",(char *) "id", NULL
32178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32180 if (!SWIG_IsOK(res1
)) {
32181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32183 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32184 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32185 if (!SWIG_IsOK(res2
)) {
32186 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32189 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32191 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32194 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
32195 wxPyEndAllowThreads(__tstate
);
32196 if (PyErr_Occurred()) SWIG_fail
;
32198 resultobj
= SWIG_Py_Void();
32205 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32206 PyObject
*resultobj
= 0;
32207 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32210 PyObject
*swig_obj
[1] ;
32212 if (!args
) SWIG_fail
;
32213 swig_obj
[0] = args
;
32214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32215 if (!SWIG_IsOK(res1
)) {
32216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32218 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32221 wxPyTreeItemData_Destroy(arg1
);
32222 wxPyEndAllowThreads(__tstate
);
32223 if (PyErr_Occurred()) SWIG_fail
;
32225 resultobj
= SWIG_Py_Void();
32232 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32234 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32235 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
32236 return SWIG_Py_Void();
32239 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32240 return SWIG_Python_InitShadowInstance(args
);
32243 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32244 PyObject
*resultobj
= 0;
32245 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
32246 int arg2
= (int) 0 ;
32247 wxTreeEvent
*result
= 0 ;
32252 PyObject
* obj0
= 0 ;
32253 PyObject
* obj1
= 0 ;
32254 char * kwnames
[] = {
32255 (char *) "commandType",(char *) "id", NULL
32258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32260 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32261 if (!SWIG_IsOK(ecode1
)) {
32262 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
32264 arg1
= static_cast< wxEventType
>(val1
);
32267 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32268 if (!SWIG_IsOK(ecode2
)) {
32269 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
32271 arg2
= static_cast< int >(val2
);
32274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32275 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
32276 wxPyEndAllowThreads(__tstate
);
32277 if (PyErr_Occurred()) SWIG_fail
;
32279 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
32286 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32287 PyObject
*resultobj
= 0;
32288 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32289 wxTreeItemId result
;
32292 PyObject
*swig_obj
[1] ;
32294 if (!args
) SWIG_fail
;
32295 swig_obj
[0] = args
;
32296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32297 if (!SWIG_IsOK(res1
)) {
32298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32300 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32303 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
32304 wxPyEndAllowThreads(__tstate
);
32305 if (PyErr_Occurred()) SWIG_fail
;
32307 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
32314 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32315 PyObject
*resultobj
= 0;
32316 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32317 wxTreeItemId
*arg2
= 0 ;
32322 PyObject
* obj0
= 0 ;
32323 PyObject
* obj1
= 0 ;
32324 char * kwnames
[] = {
32325 (char *) "self",(char *) "item", NULL
32328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32330 if (!SWIG_IsOK(res1
)) {
32331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32333 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32334 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32335 if (!SWIG_IsOK(res2
)) {
32336 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32339 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32341 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32344 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
32345 wxPyEndAllowThreads(__tstate
);
32346 if (PyErr_Occurred()) SWIG_fail
;
32348 resultobj
= SWIG_Py_Void();
32355 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32356 PyObject
*resultobj
= 0;
32357 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32358 wxTreeItemId result
;
32361 PyObject
*swig_obj
[1] ;
32363 if (!args
) SWIG_fail
;
32364 swig_obj
[0] = args
;
32365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32366 if (!SWIG_IsOK(res1
)) {
32367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32369 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32372 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
32373 wxPyEndAllowThreads(__tstate
);
32374 if (PyErr_Occurred()) SWIG_fail
;
32376 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
32383 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32384 PyObject
*resultobj
= 0;
32385 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32386 wxTreeItemId
*arg2
= 0 ;
32391 PyObject
* obj0
= 0 ;
32392 PyObject
* obj1
= 0 ;
32393 char * kwnames
[] = {
32394 (char *) "self",(char *) "item", NULL
32397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32399 if (!SWIG_IsOK(res1
)) {
32400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32402 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32403 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32404 if (!SWIG_IsOK(res2
)) {
32405 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32408 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32410 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32413 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
32414 wxPyEndAllowThreads(__tstate
);
32415 if (PyErr_Occurred()) SWIG_fail
;
32417 resultobj
= SWIG_Py_Void();
32424 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32425 PyObject
*resultobj
= 0;
32426 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32430 PyObject
*swig_obj
[1] ;
32432 if (!args
) SWIG_fail
;
32433 swig_obj
[0] = args
;
32434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32435 if (!SWIG_IsOK(res1
)) {
32436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32438 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32441 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
32442 wxPyEndAllowThreads(__tstate
);
32443 if (PyErr_Occurred()) SWIG_fail
;
32445 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
32452 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32453 PyObject
*resultobj
= 0;
32454 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32455 wxPoint
*arg2
= 0 ;
32459 PyObject
* obj0
= 0 ;
32460 PyObject
* obj1
= 0 ;
32461 char * kwnames
[] = {
32462 (char *) "self",(char *) "pt", NULL
32465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32467 if (!SWIG_IsOK(res1
)) {
32468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32470 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32473 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32477 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
32478 wxPyEndAllowThreads(__tstate
);
32479 if (PyErr_Occurred()) SWIG_fail
;
32481 resultobj
= SWIG_Py_Void();
32488 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32489 PyObject
*resultobj
= 0;
32490 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32491 wxKeyEvent
*result
= 0 ;
32494 PyObject
*swig_obj
[1] ;
32496 if (!args
) SWIG_fail
;
32497 swig_obj
[0] = args
;
32498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32499 if (!SWIG_IsOK(res1
)) {
32500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32502 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32506 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
32507 result
= (wxKeyEvent
*) &_result_ref
;
32509 wxPyEndAllowThreads(__tstate
);
32510 if (PyErr_Occurred()) SWIG_fail
;
32512 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
32519 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32520 PyObject
*resultobj
= 0;
32521 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32525 PyObject
*swig_obj
[1] ;
32527 if (!args
) SWIG_fail
;
32528 swig_obj
[0] = args
;
32529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32530 if (!SWIG_IsOK(res1
)) {
32531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32533 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32536 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
32537 wxPyEndAllowThreads(__tstate
);
32538 if (PyErr_Occurred()) SWIG_fail
;
32540 resultobj
= SWIG_From_int(static_cast< int >(result
));
32547 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32548 PyObject
*resultobj
= 0;
32549 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32550 wxKeyEvent
*arg2
= 0 ;
32555 PyObject
* obj0
= 0 ;
32556 PyObject
* obj1
= 0 ;
32557 char * kwnames
[] = {
32558 (char *) "self",(char *) "evt", NULL
32561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32563 if (!SWIG_IsOK(res1
)) {
32564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32566 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32567 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
32568 if (!SWIG_IsOK(res2
)) {
32569 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
32572 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
32574 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
32576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32577 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
32578 wxPyEndAllowThreads(__tstate
);
32579 if (PyErr_Occurred()) SWIG_fail
;
32581 resultobj
= SWIG_Py_Void();
32588 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32589 PyObject
*resultobj
= 0;
32590 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32591 wxString
*result
= 0 ;
32594 PyObject
*swig_obj
[1] ;
32596 if (!args
) SWIG_fail
;
32597 swig_obj
[0] = args
;
32598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32599 if (!SWIG_IsOK(res1
)) {
32600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32602 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32606 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
32607 result
= (wxString
*) &_result_ref
;
32609 wxPyEndAllowThreads(__tstate
);
32610 if (PyErr_Occurred()) SWIG_fail
;
32614 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32616 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32625 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32626 PyObject
*resultobj
= 0;
32627 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32628 wxString
*arg2
= 0 ;
32631 bool temp2
= false ;
32632 PyObject
* obj0
= 0 ;
32633 PyObject
* obj1
= 0 ;
32634 char * kwnames
[] = {
32635 (char *) "self",(char *) "label", NULL
32638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32640 if (!SWIG_IsOK(res1
)) {
32641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32643 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32645 arg2
= wxString_in_helper(obj1
);
32646 if (arg2
== NULL
) SWIG_fail
;
32650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32651 (arg1
)->SetLabel((wxString
const &)*arg2
);
32652 wxPyEndAllowThreads(__tstate
);
32653 if (PyErr_Occurred()) SWIG_fail
;
32655 resultobj
= SWIG_Py_Void();
32670 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32671 PyObject
*resultobj
= 0;
32672 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32676 PyObject
*swig_obj
[1] ;
32678 if (!args
) SWIG_fail
;
32679 swig_obj
[0] = args
;
32680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32681 if (!SWIG_IsOK(res1
)) {
32682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32684 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32687 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
32688 wxPyEndAllowThreads(__tstate
);
32689 if (PyErr_Occurred()) SWIG_fail
;
32692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32700 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32701 PyObject
*resultobj
= 0;
32702 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32708 PyObject
* obj0
= 0 ;
32709 PyObject
* obj1
= 0 ;
32710 char * kwnames
[] = {
32711 (char *) "self",(char *) "editCancelled", NULL
32714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32716 if (!SWIG_IsOK(res1
)) {
32717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32719 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32720 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
32721 if (!SWIG_IsOK(ecode2
)) {
32722 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
32724 arg2
= static_cast< bool >(val2
);
32726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32727 (arg1
)->SetEditCanceled(arg2
);
32728 wxPyEndAllowThreads(__tstate
);
32729 if (PyErr_Occurred()) SWIG_fail
;
32731 resultobj
= SWIG_Py_Void();
32738 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32739 PyObject
*resultobj
= 0;
32740 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32741 wxString
*arg2
= 0 ;
32744 bool temp2
= false ;
32745 PyObject
* obj0
= 0 ;
32746 PyObject
* obj1
= 0 ;
32747 char * kwnames
[] = {
32748 (char *) "self",(char *) "toolTip", NULL
32751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32753 if (!SWIG_IsOK(res1
)) {
32754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32756 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32758 arg2
= wxString_in_helper(obj1
);
32759 if (arg2
== NULL
) SWIG_fail
;
32763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32764 (arg1
)->SetToolTip((wxString
const &)*arg2
);
32765 wxPyEndAllowThreads(__tstate
);
32766 if (PyErr_Occurred()) SWIG_fail
;
32768 resultobj
= SWIG_Py_Void();
32783 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32784 PyObject
*resultobj
= 0;
32785 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32789 PyObject
*swig_obj
[1] ;
32791 if (!args
) SWIG_fail
;
32792 swig_obj
[0] = args
;
32793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32794 if (!SWIG_IsOK(res1
)) {
32795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32797 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32800 result
= (arg1
)->GetToolTip();
32801 wxPyEndAllowThreads(__tstate
);
32802 if (PyErr_Occurred()) SWIG_fail
;
32806 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32808 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32817 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32819 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32820 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
32821 return SWIG_Py_Void();
32824 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32825 return SWIG_Python_InitShadowInstance(args
);
32828 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32829 PyObject
*resultobj
= 0;
32830 wxWindow
*arg1
= (wxWindow
*) 0 ;
32831 int arg2
= (int) -1 ;
32832 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32833 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32834 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32835 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32836 long arg5
= (long) wxTR_DEFAULT_STYLE
;
32837 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32838 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32839 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
32840 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32841 wxPyTreeCtrl
*result
= 0 ;
32852 bool temp7
= false ;
32853 PyObject
* obj0
= 0 ;
32854 PyObject
* obj1
= 0 ;
32855 PyObject
* obj2
= 0 ;
32856 PyObject
* obj3
= 0 ;
32857 PyObject
* obj4
= 0 ;
32858 PyObject
* obj5
= 0 ;
32859 PyObject
* obj6
= 0 ;
32860 char * kwnames
[] = {
32861 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32866 if (!SWIG_IsOK(res1
)) {
32867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
32869 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32871 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32872 if (!SWIG_IsOK(ecode2
)) {
32873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
32875 arg2
= static_cast< int >(val2
);
32880 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32886 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32890 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
32891 if (!SWIG_IsOK(ecode5
)) {
32892 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
32894 arg5
= static_cast< long >(val5
);
32897 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
32898 if (!SWIG_IsOK(res6
)) {
32899 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
32902 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
32904 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
32908 arg7
= wxString_in_helper(obj6
);
32909 if (arg7
== NULL
) SWIG_fail
;
32914 if (!wxPyCheckForApp()) SWIG_fail
;
32915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32916 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32917 wxPyEndAllowThreads(__tstate
);
32918 if (PyErr_Occurred()) SWIG_fail
;
32920 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
32935 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32936 PyObject
*resultobj
= 0;
32937 wxPyTreeCtrl
*result
= 0 ;
32939 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
32941 if (!wxPyCheckForApp()) SWIG_fail
;
32942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32943 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
32944 wxPyEndAllowThreads(__tstate
);
32945 if (PyErr_Occurred()) SWIG_fail
;
32947 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
32954 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32955 PyObject
*resultobj
= 0;
32956 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
32957 wxWindow
*arg2
= (wxWindow
*) 0 ;
32958 int arg3
= (int) -1 ;
32959 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32960 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32961 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32962 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32963 long arg6
= (long) wxTR_DEFAULT_STYLE
;
32964 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
32965 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
32966 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
32967 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
32981 bool temp8
= false ;
32982 PyObject
* obj0
= 0 ;
32983 PyObject
* obj1
= 0 ;
32984 PyObject
* obj2
= 0 ;
32985 PyObject
* obj3
= 0 ;
32986 PyObject
* obj4
= 0 ;
32987 PyObject
* obj5
= 0 ;
32988 PyObject
* obj6
= 0 ;
32989 PyObject
* obj7
= 0 ;
32990 char * kwnames
[] = {
32991 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
32996 if (!SWIG_IsOK(res1
)) {
32997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
32999 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33000 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33001 if (!SWIG_IsOK(res2
)) {
33002 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
33004 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33006 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33007 if (!SWIG_IsOK(ecode3
)) {
33008 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
33010 arg3
= static_cast< int >(val3
);
33015 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33021 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33025 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
33026 if (!SWIG_IsOK(ecode6
)) {
33027 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
33029 arg6
= static_cast< long >(val6
);
33032 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
33033 if (!SWIG_IsOK(res7
)) {
33034 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33037 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33039 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
33043 arg8
= wxString_in_helper(obj7
);
33044 if (arg8
== NULL
) SWIG_fail
;
33049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33050 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33051 wxPyEndAllowThreads(__tstate
);
33052 if (PyErr_Occurred()) SWIG_fail
;
33055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33071 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33072 PyObject
*resultobj
= 0;
33073 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33074 PyObject
*arg2
= (PyObject
*) 0 ;
33075 PyObject
*arg3
= (PyObject
*) 0 ;
33078 PyObject
* obj0
= 0 ;
33079 PyObject
* obj1
= 0 ;
33080 PyObject
* obj2
= 0 ;
33081 char * kwnames
[] = {
33082 (char *) "self",(char *) "self",(char *) "_class", NULL
33085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33087 if (!SWIG_IsOK(res1
)) {
33088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33090 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33095 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33096 wxPyEndAllowThreads(__tstate
);
33097 if (PyErr_Occurred()) SWIG_fail
;
33099 resultobj
= SWIG_Py_Void();
33106 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33107 PyObject
*resultobj
= 0;
33108 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33112 PyObject
*swig_obj
[1] ;
33114 if (!args
) SWIG_fail
;
33115 swig_obj
[0] = args
;
33116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33117 if (!SWIG_IsOK(res1
)) {
33118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33120 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33123 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
33124 wxPyEndAllowThreads(__tstate
);
33125 if (PyErr_Occurred()) SWIG_fail
;
33127 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
33134 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33135 PyObject
*resultobj
= 0;
33136 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33137 unsigned int result
;
33140 PyObject
*swig_obj
[1] ;
33142 if (!args
) SWIG_fail
;
33143 swig_obj
[0] = args
;
33144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33145 if (!SWIG_IsOK(res1
)) {
33146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33148 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33151 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
33152 wxPyEndAllowThreads(__tstate
);
33153 if (PyErr_Occurred()) SWIG_fail
;
33155 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33162 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33163 PyObject
*resultobj
= 0;
33164 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33165 unsigned int arg2
;
33168 unsigned int val2
;
33170 PyObject
* obj0
= 0 ;
33171 PyObject
* obj1
= 0 ;
33172 char * kwnames
[] = {
33173 (char *) "self",(char *) "indent", NULL
33176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33178 if (!SWIG_IsOK(res1
)) {
33179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33181 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33182 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33183 if (!SWIG_IsOK(ecode2
)) {
33184 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
33186 arg2
= static_cast< unsigned int >(val2
);
33188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33189 (arg1
)->SetIndent(arg2
);
33190 wxPyEndAllowThreads(__tstate
);
33191 if (PyErr_Occurred()) SWIG_fail
;
33193 resultobj
= SWIG_Py_Void();
33200 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33201 PyObject
*resultobj
= 0;
33202 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33203 unsigned int result
;
33206 PyObject
*swig_obj
[1] ;
33208 if (!args
) SWIG_fail
;
33209 swig_obj
[0] = args
;
33210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33211 if (!SWIG_IsOK(res1
)) {
33212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33214 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33217 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
33218 wxPyEndAllowThreads(__tstate
);
33219 if (PyErr_Occurred()) SWIG_fail
;
33221 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33228 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33229 PyObject
*resultobj
= 0;
33230 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33231 unsigned int arg2
;
33234 unsigned int val2
;
33236 PyObject
* obj0
= 0 ;
33237 PyObject
* obj1
= 0 ;
33238 char * kwnames
[] = {
33239 (char *) "self",(char *) "spacing", NULL
33242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33244 if (!SWIG_IsOK(res1
)) {
33245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33247 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33248 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33249 if (!SWIG_IsOK(ecode2
)) {
33250 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
33252 arg2
= static_cast< unsigned int >(val2
);
33254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33255 (arg1
)->SetSpacing(arg2
);
33256 wxPyEndAllowThreads(__tstate
);
33257 if (PyErr_Occurred()) SWIG_fail
;
33259 resultobj
= SWIG_Py_Void();
33266 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33267 PyObject
*resultobj
= 0;
33268 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33269 wxImageList
*result
= 0 ;
33272 PyObject
*swig_obj
[1] ;
33274 if (!args
) SWIG_fail
;
33275 swig_obj
[0] = args
;
33276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33277 if (!SWIG_IsOK(res1
)) {
33278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33280 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33283 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
33284 wxPyEndAllowThreads(__tstate
);
33285 if (PyErr_Occurred()) SWIG_fail
;
33288 resultobj
= wxPyMake_wxObject(result
, (bool)0);
33296 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33297 PyObject
*resultobj
= 0;
33298 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33299 wxImageList
*result
= 0 ;
33302 PyObject
*swig_obj
[1] ;
33304 if (!args
) SWIG_fail
;
33305 swig_obj
[0] = args
;
33306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33307 if (!SWIG_IsOK(res1
)) {
33308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33310 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33313 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
33314 wxPyEndAllowThreads(__tstate
);
33315 if (PyErr_Occurred()) SWIG_fail
;
33318 resultobj
= wxPyMake_wxObject(result
, (bool)0);
33326 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33327 PyObject
*resultobj
= 0;
33328 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33329 wxImageList
*arg2
= (wxImageList
*) 0 ;
33334 PyObject
* obj0
= 0 ;
33335 PyObject
* obj1
= 0 ;
33336 char * kwnames
[] = {
33337 (char *) "self",(char *) "imageList", NULL
33340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33342 if (!SWIG_IsOK(res1
)) {
33343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33345 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33346 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
33347 if (!SWIG_IsOK(res2
)) {
33348 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33350 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
33352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33353 (arg1
)->SetImageList(arg2
);
33354 wxPyEndAllowThreads(__tstate
);
33355 if (PyErr_Occurred()) SWIG_fail
;
33357 resultobj
= SWIG_Py_Void();
33364 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33365 PyObject
*resultobj
= 0;
33366 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33367 wxImageList
*arg2
= (wxImageList
*) 0 ;
33372 PyObject
* obj0
= 0 ;
33373 PyObject
* obj1
= 0 ;
33374 char * kwnames
[] = {
33375 (char *) "self",(char *) "imageList", NULL
33378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33380 if (!SWIG_IsOK(res1
)) {
33381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33383 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33384 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
33385 if (!SWIG_IsOK(res2
)) {
33386 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33388 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
33390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33391 (arg1
)->SetStateImageList(arg2
);
33392 wxPyEndAllowThreads(__tstate
);
33393 if (PyErr_Occurred()) SWIG_fail
;
33395 resultobj
= SWIG_Py_Void();
33402 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33403 PyObject
*resultobj
= 0;
33404 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33405 wxImageList
*arg2
= (wxImageList
*) 0 ;
33409 PyObject
* obj0
= 0 ;
33410 PyObject
* obj1
= 0 ;
33411 char * kwnames
[] = {
33412 (char *) "self",(char *) "imageList", NULL
33415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33417 if (!SWIG_IsOK(res1
)) {
33418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33420 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33421 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
33422 if (!SWIG_IsOK(res2
)) {
33423 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33427 (arg1
)->AssignImageList(arg2
);
33428 wxPyEndAllowThreads(__tstate
);
33429 if (PyErr_Occurred()) SWIG_fail
;
33431 resultobj
= SWIG_Py_Void();
33438 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33439 PyObject
*resultobj
= 0;
33440 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33441 wxImageList
*arg2
= (wxImageList
*) 0 ;
33445 PyObject
* obj0
= 0 ;
33446 PyObject
* obj1
= 0 ;
33447 char * kwnames
[] = {
33448 (char *) "self",(char *) "imageList", NULL
33451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33453 if (!SWIG_IsOK(res1
)) {
33454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33456 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33457 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
33458 if (!SWIG_IsOK(res2
)) {
33459 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33463 (arg1
)->AssignStateImageList(arg2
);
33464 wxPyEndAllowThreads(__tstate
);
33465 if (PyErr_Occurred()) SWIG_fail
;
33467 resultobj
= SWIG_Py_Void();
33474 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33475 PyObject
*resultobj
= 0;
33476 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33477 wxTreeItemId
*arg2
= 0 ;
33483 PyObject
* obj0
= 0 ;
33484 PyObject
* obj1
= 0 ;
33485 char * kwnames
[] = {
33486 (char *) "self",(char *) "item", NULL
33489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33491 if (!SWIG_IsOK(res1
)) {
33492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33494 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33495 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33496 if (!SWIG_IsOK(res2
)) {
33497 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33500 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33502 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33505 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
33506 wxPyEndAllowThreads(__tstate
);
33507 if (PyErr_Occurred()) SWIG_fail
;
33511 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33513 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33522 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33523 PyObject
*resultobj
= 0;
33524 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33525 wxTreeItemId
*arg2
= 0 ;
33526 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
33534 PyObject
* obj0
= 0 ;
33535 PyObject
* obj1
= 0 ;
33536 PyObject
* obj2
= 0 ;
33537 char * kwnames
[] = {
33538 (char *) "self",(char *) "item",(char *) "which", NULL
33541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33543 if (!SWIG_IsOK(res1
)) {
33544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33546 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33547 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33548 if (!SWIG_IsOK(res2
)) {
33549 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33552 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33554 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33556 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33557 if (!SWIG_IsOK(ecode3
)) {
33558 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
33560 arg3
= static_cast< wxTreeItemIcon
>(val3
);
33563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33564 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
33565 wxPyEndAllowThreads(__tstate
);
33566 if (PyErr_Occurred()) SWIG_fail
;
33568 resultobj
= SWIG_From_int(static_cast< int >(result
));
33575 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33576 PyObject
*resultobj
= 0;
33577 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33578 wxTreeItemId
*arg2
= 0 ;
33579 wxPyTreeItemData
*result
= 0 ;
33584 PyObject
* obj0
= 0 ;
33585 PyObject
* obj1
= 0 ;
33586 char * kwnames
[] = {
33587 (char *) "self",(char *) "item", NULL
33590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33592 if (!SWIG_IsOK(res1
)) {
33593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33595 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33596 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33597 if (!SWIG_IsOK(res2
)) {
33598 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33601 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33603 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33606 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
33607 wxPyEndAllowThreads(__tstate
);
33608 if (PyErr_Occurred()) SWIG_fail
;
33610 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33617 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33618 PyObject
*resultobj
= 0;
33619 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33620 wxTreeItemId
*arg2
= 0 ;
33621 PyObject
*result
= 0 ;
33626 PyObject
* obj0
= 0 ;
33627 PyObject
* obj1
= 0 ;
33628 char * kwnames
[] = {
33629 (char *) "self",(char *) "item", NULL
33632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33634 if (!SWIG_IsOK(res1
)) {
33635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33637 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33638 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33639 if (!SWIG_IsOK(res2
)) {
33640 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33643 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33645 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33648 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
33649 wxPyEndAllowThreads(__tstate
);
33650 if (PyErr_Occurred()) SWIG_fail
;
33652 resultobj
= result
;
33659 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33660 PyObject
*resultobj
= 0;
33661 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33662 wxTreeItemId
*arg2
= 0 ;
33668 PyObject
* obj0
= 0 ;
33669 PyObject
* obj1
= 0 ;
33670 char * kwnames
[] = {
33671 (char *) "self",(char *) "item", NULL
33674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33676 if (!SWIG_IsOK(res1
)) {
33677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33679 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33680 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33681 if (!SWIG_IsOK(res2
)) {
33682 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33685 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33687 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33690 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
33691 wxPyEndAllowThreads(__tstate
);
33692 if (PyErr_Occurred()) SWIG_fail
;
33694 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33701 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33702 PyObject
*resultobj
= 0;
33703 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33704 wxTreeItemId
*arg2
= 0 ;
33710 PyObject
* obj0
= 0 ;
33711 PyObject
* obj1
= 0 ;
33712 char * kwnames
[] = {
33713 (char *) "self",(char *) "item", NULL
33716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33718 if (!SWIG_IsOK(res1
)) {
33719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33721 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33722 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33723 if (!SWIG_IsOK(res2
)) {
33724 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33727 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33729 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33732 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
33733 wxPyEndAllowThreads(__tstate
);
33734 if (PyErr_Occurred()) SWIG_fail
;
33736 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33743 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33744 PyObject
*resultobj
= 0;
33745 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33746 wxTreeItemId
*arg2
= 0 ;
33752 PyObject
* obj0
= 0 ;
33753 PyObject
* obj1
= 0 ;
33754 char * kwnames
[] = {
33755 (char *) "self",(char *) "item", NULL
33758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33760 if (!SWIG_IsOK(res1
)) {
33761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33763 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33764 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33765 if (!SWIG_IsOK(res2
)) {
33766 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33769 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33771 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33774 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
33775 wxPyEndAllowThreads(__tstate
);
33776 if (PyErr_Occurred()) SWIG_fail
;
33778 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
33785 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33786 PyObject
*resultobj
= 0;
33787 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33788 wxTreeItemId
*arg2
= 0 ;
33789 wxString
*arg3
= 0 ;
33794 bool temp3
= false ;
33795 PyObject
* obj0
= 0 ;
33796 PyObject
* obj1
= 0 ;
33797 PyObject
* obj2
= 0 ;
33798 char * kwnames
[] = {
33799 (char *) "self",(char *) "item",(char *) "text", NULL
33802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33804 if (!SWIG_IsOK(res1
)) {
33805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33807 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33808 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33809 if (!SWIG_IsOK(res2
)) {
33810 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33813 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33815 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33817 arg3
= wxString_in_helper(obj2
);
33818 if (arg3
== NULL
) SWIG_fail
;
33822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33823 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
33824 wxPyEndAllowThreads(__tstate
);
33825 if (PyErr_Occurred()) SWIG_fail
;
33827 resultobj
= SWIG_Py_Void();
33842 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33843 PyObject
*resultobj
= 0;
33844 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33845 wxTreeItemId
*arg2
= 0 ;
33847 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
33856 PyObject
* obj0
= 0 ;
33857 PyObject
* obj1
= 0 ;
33858 PyObject
* obj2
= 0 ;
33859 PyObject
* obj3
= 0 ;
33860 char * kwnames
[] = {
33861 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
33864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33866 if (!SWIG_IsOK(res1
)) {
33867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33869 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33870 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33871 if (!SWIG_IsOK(res2
)) {
33872 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33875 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33877 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33878 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33879 if (!SWIG_IsOK(ecode3
)) {
33880 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
33882 arg3
= static_cast< int >(val3
);
33884 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33885 if (!SWIG_IsOK(ecode4
)) {
33886 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
33888 arg4
= static_cast< wxTreeItemIcon
>(val4
);
33891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33892 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
33893 wxPyEndAllowThreads(__tstate
);
33894 if (PyErr_Occurred()) SWIG_fail
;
33896 resultobj
= SWIG_Py_Void();
33903 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33904 PyObject
*resultobj
= 0;
33905 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33906 wxTreeItemId
*arg2
= 0 ;
33907 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
33913 PyObject
* obj0
= 0 ;
33914 PyObject
* obj1
= 0 ;
33915 PyObject
* obj2
= 0 ;
33916 char * kwnames
[] = {
33917 (char *) "self",(char *) "item",(char *) "data", NULL
33920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33922 if (!SWIG_IsOK(res1
)) {
33923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33925 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33926 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33927 if (!SWIG_IsOK(res2
)) {
33928 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33931 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33933 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33934 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
33935 if (!SWIG_IsOK(res3
)) {
33936 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
33939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33940 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
33941 wxPyEndAllowThreads(__tstate
);
33942 if (PyErr_Occurred()) SWIG_fail
;
33944 resultobj
= SWIG_Py_Void();
33951 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33952 PyObject
*resultobj
= 0;
33953 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33954 wxTreeItemId
*arg2
= 0 ;
33955 PyObject
*arg3
= (PyObject
*) 0 ;
33960 PyObject
* obj0
= 0 ;
33961 PyObject
* obj1
= 0 ;
33962 PyObject
* obj2
= 0 ;
33963 char * kwnames
[] = {
33964 (char *) "self",(char *) "item",(char *) "obj", NULL
33967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33969 if (!SWIG_IsOK(res1
)) {
33970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33972 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33973 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33974 if (!SWIG_IsOK(res2
)) {
33975 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33978 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33980 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33984 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
33985 wxPyEndAllowThreads(__tstate
);
33986 if (PyErr_Occurred()) SWIG_fail
;
33988 resultobj
= SWIG_Py_Void();
33995 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33996 PyObject
*resultobj
= 0;
33997 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33998 wxTreeItemId
*arg2
= 0 ;
33999 bool arg3
= (bool) true ;
34006 PyObject
* obj0
= 0 ;
34007 PyObject
* obj1
= 0 ;
34008 PyObject
* obj2
= 0 ;
34009 char * kwnames
[] = {
34010 (char *) "self",(char *) "item",(char *) "has", NULL
34013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34015 if (!SWIG_IsOK(res1
)) {
34016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34018 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34019 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34020 if (!SWIG_IsOK(res2
)) {
34021 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34024 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34026 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34028 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34029 if (!SWIG_IsOK(ecode3
)) {
34030 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
34032 arg3
= static_cast< bool >(val3
);
34035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34036 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
34037 wxPyEndAllowThreads(__tstate
);
34038 if (PyErr_Occurred()) SWIG_fail
;
34040 resultobj
= SWIG_Py_Void();
34047 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34048 PyObject
*resultobj
= 0;
34049 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34050 wxTreeItemId
*arg2
= 0 ;
34051 bool arg3
= (bool) true ;
34058 PyObject
* obj0
= 0 ;
34059 PyObject
* obj1
= 0 ;
34060 PyObject
* obj2
= 0 ;
34061 char * kwnames
[] = {
34062 (char *) "self",(char *) "item",(char *) "bold", NULL
34065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34067 if (!SWIG_IsOK(res1
)) {
34068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34070 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34071 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34072 if (!SWIG_IsOK(res2
)) {
34073 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34076 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34078 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34080 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34081 if (!SWIG_IsOK(ecode3
)) {
34082 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
34084 arg3
= static_cast< bool >(val3
);
34087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34088 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
34089 wxPyEndAllowThreads(__tstate
);
34090 if (PyErr_Occurred()) SWIG_fail
;
34092 resultobj
= SWIG_Py_Void();
34099 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34100 PyObject
*resultobj
= 0;
34101 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34102 wxTreeItemId
*arg2
= 0 ;
34103 bool arg3
= (bool) true ;
34110 PyObject
* obj0
= 0 ;
34111 PyObject
* obj1
= 0 ;
34112 PyObject
* obj2
= 0 ;
34113 char * kwnames
[] = {
34114 (char *) "self",(char *) "item",(char *) "highlight", NULL
34117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34119 if (!SWIG_IsOK(res1
)) {
34120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34122 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34123 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34124 if (!SWIG_IsOK(res2
)) {
34125 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34128 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34130 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34132 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34133 if (!SWIG_IsOK(ecode3
)) {
34134 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
34136 arg3
= static_cast< bool >(val3
);
34139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34140 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
34141 wxPyEndAllowThreads(__tstate
);
34142 if (PyErr_Occurred()) SWIG_fail
;
34144 resultobj
= SWIG_Py_Void();
34151 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34152 PyObject
*resultobj
= 0;
34153 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34154 wxTreeItemId
*arg2
= 0 ;
34155 wxColour
*arg3
= 0 ;
34161 PyObject
* obj0
= 0 ;
34162 PyObject
* obj1
= 0 ;
34163 PyObject
* obj2
= 0 ;
34164 char * kwnames
[] = {
34165 (char *) "self",(char *) "item",(char *) "col", NULL
34168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34170 if (!SWIG_IsOK(res1
)) {
34171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34173 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34174 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34175 if (!SWIG_IsOK(res2
)) {
34176 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34179 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34181 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34184 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34188 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34189 wxPyEndAllowThreads(__tstate
);
34190 if (PyErr_Occurred()) SWIG_fail
;
34192 resultobj
= SWIG_Py_Void();
34199 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34200 PyObject
*resultobj
= 0;
34201 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34202 wxTreeItemId
*arg2
= 0 ;
34203 wxColour
*arg3
= 0 ;
34209 PyObject
* obj0
= 0 ;
34210 PyObject
* obj1
= 0 ;
34211 PyObject
* obj2
= 0 ;
34212 char * kwnames
[] = {
34213 (char *) "self",(char *) "item",(char *) "col", NULL
34216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34218 if (!SWIG_IsOK(res1
)) {
34219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34221 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34222 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34223 if (!SWIG_IsOK(res2
)) {
34224 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34227 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34229 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34232 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34236 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34237 wxPyEndAllowThreads(__tstate
);
34238 if (PyErr_Occurred()) SWIG_fail
;
34240 resultobj
= SWIG_Py_Void();
34247 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34248 PyObject
*resultobj
= 0;
34249 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34250 wxTreeItemId
*arg2
= 0 ;
34258 PyObject
* obj0
= 0 ;
34259 PyObject
* obj1
= 0 ;
34260 PyObject
* obj2
= 0 ;
34261 char * kwnames
[] = {
34262 (char *) "self",(char *) "item",(char *) "font", NULL
34265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34267 if (!SWIG_IsOK(res1
)) {
34268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34270 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34271 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34272 if (!SWIG_IsOK(res2
)) {
34273 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34276 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34278 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34279 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
34280 if (!SWIG_IsOK(res3
)) {
34281 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34284 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34286 arg3
= reinterpret_cast< wxFont
* >(argp3
);
34288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34289 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
34290 wxPyEndAllowThreads(__tstate
);
34291 if (PyErr_Occurred()) SWIG_fail
;
34293 resultobj
= SWIG_Py_Void();
34300 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34301 PyObject
*resultobj
= 0;
34302 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34303 wxTreeItemId
*arg2
= 0 ;
34309 PyObject
* obj0
= 0 ;
34310 PyObject
* obj1
= 0 ;
34311 char * kwnames
[] = {
34312 (char *) "self",(char *) "item", NULL
34315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34317 if (!SWIG_IsOK(res1
)) {
34318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34320 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34321 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34322 if (!SWIG_IsOK(res2
)) {
34323 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34326 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34328 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34331 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
34332 wxPyEndAllowThreads(__tstate
);
34333 if (PyErr_Occurred()) SWIG_fail
;
34336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34344 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34345 PyObject
*resultobj
= 0;
34346 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34347 wxTreeItemId
*arg2
= 0 ;
34353 PyObject
* obj0
= 0 ;
34354 PyObject
* obj1
= 0 ;
34355 char * kwnames
[] = {
34356 (char *) "self",(char *) "item", NULL
34359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34361 if (!SWIG_IsOK(res1
)) {
34362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34364 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34365 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34366 if (!SWIG_IsOK(res2
)) {
34367 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34370 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34372 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34375 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
34376 wxPyEndAllowThreads(__tstate
);
34377 if (PyErr_Occurred()) SWIG_fail
;
34380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34388 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34389 PyObject
*resultobj
= 0;
34390 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34391 wxTreeItemId
*arg2
= 0 ;
34397 PyObject
* obj0
= 0 ;
34398 PyObject
* obj1
= 0 ;
34399 char * kwnames
[] = {
34400 (char *) "self",(char *) "item", NULL
34403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34405 if (!SWIG_IsOK(res1
)) {
34406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34408 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34409 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34410 if (!SWIG_IsOK(res2
)) {
34411 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34414 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34416 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34419 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
34420 wxPyEndAllowThreads(__tstate
);
34421 if (PyErr_Occurred()) SWIG_fail
;
34424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34432 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34433 PyObject
*resultobj
= 0;
34434 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34435 wxTreeItemId
*arg2
= 0 ;
34441 PyObject
* obj0
= 0 ;
34442 PyObject
* obj1
= 0 ;
34443 char * kwnames
[] = {
34444 (char *) "self",(char *) "item", NULL
34447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34449 if (!SWIG_IsOK(res1
)) {
34450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34452 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34453 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34454 if (!SWIG_IsOK(res2
)) {
34455 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34458 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34460 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34463 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
34464 wxPyEndAllowThreads(__tstate
);
34465 if (PyErr_Occurred()) SWIG_fail
;
34468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34476 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34477 PyObject
*resultobj
= 0;
34478 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34479 wxTreeItemId
*arg2
= 0 ;
34485 PyObject
* obj0
= 0 ;
34486 PyObject
* obj1
= 0 ;
34487 char * kwnames
[] = {
34488 (char *) "self",(char *) "item", NULL
34491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34493 if (!SWIG_IsOK(res1
)) {
34494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34496 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34497 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34498 if (!SWIG_IsOK(res2
)) {
34499 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34502 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34504 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34507 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
34508 wxPyEndAllowThreads(__tstate
);
34509 if (PyErr_Occurred()) SWIG_fail
;
34512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34520 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34521 PyObject
*resultobj
= 0;
34522 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34523 wxTreeItemId
*arg2
= 0 ;
34524 bool arg3
= (bool) true ;
34532 PyObject
* obj0
= 0 ;
34533 PyObject
* obj1
= 0 ;
34534 PyObject
* obj2
= 0 ;
34535 char * kwnames
[] = {
34536 (char *) "self",(char *) "item",(char *) "recursively", NULL
34539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34541 if (!SWIG_IsOK(res1
)) {
34542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34544 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34545 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34546 if (!SWIG_IsOK(res2
)) {
34547 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34550 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34552 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34554 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34555 if (!SWIG_IsOK(ecode3
)) {
34556 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
34558 arg3
= static_cast< bool >(val3
);
34561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34562 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
34563 wxPyEndAllowThreads(__tstate
);
34564 if (PyErr_Occurred()) SWIG_fail
;
34566 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
34573 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34574 PyObject
*resultobj
= 0;
34575 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34576 wxTreeItemId result
;
34579 PyObject
*swig_obj
[1] ;
34581 if (!args
) SWIG_fail
;
34582 swig_obj
[0] = args
;
34583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34584 if (!SWIG_IsOK(res1
)) {
34585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34587 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34590 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
34591 wxPyEndAllowThreads(__tstate
);
34592 if (PyErr_Occurred()) SWIG_fail
;
34594 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
34601 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34602 PyObject
*resultobj
= 0;
34603 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34604 wxTreeItemId result
;
34607 PyObject
*swig_obj
[1] ;
34609 if (!args
) SWIG_fail
;
34610 swig_obj
[0] = args
;
34611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34612 if (!SWIG_IsOK(res1
)) {
34613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34615 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34618 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
34619 wxPyEndAllowThreads(__tstate
);
34620 if (PyErr_Occurred()) SWIG_fail
;
34622 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
34629 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34630 PyObject
*resultobj
= 0;
34631 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34632 PyObject
*result
= 0 ;
34635 PyObject
*swig_obj
[1] ;
34637 if (!args
) SWIG_fail
;
34638 swig_obj
[0] = args
;
34639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34640 if (!SWIG_IsOK(res1
)) {
34641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34643 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34646 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
34647 wxPyEndAllowThreads(__tstate
);
34648 if (PyErr_Occurred()) SWIG_fail
;
34650 resultobj
= result
;
34657 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34658 PyObject
*resultobj
= 0;
34659 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34660 wxTreeItemId
*arg2
= 0 ;
34661 wxTreeItemId result
;
34666 PyObject
* obj0
= 0 ;
34667 PyObject
* obj1
= 0 ;
34668 char * kwnames
[] = {
34669 (char *) "self",(char *) "item", NULL
34672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34674 if (!SWIG_IsOK(res1
)) {
34675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34677 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34678 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34679 if (!SWIG_IsOK(res2
)) {
34680 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34683 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34685 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34688 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
34689 wxPyEndAllowThreads(__tstate
);
34690 if (PyErr_Occurred()) SWIG_fail
;
34692 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
34699 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34700 PyObject
*resultobj
= 0;
34701 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34702 wxTreeItemId
*arg2
= 0 ;
34703 PyObject
*result
= 0 ;
34708 PyObject
* obj0
= 0 ;
34709 PyObject
* obj1
= 0 ;
34710 char * kwnames
[] = {
34711 (char *) "self",(char *) "item", NULL
34714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34716 if (!SWIG_IsOK(res1
)) {
34717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34719 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34720 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34721 if (!SWIG_IsOK(res2
)) {
34722 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34725 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34727 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34730 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
34731 wxPyEndAllowThreads(__tstate
);
34732 if (PyErr_Occurred()) SWIG_fail
;
34734 resultobj
= result
;
34741 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34742 PyObject
*resultobj
= 0;
34743 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34744 wxTreeItemId
*arg2
= 0 ;
34745 void *arg3
= (void *) 0 ;
34746 PyObject
*result
= 0 ;
34752 PyObject
* obj0
= 0 ;
34753 PyObject
* obj1
= 0 ;
34754 PyObject
* obj2
= 0 ;
34755 char * kwnames
[] = {
34756 (char *) "self",(char *) "item",(char *) "cookie", NULL
34759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34761 if (!SWIG_IsOK(res1
)) {
34762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34764 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34765 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34766 if (!SWIG_IsOK(res2
)) {
34767 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34770 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34772 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34773 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
34774 if (!SWIG_IsOK(res3
)) {
34775 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
34778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34779 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34780 wxPyEndAllowThreads(__tstate
);
34781 if (PyErr_Occurred()) SWIG_fail
;
34783 resultobj
= result
;
34790 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34791 PyObject
*resultobj
= 0;
34792 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34793 wxTreeItemId
*arg2
= 0 ;
34794 wxTreeItemId result
;
34799 PyObject
* obj0
= 0 ;
34800 PyObject
* obj1
= 0 ;
34801 char * kwnames
[] = {
34802 (char *) "self",(char *) "item", NULL
34805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34807 if (!SWIG_IsOK(res1
)) {
34808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34810 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34811 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34812 if (!SWIG_IsOK(res2
)) {
34813 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34816 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34818 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34821 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
34822 wxPyEndAllowThreads(__tstate
);
34823 if (PyErr_Occurred()) SWIG_fail
;
34825 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
34832 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34833 PyObject
*resultobj
= 0;
34834 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34835 wxTreeItemId
*arg2
= 0 ;
34836 wxTreeItemId result
;
34841 PyObject
* obj0
= 0 ;
34842 PyObject
* obj1
= 0 ;
34843 char * kwnames
[] = {
34844 (char *) "self",(char *) "item", NULL
34847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34849 if (!SWIG_IsOK(res1
)) {
34850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34852 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34853 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34854 if (!SWIG_IsOK(res2
)) {
34855 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34858 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34860 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34863 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
34864 wxPyEndAllowThreads(__tstate
);
34865 if (PyErr_Occurred()) SWIG_fail
;
34867 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
34874 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34875 PyObject
*resultobj
= 0;
34876 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34877 wxTreeItemId
*arg2
= 0 ;
34878 wxTreeItemId result
;
34883 PyObject
* obj0
= 0 ;
34884 PyObject
* obj1
= 0 ;
34885 char * kwnames
[] = {
34886 (char *) "self",(char *) "item", NULL
34889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34891 if (!SWIG_IsOK(res1
)) {
34892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34894 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34895 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34896 if (!SWIG_IsOK(res2
)) {
34897 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34900 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34902 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34905 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
34906 wxPyEndAllowThreads(__tstate
);
34907 if (PyErr_Occurred()) SWIG_fail
;
34909 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
34916 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34917 PyObject
*resultobj
= 0;
34918 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34919 wxTreeItemId result
;
34922 PyObject
*swig_obj
[1] ;
34924 if (!args
) SWIG_fail
;
34925 swig_obj
[0] = args
;
34926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34927 if (!SWIG_IsOK(res1
)) {
34928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34930 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34933 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
34934 wxPyEndAllowThreads(__tstate
);
34935 if (PyErr_Occurred()) SWIG_fail
;
34937 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
34944 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34945 PyObject
*resultobj
= 0;
34946 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34947 wxTreeItemId
*arg2
= 0 ;
34948 wxTreeItemId result
;
34953 PyObject
* obj0
= 0 ;
34954 PyObject
* obj1
= 0 ;
34955 char * kwnames
[] = {
34956 (char *) "self",(char *) "item", NULL
34959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34961 if (!SWIG_IsOK(res1
)) {
34962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34964 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34965 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34966 if (!SWIG_IsOK(res2
)) {
34967 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34970 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34972 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34975 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
34976 wxPyEndAllowThreads(__tstate
);
34977 if (PyErr_Occurred()) SWIG_fail
;
34979 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
34986 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34987 PyObject
*resultobj
= 0;
34988 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34989 wxTreeItemId
*arg2
= 0 ;
34990 wxTreeItemId result
;
34995 PyObject
* obj0
= 0 ;
34996 PyObject
* obj1
= 0 ;
34997 char * kwnames
[] = {
34998 (char *) "self",(char *) "item", NULL
35001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35003 if (!SWIG_IsOK(res1
)) {
35004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35006 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35007 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35008 if (!SWIG_IsOK(res2
)) {
35009 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35012 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35014 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35017 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
35018 wxPyEndAllowThreads(__tstate
);
35019 if (PyErr_Occurred()) SWIG_fail
;
35021 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35028 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35029 PyObject
*resultobj
= 0;
35030 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35031 wxString
*arg2
= 0 ;
35032 int arg3
= (int) -1 ;
35033 int arg4
= (int) -1 ;
35034 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
35035 wxTreeItemId result
;
35038 bool temp2
= false ;
35044 PyObject
* obj0
= 0 ;
35045 PyObject
* obj1
= 0 ;
35046 PyObject
* obj2
= 0 ;
35047 PyObject
* obj3
= 0 ;
35048 PyObject
* obj4
= 0 ;
35049 char * kwnames
[] = {
35050 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35055 if (!SWIG_IsOK(res1
)) {
35056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35058 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35060 arg2
= wxString_in_helper(obj1
);
35061 if (arg2
== NULL
) SWIG_fail
;
35065 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35066 if (!SWIG_IsOK(ecode3
)) {
35067 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
35069 arg3
= static_cast< int >(val3
);
35072 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35073 if (!SWIG_IsOK(ecode4
)) {
35074 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
35076 arg4
= static_cast< int >(val4
);
35079 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35080 if (!SWIG_IsOK(res5
)) {
35081 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
35085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35086 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
35087 wxPyEndAllowThreads(__tstate
);
35088 if (PyErr_Occurred()) SWIG_fail
;
35090 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35105 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35106 PyObject
*resultobj
= 0;
35107 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35108 wxTreeItemId
*arg2
= 0 ;
35109 wxString
*arg3
= 0 ;
35110 int arg4
= (int) -1 ;
35111 int arg5
= (int) -1 ;
35112 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
35113 wxTreeItemId result
;
35118 bool temp3
= false ;
35124 PyObject
* obj0
= 0 ;
35125 PyObject
* obj1
= 0 ;
35126 PyObject
* obj2
= 0 ;
35127 PyObject
* obj3
= 0 ;
35128 PyObject
* obj4
= 0 ;
35129 PyObject
* obj5
= 0 ;
35130 char * kwnames
[] = {
35131 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
35135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35136 if (!SWIG_IsOK(res1
)) {
35137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35139 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35140 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35141 if (!SWIG_IsOK(res2
)) {
35142 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35145 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35147 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35149 arg3
= wxString_in_helper(obj2
);
35150 if (arg3
== NULL
) SWIG_fail
;
35154 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35155 if (!SWIG_IsOK(ecode4
)) {
35156 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
35158 arg4
= static_cast< int >(val4
);
35161 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35162 if (!SWIG_IsOK(ecode5
)) {
35163 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
35165 arg5
= static_cast< int >(val5
);
35168 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35169 if (!SWIG_IsOK(res6
)) {
35170 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
35174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35175 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
35176 wxPyEndAllowThreads(__tstate
);
35177 if (PyErr_Occurred()) SWIG_fail
;
35179 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35194 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35195 PyObject
*resultobj
= 0;
35196 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35197 wxTreeItemId
*arg2
= 0 ;
35198 wxTreeItemId
*arg3
= 0 ;
35199 wxString
*arg4
= 0 ;
35200 int arg5
= (int) -1 ;
35201 int arg6
= (int) -1 ;
35202 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
35203 wxTreeItemId result
;
35210 bool temp4
= false ;
35216 PyObject
* obj0
= 0 ;
35217 PyObject
* obj1
= 0 ;
35218 PyObject
* obj2
= 0 ;
35219 PyObject
* obj3
= 0 ;
35220 PyObject
* obj4
= 0 ;
35221 PyObject
* obj5
= 0 ;
35222 PyObject
* obj6
= 0 ;
35223 char * kwnames
[] = {
35224 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35229 if (!SWIG_IsOK(res1
)) {
35230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35232 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35233 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35234 if (!SWIG_IsOK(res2
)) {
35235 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35238 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35240 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35241 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35242 if (!SWIG_IsOK(res3
)) {
35243 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35246 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35248 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
35250 arg4
= wxString_in_helper(obj3
);
35251 if (arg4
== NULL
) SWIG_fail
;
35255 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35256 if (!SWIG_IsOK(ecode5
)) {
35257 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
35259 arg5
= static_cast< int >(val5
);
35262 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35263 if (!SWIG_IsOK(ecode6
)) {
35264 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
35266 arg6
= static_cast< int >(val6
);
35269 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35270 if (!SWIG_IsOK(res7
)) {
35271 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
35275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35276 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
35277 wxPyEndAllowThreads(__tstate
);
35278 if (PyErr_Occurred()) SWIG_fail
;
35280 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35295 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35296 PyObject
*resultobj
= 0;
35297 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35298 wxTreeItemId
*arg2
= 0 ;
35300 wxString
*arg4
= 0 ;
35301 int arg5
= (int) -1 ;
35302 int arg6
= (int) -1 ;
35303 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
35304 wxTreeItemId result
;
35311 bool temp4
= false ;
35317 PyObject
* obj0
= 0 ;
35318 PyObject
* obj1
= 0 ;
35319 PyObject
* obj2
= 0 ;
35320 PyObject
* obj3
= 0 ;
35321 PyObject
* obj4
= 0 ;
35322 PyObject
* obj5
= 0 ;
35323 PyObject
* obj6
= 0 ;
35324 char * kwnames
[] = {
35325 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35330 if (!SWIG_IsOK(res1
)) {
35331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35333 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35334 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35335 if (!SWIG_IsOK(res2
)) {
35336 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35339 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35341 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35342 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
35343 if (!SWIG_IsOK(ecode3
)) {
35344 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
35346 arg3
= static_cast< size_t >(val3
);
35348 arg4
= wxString_in_helper(obj3
);
35349 if (arg4
== NULL
) SWIG_fail
;
35353 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35354 if (!SWIG_IsOK(ecode5
)) {
35355 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
35357 arg5
= static_cast< int >(val5
);
35360 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35361 if (!SWIG_IsOK(ecode6
)) {
35362 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
35364 arg6
= static_cast< int >(val6
);
35367 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35368 if (!SWIG_IsOK(res7
)) {
35369 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
35373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35374 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
35375 wxPyEndAllowThreads(__tstate
);
35376 if (PyErr_Occurred()) SWIG_fail
;
35378 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35393 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35394 PyObject
*resultobj
= 0;
35395 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35396 wxTreeItemId
*arg2
= 0 ;
35397 wxString
*arg3
= 0 ;
35398 int arg4
= (int) -1 ;
35399 int arg5
= (int) -1 ;
35400 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
35401 wxTreeItemId result
;
35406 bool temp3
= false ;
35412 PyObject
* obj0
= 0 ;
35413 PyObject
* obj1
= 0 ;
35414 PyObject
* obj2
= 0 ;
35415 PyObject
* obj3
= 0 ;
35416 PyObject
* obj4
= 0 ;
35417 PyObject
* obj5
= 0 ;
35418 char * kwnames
[] = {
35419 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
35423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35424 if (!SWIG_IsOK(res1
)) {
35425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35427 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35428 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35429 if (!SWIG_IsOK(res2
)) {
35430 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35433 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35435 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35437 arg3
= wxString_in_helper(obj2
);
35438 if (arg3
== NULL
) SWIG_fail
;
35442 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35443 if (!SWIG_IsOK(ecode4
)) {
35444 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
35446 arg4
= static_cast< int >(val4
);
35449 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35450 if (!SWIG_IsOK(ecode5
)) {
35451 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
35453 arg5
= static_cast< int >(val5
);
35456 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35457 if (!SWIG_IsOK(res6
)) {
35458 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
35462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35463 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
35464 wxPyEndAllowThreads(__tstate
);
35465 if (PyErr_Occurred()) SWIG_fail
;
35467 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35482 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35483 PyObject
*resultobj
= 0;
35484 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35485 wxTreeItemId
*arg2
= 0 ;
35490 PyObject
* obj0
= 0 ;
35491 PyObject
* obj1
= 0 ;
35492 char * kwnames
[] = {
35493 (char *) "self",(char *) "item", NULL
35496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35498 if (!SWIG_IsOK(res1
)) {
35499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35501 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35502 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35503 if (!SWIG_IsOK(res2
)) {
35504 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35507 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35509 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35512 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
35513 wxPyEndAllowThreads(__tstate
);
35514 if (PyErr_Occurred()) SWIG_fail
;
35516 resultobj
= SWIG_Py_Void();
35523 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35524 PyObject
*resultobj
= 0;
35525 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35526 wxTreeItemId
*arg2
= 0 ;
35531 PyObject
* obj0
= 0 ;
35532 PyObject
* obj1
= 0 ;
35533 char * kwnames
[] = {
35534 (char *) "self",(char *) "item", NULL
35537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35539 if (!SWIG_IsOK(res1
)) {
35540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35542 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35543 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35544 if (!SWIG_IsOK(res2
)) {
35545 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35548 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35550 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35553 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
35554 wxPyEndAllowThreads(__tstate
);
35555 if (PyErr_Occurred()) SWIG_fail
;
35557 resultobj
= SWIG_Py_Void();
35564 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35565 PyObject
*resultobj
= 0;
35566 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35569 PyObject
*swig_obj
[1] ;
35571 if (!args
) SWIG_fail
;
35572 swig_obj
[0] = args
;
35573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35574 if (!SWIG_IsOK(res1
)) {
35575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35577 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35580 (arg1
)->DeleteAllItems();
35581 wxPyEndAllowThreads(__tstate
);
35582 if (PyErr_Occurred()) SWIG_fail
;
35584 resultobj
= SWIG_Py_Void();
35591 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35592 PyObject
*resultobj
= 0;
35593 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35594 wxTreeItemId
*arg2
= 0 ;
35599 PyObject
* obj0
= 0 ;
35600 PyObject
* obj1
= 0 ;
35601 char * kwnames
[] = {
35602 (char *) "self",(char *) "item", NULL
35605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35607 if (!SWIG_IsOK(res1
)) {
35608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35610 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35611 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35612 if (!SWIG_IsOK(res2
)) {
35613 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35616 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35618 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35621 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
35622 wxPyEndAllowThreads(__tstate
);
35623 if (PyErr_Occurred()) SWIG_fail
;
35625 resultobj
= SWIG_Py_Void();
35632 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35633 PyObject
*resultobj
= 0;
35634 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35635 wxTreeItemId
*arg2
= 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_Collapse",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_Collapse" "', 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_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35657 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35659 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35662 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
35663 wxPyEndAllowThreads(__tstate
);
35664 if (PyErr_Occurred()) SWIG_fail
;
35666 resultobj
= SWIG_Py_Void();
35673 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35674 PyObject
*resultobj
= 0;
35675 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35676 wxTreeItemId
*arg2
= 0 ;
35681 PyObject
* obj0
= 0 ;
35682 PyObject
* obj1
= 0 ;
35683 char * kwnames
[] = {
35684 (char *) "self",(char *) "item", NULL
35687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35689 if (!SWIG_IsOK(res1
)) {
35690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35692 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35693 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35694 if (!SWIG_IsOK(res2
)) {
35695 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35698 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35700 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35703 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
35704 wxPyEndAllowThreads(__tstate
);
35705 if (PyErr_Occurred()) SWIG_fail
;
35707 resultobj
= SWIG_Py_Void();
35714 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35715 PyObject
*resultobj
= 0;
35716 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35717 wxTreeItemId
*arg2
= 0 ;
35722 PyObject
* obj0
= 0 ;
35723 PyObject
* obj1
= 0 ;
35724 char * kwnames
[] = {
35725 (char *) "self",(char *) "item", NULL
35728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35730 if (!SWIG_IsOK(res1
)) {
35731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35733 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35734 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35735 if (!SWIG_IsOK(res2
)) {
35736 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35739 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35741 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35744 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
35745 wxPyEndAllowThreads(__tstate
);
35746 if (PyErr_Occurred()) SWIG_fail
;
35748 resultobj
= SWIG_Py_Void();
35755 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35756 PyObject
*resultobj
= 0;
35757 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35760 PyObject
*swig_obj
[1] ;
35762 if (!args
) SWIG_fail
;
35763 swig_obj
[0] = args
;
35764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35765 if (!SWIG_IsOK(res1
)) {
35766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35768 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35771 (arg1
)->Unselect();
35772 wxPyEndAllowThreads(__tstate
);
35773 if (PyErr_Occurred()) SWIG_fail
;
35775 resultobj
= SWIG_Py_Void();
35782 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35783 PyObject
*resultobj
= 0;
35784 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35785 wxTreeItemId
*arg2
= 0 ;
35790 PyObject
* obj0
= 0 ;
35791 PyObject
* obj1
= 0 ;
35792 char * kwnames
[] = {
35793 (char *) "self",(char *) "item", NULL
35796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35798 if (!SWIG_IsOK(res1
)) {
35799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35801 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35802 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35803 if (!SWIG_IsOK(res2
)) {
35804 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35807 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35809 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35812 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
35813 wxPyEndAllowThreads(__tstate
);
35814 if (PyErr_Occurred()) SWIG_fail
;
35816 resultobj
= SWIG_Py_Void();
35823 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35824 PyObject
*resultobj
= 0;
35825 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35828 PyObject
*swig_obj
[1] ;
35830 if (!args
) SWIG_fail
;
35831 swig_obj
[0] = args
;
35832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35833 if (!SWIG_IsOK(res1
)) {
35834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35836 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35839 (arg1
)->UnselectAll();
35840 wxPyEndAllowThreads(__tstate
);
35841 if (PyErr_Occurred()) SWIG_fail
;
35843 resultobj
= SWIG_Py_Void();
35850 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35851 PyObject
*resultobj
= 0;
35852 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35853 wxTreeItemId
*arg2
= 0 ;
35854 bool arg3
= (bool) true ;
35861 PyObject
* obj0
= 0 ;
35862 PyObject
* obj1
= 0 ;
35863 PyObject
* obj2
= 0 ;
35864 char * kwnames
[] = {
35865 (char *) "self",(char *) "item",(char *) "select", NULL
35868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35870 if (!SWIG_IsOK(res1
)) {
35871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35873 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35874 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35875 if (!SWIG_IsOK(res2
)) {
35876 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35879 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35881 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35883 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35884 if (!SWIG_IsOK(ecode3
)) {
35885 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
35887 arg3
= static_cast< bool >(val3
);
35890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35891 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
35892 wxPyEndAllowThreads(__tstate
);
35893 if (PyErr_Occurred()) SWIG_fail
;
35895 resultobj
= SWIG_Py_Void();
35902 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35903 PyObject
*resultobj
= 0;
35904 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35905 wxTreeItemId
*arg2
= 0 ;
35910 PyObject
* obj0
= 0 ;
35911 PyObject
* obj1
= 0 ;
35912 char * kwnames
[] = {
35913 (char *) "self",(char *) "item", NULL
35916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35918 if (!SWIG_IsOK(res1
)) {
35919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35921 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35922 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35923 if (!SWIG_IsOK(res2
)) {
35924 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35927 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35929 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35932 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
35933 wxPyEndAllowThreads(__tstate
);
35934 if (PyErr_Occurred()) SWIG_fail
;
35936 resultobj
= SWIG_Py_Void();
35943 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35944 PyObject
*resultobj
= 0;
35945 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35946 wxTreeItemId
*arg2
= 0 ;
35951 PyObject
* obj0
= 0 ;
35952 PyObject
* obj1
= 0 ;
35953 char * kwnames
[] = {
35954 (char *) "self",(char *) "item", NULL
35957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35959 if (!SWIG_IsOK(res1
)) {
35960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35962 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35963 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35964 if (!SWIG_IsOK(res2
)) {
35965 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35968 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35970 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35973 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
35974 wxPyEndAllowThreads(__tstate
);
35975 if (PyErr_Occurred()) SWIG_fail
;
35977 resultobj
= SWIG_Py_Void();
35984 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35985 PyObject
*resultobj
= 0;
35986 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35987 wxTreeItemId
*arg2
= 0 ;
35992 PyObject
* obj0
= 0 ;
35993 PyObject
* obj1
= 0 ;
35994 char * kwnames
[] = {
35995 (char *) "self",(char *) "item", NULL
35998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36000 if (!SWIG_IsOK(res1
)) {
36001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36003 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36004 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36005 if (!SWIG_IsOK(res2
)) {
36006 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36009 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36011 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36014 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
36015 wxPyEndAllowThreads(__tstate
);
36016 if (PyErr_Occurred()) SWIG_fail
;
36018 resultobj
= SWIG_Py_Void();
36025 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36026 PyObject
*resultobj
= 0;
36027 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36028 wxTreeItemId
*arg2
= 0 ;
36033 PyObject
* obj0
= 0 ;
36034 PyObject
* obj1
= 0 ;
36035 char * kwnames
[] = {
36036 (char *) "self",(char *) "item", NULL
36039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36041 if (!SWIG_IsOK(res1
)) {
36042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36044 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36045 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36046 if (!SWIG_IsOK(res2
)) {
36047 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36050 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36052 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36055 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
36056 wxPyEndAllowThreads(__tstate
);
36057 if (PyErr_Occurred()) SWIG_fail
;
36059 resultobj
= SWIG_Py_Void();
36066 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36067 PyObject
*resultobj
= 0;
36068 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36069 wxTextCtrl
*result
= 0 ;
36072 PyObject
*swig_obj
[1] ;
36074 if (!args
) SWIG_fail
;
36075 swig_obj
[0] = args
;
36076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36077 if (!SWIG_IsOK(res1
)) {
36078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36080 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36083 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
36084 wxPyEndAllowThreads(__tstate
);
36085 if (PyErr_Occurred()) SWIG_fail
;
36088 resultobj
= wxPyMake_wxObject(result
, 0);
36096 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36097 PyObject
*resultobj
= 0;
36098 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36099 wxTreeItemId
*arg2
= 0 ;
36104 PyObject
* obj0
= 0 ;
36105 PyObject
* obj1
= 0 ;
36106 char * kwnames
[] = {
36107 (char *) "self",(char *) "item", NULL
36110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36112 if (!SWIG_IsOK(res1
)) {
36113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36115 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36116 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36117 if (!SWIG_IsOK(res2
)) {
36118 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36121 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36123 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36126 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
36127 wxPyEndAllowThreads(__tstate
);
36128 if (PyErr_Occurred()) SWIG_fail
;
36130 resultobj
= SWIG_Py_Void();
36137 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36138 PyObject
*resultobj
= 0;
36139 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36140 wxPoint
*arg2
= 0 ;
36142 wxTreeItemId result
;
36147 int res3
= SWIG_TMPOBJ
;
36148 PyObject
* obj0
= 0 ;
36149 PyObject
* obj1
= 0 ;
36150 char * kwnames
[] = {
36151 (char *) "self",(char *) "point", NULL
36155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36157 if (!SWIG_IsOK(res1
)) {
36158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36160 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36163 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36167 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
36168 wxPyEndAllowThreads(__tstate
);
36169 if (PyErr_Occurred()) SWIG_fail
;
36171 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36172 if (SWIG_IsTmpObj(res3
)) {
36173 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
36175 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
36176 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
36184 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36185 PyObject
*resultobj
= 0;
36186 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36187 wxTreeItemId
*arg2
= 0 ;
36188 bool arg3
= (bool) false ;
36189 PyObject
*result
= 0 ;
36196 PyObject
* obj0
= 0 ;
36197 PyObject
* obj1
= 0 ;
36198 PyObject
* obj2
= 0 ;
36199 char * kwnames
[] = {
36200 (char *) "self",(char *) "item",(char *) "textOnly", NULL
36203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36205 if (!SWIG_IsOK(res1
)) {
36206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36208 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36209 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36210 if (!SWIG_IsOK(res2
)) {
36211 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36214 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36216 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36218 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36219 if (!SWIG_IsOK(ecode3
)) {
36220 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
36222 arg3
= static_cast< bool >(val3
);
36225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36226 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
36227 wxPyEndAllowThreads(__tstate
);
36228 if (PyErr_Occurred()) SWIG_fail
;
36230 resultobj
= result
;
36237 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36238 PyObject
*resultobj
= 0;
36239 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
36240 SwigValueWrapper
<wxVisualAttributes
> result
;
36243 PyObject
* obj0
= 0 ;
36244 char * kwnames
[] = {
36245 (char *) "variant", NULL
36248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
36250 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
36251 if (!SWIG_IsOK(ecode1
)) {
36252 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
36254 arg1
= static_cast< wxWindowVariant
>(val1
);
36257 if (!wxPyCheckForApp()) SWIG_fail
;
36258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36259 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
36260 wxPyEndAllowThreads(__tstate
);
36261 if (PyErr_Occurred()) SWIG_fail
;
36263 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
36270 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36272 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36273 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
36274 return SWIG_Py_Void();
36277 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36278 return SWIG_Python_InitShadowInstance(args
);
36281 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
36282 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
36287 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
36288 PyObject
*pyobj
= 0;
36292 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
36294 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
36301 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36302 PyObject
*resultobj
= 0;
36303 wxWindow
*arg1
= (wxWindow
*) 0 ;
36304 int arg2
= (int) (int)-1 ;
36305 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
36306 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
36307 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
36308 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
36309 wxSize
const &arg5_defvalue
= wxDefaultSize
;
36310 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
36311 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
36312 wxString
const &arg7_defvalue
= wxPyEmptyString
;
36313 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
36314 int arg8
= (int) 0 ;
36315 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
36316 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
36317 wxGenericDirCtrl
*result
= 0 ;
36322 bool temp3
= false ;
36327 bool temp7
= false ;
36330 bool temp9
= false ;
36331 PyObject
* obj0
= 0 ;
36332 PyObject
* obj1
= 0 ;
36333 PyObject
* obj2
= 0 ;
36334 PyObject
* obj3
= 0 ;
36335 PyObject
* obj4
= 0 ;
36336 PyObject
* obj5
= 0 ;
36337 PyObject
* obj6
= 0 ;
36338 PyObject
* obj7
= 0 ;
36339 PyObject
* obj8
= 0 ;
36340 char * kwnames
[] = {
36341 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
36344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
36345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36346 if (!SWIG_IsOK(res1
)) {
36347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
36349 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36351 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36352 if (!SWIG_IsOK(ecode2
)) {
36353 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
36355 arg2
= static_cast< int >(val2
);
36359 arg3
= wxString_in_helper(obj2
);
36360 if (arg3
== NULL
) SWIG_fail
;
36367 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36373 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
36377 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
36378 if (!SWIG_IsOK(ecode6
)) {
36379 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
36381 arg6
= static_cast< long >(val6
);
36385 arg7
= wxString_in_helper(obj6
);
36386 if (arg7
== NULL
) SWIG_fail
;
36391 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
36392 if (!SWIG_IsOK(ecode8
)) {
36393 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
36395 arg8
= static_cast< int >(val8
);
36399 arg9
= wxString_in_helper(obj8
);
36400 if (arg9
== NULL
) SWIG_fail
;
36405 if (!wxPyCheckForApp()) SWIG_fail
;
36406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36407 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
36408 wxPyEndAllowThreads(__tstate
);
36409 if (PyErr_Occurred()) SWIG_fail
;
36411 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
36442 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36443 PyObject
*resultobj
= 0;
36444 wxGenericDirCtrl
*result
= 0 ;
36446 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
36448 if (!wxPyCheckForApp()) SWIG_fail
;
36449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36450 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
36451 wxPyEndAllowThreads(__tstate
);
36452 if (PyErr_Occurred()) SWIG_fail
;
36454 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
36461 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36462 PyObject
*resultobj
= 0;
36463 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
36464 wxWindow
*arg2
= (wxWindow
*) 0 ;
36465 int arg3
= (int) (int)-1 ;
36466 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
36467 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
36468 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
36469 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
36470 wxSize
const &arg6_defvalue
= wxDefaultSize
;
36471 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
36472 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
36473 wxString
const &arg8_defvalue
= wxPyEmptyString
;
36474 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
36475 int arg9
= (int) 0 ;
36476 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
36477 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
36485 bool temp4
= false ;
36490 bool temp8
= false ;
36493 bool temp10
= false ;
36494 PyObject
* obj0
= 0 ;
36495 PyObject
* obj1
= 0 ;
36496 PyObject
* obj2
= 0 ;
36497 PyObject
* obj3
= 0 ;
36498 PyObject
* obj4
= 0 ;
36499 PyObject
* obj5
= 0 ;
36500 PyObject
* obj6
= 0 ;
36501 PyObject
* obj7
= 0 ;
36502 PyObject
* obj8
= 0 ;
36503 PyObject
* obj9
= 0 ;
36504 char * kwnames
[] = {
36505 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
36508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
36509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
36510 if (!SWIG_IsOK(res1
)) {
36511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
36513 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
36514 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36515 if (!SWIG_IsOK(res2
)) {
36516 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
36518 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
36520 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36521 if (!SWIG_IsOK(ecode3
)) {
36522 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
36524 arg3
= static_cast< int >(val3
);
36528 arg4
= wxString_in_helper(obj3
);
36529 if (arg4
== NULL
) SWIG_fail
;
36536 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
36542 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
36546 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
36547 if (!SWIG_IsOK(ecode7
)) {
36548 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
36550 arg7
= static_cast< long >(val7
);
36554 arg8
= wxString_in_helper(obj7
);
36555 if (arg8
== NULL
) SWIG_fail
;
36560 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
36561 if (!SWIG_IsOK(ecode9
)) {
36562 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
36564 arg9
= static_cast< int >(val9
);
36568 arg10
= wxString_in_helper(obj9
);
36569 if (arg10
== NULL
) SWIG_fail
;
36574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36575 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
36576 wxPyEndAllowThreads(__tstate
);
36577 if (PyErr_Occurred()) SWIG_fail
;
36580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36612 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36613 PyObject
*resultobj
= 0;
36614 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
36615 wxString
*arg2
= 0 ;
36619 bool temp2
= false ;
36620 PyObject
* obj0
= 0 ;
36621 PyObject
* obj1
= 0 ;
36622 char * kwnames
[] = {
36623 (char *) "self",(char *) "path", NULL
36626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
36628 if (!SWIG_IsOK(res1
)) {
36629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
36631 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
36633 arg2
= wxString_in_helper(obj1
);
36634 if (arg2
== NULL
) SWIG_fail
;
36638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36639 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
36640 wxPyEndAllowThreads(__tstate
);
36641 if (PyErr_Occurred()) SWIG_fail
;
36644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36660 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36661 PyObject
*resultobj
= 0;
36662 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
36666 PyObject
*swig_obj
[1] ;
36668 if (!args
) SWIG_fail
;
36669 swig_obj
[0] = args
;
36670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
36671 if (!SWIG_IsOK(res1
)) {
36672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
36674 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
36676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36677 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
36678 wxPyEndAllowThreads(__tstate
);
36679 if (PyErr_Occurred()) SWIG_fail
;
36683 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36685 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36694 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36695 PyObject
*resultobj
= 0;
36696 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
36697 wxString
*arg2
= 0 ;
36700 bool temp2
= false ;
36701 PyObject
* obj0
= 0 ;
36702 PyObject
* obj1
= 0 ;
36703 char * kwnames
[] = {
36704 (char *) "self",(char *) "path", NULL
36707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
36709 if (!SWIG_IsOK(res1
)) {
36710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
36712 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
36714 arg2
= wxString_in_helper(obj1
);
36715 if (arg2
== NULL
) SWIG_fail
;
36719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36720 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
36721 wxPyEndAllowThreads(__tstate
);
36722 if (PyErr_Occurred()) SWIG_fail
;
36724 resultobj
= SWIG_Py_Void();
36739 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36740 PyObject
*resultobj
= 0;
36741 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
36745 PyObject
*swig_obj
[1] ;
36747 if (!args
) SWIG_fail
;
36748 swig_obj
[0] = args
;
36749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
36750 if (!SWIG_IsOK(res1
)) {
36751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
36753 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
36755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36756 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
36757 wxPyEndAllowThreads(__tstate
);
36758 if (PyErr_Occurred()) SWIG_fail
;
36762 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36764 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36773 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36774 PyObject
*resultobj
= 0;
36775 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
36779 PyObject
*swig_obj
[1] ;
36781 if (!args
) SWIG_fail
;
36782 swig_obj
[0] = args
;
36783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
36784 if (!SWIG_IsOK(res1
)) {
36785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
36787 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
36789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36790 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
36791 wxPyEndAllowThreads(__tstate
);
36792 if (PyErr_Occurred()) SWIG_fail
;
36796 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36798 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36807 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36808 PyObject
*resultobj
= 0;
36809 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
36810 wxString
*arg2
= 0 ;
36813 bool temp2
= false ;
36814 PyObject
* obj0
= 0 ;
36815 PyObject
* obj1
= 0 ;
36816 char * kwnames
[] = {
36817 (char *) "self",(char *) "path", NULL
36820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
36822 if (!SWIG_IsOK(res1
)) {
36823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
36825 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
36827 arg2
= wxString_in_helper(obj1
);
36828 if (arg2
== NULL
) SWIG_fail
;
36832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36833 (arg1
)->SetPath((wxString
const &)*arg2
);
36834 wxPyEndAllowThreads(__tstate
);
36835 if (PyErr_Occurred()) SWIG_fail
;
36837 resultobj
= SWIG_Py_Void();
36852 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36853 PyObject
*resultobj
= 0;
36854 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
36860 PyObject
* obj0
= 0 ;
36861 PyObject
* obj1
= 0 ;
36862 char * kwnames
[] = {
36863 (char *) "self",(char *) "show", NULL
36866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
36868 if (!SWIG_IsOK(res1
)) {
36869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
36871 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
36872 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
36873 if (!SWIG_IsOK(ecode2
)) {
36874 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
36876 arg2
= static_cast< bool >(val2
);
36878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36879 (arg1
)->ShowHidden(arg2
);
36880 wxPyEndAllowThreads(__tstate
);
36881 if (PyErr_Occurred()) SWIG_fail
;
36883 resultobj
= SWIG_Py_Void();
36890 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36891 PyObject
*resultobj
= 0;
36892 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
36896 PyObject
*swig_obj
[1] ;
36898 if (!args
) SWIG_fail
;
36899 swig_obj
[0] = args
;
36900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
36901 if (!SWIG_IsOK(res1
)) {
36902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
36904 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
36906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36907 result
= (bool)(arg1
)->GetShowHidden();
36908 wxPyEndAllowThreads(__tstate
);
36909 if (PyErr_Occurred()) SWIG_fail
;
36912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36920 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36921 PyObject
*resultobj
= 0;
36922 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
36926 PyObject
*swig_obj
[1] ;
36928 if (!args
) SWIG_fail
;
36929 swig_obj
[0] = args
;
36930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
36931 if (!SWIG_IsOK(res1
)) {
36932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
36934 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
36936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36937 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
36938 wxPyEndAllowThreads(__tstate
);
36939 if (PyErr_Occurred()) SWIG_fail
;
36943 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36945 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36954 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36955 PyObject
*resultobj
= 0;
36956 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
36957 wxString
*arg2
= 0 ;
36960 bool temp2
= false ;
36961 PyObject
* obj0
= 0 ;
36962 PyObject
* obj1
= 0 ;
36963 char * kwnames
[] = {
36964 (char *) "self",(char *) "filter", NULL
36967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
36969 if (!SWIG_IsOK(res1
)) {
36970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
36972 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
36974 arg2
= wxString_in_helper(obj1
);
36975 if (arg2
== NULL
) SWIG_fail
;
36979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36980 (arg1
)->SetFilter((wxString
const &)*arg2
);
36981 wxPyEndAllowThreads(__tstate
);
36982 if (PyErr_Occurred()) SWIG_fail
;
36984 resultobj
= SWIG_Py_Void();
36999 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37000 PyObject
*resultobj
= 0;
37001 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37005 PyObject
*swig_obj
[1] ;
37007 if (!args
) SWIG_fail
;
37008 swig_obj
[0] = args
;
37009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37010 if (!SWIG_IsOK(res1
)) {
37011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37013 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37016 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
37017 wxPyEndAllowThreads(__tstate
);
37018 if (PyErr_Occurred()) SWIG_fail
;
37020 resultobj
= SWIG_From_int(static_cast< int >(result
));
37027 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37028 PyObject
*resultobj
= 0;
37029 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37035 PyObject
* obj0
= 0 ;
37036 PyObject
* obj1
= 0 ;
37037 char * kwnames
[] = {
37038 (char *) "self",(char *) "n", NULL
37041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37043 if (!SWIG_IsOK(res1
)) {
37044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37046 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37047 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37048 if (!SWIG_IsOK(ecode2
)) {
37049 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
37051 arg2
= static_cast< int >(val2
);
37053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37054 (arg1
)->SetFilterIndex(arg2
);
37055 wxPyEndAllowThreads(__tstate
);
37056 if (PyErr_Occurred()) SWIG_fail
;
37058 resultobj
= SWIG_Py_Void();
37065 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37066 PyObject
*resultobj
= 0;
37067 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37068 wxTreeItemId result
;
37071 PyObject
*swig_obj
[1] ;
37073 if (!args
) SWIG_fail
;
37074 swig_obj
[0] = args
;
37075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37076 if (!SWIG_IsOK(res1
)) {
37077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37079 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37082 result
= (arg1
)->GetRootId();
37083 wxPyEndAllowThreads(__tstate
);
37084 if (PyErr_Occurred()) SWIG_fail
;
37086 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37093 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37094 PyObject
*resultobj
= 0;
37095 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37096 wxPyTreeCtrl
*result
= 0 ;
37099 PyObject
*swig_obj
[1] ;
37101 if (!args
) SWIG_fail
;
37102 swig_obj
[0] = args
;
37103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37104 if (!SWIG_IsOK(res1
)) {
37105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37107 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37110 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
37111 wxPyEndAllowThreads(__tstate
);
37112 if (PyErr_Occurred()) SWIG_fail
;
37115 resultobj
= wxPyMake_wxObject(result
, 0);
37123 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37124 PyObject
*resultobj
= 0;
37125 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37126 wxDirFilterListCtrl
*result
= 0 ;
37129 PyObject
*swig_obj
[1] ;
37131 if (!args
) SWIG_fail
;
37132 swig_obj
[0] = args
;
37133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37134 if (!SWIG_IsOK(res1
)) {
37135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37137 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37140 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
37141 wxPyEndAllowThreads(__tstate
);
37142 if (PyErr_Occurred()) SWIG_fail
;
37144 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
37151 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37152 PyObject
*resultobj
= 0;
37153 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37154 wxTreeItemId arg2
;
37155 wxString
*arg3
= 0 ;
37157 wxTreeItemId result
;
37162 bool temp3
= false ;
37164 int res4
= SWIG_TMPOBJ
;
37165 PyObject
* obj0
= 0 ;
37166 PyObject
* obj1
= 0 ;
37167 PyObject
* obj2
= 0 ;
37168 char * kwnames
[] = {
37169 (char *) "self",(char *) "parentId",(char *) "path", NULL
37173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37175 if (!SWIG_IsOK(res1
)) {
37176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37178 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37180 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37181 if (!SWIG_IsOK(res2
)) {
37182 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
37185 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
37187 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37189 if (SWIG_IsNewObj(res2
)) delete temp
;
37193 arg3
= wxString_in_helper(obj2
);
37194 if (arg3
== NULL
) SWIG_fail
;
37198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37199 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
37200 wxPyEndAllowThreads(__tstate
);
37201 if (PyErr_Occurred()) SWIG_fail
;
37203 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37204 if (SWIG_IsTmpObj(res4
)) {
37205 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
37207 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
37208 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
37224 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37225 PyObject
*resultobj
= 0;
37226 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37229 PyObject
*swig_obj
[1] ;
37231 if (!args
) SWIG_fail
;
37232 swig_obj
[0] = args
;
37233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37234 if (!SWIG_IsOK(res1
)) {
37235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37237 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37240 (arg1
)->DoResize();
37241 wxPyEndAllowThreads(__tstate
);
37242 if (PyErr_Occurred()) SWIG_fail
;
37244 resultobj
= SWIG_Py_Void();
37251 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37252 PyObject
*resultobj
= 0;
37253 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37256 PyObject
*swig_obj
[1] ;
37258 if (!args
) SWIG_fail
;
37259 swig_obj
[0] = args
;
37260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37261 if (!SWIG_IsOK(res1
)) {
37262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37264 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37267 (arg1
)->ReCreateTree();
37268 wxPyEndAllowThreads(__tstate
);
37269 if (PyErr_Occurred()) SWIG_fail
;
37271 resultobj
= SWIG_Py_Void();
37278 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37280 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37281 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
37282 return SWIG_Py_Void();
37285 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37286 return SWIG_Python_InitShadowInstance(args
);
37289 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37290 PyObject
*resultobj
= 0;
37291 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37292 int arg2
= (int) (int)-1 ;
37293 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
37294 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
37295 wxSize
const &arg4_defvalue
= wxDefaultSize
;
37296 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
37297 long arg5
= (long) 0 ;
37298 wxDirFilterListCtrl
*result
= 0 ;
37307 PyObject
* obj0
= 0 ;
37308 PyObject
* obj1
= 0 ;
37309 PyObject
* obj2
= 0 ;
37310 PyObject
* obj3
= 0 ;
37311 PyObject
* obj4
= 0 ;
37312 char * kwnames
[] = {
37313 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
37316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37318 if (!SWIG_IsOK(res1
)) {
37319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37321 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37323 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37324 if (!SWIG_IsOK(ecode2
)) {
37325 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
37327 arg2
= static_cast< int >(val2
);
37332 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37338 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
37342 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
37343 if (!SWIG_IsOK(ecode5
)) {
37344 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
37346 arg5
= static_cast< long >(val5
);
37349 if (!wxPyCheckForApp()) SWIG_fail
;
37350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37351 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
37352 wxPyEndAllowThreads(__tstate
);
37353 if (PyErr_Occurred()) SWIG_fail
;
37355 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
37362 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37363 PyObject
*resultobj
= 0;
37364 wxDirFilterListCtrl
*result
= 0 ;
37366 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
37368 if (!wxPyCheckForApp()) SWIG_fail
;
37369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37370 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
37371 wxPyEndAllowThreads(__tstate
);
37372 if (PyErr_Occurred()) SWIG_fail
;
37374 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
37381 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37382 PyObject
*resultobj
= 0;
37383 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
37384 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
37385 int arg3
= (int) (int)-1 ;
37386 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37387 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37388 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37389 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37390 long arg6
= (long) 0 ;
37402 PyObject
* obj0
= 0 ;
37403 PyObject
* obj1
= 0 ;
37404 PyObject
* obj2
= 0 ;
37405 PyObject
* obj3
= 0 ;
37406 PyObject
* obj4
= 0 ;
37407 PyObject
* obj5
= 0 ;
37408 char * kwnames
[] = {
37409 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
37412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
37414 if (!SWIG_IsOK(res1
)) {
37415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
37417 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
37418 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37419 if (!SWIG_IsOK(res2
)) {
37420 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
37422 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
37424 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37425 if (!SWIG_IsOK(ecode3
)) {
37426 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37428 arg3
= static_cast< int >(val3
);
37433 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37439 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37443 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37444 if (!SWIG_IsOK(ecode6
)) {
37445 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
37447 arg6
= static_cast< long >(val6
);
37450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37451 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
37452 wxPyEndAllowThreads(__tstate
);
37453 if (PyErr_Occurred()) SWIG_fail
;
37456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37464 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37465 PyObject
*resultobj
= 0;
37466 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
37467 wxString
*arg2
= 0 ;
37471 bool temp2
= false ;
37474 PyObject
* obj0
= 0 ;
37475 PyObject
* obj1
= 0 ;
37476 PyObject
* obj2
= 0 ;
37477 char * kwnames
[] = {
37478 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
37481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
37483 if (!SWIG_IsOK(res1
)) {
37484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
37486 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
37488 arg2
= wxString_in_helper(obj1
);
37489 if (arg2
== NULL
) SWIG_fail
;
37492 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37493 if (!SWIG_IsOK(ecode3
)) {
37494 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
37496 arg3
= static_cast< int >(val3
);
37498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37499 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
37500 wxPyEndAllowThreads(__tstate
);
37501 if (PyErr_Occurred()) SWIG_fail
;
37503 resultobj
= SWIG_Py_Void();
37518 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37520 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37521 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
37522 return SWIG_Py_Void();
37525 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37526 return SWIG_Python_InitShadowInstance(args
);
37529 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37530 PyObject
*resultobj
= 0;
37531 wxWindow
*arg1
= (wxWindow
*) 0 ;
37532 int arg2
= (int) (int)-1 ;
37533 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
37534 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
37535 wxSize
const &arg4_defvalue
= wxDefaultSize
;
37536 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
37537 long arg5
= (long) 0 ;
37538 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
37539 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
37540 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
37541 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37542 wxPyControl
*result
= 0 ;
37553 bool temp7
= false ;
37554 PyObject
* obj0
= 0 ;
37555 PyObject
* obj1
= 0 ;
37556 PyObject
* obj2
= 0 ;
37557 PyObject
* obj3
= 0 ;
37558 PyObject
* obj4
= 0 ;
37559 PyObject
* obj5
= 0 ;
37560 PyObject
* obj6
= 0 ;
37561 char * kwnames
[] = {
37562 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
37565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
37566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37567 if (!SWIG_IsOK(res1
)) {
37568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
37570 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37572 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37573 if (!SWIG_IsOK(ecode2
)) {
37574 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
37576 arg2
= static_cast< int >(val2
);
37581 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37587 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
37591 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
37592 if (!SWIG_IsOK(ecode5
)) {
37593 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
37595 arg5
= static_cast< long >(val5
);
37598 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
37599 if (!SWIG_IsOK(res6
)) {
37600 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
37603 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
37605 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
37609 arg7
= wxString_in_helper(obj6
);
37610 if (arg7
== NULL
) SWIG_fail
;
37615 if (!wxPyCheckForApp()) SWIG_fail
;
37616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37617 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
37618 wxPyEndAllowThreads(__tstate
);
37619 if (PyErr_Occurred()) SWIG_fail
;
37621 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
37636 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37637 PyObject
*resultobj
= 0;
37638 wxPyControl
*result
= 0 ;
37640 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
37642 if (!wxPyCheckForApp()) SWIG_fail
;
37643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37644 result
= (wxPyControl
*)new wxPyControl();
37645 wxPyEndAllowThreads(__tstate
);
37646 if (PyErr_Occurred()) SWIG_fail
;
37648 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
37655 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37656 PyObject
*resultobj
= 0;
37657 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
37658 PyObject
*arg2
= (PyObject
*) 0 ;
37659 PyObject
*arg3
= (PyObject
*) 0 ;
37662 PyObject
* obj0
= 0 ;
37663 PyObject
* obj1
= 0 ;
37664 PyObject
* obj2
= 0 ;
37665 char * kwnames
[] = {
37666 (char *) "self",(char *) "self",(char *) "_class", NULL
37669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
37671 if (!SWIG_IsOK(res1
)) {
37672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
37674 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
37678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37679 (arg1
)->_setCallbackInfo(arg2
,arg3
);
37680 wxPyEndAllowThreads(__tstate
);
37681 if (PyErr_Occurred()) SWIG_fail
;
37683 resultobj
= SWIG_Py_Void();
37690 SWIGINTERN PyObject
*_wrap_PyControl_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37691 PyObject
*resultobj
= 0;
37692 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
37697 PyObject
* obj0
= 0 ;
37698 PyObject
* obj1
= 0 ;
37699 char * kwnames
[] = {
37700 (char *) "self",(char *) "size", NULL
37703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
37705 if (!SWIG_IsOK(res1
)) {
37706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_SetBestSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
37708 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
37711 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
37714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37715 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
37716 wxPyEndAllowThreads(__tstate
);
37717 if (PyErr_Occurred()) SWIG_fail
;
37719 resultobj
= SWIG_Py_Void();
37726 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37727 PyObject
*resultobj
= 0;
37728 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
37729 wxDC
*arg2
= (wxDC
*) 0 ;
37735 PyObject
* obj0
= 0 ;
37736 PyObject
* obj1
= 0 ;
37737 char * kwnames
[] = {
37738 (char *) "self",(char *) "dc", NULL
37741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
37743 if (!SWIG_IsOK(res1
)) {
37744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
37746 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
37747 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
37748 if (!SWIG_IsOK(res2
)) {
37749 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
37751 arg2
= reinterpret_cast< wxDC
* >(argp2
);
37753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37754 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
37755 wxPyEndAllowThreads(__tstate
);
37756 if (PyErr_Occurred()) SWIG_fail
;
37759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37767 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37768 PyObject
*resultobj
= 0;
37769 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
37784 PyObject
* obj0
= 0 ;
37785 PyObject
* obj1
= 0 ;
37786 PyObject
* obj2
= 0 ;
37787 PyObject
* obj3
= 0 ;
37788 PyObject
* obj4
= 0 ;
37789 char * kwnames
[] = {
37790 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
37795 if (!SWIG_IsOK(res1
)) {
37796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
37798 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
37799 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37800 if (!SWIG_IsOK(ecode2
)) {
37801 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
37803 arg2
= static_cast< int >(val2
);
37804 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37805 if (!SWIG_IsOK(ecode3
)) {
37806 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
37808 arg3
= static_cast< int >(val3
);
37809 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37810 if (!SWIG_IsOK(ecode4
)) {
37811 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
37813 arg4
= static_cast< int >(val4
);
37814 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37815 if (!SWIG_IsOK(ecode5
)) {
37816 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
37818 arg5
= static_cast< int >(val5
);
37820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37821 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
37822 wxPyEndAllowThreads(__tstate
);
37823 if (PyErr_Occurred()) SWIG_fail
;
37825 resultobj
= SWIG_Py_Void();
37832 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37833 PyObject
*resultobj
= 0;
37834 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
37839 int arg6
= (int) wxSIZE_AUTO
;
37852 PyObject
* obj0
= 0 ;
37853 PyObject
* obj1
= 0 ;
37854 PyObject
* obj2
= 0 ;
37855 PyObject
* obj3
= 0 ;
37856 PyObject
* obj4
= 0 ;
37857 PyObject
* obj5
= 0 ;
37858 char * kwnames
[] = {
37859 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
37862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
37864 if (!SWIG_IsOK(res1
)) {
37865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
37867 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
37868 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37869 if (!SWIG_IsOK(ecode2
)) {
37870 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
37872 arg2
= static_cast< int >(val2
);
37873 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37874 if (!SWIG_IsOK(ecode3
)) {
37875 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
37877 arg3
= static_cast< int >(val3
);
37878 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37879 if (!SWIG_IsOK(ecode4
)) {
37880 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
37882 arg4
= static_cast< int >(val4
);
37883 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37884 if (!SWIG_IsOK(ecode5
)) {
37885 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
37887 arg5
= static_cast< int >(val5
);
37889 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
37890 if (!SWIG_IsOK(ecode6
)) {
37891 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
37893 arg6
= static_cast< int >(val6
);
37896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37897 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
37898 wxPyEndAllowThreads(__tstate
);
37899 if (PyErr_Occurred()) SWIG_fail
;
37901 resultobj
= SWIG_Py_Void();
37908 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37909 PyObject
*resultobj
= 0;
37910 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
37919 PyObject
* obj0
= 0 ;
37920 PyObject
* obj1
= 0 ;
37921 PyObject
* obj2
= 0 ;
37922 char * kwnames
[] = {
37923 (char *) "self",(char *) "width",(char *) "height", NULL
37926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
37928 if (!SWIG_IsOK(res1
)) {
37929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
37931 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
37932 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37933 if (!SWIG_IsOK(ecode2
)) {
37934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
37936 arg2
= static_cast< int >(val2
);
37937 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37938 if (!SWIG_IsOK(ecode3
)) {
37939 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
37941 arg3
= static_cast< int >(val3
);
37943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37944 (arg1
)->DoSetClientSize(arg2
,arg3
);
37945 wxPyEndAllowThreads(__tstate
);
37946 if (PyErr_Occurred()) SWIG_fail
;
37948 resultobj
= SWIG_Py_Void();
37955 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37956 PyObject
*resultobj
= 0;
37957 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
37966 PyObject
* obj0
= 0 ;
37967 PyObject
* obj1
= 0 ;
37968 PyObject
* obj2
= 0 ;
37969 char * kwnames
[] = {
37970 (char *) "self",(char *) "x",(char *) "y", NULL
37973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
37975 if (!SWIG_IsOK(res1
)) {
37976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
37978 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
37979 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37980 if (!SWIG_IsOK(ecode2
)) {
37981 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
37983 arg2
= static_cast< int >(val2
);
37984 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37985 if (!SWIG_IsOK(ecode3
)) {
37986 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
37988 arg3
= static_cast< int >(val3
);
37990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37991 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
37992 wxPyEndAllowThreads(__tstate
);
37993 if (PyErr_Occurred()) SWIG_fail
;
37995 resultobj
= SWIG_Py_Void();
38002 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38003 PyObject
*resultobj
= 0;
38004 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38005 int *arg2
= (int *) 0 ;
38006 int *arg3
= (int *) 0 ;
38010 int res2
= SWIG_TMPOBJ
;
38012 int res3
= SWIG_TMPOBJ
;
38013 PyObject
*swig_obj
[1] ;
38017 if (!args
) SWIG_fail
;
38018 swig_obj
[0] = args
;
38019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38020 if (!SWIG_IsOK(res1
)) {
38021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38023 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38026 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
38027 wxPyEndAllowThreads(__tstate
);
38028 if (PyErr_Occurred()) SWIG_fail
;
38030 resultobj
= SWIG_Py_Void();
38031 if (SWIG_IsTmpObj(res2
)) {
38032 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38034 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38035 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38037 if (SWIG_IsTmpObj(res3
)) {
38038 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38040 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38041 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38049 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38050 PyObject
*resultobj
= 0;
38051 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38052 int *arg2
= (int *) 0 ;
38053 int *arg3
= (int *) 0 ;
38057 int res2
= SWIG_TMPOBJ
;
38059 int res3
= SWIG_TMPOBJ
;
38060 PyObject
*swig_obj
[1] ;
38064 if (!args
) SWIG_fail
;
38065 swig_obj
[0] = args
;
38066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38067 if (!SWIG_IsOK(res1
)) {
38068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38070 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38073 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
38074 wxPyEndAllowThreads(__tstate
);
38075 if (PyErr_Occurred()) SWIG_fail
;
38077 resultobj
= SWIG_Py_Void();
38078 if (SWIG_IsTmpObj(res2
)) {
38079 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38081 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38082 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38084 if (SWIG_IsTmpObj(res3
)) {
38085 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38087 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38088 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38096 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38097 PyObject
*resultobj
= 0;
38098 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38099 int *arg2
= (int *) 0 ;
38100 int *arg3
= (int *) 0 ;
38104 int res2
= SWIG_TMPOBJ
;
38106 int res3
= SWIG_TMPOBJ
;
38107 PyObject
*swig_obj
[1] ;
38111 if (!args
) SWIG_fail
;
38112 swig_obj
[0] = args
;
38113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38114 if (!SWIG_IsOK(res1
)) {
38115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38117 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38120 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
38121 wxPyEndAllowThreads(__tstate
);
38122 if (PyErr_Occurred()) SWIG_fail
;
38124 resultobj
= SWIG_Py_Void();
38125 if (SWIG_IsTmpObj(res2
)) {
38126 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38128 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38129 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38131 if (SWIG_IsTmpObj(res3
)) {
38132 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38134 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38135 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38143 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38144 PyObject
*resultobj
= 0;
38145 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38149 PyObject
*swig_obj
[1] ;
38151 if (!args
) SWIG_fail
;
38152 swig_obj
[0] = args
;
38153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38154 if (!SWIG_IsOK(res1
)) {
38155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38157 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38160 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
38161 wxPyEndAllowThreads(__tstate
);
38162 if (PyErr_Occurred()) SWIG_fail
;
38164 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
38171 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38172 PyObject
*resultobj
= 0;
38173 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38177 PyObject
*swig_obj
[1] ;
38179 if (!args
) SWIG_fail
;
38180 swig_obj
[0] = args
;
38181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38182 if (!SWIG_IsOK(res1
)) {
38183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38185 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38188 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
38189 wxPyEndAllowThreads(__tstate
);
38190 if (PyErr_Occurred()) SWIG_fail
;
38192 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
38199 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38200 PyObject
*resultobj
= 0;
38201 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38202 SwigValueWrapper
<wxVisualAttributes
> result
;
38205 PyObject
*swig_obj
[1] ;
38207 if (!args
) SWIG_fail
;
38208 swig_obj
[0] = args
;
38209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38210 if (!SWIG_IsOK(res1
)) {
38211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
38213 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38216 result
= (arg1
)->GetDefaultAttributes();
38217 wxPyEndAllowThreads(__tstate
);
38218 if (PyErr_Occurred()) SWIG_fail
;
38220 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
38227 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38228 PyObject
*resultobj
= 0;
38229 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38232 PyObject
*swig_obj
[1] ;
38234 if (!args
) SWIG_fail
;
38235 swig_obj
[0] = args
;
38236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38237 if (!SWIG_IsOK(res1
)) {
38238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
38240 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38243 (arg1
)->OnInternalIdle();
38244 wxPyEndAllowThreads(__tstate
);
38245 if (PyErr_Occurred()) SWIG_fail
;
38247 resultobj
= SWIG_Py_Void();
38254 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38256 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38257 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
38258 return SWIG_Py_Void();
38261 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38262 return SWIG_Python_InitShadowInstance(args
);
38265 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38266 PyObject
*resultobj
= 0;
38267 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
38268 int arg2
= (int) 0 ;
38269 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38270 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38271 wxHelpEvent
*result
= 0 ;
38277 PyObject
* obj0
= 0 ;
38278 PyObject
* obj1
= 0 ;
38279 PyObject
* obj2
= 0 ;
38280 char * kwnames
[] = {
38281 (char *) "type",(char *) "winid",(char *) "pt", NULL
38284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38286 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
38287 if (!SWIG_IsOK(ecode1
)) {
38288 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
38290 arg1
= static_cast< wxEventType
>(val1
);
38293 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38294 if (!SWIG_IsOK(ecode2
)) {
38295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
38297 arg2
= static_cast< int >(val2
);
38302 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38307 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
38308 wxPyEndAllowThreads(__tstate
);
38309 if (PyErr_Occurred()) SWIG_fail
;
38311 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
38318 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38319 PyObject
*resultobj
= 0;
38320 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38324 PyObject
*swig_obj
[1] ;
38326 if (!args
) SWIG_fail
;
38327 swig_obj
[0] = args
;
38328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38329 if (!SWIG_IsOK(res1
)) {
38330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
38332 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38335 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
38336 wxPyEndAllowThreads(__tstate
);
38337 if (PyErr_Occurred()) SWIG_fail
;
38339 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
38346 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38347 PyObject
*resultobj
= 0;
38348 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38349 wxPoint
*arg2
= 0 ;
38353 PyObject
* obj0
= 0 ;
38354 PyObject
* obj1
= 0 ;
38355 char * kwnames
[] = {
38356 (char *) "self",(char *) "pos", NULL
38359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38361 if (!SWIG_IsOK(res1
)) {
38362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
38364 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38367 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
38370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38371 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
38372 wxPyEndAllowThreads(__tstate
);
38373 if (PyErr_Occurred()) SWIG_fail
;
38375 resultobj
= SWIG_Py_Void();
38382 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38383 PyObject
*resultobj
= 0;
38384 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38385 wxString
*result
= 0 ;
38388 PyObject
*swig_obj
[1] ;
38390 if (!args
) SWIG_fail
;
38391 swig_obj
[0] = args
;
38392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38393 if (!SWIG_IsOK(res1
)) {
38394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
38396 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38400 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
38401 result
= (wxString
*) &_result_ref
;
38403 wxPyEndAllowThreads(__tstate
);
38404 if (PyErr_Occurred()) SWIG_fail
;
38408 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
38410 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
38419 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38420 PyObject
*resultobj
= 0;
38421 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38422 wxString
*arg2
= 0 ;
38425 bool temp2
= false ;
38426 PyObject
* obj0
= 0 ;
38427 PyObject
* obj1
= 0 ;
38428 char * kwnames
[] = {
38429 (char *) "self",(char *) "link", NULL
38432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38434 if (!SWIG_IsOK(res1
)) {
38435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
38437 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38439 arg2
= wxString_in_helper(obj1
);
38440 if (arg2
== NULL
) SWIG_fail
;
38444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38445 (arg1
)->SetLink((wxString
const &)*arg2
);
38446 wxPyEndAllowThreads(__tstate
);
38447 if (PyErr_Occurred()) SWIG_fail
;
38449 resultobj
= SWIG_Py_Void();
38464 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38465 PyObject
*resultobj
= 0;
38466 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38467 wxString
*result
= 0 ;
38470 PyObject
*swig_obj
[1] ;
38472 if (!args
) SWIG_fail
;
38473 swig_obj
[0] = args
;
38474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38475 if (!SWIG_IsOK(res1
)) {
38476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
38478 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38482 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
38483 result
= (wxString
*) &_result_ref
;
38485 wxPyEndAllowThreads(__tstate
);
38486 if (PyErr_Occurred()) SWIG_fail
;
38490 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
38492 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
38501 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38502 PyObject
*resultobj
= 0;
38503 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38504 wxString
*arg2
= 0 ;
38507 bool temp2
= false ;
38508 PyObject
* obj0
= 0 ;
38509 PyObject
* obj1
= 0 ;
38510 char * kwnames
[] = {
38511 (char *) "self",(char *) "target", NULL
38514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38516 if (!SWIG_IsOK(res1
)) {
38517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
38519 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38521 arg2
= wxString_in_helper(obj1
);
38522 if (arg2
== NULL
) SWIG_fail
;
38526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38527 (arg1
)->SetTarget((wxString
const &)*arg2
);
38528 wxPyEndAllowThreads(__tstate
);
38529 if (PyErr_Occurred()) SWIG_fail
;
38531 resultobj
= SWIG_Py_Void();
38546 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38548 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38549 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
38550 return SWIG_Py_Void();
38553 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38554 return SWIG_Python_InitShadowInstance(args
);
38557 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38558 PyObject
*resultobj
= 0;
38559 wxWindow
*arg1
= (wxWindow
*) NULL
;
38560 bool arg2
= (bool) true ;
38561 wxContextHelp
*result
= 0 ;
38566 PyObject
* obj0
= 0 ;
38567 PyObject
* obj1
= 0 ;
38568 char * kwnames
[] = {
38569 (char *) "window",(char *) "doNow", NULL
38572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38575 if (!SWIG_IsOK(res1
)) {
38576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
38578 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38581 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
38582 if (!SWIG_IsOK(ecode2
)) {
38583 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
38585 arg2
= static_cast< bool >(val2
);
38588 if (!wxPyCheckForApp()) SWIG_fail
;
38589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38590 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
38591 wxPyEndAllowThreads(__tstate
);
38592 if (PyErr_Occurred()) SWIG_fail
;
38594 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
38601 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38602 PyObject
*resultobj
= 0;
38603 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
38606 PyObject
*swig_obj
[1] ;
38608 if (!args
) SWIG_fail
;
38609 swig_obj
[0] = args
;
38610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
38611 if (!SWIG_IsOK(res1
)) {
38612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
38614 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
38616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38619 wxPyEndAllowThreads(__tstate
);
38620 if (PyErr_Occurred()) SWIG_fail
;
38622 resultobj
= SWIG_Py_Void();
38629 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38630 PyObject
*resultobj
= 0;
38631 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
38632 wxWindow
*arg2
= (wxWindow
*) NULL
;
38638 PyObject
* obj0
= 0 ;
38639 PyObject
* obj1
= 0 ;
38640 char * kwnames
[] = {
38641 (char *) "self",(char *) "window", NULL
38644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
38646 if (!SWIG_IsOK(res1
)) {
38647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
38649 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
38651 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38652 if (!SWIG_IsOK(res2
)) {
38653 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
38655 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
38658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38659 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
38660 wxPyEndAllowThreads(__tstate
);
38661 if (PyErr_Occurred()) SWIG_fail
;
38664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38672 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38673 PyObject
*resultobj
= 0;
38674 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
38678 PyObject
*swig_obj
[1] ;
38680 if (!args
) SWIG_fail
;
38681 swig_obj
[0] = args
;
38682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
38683 if (!SWIG_IsOK(res1
)) {
38684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
38686 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
38688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38689 result
= (bool)(arg1
)->EndContextHelp();
38690 wxPyEndAllowThreads(__tstate
);
38691 if (PyErr_Occurred()) SWIG_fail
;
38694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38702 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38704 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38705 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
38706 return SWIG_Py_Void();
38709 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38710 return SWIG_Python_InitShadowInstance(args
);
38713 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38714 PyObject
*resultobj
= 0;
38715 wxWindow
*arg1
= (wxWindow
*) 0 ;
38716 int arg2
= (int) wxID_CONTEXT_HELP
;
38717 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38718 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38719 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38720 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38721 long arg5
= (long) wxBU_AUTODRAW
;
38722 wxContextHelpButton
*result
= 0 ;
38731 PyObject
* obj0
= 0 ;
38732 PyObject
* obj1
= 0 ;
38733 PyObject
* obj2
= 0 ;
38734 PyObject
* obj3
= 0 ;
38735 PyObject
* obj4
= 0 ;
38736 char * kwnames
[] = {
38737 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38742 if (!SWIG_IsOK(res1
)) {
38743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
38745 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38747 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38748 if (!SWIG_IsOK(ecode2
)) {
38749 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
38751 arg2
= static_cast< int >(val2
);
38756 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38762 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38766 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38767 if (!SWIG_IsOK(ecode5
)) {
38768 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
38770 arg5
= static_cast< long >(val5
);
38773 if (!wxPyCheckForApp()) SWIG_fail
;
38774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38775 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
38776 wxPyEndAllowThreads(__tstate
);
38777 if (PyErr_Occurred()) SWIG_fail
;
38779 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
38786 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38788 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38789 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
38790 return SWIG_Py_Void();
38793 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38794 return SWIG_Python_InitShadowInstance(args
);
38797 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38798 PyObject
*resultobj
= 0;
38799 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
38800 wxHelpProvider
*result
= 0 ;
38802 PyObject
* obj0
= 0 ;
38803 char * kwnames
[] = {
38804 (char *) "helpProvider", NULL
38807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
38808 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
38809 if (!SWIG_IsOK(res1
)) {
38810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
38813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38814 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
38815 wxPyEndAllowThreads(__tstate
);
38816 if (PyErr_Occurred()) SWIG_fail
;
38818 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
38825 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38826 PyObject
*resultobj
= 0;
38827 wxHelpProvider
*result
= 0 ;
38829 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
38831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38832 result
= (wxHelpProvider
*)wxHelpProvider::Get();
38833 wxPyEndAllowThreads(__tstate
);
38834 if (PyErr_Occurred()) SWIG_fail
;
38836 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
38843 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38844 PyObject
*resultobj
= 0;
38845 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
38846 wxWindow
*arg2
= (wxWindow
*) 0 ;
38852 PyObject
* obj0
= 0 ;
38853 PyObject
* obj1
= 0 ;
38854 char * kwnames
[] = {
38855 (char *) "self",(char *) "window", NULL
38858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
38860 if (!SWIG_IsOK(res1
)) {
38861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
38863 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
38864 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38865 if (!SWIG_IsOK(res2
)) {
38866 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
38868 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
38870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38871 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
38872 wxPyEndAllowThreads(__tstate
);
38873 if (PyErr_Occurred()) SWIG_fail
;
38877 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38879 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38888 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38889 PyObject
*resultobj
= 0;
38890 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
38891 wxWindow
*arg2
= (wxWindow
*) 0 ;
38897 PyObject
* obj0
= 0 ;
38898 PyObject
* obj1
= 0 ;
38899 char * kwnames
[] = {
38900 (char *) "self",(char *) "window", NULL
38903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
38905 if (!SWIG_IsOK(res1
)) {
38906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
38908 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
38909 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38910 if (!SWIG_IsOK(res2
)) {
38911 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
38913 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
38915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38916 result
= (bool)(arg1
)->ShowHelp(arg2
);
38917 wxPyEndAllowThreads(__tstate
);
38918 if (PyErr_Occurred()) SWIG_fail
;
38921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38929 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38930 PyObject
*resultobj
= 0;
38931 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
38932 wxWindow
*arg2
= (wxWindow
*) 0 ;
38933 wxString
*arg3
= 0 ;
38938 bool temp3
= false ;
38939 PyObject
* obj0
= 0 ;
38940 PyObject
* obj1
= 0 ;
38941 PyObject
* obj2
= 0 ;
38942 char * kwnames
[] = {
38943 (char *) "self",(char *) "window",(char *) "text", NULL
38946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
38948 if (!SWIG_IsOK(res1
)) {
38949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
38951 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
38952 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38953 if (!SWIG_IsOK(res2
)) {
38954 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
38956 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
38958 arg3
= wxString_in_helper(obj2
);
38959 if (arg3
== NULL
) SWIG_fail
;
38963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38964 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
38965 wxPyEndAllowThreads(__tstate
);
38966 if (PyErr_Occurred()) SWIG_fail
;
38968 resultobj
= SWIG_Py_Void();
38983 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38984 PyObject
*resultobj
= 0;
38985 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
38987 wxString
*arg3
= 0 ;
38992 bool temp3
= false ;
38993 PyObject
* obj0
= 0 ;
38994 PyObject
* obj1
= 0 ;
38995 PyObject
* obj2
= 0 ;
38996 char * kwnames
[] = {
38997 (char *) "self",(char *) "id",(char *) "text", NULL
39000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39002 if (!SWIG_IsOK(res1
)) {
39003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39005 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39006 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39007 if (!SWIG_IsOK(ecode2
)) {
39008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
39010 arg2
= static_cast< int >(val2
);
39012 arg3
= wxString_in_helper(obj2
);
39013 if (arg3
== NULL
) SWIG_fail
;
39017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39018 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
39019 wxPyEndAllowThreads(__tstate
);
39020 if (PyErr_Occurred()) SWIG_fail
;
39022 resultobj
= SWIG_Py_Void();
39037 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39038 PyObject
*resultobj
= 0;
39039 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39040 wxWindow
*arg2
= (wxWindow
*) 0 ;
39045 PyObject
* obj0
= 0 ;
39046 PyObject
* obj1
= 0 ;
39047 char * kwnames
[] = {
39048 (char *) "self",(char *) "window", NULL
39051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39053 if (!SWIG_IsOK(res1
)) {
39054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39056 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39057 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39058 if (!SWIG_IsOK(res2
)) {
39059 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39061 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39064 (arg1
)->RemoveHelp(arg2
);
39065 wxPyEndAllowThreads(__tstate
);
39066 if (PyErr_Occurred()) SWIG_fail
;
39068 resultobj
= SWIG_Py_Void();
39075 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39076 PyObject
*resultobj
= 0;
39077 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39080 PyObject
*swig_obj
[1] ;
39082 if (!args
) SWIG_fail
;
39083 swig_obj
[0] = args
;
39084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39085 if (!SWIG_IsOK(res1
)) {
39086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39088 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39091 wxHelpProvider_Destroy(arg1
);
39092 wxPyEndAllowThreads(__tstate
);
39093 if (PyErr_Occurred()) SWIG_fail
;
39095 resultobj
= SWIG_Py_Void();
39102 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39104 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39105 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
39106 return SWIG_Py_Void();
39109 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39110 PyObject
*resultobj
= 0;
39111 wxSimpleHelpProvider
*result
= 0 ;
39113 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
39115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39116 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
39117 wxPyEndAllowThreads(__tstate
);
39118 if (PyErr_Occurred()) SWIG_fail
;
39120 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
39127 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39129 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39130 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
39131 return SWIG_Py_Void();
39134 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39135 return SWIG_Python_InitShadowInstance(args
);
39138 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39139 PyObject
*resultobj
= 0;
39140 wxBitmap
*arg1
= 0 ;
39141 wxCursor
const &arg2_defvalue
= wxNullCursor
;
39142 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
39143 wxGenericDragImage
*result
= 0 ;
39148 PyObject
* obj0
= 0 ;
39149 PyObject
* obj1
= 0 ;
39150 char * kwnames
[] = {
39151 (char *) "image",(char *) "cursor", NULL
39154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39155 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
39156 if (!SWIG_IsOK(res1
)) {
39157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
39160 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
39162 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
39164 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
39165 if (!SWIG_IsOK(res2
)) {
39166 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
39169 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
39171 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
39174 if (!wxPyCheckForApp()) SWIG_fail
;
39175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39176 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
39177 wxPyEndAllowThreads(__tstate
);
39178 if (PyErr_Occurred()) SWIG_fail
;
39180 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
39187 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39188 PyObject
*resultobj
= 0;
39190 wxCursor
const &arg2_defvalue
= wxNullCursor
;
39191 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
39192 wxGenericDragImage
*result
= 0 ;
39197 PyObject
* obj0
= 0 ;
39198 PyObject
* obj1
= 0 ;
39199 char * kwnames
[] = {
39200 (char *) "image",(char *) "cursor", NULL
39203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39204 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
39205 if (!SWIG_IsOK(res1
)) {
39206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
39209 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
39211 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
39213 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
39214 if (!SWIG_IsOK(res2
)) {
39215 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
39218 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
39220 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
39223 if (!wxPyCheckForApp()) SWIG_fail
;
39224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39225 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
39226 wxPyEndAllowThreads(__tstate
);
39227 if (PyErr_Occurred()) SWIG_fail
;
39229 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
39236 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39237 PyObject
*resultobj
= 0;
39238 wxString
*arg1
= 0 ;
39239 wxCursor
const &arg2_defvalue
= wxNullCursor
;
39240 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
39241 wxGenericDragImage
*result
= 0 ;
39242 bool temp1
= false ;
39245 PyObject
* obj0
= 0 ;
39246 PyObject
* obj1
= 0 ;
39247 char * kwnames
[] = {
39248 (char *) "str",(char *) "cursor", NULL
39251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39253 arg1
= wxString_in_helper(obj0
);
39254 if (arg1
== NULL
) SWIG_fail
;
39258 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
39259 if (!SWIG_IsOK(res2
)) {
39260 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
39263 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
39265 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
39268 if (!wxPyCheckForApp()) SWIG_fail
;
39269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39270 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
39271 wxPyEndAllowThreads(__tstate
);
39272 if (PyErr_Occurred()) SWIG_fail
;
39274 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
39289 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39290 PyObject
*resultobj
= 0;
39291 wxPyTreeCtrl
*arg1
= 0 ;
39292 wxTreeItemId
*arg2
= 0 ;
39293 wxGenericDragImage
*result
= 0 ;
39298 PyObject
* obj0
= 0 ;
39299 PyObject
* obj1
= 0 ;
39300 char * kwnames
[] = {
39301 (char *) "treeCtrl",(char *) "id", NULL
39304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39305 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
39306 if (!SWIG_IsOK(res1
)) {
39307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
39310 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
39312 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
39313 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
39314 if (!SWIG_IsOK(res2
)) {
39315 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
39318 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
39320 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
39322 if (!wxPyCheckForApp()) SWIG_fail
;
39323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39324 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
39325 wxPyEndAllowThreads(__tstate
);
39326 if (PyErr_Occurred()) SWIG_fail
;
39328 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
39335 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39336 PyObject
*resultobj
= 0;
39337 wxPyListCtrl
*arg1
= 0 ;
39339 wxGenericDragImage
*result
= 0 ;
39344 PyObject
* obj0
= 0 ;
39345 PyObject
* obj1
= 0 ;
39346 char * kwnames
[] = {
39347 (char *) "listCtrl",(char *) "id", NULL
39350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39351 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
39352 if (!SWIG_IsOK(res1
)) {
39353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
39356 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
39358 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
39359 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
39360 if (!SWIG_IsOK(ecode2
)) {
39361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
39363 arg2
= static_cast< long >(val2
);
39365 if (!wxPyCheckForApp()) SWIG_fail
;
39366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39367 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
39368 wxPyEndAllowThreads(__tstate
);
39369 if (PyErr_Occurred()) SWIG_fail
;
39371 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
39378 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39379 PyObject
*resultobj
= 0;
39380 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39383 PyObject
*swig_obj
[1] ;
39385 if (!args
) SWIG_fail
;
39386 swig_obj
[0] = args
;
39387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
39388 if (!SWIG_IsOK(res1
)) {
39389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39391 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39396 wxPyEndAllowThreads(__tstate
);
39397 if (PyErr_Occurred()) SWIG_fail
;
39399 resultobj
= SWIG_Py_Void();
39406 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39407 PyObject
*resultobj
= 0;
39408 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39409 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
39414 PyObject
* obj0
= 0 ;
39415 PyObject
* obj1
= 0 ;
39416 char * kwnames
[] = {
39417 (char *) "self",(char *) "bitmap", NULL
39420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39422 if (!SWIG_IsOK(res1
)) {
39423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39425 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39426 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
39427 if (!SWIG_IsOK(res2
)) {
39428 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
39430 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
39432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39433 (arg1
)->SetBackingBitmap(arg2
);
39434 wxPyEndAllowThreads(__tstate
);
39435 if (PyErr_Occurred()) SWIG_fail
;
39437 resultobj
= SWIG_Py_Void();
39444 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39445 PyObject
*resultobj
= 0;
39446 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39447 wxPoint
*arg2
= 0 ;
39448 wxWindow
*arg3
= (wxWindow
*) 0 ;
39449 bool arg4
= (bool) false ;
39450 wxRect
*arg5
= (wxRect
*) NULL
;
39461 PyObject
* obj0
= 0 ;
39462 PyObject
* obj1
= 0 ;
39463 PyObject
* obj2
= 0 ;
39464 PyObject
* obj3
= 0 ;
39465 PyObject
* obj4
= 0 ;
39466 char * kwnames
[] = {
39467 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
39470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39472 if (!SWIG_IsOK(res1
)) {
39473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39475 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39478 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39480 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39481 if (!SWIG_IsOK(res3
)) {
39482 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
39484 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
39486 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
39487 if (!SWIG_IsOK(ecode4
)) {
39488 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
39490 arg4
= static_cast< bool >(val4
);
39493 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
39494 if (!SWIG_IsOK(res5
)) {
39495 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
39497 arg5
= reinterpret_cast< wxRect
* >(argp5
);
39500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39501 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
39502 wxPyEndAllowThreads(__tstate
);
39503 if (PyErr_Occurred()) SWIG_fail
;
39506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39514 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39515 PyObject
*resultobj
= 0;
39516 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39517 wxPoint
*arg2
= 0 ;
39518 wxWindow
*arg3
= (wxWindow
*) 0 ;
39519 wxWindow
*arg4
= (wxWindow
*) 0 ;
39528 PyObject
* obj0
= 0 ;
39529 PyObject
* obj1
= 0 ;
39530 PyObject
* obj2
= 0 ;
39531 PyObject
* obj3
= 0 ;
39532 char * kwnames
[] = {
39533 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
39536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39538 if (!SWIG_IsOK(res1
)) {
39539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39541 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39544 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39546 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39547 if (!SWIG_IsOK(res3
)) {
39548 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
39550 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
39551 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39552 if (!SWIG_IsOK(res4
)) {
39553 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
39555 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
39557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39558 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
39559 wxPyEndAllowThreads(__tstate
);
39560 if (PyErr_Occurred()) SWIG_fail
;
39563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39571 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39572 PyObject
*resultobj
= 0;
39573 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39577 PyObject
*swig_obj
[1] ;
39579 if (!args
) SWIG_fail
;
39580 swig_obj
[0] = args
;
39581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39582 if (!SWIG_IsOK(res1
)) {
39583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39585 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39588 result
= (bool)(arg1
)->EndDrag();
39589 wxPyEndAllowThreads(__tstate
);
39590 if (PyErr_Occurred()) SWIG_fail
;
39593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39601 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39602 PyObject
*resultobj
= 0;
39603 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39604 wxPoint
*arg2
= 0 ;
39609 PyObject
* obj0
= 0 ;
39610 PyObject
* obj1
= 0 ;
39611 char * kwnames
[] = {
39612 (char *) "self",(char *) "pt", NULL
39615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39617 if (!SWIG_IsOK(res1
)) {
39618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39620 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39623 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39627 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
39628 wxPyEndAllowThreads(__tstate
);
39629 if (PyErr_Occurred()) SWIG_fail
;
39632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39640 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39641 PyObject
*resultobj
= 0;
39642 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39646 PyObject
*swig_obj
[1] ;
39648 if (!args
) SWIG_fail
;
39649 swig_obj
[0] = args
;
39650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39651 if (!SWIG_IsOK(res1
)) {
39652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39654 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39657 result
= (bool)(arg1
)->Show();
39658 wxPyEndAllowThreads(__tstate
);
39659 if (PyErr_Occurred()) SWIG_fail
;
39662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39670 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39671 PyObject
*resultobj
= 0;
39672 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39676 PyObject
*swig_obj
[1] ;
39678 if (!args
) SWIG_fail
;
39679 swig_obj
[0] = args
;
39680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39681 if (!SWIG_IsOK(res1
)) {
39682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39684 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39687 result
= (bool)(arg1
)->Hide();
39688 wxPyEndAllowThreads(__tstate
);
39689 if (PyErr_Occurred()) SWIG_fail
;
39692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39700 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39701 PyObject
*resultobj
= 0;
39702 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39703 wxPoint
*arg2
= 0 ;
39708 PyObject
* obj0
= 0 ;
39709 PyObject
* obj1
= 0 ;
39710 char * kwnames
[] = {
39711 (char *) "self",(char *) "pos", NULL
39714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39716 if (!SWIG_IsOK(res1
)) {
39717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
39719 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39722 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39726 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
39727 wxPyEndAllowThreads(__tstate
);
39728 if (PyErr_Occurred()) SWIG_fail
;
39730 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
39737 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39738 PyObject
*resultobj
= 0;
39739 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39741 wxPoint
*arg3
= 0 ;
39748 PyObject
* obj0
= 0 ;
39749 PyObject
* obj1
= 0 ;
39750 PyObject
* obj2
= 0 ;
39751 char * kwnames
[] = {
39752 (char *) "self",(char *) "dc",(char *) "pos", NULL
39755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39757 if (!SWIG_IsOK(res1
)) {
39758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
39760 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39761 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
39762 if (!SWIG_IsOK(res2
)) {
39763 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
39766 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
39768 arg2
= reinterpret_cast< wxDC
* >(argp2
);
39771 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39775 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
39776 wxPyEndAllowThreads(__tstate
);
39777 if (PyErr_Occurred()) SWIG_fail
;
39780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39788 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39789 PyObject
*resultobj
= 0;
39790 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39792 wxMemoryDC
*arg3
= 0 ;
39804 PyObject
* obj0
= 0 ;
39805 PyObject
* obj1
= 0 ;
39806 PyObject
* obj2
= 0 ;
39807 PyObject
* obj3
= 0 ;
39808 PyObject
* obj4
= 0 ;
39809 char * kwnames
[] = {
39810 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
39813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39815 if (!SWIG_IsOK(res1
)) {
39816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
39818 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39819 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
39820 if (!SWIG_IsOK(res2
)) {
39821 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
39824 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
39826 arg2
= reinterpret_cast< wxDC
* >(argp2
);
39827 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
39828 if (!SWIG_IsOK(res3
)) {
39829 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
39832 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
39834 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
39837 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
39841 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
39844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39845 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
39846 wxPyEndAllowThreads(__tstate
);
39847 if (PyErr_Occurred()) SWIG_fail
;
39850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39858 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39859 PyObject
*resultobj
= 0;
39860 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39861 wxPoint
*arg2
= 0 ;
39862 wxPoint
*arg3
= 0 ;
39874 PyObject
* obj0
= 0 ;
39875 PyObject
* obj1
= 0 ;
39876 PyObject
* obj2
= 0 ;
39877 PyObject
* obj3
= 0 ;
39878 PyObject
* obj4
= 0 ;
39879 char * kwnames
[] = {
39880 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
39883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39885 if (!SWIG_IsOK(res1
)) {
39886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39888 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39891 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39895 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39897 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
39898 if (!SWIG_IsOK(ecode4
)) {
39899 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
39901 arg4
= static_cast< bool >(val4
);
39902 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
39903 if (!SWIG_IsOK(ecode5
)) {
39904 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
39906 arg5
= static_cast< bool >(val5
);
39908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39909 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
39910 wxPyEndAllowThreads(__tstate
);
39911 if (PyErr_Occurred()) SWIG_fail
;
39914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39922 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39924 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39925 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
39926 return SWIG_Py_Void();
39929 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39930 return SWIG_Python_InitShadowInstance(args
);
39933 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
39934 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
39939 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
39940 PyObject
*pyobj
= 0;
39944 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
39946 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
39953 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39954 PyObject
*resultobj
= 0;
39955 wxWindow
*arg1
= (wxWindow
*) 0 ;
39956 int arg2
= (int) -1 ;
39957 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
39958 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
39959 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
39960 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
39961 wxSize
const &arg5_defvalue
= wxDefaultSize
;
39962 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
39963 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
39964 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
39965 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
39966 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
39967 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
39968 wxDatePickerCtrl
*result
= 0 ;
39981 bool temp8
= false ;
39982 PyObject
* obj0
= 0 ;
39983 PyObject
* obj1
= 0 ;
39984 PyObject
* obj2
= 0 ;
39985 PyObject
* obj3
= 0 ;
39986 PyObject
* obj4
= 0 ;
39987 PyObject
* obj5
= 0 ;
39988 PyObject
* obj6
= 0 ;
39989 PyObject
* obj7
= 0 ;
39990 char * kwnames
[] = {
39991 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
39994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
39995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39996 if (!SWIG_IsOK(res1
)) {
39997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
39999 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40001 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40002 if (!SWIG_IsOK(ecode2
)) {
40003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
40005 arg2
= static_cast< int >(val2
);
40008 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40009 if (!SWIG_IsOK(res3
)) {
40010 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40013 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40015 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
40020 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
40026 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
40030 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
40031 if (!SWIG_IsOK(ecode6
)) {
40032 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
40034 arg6
= static_cast< long >(val6
);
40037 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
40038 if (!SWIG_IsOK(res7
)) {
40039 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
40042 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
40044 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
40048 arg8
= wxString_in_helper(obj7
);
40049 if (arg8
== NULL
) SWIG_fail
;
40054 if (!wxPyCheckForApp()) SWIG_fail
;
40055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40056 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
40057 wxPyEndAllowThreads(__tstate
);
40058 if (PyErr_Occurred()) SWIG_fail
;
40060 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
40075 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40076 PyObject
*resultobj
= 0;
40077 wxDatePickerCtrl
*result
= 0 ;
40079 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
40081 if (!wxPyCheckForApp()) SWIG_fail
;
40082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40083 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
40084 wxPyEndAllowThreads(__tstate
);
40085 if (PyErr_Occurred()) SWIG_fail
;
40087 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
40094 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40095 PyObject
*resultobj
= 0;
40096 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40097 wxWindow
*arg2
= (wxWindow
*) 0 ;
40098 int arg3
= (int) -1 ;
40099 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
40100 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
40101 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
40102 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
40103 wxSize
const &arg6_defvalue
= wxDefaultSize
;
40104 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
40105 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
40106 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
40107 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
40108 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
40109 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
40125 bool temp9
= false ;
40126 PyObject
* obj0
= 0 ;
40127 PyObject
* obj1
= 0 ;
40128 PyObject
* obj2
= 0 ;
40129 PyObject
* obj3
= 0 ;
40130 PyObject
* obj4
= 0 ;
40131 PyObject
* obj5
= 0 ;
40132 PyObject
* obj6
= 0 ;
40133 PyObject
* obj7
= 0 ;
40134 PyObject
* obj8
= 0 ;
40135 char * kwnames
[] = {
40136 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
40139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
40140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40141 if (!SWIG_IsOK(res1
)) {
40142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40144 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40145 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40146 if (!SWIG_IsOK(res2
)) {
40147 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
40149 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40151 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
40152 if (!SWIG_IsOK(ecode3
)) {
40153 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
40155 arg3
= static_cast< int >(val3
);
40158 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40159 if (!SWIG_IsOK(res4
)) {
40160 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
40163 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
40165 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
40170 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
40176 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
40180 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
40181 if (!SWIG_IsOK(ecode7
)) {
40182 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
40184 arg7
= static_cast< long >(val7
);
40187 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
40188 if (!SWIG_IsOK(res8
)) {
40189 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
40192 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
40194 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
40198 arg9
= wxString_in_helper(obj8
);
40199 if (arg9
== NULL
) SWIG_fail
;
40204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40205 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
40206 wxPyEndAllowThreads(__tstate
);
40207 if (PyErr_Occurred()) SWIG_fail
;
40210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40226 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40227 PyObject
*resultobj
= 0;
40228 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40229 wxDateTime
*arg2
= 0 ;
40234 PyObject
* obj0
= 0 ;
40235 PyObject
* obj1
= 0 ;
40236 char * kwnames
[] = {
40237 (char *) "self",(char *) "dt", NULL
40240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40242 if (!SWIG_IsOK(res1
)) {
40243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40245 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40246 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40247 if (!SWIG_IsOK(res2
)) {
40248 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
40251 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
40253 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
40255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40256 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
40257 wxPyEndAllowThreads(__tstate
);
40258 if (PyErr_Occurred()) SWIG_fail
;
40260 resultobj
= SWIG_Py_Void();
40267 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40268 PyObject
*resultobj
= 0;
40269 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40273 PyObject
*swig_obj
[1] ;
40275 if (!args
) SWIG_fail
;
40276 swig_obj
[0] = args
;
40277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40278 if (!SWIG_IsOK(res1
)) {
40279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
40281 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40284 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
40285 wxPyEndAllowThreads(__tstate
);
40286 if (PyErr_Occurred()) SWIG_fail
;
40288 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
40295 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40296 PyObject
*resultobj
= 0;
40297 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40298 wxDateTime
*arg2
= 0 ;
40299 wxDateTime
*arg3
= 0 ;
40306 PyObject
* obj0
= 0 ;
40307 PyObject
* obj1
= 0 ;
40308 PyObject
* obj2
= 0 ;
40309 char * kwnames
[] = {
40310 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
40313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40315 if (!SWIG_IsOK(res1
)) {
40316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40318 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40319 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40320 if (!SWIG_IsOK(res2
)) {
40321 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
40324 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
40326 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
40327 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40328 if (!SWIG_IsOK(res3
)) {
40329 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40332 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40334 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
40336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40337 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
40338 wxPyEndAllowThreads(__tstate
);
40339 if (PyErr_Occurred()) SWIG_fail
;
40341 resultobj
= SWIG_Py_Void();
40348 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40349 PyObject
*resultobj
= 0;
40350 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40354 PyObject
*swig_obj
[1] ;
40356 if (!args
) SWIG_fail
;
40357 swig_obj
[0] = args
;
40358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40359 if (!SWIG_IsOK(res1
)) {
40360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40362 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40365 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
40366 wxPyEndAllowThreads(__tstate
);
40367 if (PyErr_Occurred()) SWIG_fail
;
40369 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
40376 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40377 PyObject
*resultobj
= 0;
40378 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40382 PyObject
*swig_obj
[1] ;
40384 if (!args
) SWIG_fail
;
40385 swig_obj
[0] = args
;
40386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40387 if (!SWIG_IsOK(res1
)) {
40388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40390 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40393 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
40394 wxPyEndAllowThreads(__tstate
);
40395 if (PyErr_Occurred()) SWIG_fail
;
40397 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
40404 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40406 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40407 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
40408 return SWIG_Py_Void();
40411 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40412 return SWIG_Python_InitShadowInstance(args
);
40415 static PyMethodDef SwigMethods
[] = {
40416 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40417 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
40418 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40419 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
40420 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
40421 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40422 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
40423 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
40424 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40425 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
40426 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40427 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
40428 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
40429 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
40430 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
40431 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
40432 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40433 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40434 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40435 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40436 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40437 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40438 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
40439 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
40440 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
40441 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
40442 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40443 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
40444 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40445 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
40446 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
40447 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40448 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
40449 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40450 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
40451 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
40452 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40453 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
40454 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
40455 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40456 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
40457 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40458 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
40459 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40460 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
40461 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
40462 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40463 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
40464 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40465 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
40466 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40467 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
40468 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
40469 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
40470 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40471 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
40472 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
40473 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40474 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40475 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
40476 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40477 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40478 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
40479 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40480 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
40481 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
40482 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
40483 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
40484 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
40485 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
40486 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
40487 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
40488 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
40489 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40490 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
40491 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
40492 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40493 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
40494 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40495 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40496 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
40497 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40498 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
40499 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
40500 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40501 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
40502 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40503 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
40504 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40505 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
40506 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
40507 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40508 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
40509 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40510 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40511 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
40512 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
40513 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40514 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
40515 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40516 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
40517 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
40518 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40519 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
40520 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
40521 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40522 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
40523 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40524 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40525 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40526 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
40527 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
40528 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40529 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
40530 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40531 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
40532 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40533 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40534 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40535 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
40536 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
40537 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40538 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
40539 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40540 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40541 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40542 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40543 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40544 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40545 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40546 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40547 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40548 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40549 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
40550 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40551 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40552 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40553 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40554 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
40555 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40556 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40557 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40558 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40559 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40560 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
40561 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
40562 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40563 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
40564 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40565 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40566 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40567 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
40568 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
40569 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40570 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
40571 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
40572 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40573 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40574 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40575 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40576 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40577 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40578 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40579 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40580 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
40581 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
40582 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
40583 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
40584 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
40585 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
40586 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
40587 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40588 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
40589 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
40590 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
40591 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
40592 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
40593 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
40594 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
40595 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
40596 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
40597 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
40598 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40599 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
40600 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
40601 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40602 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
40603 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40604 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
40605 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40606 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40607 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40608 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40609 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
40610 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
40611 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
40612 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
40613 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
40614 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
40615 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
40616 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
40617 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40618 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40619 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40620 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40621 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
40622 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
40623 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40624 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40625 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40626 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40627 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40628 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40629 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40630 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
40631 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40632 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40633 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40634 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40635 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40636 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
40637 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
40638 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
40639 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
40640 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
40641 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
40642 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
40643 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
40644 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
40645 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
40646 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40647 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
40648 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
40649 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
40650 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40651 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
40652 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40653 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40654 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40655 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40656 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
40657 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
40658 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40659 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
40660 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
40661 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
40662 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
40663 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
40664 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40665 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
40666 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40667 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
40668 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
40669 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
40670 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
40671 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
40672 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40673 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40674 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
40675 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
40676 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40677 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
40678 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40679 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
40680 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
40681 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
40682 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40683 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40684 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40685 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40686 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
40687 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40688 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
40689 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
40690 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40691 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
40692 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40693 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
40694 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40695 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40696 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40697 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
40698 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
40699 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40700 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40701 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
40702 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
40703 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40704 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
40705 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40706 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
40707 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
40708 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40709 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
40710 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40711 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40712 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
40713 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
40714 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40715 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
40716 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40717 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40718 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40719 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40720 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40721 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
40722 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
40723 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40724 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40725 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
40726 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
40727 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40728 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
40729 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40730 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
40731 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40732 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40733 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
40734 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
40735 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40736 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
40737 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40738 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
40739 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40740 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40741 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
40742 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
40743 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40744 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40745 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40746 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40747 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
40748 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
40749 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40750 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
40751 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40752 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
40753 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
40754 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40755 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
40756 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
40757 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
40758 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40759 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40760 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
40761 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
40762 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40763 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
40764 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40765 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40766 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
40767 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40768 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
40769 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
40770 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
40771 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40772 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
40773 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
40774 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40775 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40776 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40777 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40778 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
40779 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40780 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40781 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40782 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40783 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
40784 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40785 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
40786 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40787 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
40788 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40789 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40790 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
40791 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40792 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40793 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40794 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40795 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40796 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
40797 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40798 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
40799 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40800 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
40801 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40802 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
40803 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
40804 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40805 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
40806 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40807 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
40808 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40809 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40810 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40811 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
40812 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40813 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
40814 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
40815 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40816 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
40817 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
40818 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40819 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
40820 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40821 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
40822 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
40823 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
40824 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40825 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
40826 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
40827 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40828 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
40829 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40830 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
40831 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
40832 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
40833 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40834 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
40835 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
40836 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40837 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
40838 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40839 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40840 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40841 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40842 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40843 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40844 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40845 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
40846 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
40847 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
40848 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40849 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
40850 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
40851 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40852 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
40853 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40854 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
40855 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
40856 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
40857 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
40858 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40859 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
40860 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
40861 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
40862 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
40863 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
40864 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
40865 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
40866 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
40867 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
40868 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
40869 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
40870 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
40871 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
40872 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
40873 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
40874 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
40875 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
40876 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
40877 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
40878 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40879 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
40880 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40881 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40882 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40883 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40884 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40885 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40886 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
40887 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40888 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
40889 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40890 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
40891 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40892 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40893 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40894 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40895 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40896 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40897 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40898 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
40899 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40900 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40901 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40902 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40903 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
40904 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
40905 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40906 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40907 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40908 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40909 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40910 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40911 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40912 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40913 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40914 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40915 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40916 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40917 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40918 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40919 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40920 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40921 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
40922 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
40923 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
40924 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
40925 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40926 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40927 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
40928 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
40929 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40930 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
40931 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
40932 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40933 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40934 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
40935 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
40936 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
40937 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40938 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
40939 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40940 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40941 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40942 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
40943 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
40944 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40945 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
40946 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40947 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40948 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40949 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
40950 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
40951 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
40952 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
40953 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
40954 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
40955 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40956 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
40957 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
40958 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
40959 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
40960 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
40961 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
40962 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
40963 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40964 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40965 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40966 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40967 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40968 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40969 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40970 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40971 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40972 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40973 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40974 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40975 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40976 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
40977 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
40978 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
40979 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
40980 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
40981 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
40982 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
40983 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
40984 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
40985 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
40986 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
40987 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
40988 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
40989 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
40990 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
40991 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
40992 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
40993 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
40994 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
40995 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
40996 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
40997 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
40998 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
40999 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
41000 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
41001 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
41002 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
41003 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
41004 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
41005 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
41006 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
41007 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
41008 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
41009 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
41010 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
41011 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
41012 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41013 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
41014 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
41015 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
41016 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
41017 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
41018 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
41019 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
41020 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
41021 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
41022 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
41023 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
41024 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
41025 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
41026 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
41027 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
41028 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
41029 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
41030 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
41031 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
41032 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
41033 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
41034 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
41035 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
41036 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
41037 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41038 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
41039 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
41040 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41041 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
41042 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41043 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41044 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41045 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41046 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41047 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41048 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
41049 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
41050 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
41051 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41052 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41053 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41054 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41055 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41056 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41057 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41058 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41059 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41060 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41061 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41062 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41063 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41064 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41065 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
41066 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
41067 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
41068 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41069 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
41070 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
41071 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41072 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
41073 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41074 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41075 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41076 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41077 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41078 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
41079 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
41080 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41081 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41082 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41083 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41084 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
41085 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41086 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
41087 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
41088 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41089 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41090 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41091 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41092 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41093 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41094 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41095 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41096 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41097 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41098 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41099 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41100 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41101 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41102 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41103 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41104 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41105 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41106 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41107 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41108 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41109 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
41110 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41111 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
41112 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
41113 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41114 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
41115 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41116 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41117 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41118 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
41119 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41120 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
41121 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41122 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41123 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41124 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
41125 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
41126 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
41127 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
41128 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
41129 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41130 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41131 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
41132 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
41133 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
41134 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
41135 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41136 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
41137 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
41138 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41139 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
41140 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41141 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
41142 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
41143 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
41144 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41145 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
41146 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41147 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
41148 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41149 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
41150 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41151 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
41152 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
41153 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41154 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
41155 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41156 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
41157 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41158 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41159 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
41160 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
41161 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
41162 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41163 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
41164 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41165 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41166 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
41167 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
41168 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41169 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
41170 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41171 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
41172 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
41173 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41174 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41175 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41176 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41177 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41178 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41179 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41180 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41181 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41182 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41183 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41184 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41185 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41186 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41187 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41188 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41189 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41190 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41191 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41192 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41193 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41194 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41195 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41196 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41197 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41198 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41199 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41200 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
41201 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
41202 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
41203 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41204 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41205 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41206 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41207 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41208 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41209 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
41210 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41211 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41212 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41213 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41214 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41215 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41216 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41217 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41218 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41219 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
41220 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41221 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41222 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41223 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41224 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
41225 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41226 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
41227 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41228 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41229 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41230 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41231 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41232 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
41233 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41234 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41235 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41236 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41237 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
41238 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
41239 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41240 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
41241 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41242 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41243 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
41244 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41245 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
41246 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
41247 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41248 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41249 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
41250 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
41251 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41252 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
41253 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41254 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
41255 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
41256 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
41257 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41258 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
41259 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
41260 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
41261 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
41262 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41263 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
41264 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41265 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41266 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
41267 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
41268 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41269 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
41270 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41271 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41272 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41273 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41274 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41275 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41276 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41277 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
41278 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
41279 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
41280 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
41281 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
41282 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
41283 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
41284 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
41285 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
41286 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41287 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
41288 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41289 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
41290 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41291 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
41292 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41293 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
41294 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
41295 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41296 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
41297 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41298 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
41299 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
41300 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
41301 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41302 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
41303 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
41304 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41305 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
41306 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41307 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41308 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41309 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41310 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41311 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
41312 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
41313 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
41314 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
41315 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
41316 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41317 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41318 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41319 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41320 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41321 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
41322 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41323 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41324 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41325 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
41326 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41327 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
41328 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
41329 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41330 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41331 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41332 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41333 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
41334 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
41335 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41336 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
41337 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41338 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41339 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
41340 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41341 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
41342 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
41343 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
41344 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
41345 { NULL
, NULL
, 0, NULL
}
41349 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
41351 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
41352 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41354 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
41355 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
41357 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
41358 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
41360 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
41361 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
41363 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
41364 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
41366 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
41367 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
41369 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
41370 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
41372 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
41373 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
41375 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
41376 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
41378 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
41379 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
41381 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
41382 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
41384 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
41385 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
41387 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
41388 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41390 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
41391 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
41393 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
41394 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
41396 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
41397 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
41399 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
41400 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
41402 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
41403 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
41405 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
41406 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
41408 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
41409 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
41411 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
41412 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
41414 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
41415 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41417 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
41418 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41420 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
41421 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
41423 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
41424 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
41426 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
41427 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
41429 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
41430 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
41432 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
41433 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
41435 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
41436 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
41438 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
41439 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
41441 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
41442 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
41444 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
41445 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41447 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
41448 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
41450 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
41451 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
41453 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
41454 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
41456 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
41457 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
41459 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
41460 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
41462 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
41463 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
41465 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
41466 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41468 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
41469 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
41471 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
41472 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
41474 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
41475 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41477 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
41478 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41480 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
41481 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
41483 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
41484 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
41486 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
41487 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
41489 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
41490 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
41492 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
41493 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
41495 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
41496 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
41498 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
41499 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
41501 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
41502 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
41504 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
41505 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
41507 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
41508 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
41510 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
41511 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
41513 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
41514 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
41516 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
41517 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
41519 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
41520 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
41522 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
41523 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
41525 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
41526 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
41528 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
41529 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
41531 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
41532 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
41534 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
41535 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
41537 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
41538 return (void *)((wxControl
*) ((wxComboBox
*) x
));
41540 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
41541 return (void *)((wxControl
*) ((wxPyControl
*) x
));
41543 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
41544 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
41546 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
41547 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
41549 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
41550 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
41552 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
41553 return (void *)((wxControl
*) ((wxGauge
*) x
));
41555 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
41556 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
41558 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
41559 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
41561 static void *_p_wxListbookTo_p_wxControl(void *x
) {
41562 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
41564 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
41565 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
41567 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
41568 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
41570 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
41571 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
41573 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
41574 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
41576 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
41577 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
41579 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
41580 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
41582 static void *_p_wxListViewTo_p_wxControl(void *x
) {
41583 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
41585 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
41586 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
41588 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
41589 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
41591 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
41592 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
41594 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
41595 return (void *)((wxControl
*) ((wxStaticText
*) x
));
41597 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
41598 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
41600 static void *_p_wxSliderTo_p_wxControl(void *x
) {
41601 return (void *)((wxControl
*) ((wxSlider
*) x
));
41603 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
41604 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
41606 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
41607 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
41609 static void *_p_wxButtonTo_p_wxControl(void *x
) {
41610 return (void *)((wxControl
*) ((wxButton
*) x
));
41612 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
41613 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
41615 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
41616 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
41618 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
41619 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
41621 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
41622 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
41624 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
41625 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
41627 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
41628 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
41630 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
41631 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
41633 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
41634 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
41636 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
41637 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
41639 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
41640 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
41642 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
41643 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
41645 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
41646 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
41648 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
41649 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
41651 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
41652 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
41654 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
41655 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
41657 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
41658 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
41660 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
41661 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
41663 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
41664 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
41666 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
41667 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
41669 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
41670 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
41672 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
41673 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
41675 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
41676 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
41678 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
41679 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
41681 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
41682 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
41684 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
41685 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
41687 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
41688 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
41690 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
41691 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
41693 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
41694 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
41696 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
41697 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
41699 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
41700 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
41702 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
41703 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
41705 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
41706 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
41708 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
41709 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
41711 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
41712 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
41714 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
41715 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
41717 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
41718 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
41720 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
41721 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
41723 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
41724 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
41726 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
41727 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
41729 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
41730 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
41732 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
41733 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
41735 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
41736 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
41738 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
41739 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
41741 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
41742 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
41744 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
41745 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
41747 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
41748 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
41750 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
41751 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
41753 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
41754 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
41756 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
41757 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
41759 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
41760 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
41762 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
41763 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
41765 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
41766 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
41768 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
41769 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
41771 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
41772 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
41774 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
41775 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
41777 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
41778 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
41780 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
41781 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
41783 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
41784 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
41786 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
41787 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
41789 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
41790 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
41792 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
41793 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
41795 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
41796 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
41798 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
41799 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
41801 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
41802 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
41804 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
41805 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
41807 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
41808 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
41810 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
41811 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
41813 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
41814 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
41816 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
41817 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
41819 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
41820 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
41822 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
41823 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
41825 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
41826 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
41828 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
41829 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
41831 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
41832 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
41834 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
41835 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
41837 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
41838 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
41840 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
41841 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41843 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
41844 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
41846 static void *_p_wxSizerTo_p_wxObject(void *x
) {
41847 return (void *)((wxObject
*) ((wxSizer
*) x
));
41849 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
41850 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41852 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
41853 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
41855 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
41856 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
41858 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
41859 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41861 static void *_p_wxEventTo_p_wxObject(void *x
) {
41862 return (void *)((wxObject
*) ((wxEvent
*) x
));
41864 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
41865 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41867 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
41868 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
41870 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
41871 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
41873 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
41874 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
41876 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
41877 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
41879 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
41880 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
41882 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
41883 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
41885 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
41886 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
41888 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
41889 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
41891 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
41892 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
41894 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
41895 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
41897 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
41898 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
41900 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
41901 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
41903 static void *_p_wxControlTo_p_wxObject(void *x
) {
41904 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
41906 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
41907 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
41909 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
41910 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
41912 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
41913 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
41915 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
41916 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
41918 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
41919 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
41921 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
41922 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
41924 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
41925 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
41927 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
41928 return (void *)((wxObject
*) ((wxFSFile
*) x
));
41930 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
41931 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
41933 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
41934 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
41936 static void *_p_wxListViewTo_p_wxObject(void *x
) {
41937 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
41939 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
41940 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
41942 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
41943 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
41945 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
41946 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
41948 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
41949 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41951 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
41952 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
41954 static void *_p_wxListbookTo_p_wxObject(void *x
) {
41955 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
41957 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
41958 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
41960 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
41961 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
41963 static void *_p_wxSliderTo_p_wxObject(void *x
) {
41964 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
41966 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
41967 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
41969 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
41970 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
41972 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
41973 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
41975 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
41976 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41978 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
41979 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41981 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
41982 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
41984 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
41985 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
41987 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
41988 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
41990 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
41991 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
41993 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
41994 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
41996 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
41997 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
41999 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
42000 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
42002 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
42003 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
42005 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
42006 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
42008 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
42009 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
42011 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
42012 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
42014 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
42015 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
42017 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
42018 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
42020 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
42021 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42023 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
42024 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42026 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
42027 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
42029 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
42030 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
42032 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
42033 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
42035 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
42036 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
42038 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
42039 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
42041 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
42042 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
42044 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
42045 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
42047 static void *_p_wxListEventTo_p_wxObject(void *x
) {
42048 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
42050 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
42051 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
42053 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
42054 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
42056 static void *_p_wxButtonTo_p_wxObject(void *x
) {
42057 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
42059 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
42060 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
42062 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
42063 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
42065 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
42066 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42068 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
42069 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
42071 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
42072 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
42074 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
42075 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
42077 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
42078 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
42080 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
42081 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
42083 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
42084 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
42086 static void *_p_wxListItemTo_p_wxObject(void *x
) {
42087 return (void *)((wxObject
*) ((wxListItem
*) x
));
42089 static void *_p_wxImageTo_p_wxObject(void *x
) {
42090 return (void *)((wxObject
*) ((wxImage
*) x
));
42092 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
42093 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
42095 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
42096 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
42098 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
42099 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
42101 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
42102 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
42104 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
42105 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
42107 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
42108 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
42110 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
42111 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
42113 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
42114 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
42116 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
42117 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
42119 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
42120 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42122 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
42123 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42125 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
42126 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
42128 static void *_p_wxWindowTo_p_wxObject(void *x
) {
42129 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
42131 static void *_p_wxMenuTo_p_wxObject(void *x
) {
42132 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
42134 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
42135 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
42137 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
42138 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
42140 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
42141 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42143 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
42144 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
42146 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
42147 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
42149 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
42150 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
42152 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
42153 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
42155 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
42156 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
42158 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
42159 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
42161 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
42162 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
42164 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
42165 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42167 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
42168 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
42170 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
42171 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
42173 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
42174 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
42176 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
42177 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
42179 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
42180 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42182 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
42183 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
42185 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
42186 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42188 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
42189 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
42191 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
42192 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
42194 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
42195 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
42197 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
42198 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
42200 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
42201 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
42203 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
42204 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
42206 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
42207 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
42209 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
42210 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
42212 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
42213 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
42215 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
42216 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
42218 static void *_p_wxControlTo_p_wxWindow(void *x
) {
42219 return (void *)((wxWindow
*) ((wxControl
*) x
));
42221 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
42222 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
42224 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
42225 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
42227 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
42228 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
42230 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
42231 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42233 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
42234 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
42236 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
42237 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
42239 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
42240 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
42242 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
42243 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
42245 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
42246 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
42248 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
42249 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
42251 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
42252 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
42254 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
42255 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
42257 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
42258 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
42260 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
42261 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
42263 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
42264 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
42266 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
42267 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
42269 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
42270 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
42272 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
42273 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
42275 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
42276 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
42278 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
42279 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
42281 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
42282 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
42284 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
42285 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
42287 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
42288 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
42290 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
42291 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
42293 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
42294 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
42296 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
42297 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
42299 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
42300 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
42302 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
42303 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
42305 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
42306 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
42308 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
42309 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42311 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
42312 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
42314 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
42315 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
42317 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
42318 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
42320 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
42321 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
42323 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
42324 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
42326 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
42327 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
42329 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
42330 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
42332 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
42333 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42335 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
42336 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
42338 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
42339 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
42341 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
42342 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42344 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
42345 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42347 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
42348 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42350 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
42351 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
42353 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
42354 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
42356 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
42357 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
42359 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
42360 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
42362 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
42363 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
42365 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
42366 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
42368 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
42369 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42371 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
42372 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
42374 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
42375 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
42377 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
42378 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
42380 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
42381 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
42383 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
42384 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
42386 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
42387 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42389 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
42390 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42392 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
42393 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42395 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
42396 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
42398 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
42399 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
42401 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
42402 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
42404 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
42405 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
42407 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
42408 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
42409 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};
42410 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
42411 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
42412 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
42413 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
42414 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
42415 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
42416 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
42417 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
42418 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
42419 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
42420 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
42421 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
42422 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
42423 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
42424 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
42425 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
42426 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
42427 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
42428 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
42429 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
42430 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
42431 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
42432 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
42433 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
42434 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
42435 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
42436 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
42437 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
42438 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
42439 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
42440 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
42441 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
42442 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
42443 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
42444 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
42445 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
42446 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
42447 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
42448 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
42449 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
42450 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
42451 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
42452 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
42453 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
42454 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
42455 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
42456 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
42457 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
42458 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
42459 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
42460 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
42461 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
42462 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
42463 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
42464 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
42465 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
42466 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
42467 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
42468 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
42469 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
42470 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
42471 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
42472 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
42473 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
42474 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
42475 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
42476 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
42477 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
42478 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
42479 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
42480 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
42481 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
42482 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
42483 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
42484 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
42485 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
42486 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
42487 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
42488 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
42489 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
42490 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
42491 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
42492 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
42493 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
42494 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
42495 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
42496 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
42497 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
42498 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
42499 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
42500 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
42501 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
42502 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
42503 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
42504 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
42505 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
42506 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
42507 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
42508 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
42509 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
42510 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
42511 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
42512 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
42513 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
42514 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
42515 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
42516 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
42517 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
42518 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
42519 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
42520 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
42521 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
42522 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
42523 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
42524 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
42525 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
42526 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
42527 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
42528 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
42529 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
42530 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
42531 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
42532 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
42533 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
42534 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
42535 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
42536 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
42537 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
42538 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
42539 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
42540 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
42541 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
42542 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
42543 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
42544 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
42545 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
42546 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
42547 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
42548 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
42549 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
42550 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
42551 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
42552 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
42553 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
42554 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
42555 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
42556 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
42557 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
42558 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
42559 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
42560 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
42561 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
42562 static swig_type_info _swigt__p_wxTreeCtrl
= {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, (void*)0, 0};
42563 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
42564 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
42565 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
42566 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
42567 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
42568 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
42569 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
42571 static swig_type_info
*swig_type_initial
[] = {
42574 &_swigt__p_form_ops_t
,
42577 &_swigt__p_unsigned_char
,
42578 &_swigt__p_unsigned_int
,
42579 &_swigt__p_unsigned_long
,
42581 &_swigt__p_wxANIHandler
,
42582 &_swigt__p_wxAcceleratorTable
,
42583 &_swigt__p_wxActivateEvent
,
42584 &_swigt__p_wxArrayInt
,
42585 &_swigt__p_wxArrayString
,
42586 &_swigt__p_wxBMPHandler
,
42587 &_swigt__p_wxBitmap
,
42588 &_swigt__p_wxBitmapButton
,
42589 &_swigt__p_wxBookCtrlBase
,
42590 &_swigt__p_wxBookCtrlBaseEvent
,
42591 &_swigt__p_wxBoxSizer
,
42592 &_swigt__p_wxButton
,
42593 &_swigt__p_wxCURHandler
,
42594 &_swigt__p_wxCheckBox
,
42595 &_swigt__p_wxCheckListBox
,
42596 &_swigt__p_wxChildFocusEvent
,
42597 &_swigt__p_wxChoice
,
42598 &_swigt__p_wxChoicebook
,
42599 &_swigt__p_wxChoicebookEvent
,
42600 &_swigt__p_wxCloseEvent
,
42601 &_swigt__p_wxColour
,
42602 &_swigt__p_wxComboBox
,
42603 &_swigt__p_wxCommandEvent
,
42604 &_swigt__p_wxContextHelp
,
42605 &_swigt__p_wxContextHelpButton
,
42606 &_swigt__p_wxContextMenuEvent
,
42607 &_swigt__p_wxControl
,
42608 &_swigt__p_wxControlWithItems
,
42609 &_swigt__p_wxCursor
,
42611 &_swigt__p_wxDateEvent
,
42612 &_swigt__p_wxDatePickerCtrl
,
42613 &_swigt__p_wxDateTime
,
42614 &_swigt__p_wxDirFilterListCtrl
,
42615 &_swigt__p_wxDisplayChangedEvent
,
42616 &_swigt__p_wxDropFilesEvent
,
42617 &_swigt__p_wxDuplexMode
,
42618 &_swigt__p_wxEraseEvent
,
42619 &_swigt__p_wxEvent
,
42620 &_swigt__p_wxEvtHandler
,
42621 &_swigt__p_wxFSFile
,
42622 &_swigt__p_wxFileSystem
,
42623 &_swigt__p_wxFlexGridSizer
,
42624 &_swigt__p_wxFocusEvent
,
42626 &_swigt__p_wxGBSizerItem
,
42627 &_swigt__p_wxGIFHandler
,
42628 &_swigt__p_wxGauge
,
42629 &_swigt__p_wxGenericDirCtrl
,
42630 &_swigt__p_wxGenericDragImage
,
42631 &_swigt__p_wxGridBagSizer
,
42632 &_swigt__p_wxGridSizer
,
42633 &_swigt__p_wxHelpEvent
,
42634 &_swigt__p_wxHelpProvider
,
42635 &_swigt__p_wxICOHandler
,
42637 &_swigt__p_wxIconizeEvent
,
42638 &_swigt__p_wxIdleEvent
,
42639 &_swigt__p_wxImage
,
42640 &_swigt__p_wxImageHandler
,
42641 &_swigt__p_wxImageList
,
42642 &_swigt__p_wxIndividualLayoutConstraint
,
42643 &_swigt__p_wxInitDialogEvent
,
42644 &_swigt__p_wxItemContainer
,
42645 &_swigt__p_wxJPEGHandler
,
42646 &_swigt__p_wxKeyEvent
,
42647 &_swigt__p_wxLayoutConstraints
,
42648 &_swigt__p_wxListBox
,
42649 &_swigt__p_wxListEvent
,
42650 &_swigt__p_wxListItem
,
42651 &_swigt__p_wxListItemAttr
,
42652 &_swigt__p_wxListView
,
42653 &_swigt__p_wxListbook
,
42654 &_swigt__p_wxListbookEvent
,
42655 &_swigt__p_wxMaximizeEvent
,
42656 &_swigt__p_wxMemoryDC
,
42658 &_swigt__p_wxMenuBar
,
42659 &_swigt__p_wxMenuEvent
,
42660 &_swigt__p_wxMenuItem
,
42661 &_swigt__p_wxMouseCaptureChangedEvent
,
42662 &_swigt__p_wxMouseEvent
,
42663 &_swigt__p_wxMoveEvent
,
42664 &_swigt__p_wxNavigationKeyEvent
,
42665 &_swigt__p_wxNcPaintEvent
,
42666 &_swigt__p_wxNotebook
,
42667 &_swigt__p_wxNotebookEvent
,
42668 &_swigt__p_wxNotifyEvent
,
42669 &_swigt__p_wxObject
,
42670 &_swigt__p_wxPCXHandler
,
42671 &_swigt__p_wxPNGHandler
,
42672 &_swigt__p_wxPNMHandler
,
42673 &_swigt__p_wxPaintEvent
,
42674 &_swigt__p_wxPaletteChangedEvent
,
42675 &_swigt__p_wxPaperSize
,
42676 &_swigt__p_wxPoint
,
42677 &_swigt__p_wxPyApp
,
42678 &_swigt__p_wxPyCommandEvent
,
42679 &_swigt__p_wxPyControl
,
42680 &_swigt__p_wxPyEvent
,
42681 &_swigt__p_wxPyImageHandler
,
42682 &_swigt__p_wxPyListCtrl
,
42683 &_swigt__p_wxPySizer
,
42684 &_swigt__p_wxPyTreeCtrl
,
42685 &_swigt__p_wxPyTreeItemData
,
42686 &_swigt__p_wxPyValidator
,
42687 &_swigt__p_wxQueryNewPaletteEvent
,
42688 &_swigt__p_wxRadioBox
,
42689 &_swigt__p_wxRadioButton
,
42691 &_swigt__p_wxScrollBar
,
42692 &_swigt__p_wxScrollEvent
,
42693 &_swigt__p_wxScrollWinEvent
,
42694 &_swigt__p_wxSetCursorEvent
,
42695 &_swigt__p_wxShowEvent
,
42696 &_swigt__p_wxSimpleHelpProvider
,
42698 &_swigt__p_wxSizeEvent
,
42699 &_swigt__p_wxSizer
,
42700 &_swigt__p_wxSizerItem
,
42701 &_swigt__p_wxSlider
,
42702 &_swigt__p_wxSpinButton
,
42703 &_swigt__p_wxSpinCtrl
,
42704 &_swigt__p_wxSpinEvent
,
42705 &_swigt__p_wxStaticBitmap
,
42706 &_swigt__p_wxStaticBox
,
42707 &_swigt__p_wxStaticBoxSizer
,
42708 &_swigt__p_wxStaticLine
,
42709 &_swigt__p_wxStaticText
,
42710 &_swigt__p_wxStdDialogButtonSizer
,
42711 &_swigt__p_wxString
,
42712 &_swigt__p_wxSysColourChangedEvent
,
42713 &_swigt__p_wxTIFFHandler
,
42714 &_swigt__p_wxTextAttr
,
42715 &_swigt__p_wxTextCtrl
,
42716 &_swigt__p_wxTextUrlEvent
,
42717 &_swigt__p_wxToggleButton
,
42718 &_swigt__p_wxToolBar
,
42719 &_swigt__p_wxToolBarBase
,
42720 &_swigt__p_wxToolBarToolBase
,
42721 &_swigt__p_wxToolbook
,
42722 &_swigt__p_wxToolbookEvent
,
42723 &_swigt__p_wxTreeCtrl
,
42724 &_swigt__p_wxTreeEvent
,
42725 &_swigt__p_wxTreeItemId
,
42726 &_swigt__p_wxTreebook
,
42727 &_swigt__p_wxTreebookEvent
,
42728 &_swigt__p_wxUpdateUIEvent
,
42729 &_swigt__p_wxValidator
,
42730 &_swigt__p_wxVisualAttributes
,
42731 &_swigt__p_wxWindow
,
42732 &_swigt__p_wxWindowCreateEvent
,
42733 &_swigt__p_wxWindowDestroyEvent
,
42734 &_swigt__p_wxXPMHandler
,
42737 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
42738 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
42739 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
42740 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
42741 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
42742 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
42743 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
42744 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
42745 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
42746 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
42747 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
42748 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
42749 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}};
42750 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}};
42751 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}};
42752 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}};
42753 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
42754 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
42755 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}};
42756 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
42757 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
42758 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
42759 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
42760 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
42761 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
42762 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
42763 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
42764 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
42765 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
42766 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
42767 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
42768 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_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_wxListbookEvent
, _p_wxListbookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0},{0, 0, 0, 0}};
42769 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
42770 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
42771 static swig_cast_info _swigc__p_wxControl
[] = { {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxControl
, 0, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_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_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_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_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}};
42772 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}};
42773 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
42774 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
42775 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
42776 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
42777 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
42778 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
42779 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
42780 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
42781 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
42782 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
42783 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
42784 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
42785 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
42786 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
42787 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
42788 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
42789 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
42790 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
42791 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
42792 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
42793 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
42794 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
42795 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
42796 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
42797 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
42798 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
42799 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
42800 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
42801 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
42802 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
42803 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_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_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}};
42804 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
42805 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
42806 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
42807 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
42808 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_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_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_wxSpinButton
, _p_wxSpinButtonTo_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}};
42809 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
42810 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
42811 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
42812 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
42813 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
42814 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}};
42815 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
42816 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
42817 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}};
42818 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
42819 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}};
42820 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
42821 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
42822 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
42823 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
42824 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
42825 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
42826 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
42827 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
42828 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
42829 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
42830 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}};
42831 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
42832 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
42833 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
42834 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
42835 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
42836 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
42837 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
42838 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
42839 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
42840 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
42841 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
42842 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
42843 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
42844 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
42845 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
42846 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
42847 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
42848 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
42849 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
42850 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
42851 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
42852 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
42853 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
42854 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
42855 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
42856 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
42857 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
42858 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
42859 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
42860 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
42861 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_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_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_wxTreebook
, _p_wxTreebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelp
, _p_wxContextHelpTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_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_wxSpinButton
, _p_wxSpinButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListItem
, _p_wxListItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDragImage
, _p_wxGenericDragImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_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}};
42862 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
42863 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
42864 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
42865 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}};
42866 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
42867 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
42868 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
42869 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
42870 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
42871 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
42872 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
42873 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
42874 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
42875 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
42876 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
42877 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
42878 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
42879 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
42880 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
42881 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
42882 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
42883 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
42884 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
42885 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
42886 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
42887 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
42888 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}};
42889 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
42890 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
42891 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
42892 static swig_cast_info _swigc__p_wxTreeCtrl
[] = { {&_swigt__p_wxTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
42893 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
42894 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
42895 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
42896 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
42897 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}};
42898 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
42899 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_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_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_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_wxSpinButton
, _p_wxSpinButtonTo_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}};
42901 static swig_cast_info
*swig_cast_initial
[] = {
42904 _swigc__p_form_ops_t
,
42907 _swigc__p_unsigned_char
,
42908 _swigc__p_unsigned_int
,
42909 _swigc__p_unsigned_long
,
42911 _swigc__p_wxANIHandler
,
42912 _swigc__p_wxAcceleratorTable
,
42913 _swigc__p_wxActivateEvent
,
42914 _swigc__p_wxArrayInt
,
42915 _swigc__p_wxArrayString
,
42916 _swigc__p_wxBMPHandler
,
42917 _swigc__p_wxBitmap
,
42918 _swigc__p_wxBitmapButton
,
42919 _swigc__p_wxBookCtrlBase
,
42920 _swigc__p_wxBookCtrlBaseEvent
,
42921 _swigc__p_wxBoxSizer
,
42922 _swigc__p_wxButton
,
42923 _swigc__p_wxCURHandler
,
42924 _swigc__p_wxCheckBox
,
42925 _swigc__p_wxCheckListBox
,
42926 _swigc__p_wxChildFocusEvent
,
42927 _swigc__p_wxChoice
,
42928 _swigc__p_wxChoicebook
,
42929 _swigc__p_wxChoicebookEvent
,
42930 _swigc__p_wxCloseEvent
,
42931 _swigc__p_wxColour
,
42932 _swigc__p_wxComboBox
,
42933 _swigc__p_wxCommandEvent
,
42934 _swigc__p_wxContextHelp
,
42935 _swigc__p_wxContextHelpButton
,
42936 _swigc__p_wxContextMenuEvent
,
42937 _swigc__p_wxControl
,
42938 _swigc__p_wxControlWithItems
,
42939 _swigc__p_wxCursor
,
42941 _swigc__p_wxDateEvent
,
42942 _swigc__p_wxDatePickerCtrl
,
42943 _swigc__p_wxDateTime
,
42944 _swigc__p_wxDirFilterListCtrl
,
42945 _swigc__p_wxDisplayChangedEvent
,
42946 _swigc__p_wxDropFilesEvent
,
42947 _swigc__p_wxDuplexMode
,
42948 _swigc__p_wxEraseEvent
,
42950 _swigc__p_wxEvtHandler
,
42951 _swigc__p_wxFSFile
,
42952 _swigc__p_wxFileSystem
,
42953 _swigc__p_wxFlexGridSizer
,
42954 _swigc__p_wxFocusEvent
,
42956 _swigc__p_wxGBSizerItem
,
42957 _swigc__p_wxGIFHandler
,
42959 _swigc__p_wxGenericDirCtrl
,
42960 _swigc__p_wxGenericDragImage
,
42961 _swigc__p_wxGridBagSizer
,
42962 _swigc__p_wxGridSizer
,
42963 _swigc__p_wxHelpEvent
,
42964 _swigc__p_wxHelpProvider
,
42965 _swigc__p_wxICOHandler
,
42967 _swigc__p_wxIconizeEvent
,
42968 _swigc__p_wxIdleEvent
,
42970 _swigc__p_wxImageHandler
,
42971 _swigc__p_wxImageList
,
42972 _swigc__p_wxIndividualLayoutConstraint
,
42973 _swigc__p_wxInitDialogEvent
,
42974 _swigc__p_wxItemContainer
,
42975 _swigc__p_wxJPEGHandler
,
42976 _swigc__p_wxKeyEvent
,
42977 _swigc__p_wxLayoutConstraints
,
42978 _swigc__p_wxListBox
,
42979 _swigc__p_wxListEvent
,
42980 _swigc__p_wxListItem
,
42981 _swigc__p_wxListItemAttr
,
42982 _swigc__p_wxListView
,
42983 _swigc__p_wxListbook
,
42984 _swigc__p_wxListbookEvent
,
42985 _swigc__p_wxMaximizeEvent
,
42986 _swigc__p_wxMemoryDC
,
42988 _swigc__p_wxMenuBar
,
42989 _swigc__p_wxMenuEvent
,
42990 _swigc__p_wxMenuItem
,
42991 _swigc__p_wxMouseCaptureChangedEvent
,
42992 _swigc__p_wxMouseEvent
,
42993 _swigc__p_wxMoveEvent
,
42994 _swigc__p_wxNavigationKeyEvent
,
42995 _swigc__p_wxNcPaintEvent
,
42996 _swigc__p_wxNotebook
,
42997 _swigc__p_wxNotebookEvent
,
42998 _swigc__p_wxNotifyEvent
,
42999 _swigc__p_wxObject
,
43000 _swigc__p_wxPCXHandler
,
43001 _swigc__p_wxPNGHandler
,
43002 _swigc__p_wxPNMHandler
,
43003 _swigc__p_wxPaintEvent
,
43004 _swigc__p_wxPaletteChangedEvent
,
43005 _swigc__p_wxPaperSize
,
43008 _swigc__p_wxPyCommandEvent
,
43009 _swigc__p_wxPyControl
,
43010 _swigc__p_wxPyEvent
,
43011 _swigc__p_wxPyImageHandler
,
43012 _swigc__p_wxPyListCtrl
,
43013 _swigc__p_wxPySizer
,
43014 _swigc__p_wxPyTreeCtrl
,
43015 _swigc__p_wxPyTreeItemData
,
43016 _swigc__p_wxPyValidator
,
43017 _swigc__p_wxQueryNewPaletteEvent
,
43018 _swigc__p_wxRadioBox
,
43019 _swigc__p_wxRadioButton
,
43021 _swigc__p_wxScrollBar
,
43022 _swigc__p_wxScrollEvent
,
43023 _swigc__p_wxScrollWinEvent
,
43024 _swigc__p_wxSetCursorEvent
,
43025 _swigc__p_wxShowEvent
,
43026 _swigc__p_wxSimpleHelpProvider
,
43028 _swigc__p_wxSizeEvent
,
43030 _swigc__p_wxSizerItem
,
43031 _swigc__p_wxSlider
,
43032 _swigc__p_wxSpinButton
,
43033 _swigc__p_wxSpinCtrl
,
43034 _swigc__p_wxSpinEvent
,
43035 _swigc__p_wxStaticBitmap
,
43036 _swigc__p_wxStaticBox
,
43037 _swigc__p_wxStaticBoxSizer
,
43038 _swigc__p_wxStaticLine
,
43039 _swigc__p_wxStaticText
,
43040 _swigc__p_wxStdDialogButtonSizer
,
43041 _swigc__p_wxString
,
43042 _swigc__p_wxSysColourChangedEvent
,
43043 _swigc__p_wxTIFFHandler
,
43044 _swigc__p_wxTextAttr
,
43045 _swigc__p_wxTextCtrl
,
43046 _swigc__p_wxTextUrlEvent
,
43047 _swigc__p_wxToggleButton
,
43048 _swigc__p_wxToolBar
,
43049 _swigc__p_wxToolBarBase
,
43050 _swigc__p_wxToolBarToolBase
,
43051 _swigc__p_wxToolbook
,
43052 _swigc__p_wxToolbookEvent
,
43053 _swigc__p_wxTreeCtrl
,
43054 _swigc__p_wxTreeEvent
,
43055 _swigc__p_wxTreeItemId
,
43056 _swigc__p_wxTreebook
,
43057 _swigc__p_wxTreebookEvent
,
43058 _swigc__p_wxUpdateUIEvent
,
43059 _swigc__p_wxValidator
,
43060 _swigc__p_wxVisualAttributes
,
43061 _swigc__p_wxWindow
,
43062 _swigc__p_wxWindowCreateEvent
,
43063 _swigc__p_wxWindowDestroyEvent
,
43064 _swigc__p_wxXPMHandler
,
43068 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
43070 static swig_const_info swig_const_table
[] = {
43071 {0, 0, 0, 0.0, 0, 0}};
43076 /* -----------------------------------------------------------------------------
43077 * Type initialization:
43078 * This problem is tough by the requirement that no dynamic
43079 * memory is used. Also, since swig_type_info structures store pointers to
43080 * swig_cast_info structures and swig_cast_info structures store pointers back
43081 * to swig_type_info structures, we need some lookup code at initialization.
43082 * The idea is that swig generates all the structures that are needed.
43083 * The runtime then collects these partially filled structures.
43084 * The SWIG_InitializeModule function takes these initial arrays out of
43085 * swig_module, and does all the lookup, filling in the swig_module.types
43086 * array with the correct data and linking the correct swig_cast_info
43087 * structures together.
43089 * The generated swig_type_info structures are assigned staticly to an initial
43090 * array. We just loop though that array, and handle each type individually.
43091 * First we lookup if this type has been already loaded, and if so, use the
43092 * loaded structure instead of the generated one. Then we have to fill in the
43093 * cast linked list. The cast data is initially stored in something like a
43094 * two-dimensional array. Each row corresponds to a type (there are the same
43095 * number of rows as there are in the swig_type_initial array). Each entry in
43096 * a column is one of the swig_cast_info structures for that type.
43097 * The cast_initial array is actually an array of arrays, because each row has
43098 * a variable number of columns. So to actually build the cast linked list,
43099 * we find the array of casts associated with the type, and loop through it
43100 * adding the casts to the list. The one last trick we need to do is making
43101 * sure the type pointer in the swig_cast_info struct is correct.
43103 * First off, we lookup the cast->type name to see if it is already loaded.
43104 * There are three cases to handle:
43105 * 1) If the cast->type has already been loaded AND the type we are adding
43106 * casting info to has not been loaded (it is in this module), THEN we
43107 * replace the cast->type pointer with the type pointer that has already
43109 * 2) If BOTH types (the one we are adding casting info to, and the
43110 * cast->type) are loaded, THEN the cast info has already been loaded by
43111 * the previous module so we just ignore it.
43112 * 3) Finally, if cast->type has not already been loaded, then we add that
43113 * swig_cast_info to the linked list (because the cast->type) pointer will
43115 * ----------------------------------------------------------------------------- */
43125 #define SWIGRUNTIME_DEBUG
43129 SWIG_InitializeModule(void *clientdata
) {
43131 swig_module_info
*module_head
;
43132 static int init_run
= 0;
43134 clientdata
= clientdata
;
43136 if (init_run
) return;
43139 /* Initialize the swig_module */
43140 swig_module
.type_initial
= swig_type_initial
;
43141 swig_module
.cast_initial
= swig_cast_initial
;
43143 /* Try and load any already created modules */
43144 module_head
= SWIG_GetModule(clientdata
);
43146 swig_module
.next
= module_head
->next
;
43147 module_head
->next
= &swig_module
;
43149 /* This is the first module loaded */
43150 swig_module
.next
= &swig_module
;
43151 SWIG_SetModule(clientdata
, &swig_module
);
43154 /* Now work on filling in swig_module.types */
43155 #ifdef SWIGRUNTIME_DEBUG
43156 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
43158 for (i
= 0; i
< swig_module
.size
; ++i
) {
43159 swig_type_info
*type
= 0;
43160 swig_type_info
*ret
;
43161 swig_cast_info
*cast
;
43163 #ifdef SWIGRUNTIME_DEBUG
43164 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
43167 /* if there is another module already loaded */
43168 if (swig_module
.next
!= &swig_module
) {
43169 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
43172 /* Overwrite clientdata field */
43173 #ifdef SWIGRUNTIME_DEBUG
43174 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
43176 if (swig_module
.type_initial
[i
]->clientdata
) {
43177 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
43178 #ifdef SWIGRUNTIME_DEBUG
43179 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
43183 type
= swig_module
.type_initial
[i
];
43186 /* Insert casting types */
43187 cast
= swig_module
.cast_initial
[i
];
43188 while (cast
->type
) {
43189 /* Don't need to add information already in the list */
43191 #ifdef SWIGRUNTIME_DEBUG
43192 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
43194 if (swig_module
.next
!= &swig_module
) {
43195 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
43196 #ifdef SWIGRUNTIME_DEBUG
43197 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
43201 if (type
== swig_module
.type_initial
[i
]) {
43202 #ifdef SWIGRUNTIME_DEBUG
43203 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
43208 /* Check for casting already in the list */
43209 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
43210 #ifdef SWIGRUNTIME_DEBUG
43211 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
43213 if (!ocast
) ret
= 0;
43218 #ifdef SWIGRUNTIME_DEBUG
43219 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
43222 type
->cast
->prev
= cast
;
43223 cast
->next
= type
->cast
;
43229 /* Set entry in modules->types array equal to the type */
43230 swig_module
.types
[i
] = type
;
43232 swig_module
.types
[i
] = 0;
43234 #ifdef SWIGRUNTIME_DEBUG
43235 printf("**** SWIG_InitializeModule: Cast List ******\n");
43236 for (i
= 0; i
< swig_module
.size
; ++i
) {
43238 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
43239 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
43240 while (cast
->type
) {
43241 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
43245 printf("---- Total casts: %d\n",j
);
43247 printf("**** SWIG_InitializeModule: Cast List ******\n");
43251 /* This function will propagate the clientdata field of type to
43252 * any new swig_type_info structures that have been added into the list
43253 * of equivalent types. It is like calling
43254 * SWIG_TypeClientData(type, clientdata) a second time.
43257 SWIG_PropagateClientData(void) {
43259 swig_cast_info
*equiv
;
43260 static int init_run
= 0;
43262 if (init_run
) return;
43265 for (i
= 0; i
< swig_module
.size
; i
++) {
43266 if (swig_module
.types
[i
]->clientdata
) {
43267 equiv
= swig_module
.types
[i
]->cast
;
43269 if (!equiv
->converter
) {
43270 if (equiv
->type
&& !equiv
->type
->clientdata
)
43271 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
43273 equiv
= equiv
->next
;
43293 /* Python-specific SWIG API */
43294 #define SWIG_newvarlink() SWIG_Python_newvarlink()
43295 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
43296 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
43298 /* -----------------------------------------------------------------------------
43299 * global variable support code.
43300 * ----------------------------------------------------------------------------- */
43302 typedef struct swig_globalvar
{
43303 char *name
; /* Name of global variable */
43304 PyObject
*(*get_attr
)(void); /* Return the current value */
43305 int (*set_attr
)(PyObject
*); /* Set the value */
43306 struct swig_globalvar
*next
;
43309 typedef struct swig_varlinkobject
{
43311 swig_globalvar
*vars
;
43312 } swig_varlinkobject
;
43314 SWIGINTERN PyObject
*
43315 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
43316 return PyString_FromString("<Swig global variables>");
43319 SWIGINTERN PyObject
*
43320 swig_varlink_str(swig_varlinkobject
*v
) {
43321 PyObject
*str
= PyString_FromString("(");
43322 swig_globalvar
*var
;
43323 for (var
= v
->vars
; var
; var
=var
->next
) {
43324 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
43325 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
43327 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
43332 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
43333 PyObject
*str
= swig_varlink_str(v
);
43334 fprintf(fp
,"Swig global variables ");
43335 fprintf(fp
,"%s\n", PyString_AsString(str
));
43341 swig_varlink_dealloc(swig_varlinkobject
*v
) {
43342 swig_globalvar
*var
= v
->vars
;
43344 swig_globalvar
*n
= var
->next
;
43351 SWIGINTERN PyObject
*
43352 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
43353 PyObject
*res
= NULL
;
43354 swig_globalvar
*var
= v
->vars
;
43356 if (strcmp(var
->name
,n
) == 0) {
43357 res
= (*var
->get_attr
)();
43362 if (res
== NULL
&& !PyErr_Occurred()) {
43363 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
43369 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
43371 swig_globalvar
*var
= v
->vars
;
43373 if (strcmp(var
->name
,n
) == 0) {
43374 res
= (*var
->set_attr
)(p
);
43379 if (res
== 1 && !PyErr_Occurred()) {
43380 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
43385 SWIGINTERN PyTypeObject
*
43386 swig_varlink_type(void) {
43387 static char varlink__doc__
[] = "Swig var link object";
43388 static PyTypeObject varlink_type
;
43389 static int type_init
= 0;
43391 const PyTypeObject tmp
43393 PyObject_HEAD_INIT(NULL
)
43394 0, /* Number of items in variable part (ob_size) */
43395 (char *)"swigvarlink", /* Type name (tp_name) */
43396 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
43397 0, /* Itemsize (tp_itemsize) */
43398 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
43399 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
43400 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
43401 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
43402 0, /* tp_compare */
43403 (reprfunc
) swig_varlink_repr
, /* tp_repr */
43404 0, /* tp_as_number */
43405 0, /* tp_as_sequence */
43406 0, /* tp_as_mapping */
43409 (reprfunc
)swig_varlink_str
, /* tp_str */
43410 0, /* tp_getattro */
43411 0, /* tp_setattro */
43412 0, /* tp_as_buffer */
43414 varlink__doc__
, /* tp_doc */
43415 0, /* tp_traverse */
43417 0, /* tp_richcompare */
43418 0, /* tp_weaklistoffset */
43419 #if PY_VERSION_HEX >= 0x02020000
43420 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
43422 #if PY_VERSION_HEX >= 0x02030000
43425 #ifdef COUNT_ALLOCS
43426 0,0,0,0 /* tp_alloc -> tp_next */
43429 varlink_type
= tmp
;
43430 varlink_type
.ob_type
= &PyType_Type
;
43433 return &varlink_type
;
43436 /* Create a variable linking object for use later */
43437 SWIGINTERN PyObject
*
43438 SWIG_Python_newvarlink(void) {
43439 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
43443 return ((PyObject
*) result
);
43447 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
43448 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
43449 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
43451 size_t size
= strlen(name
)+1;
43452 gv
->name
= (char *)malloc(size
);
43454 strncpy(gv
->name
,name
,size
);
43455 gv
->get_attr
= get_attr
;
43456 gv
->set_attr
= set_attr
;
43457 gv
->next
= v
->vars
;
43463 SWIGINTERN PyObject
*
43465 static PyObject
*_SWIG_globals
= 0;
43466 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
43467 return _SWIG_globals
;
43470 /* -----------------------------------------------------------------------------
43471 * constants/methods manipulation
43472 * ----------------------------------------------------------------------------- */
43474 /* Install Constants */
43476 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
43479 for (i
= 0; constants
[i
].type
; ++i
) {
43480 switch(constants
[i
].type
) {
43481 case SWIG_PY_POINTER
:
43482 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
43484 case SWIG_PY_BINARY
:
43485 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
43492 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
43498 /* -----------------------------------------------------------------------------*/
43499 /* Fix SwigMethods to carry the callback ptrs when needed */
43500 /* -----------------------------------------------------------------------------*/
43503 SWIG_Python_FixMethods(PyMethodDef
*methods
,
43504 swig_const_info
*const_table
,
43505 swig_type_info
**types
,
43506 swig_type_info
**types_initial
) {
43508 for (i
= 0; methods
[i
].ml_name
; ++i
) {
43509 char *c
= methods
[i
].ml_doc
;
43510 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
43512 swig_const_info
*ci
= 0;
43513 char *name
= c
+ 10;
43514 for (j
= 0; const_table
[j
].type
; ++j
) {
43515 if (strncmp(const_table
[j
].name
, name
,
43516 strlen(const_table
[j
].name
)) == 0) {
43517 ci
= &(const_table
[j
]);
43522 size_t shift
= (ci
->ptype
) - types
;
43523 swig_type_info
*ty
= types_initial
[shift
];
43524 size_t ldoc
= (c
- methods
[i
].ml_doc
);
43525 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
43526 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
43529 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
43531 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
43533 strncpy(buff
, "swig_ptr: ", 10);
43535 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
43536 methods
[i
].ml_doc
= ndoc
;
43548 /* -----------------------------------------------------------------------------*
43549 * Partial Init method
43550 * -----------------------------------------------------------------------------*/
43555 SWIGEXPORT
void SWIG_init(void) {
43558 /* Fix SwigMethods to carry the callback ptrs when needed */
43559 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
43561 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
43562 d
= PyModule_GetDict(m
);
43564 SWIG_InitializeModule(0);
43565 SWIG_InstallConstants(d
,swig_const_table
);
43568 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
43569 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
43570 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
43571 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
43572 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
43573 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
43574 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
43575 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
43576 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
43577 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
43578 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
43579 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
43580 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
43581 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
43582 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
43583 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
43584 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
43585 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
43586 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
43587 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
43588 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
43589 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
43590 SWIG_Python_SetConstant(d
, "GA_PROGRESSBAR",SWIG_From_int(static_cast< int >(wxGA_PROGRESSBAR
)));
43591 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
43592 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
43593 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
43594 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
43595 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
43596 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
43597 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
43598 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
43599 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
43600 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
43601 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
43602 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
43603 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
43604 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
43605 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
43606 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
43607 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
43608 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
43609 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
43610 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
43611 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
43612 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
43613 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
43614 SWIG_Python_SetConstant(d
, "TE_LINEWRAP",SWIG_From_int(static_cast< int >(wxTE_LINEWRAP
)));
43615 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
43616 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
43617 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
43618 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
43619 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
43620 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
43621 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
43622 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
43623 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
43624 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
43625 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
43626 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
43627 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
43628 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
43629 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
43630 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
43631 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
43632 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
43633 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
43634 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
43635 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
43636 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
43637 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
43638 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
43639 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
43640 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
43641 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
43642 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
43643 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
43644 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
43645 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
43646 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
43647 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
43648 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
43649 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
43650 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
43651 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
43652 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
43653 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
43654 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
43655 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
43656 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
43657 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
43658 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
43659 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
43660 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
43661 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
43662 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
43663 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
43664 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
43665 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
43666 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
43667 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
43668 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
43669 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
43670 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
43671 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
43672 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
43673 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
43674 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
43675 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
43676 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
43677 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
43678 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
43679 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
43680 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
43681 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
43682 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
43683 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
43684 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
43685 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
43686 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
43687 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
43688 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
43689 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
43690 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
43691 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
43692 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
43693 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
43694 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
43695 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
43696 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
43697 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
43698 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
43699 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
43700 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
43701 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
43702 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
43703 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
43704 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
43705 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
43706 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
43707 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
43708 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
43709 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
43710 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
43711 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
43712 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
43713 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
43714 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
43715 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
43716 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
43717 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
43718 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
43719 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
43720 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
43721 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
43722 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
43723 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
43724 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
43725 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
43726 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
43727 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
43728 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
43729 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
43730 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
43731 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
43732 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
43733 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
43734 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
43735 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
43736 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
43737 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
43738 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
43739 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
43740 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
43741 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
43742 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
43743 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
43744 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
43745 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
43746 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
43747 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
43748 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
43749 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
43750 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
43751 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
43752 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
43753 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
43754 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
43755 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
43756 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
43757 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
43758 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
43759 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
43760 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
43761 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
43762 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
43763 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
43764 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
43765 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
43766 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
43767 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
43768 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
43769 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
43770 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
43771 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
43772 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
43773 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
43774 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
43775 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
43776 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
43777 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
43778 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
43779 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
43780 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
43781 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
43782 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
43783 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
43784 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
43785 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
43786 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
43787 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
43788 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
43789 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
43790 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
43791 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
43792 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
43793 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
43794 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
43795 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
43796 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
43797 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
43798 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
43799 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
43800 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
43801 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
43802 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
43803 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
43804 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
43805 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
43806 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
43807 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
43808 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
43809 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
43810 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
43811 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
43812 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
43813 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
43814 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
43815 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
43817 // Map renamed classes back to their common name for OOR
43818 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
43820 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
43821 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
43822 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
43823 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
43824 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
43825 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
43826 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
43827 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
43828 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
43829 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
43830 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
43831 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
43832 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
43833 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
43834 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
43835 SWIG_Python_SetConstant(d
, "TR_MAC_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_MAC_BUTTONS
)));
43836 SWIG_Python_SetConstant(d
, "TR_AQUA_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_AQUA_BUTTONS
)));
43837 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
43838 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
43839 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
43840 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
43841 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
43842 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
43843 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
43844 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
43845 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
43846 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
43847 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
43848 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
43849 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
43850 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
43851 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
43852 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
43853 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
43854 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
43855 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
43856 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
43857 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
43858 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
43859 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
43860 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
43861 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
43862 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
43863 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
43864 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
43865 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
43866 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
43867 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
43868 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
43869 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
43870 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
43871 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
43872 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
43873 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
43874 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
43875 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
43876 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
43878 // Map renamed classes back to their common name for OOR
43879 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
43880 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
43882 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
43883 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
43884 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
43885 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
43886 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
43887 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
43888 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
43889 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
43890 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
43891 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
43893 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
43895 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
43896 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
43897 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
43898 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
43899 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
43900 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));